1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D96A.Segments.QVR
15 import Text.Edifact.D96A.Composites (compositeC279, compositeC960)
16 import Text.Edifact.D96A.Simples (simple4221)
18 import Text.Edifact.Parsing
19 import Text.Edifact.Types (Value)
21 -- | Derived from this specification:
23 -- > QVR QUANTITY VARIANCES
25 -- > Function: To specify item details relating to quantity
28 -- > Note: This segment replaces segment QVA (which has been
29 -- > deleted in this directory).
31 -- > 010 C279 QUANTITY DIFFERENCE INFORMATION C
32 -- > 6064 Quantity difference M n..15
33 -- > 6063 Quantity qualifier C an..3
35 -- > 020 4221 DISCREPANCY, CODED C an..3
37 -- > 030 C960 REASON FOR CHANGE C
38 -- > 4295 Change reason, coded C an..3
39 -- > 1131 Code list qualifier C an..3
40 -- > 3055 Code list responsible agency, coded C an..3
41 -- > 4294 Change reason C an..35
43 -- Dependencies: 'compositeC279', 'compositeC960', 'simple4221'.
44 segmentQVR :: Parser Value
47 [ "010" .@ optional compositeC279
48 , "020" .@ optional simple4221
49 , "030" .@ optional compositeC960