diff options
Diffstat (limited to 'specification/src/Text/Edifact/D01B/Segments/CNT.hs')
-rw-r--r-- | specification/src/Text/Edifact/D01B/Segments/CNT.hs | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D01B/Segments/CNT.hs b/specification/src/Text/Edifact/D01B/Segments/CNT.hs new file mode 100644 index 0000000..2fac649 --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Segments/CNT.hs | |||
@@ -0,0 +1,34 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Segments.CNT | ||
7 | ( -- * Definition | ||
8 | segmentCNT | ||
9 | -- * Dependencies | ||
10 | , compositeC270 | ||
11 | ) where | ||
12 | |||
13 | import Text.Edifact.D01B.Composites (compositeC270) | ||
14 | |||
15 | import Text.Edifact.Parsing | ||
16 | import Text.Edifact.Types (Value) | ||
17 | |||
18 | -- | Derived from this specification: | ||
19 | -- | ||
20 | -- > CNT CONTROL TOTAL | ||
21 | -- > | ||
22 | -- > Function: To provide control total. | ||
23 | -- > | ||
24 | -- > 010 C270 CONTROL M 1 | ||
25 | -- > 6069 Control total type code qualifier M an..3 | ||
26 | -- > 6066 Control total value M n..18 | ||
27 | -- > 6411 Measurement unit code C an..3 | ||
28 | -- | ||
29 | -- Dependencies: 'compositeC270'. | ||
30 | segmentCNT :: Parser Value | ||
31 | segmentCNT = | ||
32 | segment "CNT" | ||
33 | [ "010" .@ mandatory compositeC270 | ||
34 | ] | ||