1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D96A.Simples.S5375
10 import Text.Edifact.Parsing
11 import Text.Edifact.Types (Value)
13 -- | Derived from this specification:
15 -- > * 5375 Price type, coded
17 -- > Desc: Code identifying the type of price of an item.
21 -- > AA Cancellation price
22 -- > Price authorized to be charged in the event of an order
25 -- > To indicate that the price applies per ton.
26 -- > + AC Minimum order price
27 -- > A code to identify the price when the minimum number is
29 -- > + AD Export price
30 -- > A code to identify the price of a given article for the
32 -- > + AE Range dependent price
33 -- > A code identifying the price for a specific range of
34 -- > purchase quantities.
35 -- > AI Active ingredient
36 -- > The price is referring to the active ingredient.
37 -- > AQ As is quantity
38 -- > The price is referring to the measured quantity.
40 -- > Self explanatory.
42 -- > Self explanatory.
44 -- > The price is referring to the consumer unit.
46 -- > Self explanatory.
48 -- > Price registered at European Commission Steel and Carbon
51 -- > Self explanatory.
52 -- > PC Price catalogue
53 -- > Self explanatory.
55 -- > Self explanatory.
57 -- > Self explanatory.
59 -- > Self explanatory.
61 -- > Self explanatory.
62 -- > PU Specified unit
63 -- > Self explanatory.
64 -- > PV Provisional price
65 -- > Self explanatory.
67 -- > Self explanatory.
69 -- > Self explanatory.
70 -- > SR Suggested retail
71 -- > Self explanatory.
72 -- > TB To be negotiated
73 -- > Self explanatory.
75 -- > The price is referring to the traded unit.
76 -- > TW Theoretical weight
77 -- > Weight calculated on ordered dimension (length, width,
78 -- > thickness) not on final dimension (e.g. steel products).
80 -- > Self explanatory.
81 simple5375 :: Parser Value
82 simple5375 = simple "5375" (alphaNumeric `upTo` 3)