]> git.immae.eu Git - github/fretlink/edi-parser.git/blob - specification/src/Text/Edifact/D01B/Segments/QTY.hs
Release code as open source
[github/fretlink/edi-parser.git] / specification / src / Text / Edifact / D01B / Segments / QTY.hs
1 {-# LANGUAGE OverloadedStrings #-}
2
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
5
6 module Text.Edifact.D01B.Segments.QTY
7 ( -- * Definition
8 segmentQTY
9 -- * Dependencies
10 , compositeC186
11 ) where
12
13 import Text.Edifact.D01B.Composites (compositeC186)
14
15 import Text.Edifact.Parsing
16 import Text.Edifact.Types (Value)
17
18 -- | Derived from this specification:
19 --
20 -- > QTY QUANTITY
21 -- >
22 -- > Function: To specify a pertinent quantity.
23 -- >
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
28 --
29 -- Dependencies: 'compositeC186'.
30 segmentQTY :: Parser Value
31 segmentQTY =
32 segment "QTY"
33 [ "010" .@ mandatory compositeC186
34 ]