1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D96A.Segments.CNT
13 import Text.Edifact.D96A.Composites (compositeC270)
15 import Text.Edifact.Parsing
16 import Text.Edifact.Types (Value)
18 -- | Derived from this specification:
20 -- > CNT CONTROL TOTAL
22 -- > Function: To provide control total.
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
29 -- Dependencies: 'compositeC270'.
30 segmentCNT :: Parser Value
33 [ "010" .@ mandatory compositeC270