diff options
author | Frédéric Menou <frederic.menou@fretlink.com> | 2016-12-08 10:19:15 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@fretlink.com> | 2022-05-17 18:01:51 +0200 |
commit | a9d77a20008efe82862cc1adbfa7a6d4f09f8ff7 (patch) | |
tree | adf3186fdccaeef19151026cdfbd38a530cf9ecb /specification/src/Text/Edifact/D96A/Simples/S6343.hs | |
download | edi-parser-a9d77a20008efe82862cc1adbfa7a6d4f09f8ff7.tar.gz edi-parser-a9d77a20008efe82862cc1adbfa7a6d4f09f8ff7.tar.zst edi-parser-a9d77a20008efe82862cc1adbfa7a6d4f09f8ff7.zip |
Diffstat (limited to 'specification/src/Text/Edifact/D96A/Simples/S6343.hs')
-rw-r--r-- | specification/src/Text/Edifact/D96A/Simples/S6343.hs | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D96A/Simples/S6343.hs b/specification/src/Text/Edifact/D96A/Simples/S6343.hs new file mode 100644 index 0000000..eb24391 --- /dev/null +++ b/specification/src/Text/Edifact/D96A/Simples/S6343.hs | |||
@@ -0,0 +1,67 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D96A.Simples.S6343 | ||
7 | ( simple6343 | ||
8 | ) where | ||
9 | |||
10 | import Text.Edifact.Parsing | ||
11 | import Text.Edifact.Types (Value) | ||
12 | |||
13 | -- | Derived from this specification: | ||
14 | -- | ||
15 | -- > 6343 Currency qualifier | ||
16 | -- > | ||
17 | -- > Desc: Code giving specific meaning to data element 6345 Currency. | ||
18 | -- > | ||
19 | -- > Repr: an..3 | ||
20 | -- > | ||
21 | -- > 1 Customs valuation currency | ||
22 | -- > The name or symbol of the monetary unit involved in the | ||
23 | -- > transaction for customs valuation. | ||
24 | -- > 2 Insurance currency | ||
25 | -- > The name or symbol of the monetary unit involved in the | ||
26 | -- > transaction for insurance purposes. | ||
27 | -- > 3 Home currency | ||
28 | -- > The name or symbol of the local monetary unit. | ||
29 | -- > 4 Invoicing currency | ||
30 | -- > The name or symbol of the monetary unit used for | ||
31 | -- > calculation in an invoice. | ||
32 | -- > 5 Account currency | ||
33 | -- > The name or symbol of the monetary unit to be converted | ||
34 | -- > from. | ||
35 | -- > 6 Reference currency | ||
36 | -- > The name or symbol of the monetary unit to be converted. | ||
37 | -- > 7 Target currency | ||
38 | -- > The name or symbol of the monetary unit to be converted | ||
39 | -- > into. | ||
40 | -- > 8 Price list currency | ||
41 | -- > The name or symbol of the monetary unit used in a price | ||
42 | -- > list. | ||
43 | -- > 9 Order currency | ||
44 | -- > The name or symbol of the monetary unit used in an order. | ||
45 | -- > 10 Pricing currency | ||
46 | -- > The name or symbol of the monetary unit used for pricing | ||
47 | -- > purposes. | ||
48 | -- > 11 Payment currency | ||
49 | -- > The name or symbol of the monetary unit used for payment. | ||
50 | -- > 12 Quotation currency | ||
51 | -- > The name or symbol of the monetary unit used in a | ||
52 | -- > quotation. | ||
53 | -- > 13 Recipient local currency | ||
54 | -- > The name or symbol of the local monetary unit at | ||
55 | -- > recipient's location. | ||
56 | -- > 14 Supplier currency | ||
57 | -- > The name or symbol of the monetary unit normally used by | ||
58 | -- > the supplier. | ||
59 | -- > 15 Sender local currency | ||
60 | -- > The name or symbol of the local monetary unit at sender's | ||
61 | -- > location. | ||
62 | -- > 16 Tariff currency | ||
63 | -- > The currency as per tariff. | ||
64 | -- > 17 Charge calculation currency | ||
65 | -- > The currency in which the charges are calculated. | ||
66 | simple6343 :: Parser Value | ||
67 | simple6343 = simple "6343" (alphaNumeric `upTo` 3) | ||