diff options
Diffstat (limited to 'specification/src/Text/Edifact/D96A/Segments/QTY.hs')
-rw-r--r-- | specification/src/Text/Edifact/D96A/Segments/QTY.hs | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D96A/Segments/QTY.hs b/specification/src/Text/Edifact/D96A/Segments/QTY.hs new file mode 100644 index 0000000..9d8027b --- /dev/null +++ b/specification/src/Text/Edifact/D96A/Segments/QTY.hs | |||
@@ -0,0 +1,34 @@ | |||
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 | ] | ||