1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D01B.Composites.C401
15 import Text.Edifact.D01B.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
25 -- > for, use of transportation other than normally
28 -- > 010 8457 Excess transportation reason code M an..3
29 -- > 020 8459 Excess transportation responsibility code M an..3
30 -- > 030 7130 Customer shipment authorisation
31 -- > identifier C an..17
33 -- Dependencies: 'simple7130', 'simple8457', 'simple8459'.
34 compositeC401 :: Parser Value
37 [ "010" .@ mandatory simple8457
38 , "020" .@ mandatory simple8459
39 , "030" .@ optional simple7130