1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D01B.Segments.SGP
14 import Text.Edifact.D01B.Composites (compositeC237)
15 import Text.Edifact.D01B.Simples (simple7224)
17 import Text.Edifact.Parsing
18 import Text.Edifact.Types (Value)
20 -- | Derived from this specification:
22 -- > SGP SPLIT GOODS PLACEMENT
24 -- > Function: To specify the placement of goods in relation to
27 -- > 010 C237 EQUIPMENT IDENTIFICATION M 1
28 -- > 8260 Equipment identifier C an..17
29 -- > 1131 Code list identification code C an..17
30 -- > 3055 Code list responsible agency code C an..3
31 -- > 3207 Country name code C an..3
33 -- > 020 7224 PACKAGE QUANTITY C 1 n..8
35 -- Dependencies: 'compositeC237', 'simple7224'.
36 segmentSGP :: Parser Value
39 [ "010" .@ mandatory compositeC237
40 , "020" .@ optional simple7224