blob: 5ef207feecea566356cbdc6243787eed1ca81750 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{-# LANGUAGE OverloadedStrings #-}
---- Machine generated code.
---- Output of edi-parser-scaffolder
module Text.Edifact.D01B.Segments.QTY
( -- * Definition
segmentQTY
-- * Dependencies
, compositeC186
) where
import Text.Edifact.D01B.Composites (compositeC186)
import Text.Edifact.Parsing
import Text.Edifact.Types (Value)
-- | Derived from this specification:
--
-- > QTY QUANTITY
-- >
-- > Function: To specify a pertinent quantity.
-- >
-- > 010 C186 QUANTITY DETAILS M 1
-- > 6063 Quantity type code qualifier M an..3
-- > 6060 Quantity M an..35
-- > 6411 Measurement unit code C an..3
--
-- Dependencies: 'compositeC186'.
segmentQTY :: Parser Value
segmentQTY =
segment "QTY"
[ "010" .@ mandatory compositeC186
]
|