aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D01B/Segments/RFF.hs
blob: 525508c0f57f8311911a6ef735a646d111e32c70 (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
{-# LANGUAGE OverloadedStrings #-}

---- Machine generated code.
---- Output of edi-parser-scaffolder

module Text.Edifact.D01B.Segments.RFF
  ( -- * Definition
    segmentRFF
    -- * Dependencies
  , compositeC506
  ) where

import           Text.Edifact.D01B.Composites (compositeC506)

import           Text.Edifact.Parsing
import           Text.Edifact.Types           (Value)

-- | Derived from this specification:
--
-- >        RFF  REFERENCE
-- >
-- >        Function: To specify a reference.
-- >
-- > 010    C506 REFERENCE                                  M    1
-- >        1153  Reference code qualifier                  M      an..3
-- >        1154  Reference identifier                      C      an..70
-- >        1156  Document line identifier                  C      an..6
-- >        4000  Reference version identifier              C      an..35
-- >        1060  Revision identifier                       C      an..6
--
-- Dependencies: 'compositeC506'.
segmentRFF :: Parser Value
segmentRFF =
  segment "RFF"
    [ "010" .@ mandatory compositeC506
    ]