]>
Commit | Line | Data |
---|---|---|
a9d77a20 FM |
1 | {-# LANGUAGE OverloadedStrings #-} |
2 | ||
3 | ---- Machine generated code. | |
4 | ---- Output of edi-parser-scaffolder | |
5 | ||
6 | module Text.Edifact.D01B.Simples.S5375 | |
7 | ( simple5375 | |
8 | ) where | |
9 | ||
10 | import Text.Edifact.Parsing | |
11 | import Text.Edifact.Types (Value) | |
12 | ||
13 | -- | Derived from this specification: | |
14 | -- | |
15 | -- > 5375 Price type code [C] | |
16 | -- > | |
17 | -- > Desc: Code specifying the type of price. | |
18 | -- > | |
19 | -- > Repr: an..3 | |
20 | -- > | |
21 | -- > AA Cancellation price | |
22 | -- > Price authorized to be charged in the event of an order | |
23 | -- > being cancelled. | |
24 | -- > | |
25 | -- > AB Per ton | |
26 | -- > To indicate that the price applies per ton. | |
27 | -- > | |
28 | -- > AC Minimum order price | |
29 | -- > A code to identify the price when the minimum number is | |
30 | -- > purchased. | |
31 | -- > | |
32 | -- > AD Export price | |
33 | -- > A code to identify a price for the export market. | |
34 | -- > | |
35 | -- > AE Range dependent price | |
36 | -- > A code identifying the price for a specific range of | |
37 | -- > purchase quantities. | |
38 | -- > | |
39 | -- > AI Active ingredient | |
40 | -- > The price is referring to the active ingredient. | |
41 | -- > | |
42 | -- > AQ As is quantity | |
43 | -- > The price is referring to the measured quantity. | |
44 | -- > | |
45 | -- > CA Catalogue | |
46 | -- > Code specifying the catalogue price. | |
47 | -- > | |
48 | -- > CT Contract | |
49 | -- > Code specifying the contract price. | |
50 | -- > | |
51 | -- > CU Consumer unit | |
52 | -- > The price is referring to the consumer unit. | |
53 | -- > | |
54 | -- > DI Distributor | |
55 | -- > Code specifying the distributor price. | |
56 | -- > | |
57 | -- > EC ECSC price | |
58 | -- > Price registered at European Commission Steel and Carbon | |
59 | -- > office (DG III). | |
60 | -- > | |
61 | -- > NW Net weight | |
62 | -- > Code specifying the net weight price. | |
63 | -- > | |
64 | -- > PC Price catalogue | |
65 | -- > Code specifying the catalogue price. | |
66 | -- > | |
67 | -- > PE Per each | |
68 | -- > Code specifying the price per item. | |
69 | -- > | |
70 | -- > PK Per kilogram | |
71 | -- > Code specifying the price per kilogram. | |
72 | -- > | |
73 | -- > PL Per litre | |
74 | -- > Code specifying the price per litre. | |
75 | -- > | |
76 | -- > PT Per tonne | |
77 | -- > Code specifying the price per tonne. | |
78 | -- > | |
79 | -- > PU Specified unit | |
80 | -- > Code specifying the price per specified unit. | |
81 | -- > | |
82 | -- > PV Provisional price | |
83 | -- > Code specifying a provisional price. | |
84 | -- > | |
85 | -- > PW Gross weight | |
86 | -- > Code specifying the gross weight price. | |
87 | -- > | |
88 | -- > QT Quoted | |
89 | -- > Code specifying the quoted price. | |
90 | -- > | |
91 | -- > SR Suggested retail | |
92 | -- > Code specifying the suggested retail price. | |
93 | -- > | |
94 | -- > TB To be negotiated | |
95 | -- > Code specifying that the price has to be negotiated. | |
96 | -- > | |
97 | -- > TU Traded unit | |
98 | -- > The price is referring to the traded unit. | |
99 | -- > | |
100 | -- > TW Theoretical weight | |
101 | -- > Weight calculated on ordered dimension (length, width, | |
102 | -- > thickness) not on final dimension (e.g. steel products). | |
103 | -- > | |
104 | -- > WH Wholesale | |
105 | -- > Code specifying the wholesale price. | |
106 | -- > | |
107 | -- > WI Gross volume | |
108 | -- > The price is calculated based on gross volume. | |
109 | simple5375 :: Parser Value | |
110 | simple5375 = simple "5375" (alphaNumeric `upTo` 3) |