1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D96A.Segments.LIN
18 import Text.Edifact.D96A.Composites (compositeC212, compositeC829)
19 import Text.Edifact.D96A.Simples (simple1082, simple1222,
20 simple1229, simple7083)
22 import Text.Edifact.Parsing
23 import Text.Edifact.Types (Value)
25 -- | Derived from this specification:
29 -- > Function: To identify a line item and configuration.
31 -- > 010 1082 LINE ITEM NUMBER C n..6
33 -- > 020 1229 ACTION REQUEST/NOTIFICATION, CODED C an..3
35 -- > 030 C212 ITEM NUMBER IDENTIFICATION C
36 -- > 7140 Item number C an..35
37 -- > 7143 Item number type, coded C an..3
38 -- > 1131 Code list qualifier C an..3
39 -- > 3055 Code list responsible agency, coded C an..3
41 -- > 040 C829 SUB-LINE INFORMATION C
42 -- > 5495 Sub-line indicator, coded C an..3
43 -- > 1082 Line item number C n..6
45 -- > 050 1222 CONFIGURATION LEVEL C n..2
47 -- > 060 7083 CONFIGURATION, CODED C an..3
49 -- Dependencies: 'compositeC212', 'compositeC829', 'simple1082', 'simple1222', 'simple1229', 'simple7083'.
50 segmentLIN :: Parser Value
53 [ "010" .@ optional simple1082
54 , "020" .@ optional simple1229
55 , "030" .@ optional compositeC212
56 , "040" .@ optional compositeC829
57 , "050" .@ optional simple1222
58 , "060" .@ optional simple7083