1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D01B.Composites.C523
14 import Text.Edifact.D01B.Simples (simple6350, simple6353)
16 import Text.Edifact.Parsing
17 import Text.Edifact.Types (Value)
19 -- | Derived from this specification:
21 -- > C523 NUMBER OF UNIT DETAILS
23 -- > Desc: Identification of number of units and its purpose.
25 -- > 010 6350 Units quantity C n..15
26 -- > 020 6353 Unit type code qualifier C an..3
28 -- Dependencies: 'simple6350', 'simple6353'.
29 compositeC523 :: Parser Value
32 [ "010" .@ optional simple6350
33 , "020" .@ optional simple6353