blob: 38ad512d913da72ccd34789321c817b7565c6438 (
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
|
{-# LANGUAGE OverloadedStrings #-}
---- Machine generated code.
---- Output of edi-parser-scaffolder
module Text.Edifact.D01B.Simples.S8169
( simple8169
) where
import Text.Edifact.Parsing
import Text.Edifact.Types (Value)
-- | Derived from this specification:
--
-- > 8169 Full or empty indicator code [B]
-- >
-- > Desc: Code indicating whether an object is full or empty.
-- >
-- > Repr: an..3
-- >
-- > 1 More than one quarter volume available
-- > Self explanatory.
-- >
-- > 2 More than half volume available
-- > Indicates that there is more than a half of the volume
-- > available.
-- >
-- > 3 More than three quarters volume available
-- > Indicates that there is more than three quarters of the
-- > volume available.
-- >
-- > 4 Empty
-- > Indicates that the object is empty.
-- >
-- > 5 Full
-- > Indicates that the object is full.
-- >
-- > 6 No volume available
-- > Indicates that there is no space available in the
-- > object.
-- >
-- > 7 Full, mixed consignment
-- > Indicates that the equipment is fully loaded, and
-- > includes a number LCL (Less Than Container Load)
-- > consignments.
-- >
-- > 8 Full, single consignment
-- > Indicates that the container is fully loaded with a
-- > single FCL (Full Container Load) consignment.
simple8169 :: Parser Value
simple8169 = simple "8169" (alphaNumeric `upTo` 3)
|