]> git.immae.eu Git - github/fretlink/edi-parser.git/blob - specification/src/Text/Edifact/D96A/Composites/C523.hs
Release code as open source
[github/fretlink/edi-parser.git] / specification / src / Text / Edifact / D96A / Composites / C523.hs
1 {-# LANGUAGE OverloadedStrings #-}
2
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
5
6 module Text.Edifact.D96A.Composites.C523
7 ( -- * Definition
8 compositeC523
9 -- * Dependencies
10 , simple6350
11 , simple6353
12 ) where
13
14 import Text.Edifact.D96A.Simples (simple6350, simple6353)
15
16 import Text.Edifact.Parsing
17 import Text.Edifact.Types (Value)
18
19 -- | Derived from this specification:
20 --
21 -- > C523 NUMBER OF UNIT DETAILS
22 -- >
23 -- > Desc: Identification of number of units and its purpose.
24 -- >
25 -- > 010 6350 Number of units C n..15
26 -- > 020 6353 Number of units qualifier C an..3
27 --
28 -- Dependencies: 'simple6350', 'simple6353'.
29 compositeC523 :: Parser Value
30 compositeC523 =
31 composite "C523"
32 [ "010" .@ optional simple6350
33 , "020" .@ optional simple6353
34 ]