diff options
Diffstat (limited to 'specification/src/Text/Edifact/D96A/Simples/S4347.hs')
-rw-r--r-- | specification/src/Text/Edifact/D96A/Simples/S4347.hs | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D96A/Simples/S4347.hs b/specification/src/Text/Edifact/D96A/Simples/S4347.hs new file mode 100644 index 0000000..4e8b8ad --- /dev/null +++ b/specification/src/Text/Edifact/D96A/Simples/S4347.hs | |||
@@ -0,0 +1,45 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D96A.Simples.S4347 | ||
7 | ( simple4347 | ||
8 | ) where | ||
9 | |||
10 | import Text.Edifact.Parsing | ||
11 | import Text.Edifact.Types (Value) | ||
12 | |||
13 | -- | Derived from this specification: | ||
14 | -- | ||
15 | -- > 4347 Product id. function qualifier | ||
16 | -- > | ||
17 | -- > Desc: Indication of the function of the product code. | ||
18 | -- > | ||
19 | -- > Repr: an..3 | ||
20 | -- > | ||
21 | -- > 1 Additional identification | ||
22 | -- > Information which specifies and qualifies product | ||
23 | -- > identifications. | ||
24 | -- > 2 Identification for potential substitution | ||
25 | -- > The given item number(s) describe(s) a substituting | ||
26 | -- > product if the original product is not available. | ||
27 | -- > 3 Substituted by | ||
28 | -- > The given item number is the number of the product that | ||
29 | -- > substitutes another one. | ||
30 | -- > 4 Substituted for | ||
31 | -- > The given item number is the number of the original | ||
32 | -- > product substituted by another. | ||
33 | -- > 5 Product identification | ||
34 | -- > Self explanatory. | ||
35 | -- > 6 Successor product id | ||
36 | -- > Product id of the product that will follow the one | ||
37 | -- > currently in production/trade. | ||
38 | -- > 7 Predecessor product id | ||
39 | -- > Product id of the predecessor of the product currently in | ||
40 | -- > production/trade. | ||
41 | -- > 8 Expired/out of production | ||
42 | -- > The given item number is the expired item number of the | ||
43 | -- > product. It has been replaced. | ||
44 | simple4347 :: Parser Value | ||
45 | simple4347 = simple "4347" (alphaNumeric `upTo` 3) | ||