blob: cdb8254b8da6a1bd3d3d4d981f9851706adb472e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
{-# LANGUAGE OverloadedStrings #-}
---- Machine generated code.
---- Output of edi-parser-scaffolder
module Text.Edifact.D96A.Segments.GID
( -- * Definition
segmentGID
-- * Dependencies
, compositeC213
, simple1496
) where
import Text.Edifact.D96A.Composites (compositeC213)
import Text.Edifact.D96A.Simples (simple1496)
import Text.Edifact.Parsing
import Text.Edifact.Types (Value)
-- | Derived from this specification:
--
-- > GID GOODS ITEM DETAILS
-- >
-- > Function: To indicate totals of a goods item.
-- >
-- > 010 1496 GOODS ITEM NUMBER C n..5
-- >
-- > 020 C213 NUMBER AND TYPE OF PACKAGES C
-- > 7224 Number of packages C n..8
-- > 7065 Type of packages identification C an..17
-- > 1131 Code list qualifier C an..3
-- > 3055 Code list responsible agency, coded C an..3
-- > 7064 Type of packages C an..35
-- >
-- > 030 C213 NUMBER AND TYPE OF PACKAGES C
-- > 7224 Number of packages C n..8
-- > 7065 Type of packages identification C an..17
-- > 1131 Code list qualifier C an..3
-- > 3055 Code list responsible agency, coded C an..3
-- > 7064 Type of packages C an..35
-- >
-- > 040 C213 NUMBER AND TYPE OF PACKAGES C
-- > 7224 Number of packages C n..8
-- > 7065 Type of packages identification C an..17
-- > 1131 Code list qualifier C an..3
-- > 3055 Code list responsible agency, coded C an..3
-- > 7064 Type of packages C an..35
--
-- Dependencies: 'compositeC213', 'simple1496'.
segmentGID :: Parser Value
segmentGID =
segment "GID"
[ "010" .@ optional simple1496
, "020" .@ optional compositeC213
, "030" .@ optional compositeC213
, "040" .@ optional compositeC213
]
|