1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D01B.Simples.S6167
10 import Text.Edifact.Parsing
11 import Text.Edifact.Types (Value)
13 -- | Derived from this specification:
15 -- > 6167 Range type code qualifier [B]
17 -- > Desc: Code qualifying a type of range.
21 -- > 1 Allowance range
22 -- > Identifies the range for an allowance.
25 -- > Identifies the range for a charge.
28 -- > Identifies the range related to money.
31 -- > Identifies the range for quantity.
33 -- > 5 Temperature range
34 -- > The range of a temperature.
36 -- > 6 Order quantity range
37 -- > The minimum to maximum order quantity.
39 -- > 7 Delivery quantity range
40 -- > The minimum to maximum delivery quantity.
42 -- > 8 Production batch range
43 -- > The minimum to maximum quantity in a single production
46 -- > 9 Monthly quantity range
47 -- > The minimum to maximum monthly quantity.
49 -- > 10 Annual quantity range
50 -- > The minimum to maximum yearly quantity.
52 -- > 11 Package stacking range
53 -- > Range in which packages can be stacked.
55 -- > 12 Transport temperature range
56 -- > The temperature range at which cargo is to be kept while
57 -- > it is under transport.
59 -- > 13 Equipment pre-tripping temperature range
60 -- > The temperature range at which the equipment is to be
61 -- > brought to in preparation for the loading of cargo.
63 -- > 14 Terms discount range
64 -- > Identifies the range for a terms discount.
66 -- > 15 Order quantity range, cumulative
67 -- > The minimum to maximum cumulative order quantity.
68 simple6167 :: Parser Value
69 simple6167 = simple "6167" (alphaNumeric `upTo` 3)