]>
Commit | Line | Data |
---|---|---|
a9d77a20 FM |
1 | {-# LANGUAGE OverloadedStrings #-} |
2 | ||
3 | ---- Machine generated code. | |
4 | ---- Output of edi-parser-scaffolder | |
5 | ||
6 | module Text.Edifact.D96A.Composites.C279 | |
7 | ( -- * Definition | |
8 | compositeC279 | |
9 | -- * Dependencies | |
10 | , simple6063 | |
11 | , simple6064 | |
12 | ) where | |
13 | ||
14 | import Text.Edifact.D96A.Simples (simple6063, simple6064) | |
15 | ||
16 | import Text.Edifact.Parsing | |
17 | import Text.Edifact.Types (Value) | |
18 | ||
19 | -- | Derived from this specification: | |
20 | -- | |
21 | -- > C279 QUANTITY DIFFERENCE INFORMATION | |
22 | -- > | |
23 | -- > Desc: Information on quantity difference. | |
24 | -- > | |
25 | -- > 010 6064 Quantity difference M n..15 | |
26 | -- > 020 6063 Quantity qualifier C an..3 | |
27 | -- | |
28 | -- Dependencies: 'simple6063', 'simple6064'. | |
29 | compositeC279 :: Parser Value | |
30 | compositeC279 = | |
31 | composite "C279" | |
32 | [ "010" .@ mandatory simple6064 | |
33 | , "020" .@ optional simple6063 | |
34 | ] |