1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D01B.Segments.QTY
13 import Text.Edifact.D01B.Composites (compositeC186)
15 import Text.Edifact.Parsing
16 import Text.Edifact.Types (Value)
18 -- | Derived from this specification:
22 -- > Function: To specify a pertinent quantity.
24 -- > 010 C186 QUANTITY DETAILS M 1
25 -- > 6063 Quantity type code qualifier M an..3
26 -- > 6060 Quantity M an..35
27 -- > 6411 Measurement unit code C an..3
29 -- Dependencies: 'compositeC186'.
30 segmentQTY :: Parser Value
33 [ "010" .@ mandatory compositeC186