1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D01B.Segments.EQN
13 import Text.Edifact.D01B.Composites (compositeC523)
15 import Text.Edifact.Parsing
16 import Text.Edifact.Types (Value)
18 -- | Derived from this specification:
20 -- > EQN NUMBER OF UNITS
22 -- > Function: To specify the number of units.
24 -- > 010 C523 NUMBER OF UNIT DETAILS M 1
25 -- > 6350 Units quantity C n..15
26 -- > 6353 Unit type code qualifier C an..3
28 -- Dependencies: 'compositeC523'.
29 segmentEQN :: Parser Value
32 [ "010" .@ mandatory compositeC523