1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D01B.Segments.TMD
15 import Text.Edifact.D01B.Composites (compositeC219)
16 import Text.Edifact.D01B.Simples (simple8332, simple8341)
18 import Text.Edifact.Parsing
19 import Text.Edifact.Types (Value)
21 -- | Derived from this specification:
23 -- > TMD TRANSPORT MOVEMENT DETAILS
25 -- > Function: To specify operational transport movement
26 -- > details for a goods item or equipment (which may
27 -- > differ from the contractual conditions).
29 -- > 010 C219 MOVEMENT TYPE C 1
30 -- > 8335 Movement type description code C an..3
31 -- > 8334 Movement type description C an..35
33 -- > 020 8332 EQUIPMENT PLAN DESCRIPTION C 1 an..26
35 -- > 030 8341 HAULAGE ARRANGEMENTS CODE C 1 an..3
37 -- Dependencies: 'compositeC219', 'simple8332', 'simple8341'.
38 segmentTMD :: Parser Value
41 [ "010" .@ optional compositeC219
42 , "020" .@ optional simple8332
43 , "030" .@ optional simple8341