aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D96A/Segments/TPL.hs
diff options
context:
space:
mode:
Diffstat (limited to 'specification/src/Text/Edifact/D96A/Segments/TPL.hs')
-rw-r--r--specification/src/Text/Edifact/D96A/Segments/TPL.hs38
1 files changed, 38 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D96A/Segments/TPL.hs b/specification/src/Text/Edifact/D96A/Segments/TPL.hs
new file mode 100644
index 0000000..2e9f64a
--- /dev/null
+++ b/specification/src/Text/Edifact/D96A/Segments/TPL.hs
@@ -0,0 +1,38 @@
1{-# LANGUAGE OverloadedStrings #-}
2
3---- Machine generated code.
4---- Output of edi-parser-scaffolder
5
6module Text.Edifact.D96A.Segments.TPL
7 ( -- * Definition
8 segmentTPL
9 -- * Dependencies
10 , compositeC222
11 ) where
12
13import Text.Edifact.D96A.Composites (compositeC222)
14
15import Text.Edifact.Parsing
16import Text.Edifact.Types (Value)
17
18-- | Derived from this specification:
19--
20-- > TPL TRANSPORT PLACEMENT
21-- >
22-- > Function: To specify placement of goods or equipment in relation
23-- > to the transport used. The segment serves as a pointer
24-- > to the TDT segment group.
25-- >
26-- > 010 C222 TRANSPORT IDENTIFICATION M
27-- > 8213 Id. of means of transport identification C an..9
28-- > 1131 Code list qualifier C an..3
29-- > 3055 Code list responsible agency, coded C an..3
30-- > 8212 Id. of the means of transport C an..35
31-- > 8453 Nationality of means of transport, coded C an..3
32--
33-- Dependencies: 'compositeC222'.
34segmentTPL :: Parser Value
35segmentTPL =
36 segment "TPL"
37 [ "010" .@ mandatory compositeC222
38 ]