diff options
Diffstat (limited to 'specification/src/Text/Edifact/D96A/Composites/C829.hs')
-rw-r--r-- | specification/src/Text/Edifact/D96A/Composites/C829.hs | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D96A/Composites/C829.hs b/specification/src/Text/Edifact/D96A/Composites/C829.hs new file mode 100644 index 0000000..70a3b05 --- /dev/null +++ b/specification/src/Text/Edifact/D96A/Composites/C829.hs | |||
@@ -0,0 +1,36 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D96A.Composites.C829 | ||
7 | ( -- * Definition | ||
8 | compositeC829 | ||
9 | -- * Dependencies | ||
10 | , simple1082 | ||
11 | , simple5495 | ||
12 | ) where | ||
13 | |||
14 | import Text.Edifact.D96A.Simples (simple1082, simple5495) | ||
15 | |||
16 | import Text.Edifact.Parsing | ||
17 | import Text.Edifact.Types (Value) | ||
18 | |||
19 | -- | Derived from this specification: | ||
20 | -- | ||
21 | -- > C829 SUB-LINE INFORMATION | ||
22 | -- > | ||
23 | -- > Desc: To provide an indication that a segment or segment group | ||
24 | -- > is used to contain sub-line or sub-line item information | ||
25 | -- > and to optionally enable the sub-line to be identified. | ||
26 | -- > | ||
27 | -- > 010 5495 Sub-line indicator, coded C an..3 | ||
28 | -- > 020 1082 Line item number C n..6 | ||
29 | -- | ||
30 | -- Dependencies: 'simple1082', 'simple5495'. | ||
31 | compositeC829 :: Parser Value | ||
32 | compositeC829 = | ||
33 | composite "C829" | ||
34 | [ "010" .@ optional simple5495 | ||
35 | , "020" .@ optional simple1082 | ||
36 | ] | ||