]> git.immae.eu Git - github/fretlink/edi-parser.git/blob - specification/src/Text/Edifact/D96A/Segments/TPL.hs
Release code as open source
[github/fretlink/edi-parser.git] / specification / src / Text / Edifact / D96A / Segments / TPL.hs
1 {-# LANGUAGE OverloadedStrings #-}
2
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
5
6 module Text.Edifact.D96A.Segments.TPL
7 ( -- * Definition
8 segmentTPL
9 -- * Dependencies
10 , compositeC222
11 ) where
12
13 import Text.Edifact.D96A.Composites (compositeC222)
14
15 import Text.Edifact.Parsing
16 import 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'.
34 segmentTPL :: Parser Value
35 segmentTPL =
36 segment "TPL"
37 [ "010" .@ mandatory compositeC222
38 ]