]> git.immae.eu Git - github/fretlink/edi-parser.git/blob - specification/src/Text/Edifact/D96A/Segments/CNT.hs
Release code as open source
[github/fretlink/edi-parser.git] / specification / src / Text / Edifact / D96A / Segments / CNT.hs
1 {-# LANGUAGE OverloadedStrings #-}
2
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
5
6 module Text.Edifact.D96A.Segments.CNT
7 ( -- * Definition
8 segmentCNT
9 -- * Dependencies
10 , compositeC270
11 ) where
12
13 import Text.Edifact.D96A.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
25 -- > 6069 Control qualifier M an..3
26 -- > 6066 Control value M n..18
27 -- > 6411 Measure unit qualifier C an..3
28 --
29 -- Dependencies: 'compositeC270'.
30 segmentCNT :: Parser Value
31 segmentCNT =
32 segment "CNT"
33 [ "010" .@ mandatory compositeC270
34 ]