1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D96A.Segments.DIM
14 import Text.Edifact.D96A.Composites (compositeC211)
15 import Text.Edifact.D96A.Simples (simple6145)
17 import Text.Edifact.Parsing
18 import Text.Edifact.Types (Value)
20 -- | Derived from this specification:
24 -- > Function: To specify dimensions.
26 -- > 010 6145 DIMENSION QUALIFIER M an..3
28 -- > 020 C211 DIMENSIONS M
29 -- > 6411 Measure unit qualifier M an..3
30 -- > 6168 Length dimension C n..15
31 -- > 6140 Width dimension C n..15
32 -- > 6008 Height dimension C n..15
34 -- Dependencies: 'compositeC211', 'simple6145'.
35 segmentDIM :: Parser Value
38 [ "010" .@ mandatory simple6145
39 , "020" .@ mandatory compositeC211