aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D01B/Simples/S5213.hs
diff options
context:
space:
mode:
Diffstat (limited to 'specification/src/Text/Edifact/D01B/Simples/S5213.hs')
-rw-r--r--specification/src/Text/Edifact/D01B/Simples/S5213.hs31
1 files changed, 31 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D01B/Simples/S5213.hs b/specification/src/Text/Edifact/D01B/Simples/S5213.hs
new file mode 100644
index 0000000..3d85160
--- /dev/null
+++ b/specification/src/Text/Edifact/D01B/Simples/S5213.hs
@@ -0,0 +1,31 @@
1{-# LANGUAGE OverloadedStrings #-}
2
3---- Machine generated code.
4---- Output of edi-parser-scaffolder
5
6module Text.Edifact.D01B.Simples.S5213
7 ( simple5213
8 ) where
9
10import Text.Edifact.Parsing
11import Text.Edifact.Types (Value)
12
13-- | Derived from this specification:
14--
15-- > 5213 Sub-line item price change operation code [C]
16-- >
17-- > Desc: Code specifying the price change operation for a sub-
18-- > line item.
19-- >
20-- > Repr: an..3
21-- >
22-- > A Added to the baseline item unit price
23-- > Price is to be added to the base line unit price.
24-- >
25-- > I Included in the baseline item unit price
26-- > Price is included in the base line unit price.
27-- >
28-- > S Subtracted from the baseline item unit price
29-- > Price is to be subtracted from the base line unit price.
30simple5213 :: Parser Value
31simple5213 = simple "5213" (alphaNumeric `upTo` 3)