diff options
Diffstat (limited to 'specification/src/Text/Edifact/D96A/Simples/S8169.hs')
-rw-r--r-- | specification/src/Text/Edifact/D96A/Simples/S8169.hs | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D96A/Simples/S8169.hs b/specification/src/Text/Edifact/D96A/Simples/S8169.hs new file mode 100644 index 0000000..1cf3bce --- /dev/null +++ b/specification/src/Text/Edifact/D96A/Simples/S8169.hs | |||
@@ -0,0 +1,42 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D96A.Simples.S8169 | ||
7 | ( simple8169 | ||
8 | ) where | ||
9 | |||
10 | import Text.Edifact.Parsing | ||
11 | import Text.Edifact.Types (Value) | ||
12 | |||
13 | -- | Derived from this specification: | ||
14 | -- | ||
15 | -- > 8169 Full/empty indicator, coded | ||
16 | -- > | ||
17 | -- > Desc: To indicate the extent to which the equipment is full or | ||
18 | -- > empty. | ||
19 | -- > | ||
20 | -- > Repr: an..3 | ||
21 | -- > | ||
22 | -- > 1 More than one quarter volume available | ||
23 | -- > Self explanatory. | ||
24 | -- > 2 More than half volume available | ||
25 | -- > Self explanatory. | ||
26 | -- > 3 More than three quarters volume available | ||
27 | -- > Self explanatory. | ||
28 | -- > 4 Empty | ||
29 | -- > Self explanatory. | ||
30 | -- > 5 Full | ||
31 | -- > Self explanatory. | ||
32 | -- > 6 No volume available | ||
33 | -- > Self explanatory. | ||
34 | -- > 7 Full, mixed consignment | ||
35 | -- > Indicates that the equipment is fully loaded, and | ||
36 | -- > includes a number LCL (Less Than Container Load) | ||
37 | -- > consignments. | ||
38 | -- > 8 Full, single consignment | ||
39 | -- > Indicates that the container is fully loaded with a | ||
40 | -- > single FCL (Full Container Load) consignment. | ||
41 | simple8169 :: Parser Value | ||
42 | simple8169 = simple "8169" (alphaNumeric `upTo` 3) | ||