1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D96A.Composites.C401
15 import Text.Edifact.D96A.Simples (simple7130, simple8457, simple8459)
17 import Text.Edifact.Parsing
18 import Text.Edifact.Types (Value)
20 -- | Derived from this specification:
22 -- > C401 EXCESS TRANSPORTATION INFORMATION
24 -- > Desc: To provide details of reason for, and responsibility for,
25 -- > use of transportation other than normally utilized.
27 -- > 010 8457 Excess transportation reason, coded M an..3
28 -- > 020 8459 Excess transportation responsibility, coded M an..3
29 -- > 030 7130 Customer authorization number C an..17
31 -- Dependencies: 'simple7130', 'simple8457', 'simple8459'.
32 compositeC401 :: Parser Value
35 [ "010" .@ mandatory simple8457
36 , "020" .@ mandatory simple8459
37 , "030" .@ optional simple7130