diff options
Diffstat (limited to 'specification/src/Text/Edifact/D96A/Composites/C401.hs')
-rw-r--r-- | specification/src/Text/Edifact/D96A/Composites/C401.hs | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D96A/Composites/C401.hs b/specification/src/Text/Edifact/D96A/Composites/C401.hs new file mode 100644 index 0000000..3a07949 --- /dev/null +++ b/specification/src/Text/Edifact/D96A/Composites/C401.hs | |||
@@ -0,0 +1,38 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D96A.Composites.C401 | ||
7 | ( -- * Definition | ||
8 | compositeC401 | ||
9 | -- * Dependencies | ||
10 | , simple7130 | ||
11 | , simple8457 | ||
12 | , simple8459 | ||
13 | ) where | ||
14 | |||
15 | import Text.Edifact.D96A.Simples (simple7130, simple8457, simple8459) | ||
16 | |||
17 | import Text.Edifact.Parsing | ||
18 | import Text.Edifact.Types (Value) | ||
19 | |||
20 | -- | Derived from this specification: | ||
21 | -- | ||
22 | -- > C401 EXCESS TRANSPORTATION INFORMATION | ||
23 | -- > | ||
24 | -- > Desc: To provide details of reason for, and responsibility for, | ||
25 | -- > use of transportation other than normally utilized. | ||
26 | -- > | ||
27 | -- > 010 8457 Excess transportation reason, coded M an..3 | ||
28 | -- > 020 8459 Excess transportation responsibility, coded M an..3 | ||
29 | -- > 030 7130 Customer authorization number C an..17 | ||
30 | -- | ||
31 | -- Dependencies: 'simple7130', 'simple8457', 'simple8459'. | ||
32 | compositeC401 :: Parser Value | ||
33 | compositeC401 = | ||
34 | composite "C401" | ||
35 | [ "010" .@ mandatory simple8457 | ||
36 | , "020" .@ mandatory simple8459 | ||
37 | , "030" .@ optional simple7130 | ||
38 | ] | ||