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/Segments/PCD.hs | |
download | edi-parser-master.tar.gz edi-parser-master.tar.zst edi-parser-master.zip |
Diffstat (limited to 'specification/src/Text/Edifact/D96A/Segments/PCD.hs')
-rw-r--r-- | specification/src/Text/Edifact/D96A/Segments/PCD.hs | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D96A/Segments/PCD.hs b/specification/src/Text/Edifact/D96A/Segments/PCD.hs new file mode 100644 index 0000000..6f4da2d --- /dev/null +++ b/specification/src/Text/Edifact/D96A/Segments/PCD.hs | |||
@@ -0,0 +1,36 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D96A.Segments.PCD | ||
7 | ( -- * Definition | ||
8 | segmentPCD | ||
9 | -- * Dependencies | ||
10 | , compositeC501 | ||
11 | ) where | ||
12 | |||
13 | import Text.Edifact.D96A.Composites (compositeC501) | ||
14 | |||
15 | import Text.Edifact.Parsing | ||
16 | import Text.Edifact.Types (Value) | ||
17 | |||
18 | -- | Derived from this specification: | ||
19 | -- | ||
20 | -- > PCD PERCENTAGE DETAILS | ||
21 | -- > | ||
22 | -- > Function: To specify percentage information. | ||
23 | -- > | ||
24 | -- > 010 C501 PERCENTAGE DETAILS M | ||
25 | -- > 5245 Percentage qualifier M an..3 | ||
26 | -- > 5482 Percentage C n..10 | ||
27 | -- > 5249 Percentage basis, coded C an..3 | ||
28 | -- > 1131 Code list qualifier C an..3 | ||
29 | -- > 3055 Code list responsible agency, coded C an..3 | ||
30 | -- | ||
31 | -- Dependencies: 'compositeC501'. | ||
32 | segmentPCD :: Parser Value | ||
33 | segmentPCD = | ||
34 | segment "PCD" | ||
35 | [ "010" .@ mandatory compositeC501 | ||
36 | ] | ||