aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D01B/Simples/S6167.hs
blob: def9d709cfa57bc81c5e78a4146c1948436d1f43 (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{-# LANGUAGE OverloadedStrings #-}

---- Machine generated code.
---- Output of edi-parser-scaffolder

module Text.Edifact.D01B.Simples.S6167
  ( simple6167
  ) where

import           Text.Edifact.Parsing
import           Text.Edifact.Types   (Value)

-- | Derived from this specification:
--
-- >      6167  Range type code qualifier                               [B]
-- >
-- >      Desc: Code qualifying a type of range.
-- >
-- >      Repr: an..3
-- >
-- >      1     Allowance range
-- >               Identifies the range for an allowance.
-- >
-- >      2     Charge range
-- >               Identifies the range for a charge.
-- >
-- >      3     Monetary range
-- >               Identifies the range related to money.
-- >
-- >      4     Quantity range
-- >               Identifies the range for quantity.
-- >
-- >      5     Temperature range
-- >               The range of a temperature.
-- >
-- >      6     Order quantity range
-- >               The minimum to maximum order quantity.
-- >
-- >      7     Delivery quantity range
-- >               The minimum to maximum delivery quantity.
-- >
-- >      8     Production batch range
-- >               The minimum to maximum quantity in a single production
-- >               run.
-- >
-- >      9     Monthly quantity range
-- >               The minimum to maximum monthly quantity.
-- >
-- >      10    Annual quantity range
-- >               The minimum to maximum yearly quantity.
-- >
-- >      11    Package stacking range
-- >               Range in which packages can be stacked.
-- >
-- >      12    Transport temperature range
-- >               The temperature range at which cargo is to be kept while
-- >               it is under transport.
-- >
-- >      13    Equipment pre-tripping temperature range
-- >               The temperature range at which the equipment is to be
-- >               brought to in preparation for the loading of cargo.
-- >
-- >      14    Terms discount range
-- >               Identifies the range for a terms discount.
-- >
-- >      15    Order quantity range, cumulative
-- >               The minimum to maximum cumulative order quantity.
simple6167 :: Parser Value
simple6167 = simple "6167" (alphaNumeric `upTo` 3)