]>
Commit | Line | Data |
---|---|---|
a9d77a20 FM |
1 | {-# LANGUAGE OverloadedStrings #-} |
2 | ||
3 | ---- Machine generated code. | |
4 | ---- Output of edi-parser-scaffolder | |
5 | ||
6 | module Text.Edifact.D96A.Segments.QTY | |
7 | ( -- * Definition | |
8 | segmentQTY | |
9 | -- * Dependencies | |
10 | , compositeC186 | |
11 | ) where | |
12 | ||
13 | import Text.Edifact.D96A.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 | |
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'. | |
30 | segmentQTY :: Parser Value | |
31 | segmentQTY = | |
32 | segment "QTY" | |
33 | [ "010" .@ mandatory compositeC186 | |
34 | ] |