aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D96A/Segments/DLM.hs
diff options
context:
space:
mode:
Diffstat (limited to 'specification/src/Text/Edifact/D96A/Segments/DLM.hs')
-rw-r--r--specification/src/Text/Edifact/D96A/Segments/DLM.hs54
1 files changed, 54 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D96A/Segments/DLM.hs b/specification/src/Text/Edifact/D96A/Segments/DLM.hs
new file mode 100644
index 0000000..94c31a9
--- /dev/null
+++ b/specification/src/Text/Edifact/D96A/Segments/DLM.hs
@@ -0,0 +1,54 @@
1{-# LANGUAGE OverloadedStrings #-}
2
3---- Machine generated code.
4---- Output of edi-parser-scaffolder
5
6module Text.Edifact.D96A.Segments.DLM
7 ( -- * Definition
8 segmentDLM
9 -- * Dependencies
10 , compositeC214
11 , compositeC522
12 , simple4455
13 , simple4457
14 ) where
15
16import Text.Edifact.D96A.Composites (compositeC214, compositeC522)
17import Text.Edifact.D96A.Simples (simple4455, simple4457)
18
19import Text.Edifact.Parsing
20import Text.Edifact.Types (Value)
21
22-- | Derived from this specification:
23--
24-- > DLM DELIVERY LIMITATIONS
25-- >
26-- > Function: To specify limitations on deliveries.
27-- >
28-- > 010 4455 BACK ORDER, CODED C an..3
29-- >
30-- > 020 C522 INSTRUCTION C
31-- > 4403 Instruction qualifier M an..3
32-- > 4401 Instruction, coded C an..3
33-- > 1131 Code list qualifier C an..3
34-- > 3055 Code list responsible agency, coded C an..3
35-- > 4400 Instruction C an..35
36-- >
37-- > 030 C214 SPECIAL SERVICES IDENTIFICATION C
38-- > 7161 Special services, coded C an..3
39-- > 1131 Code list qualifier C an..3
40-- > 3055 Code list responsible agency, coded C an..3
41-- > 7160 Special service C an..35
42-- > 7160 Special service C an..35
43-- >
44-- > 040 4457 PRODUCT/SERVICE SUBSTITUTION, CODED C an..3
45--
46-- Dependencies: 'compositeC214', 'compositeC522', 'simple4455', 'simple4457'.
47segmentDLM :: Parser Value
48segmentDLM =
49 segment "DLM"
50 [ "010" .@ optional simple4455
51 , "020" .@ optional compositeC522
52 , "030" .@ optional compositeC214
53 , "040" .@ optional simple4457
54 ]