]> git.immae.eu Git - github/fretlink/edi-parser.git/blame - specification/src/Text/Edifact/D01B/Composites/C186.hs
Release code as open source
[github/fretlink/edi-parser.git] / specification / src / Text / Edifact / D01B / Composites / C186.hs
CommitLineData
a9d77a20
FM
1{-# LANGUAGE OverloadedStrings #-}
2
3---- Machine generated code.
4---- Output of edi-parser-scaffolder
5
6module Text.Edifact.D01B.Composites.C186
7 ( -- * Definition
8 compositeC186
9 -- * Dependencies
10 , simple6060
11 , simple6063
12 , simple6411
13 ) where
14
15import Text.Edifact.D01B.Simples (simple6060, simple6063, simple6411)
16
17import Text.Edifact.Parsing
18import Text.Edifact.Types (Value)
19
20-- | Derived from this specification:
21--
22-- > C186 QUANTITY DETAILS
23-- >
24-- > Desc: Quantity information in a transaction, qualified
25-- > when relevant.
26-- >
27-- > 010 6063 Quantity type code qualifier M an..3
28-- > 020 6060 Quantity M an..35
29-- > 030 6411 Measurement unit code C an..3
30--
31-- Dependencies: 'simple6060', 'simple6063', 'simple6411'.
32compositeC186 :: Parser Value
33compositeC186 =
34 composite "C186"
35 [ "010" .@ mandatory simple6063
36 , "020" .@ mandatory simple6060
37 , "030" .@ optional simple6411
38 ]