]> git.immae.eu Git - github/fretlink/edi-parser.git/blame - specification/src/Text/Edifact/D96A/Segments/QTY.hs
Release code as open source
[github/fretlink/edi-parser.git] / specification / src / Text / Edifact / D96A / Segments / QTY.hs
CommitLineData
a9d77a20
FM
1{-# LANGUAGE OverloadedStrings #-}
2
3---- Machine generated code.
4---- Output of edi-parser-scaffolder
5
6module Text.Edifact.D96A.Segments.QTY
7 ( -- * Definition
8 segmentQTY
9 -- * Dependencies
10 , compositeC186
11 ) where
12
13import Text.Edifact.D96A.Composites (compositeC186)
14
15import Text.Edifact.Parsing
16import 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
25-- > 6063 Quantity qualifier M an..3
26-- > 6060 Quantity M n..15
27-- > 6411 Measure unit qualifier C an..3
28--
29-- Dependencies: 'compositeC186'.
30segmentQTY :: Parser Value
31segmentQTY =
32 segment "QTY"
33 [ "010" .@ mandatory compositeC186
34 ]