1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D01B.Simples.S8077
10 import Text.Edifact.Parsing
11 import Text.Edifact.Types (Value)
13 -- | Derived from this specification:
15 -- > 8077 Equipment supplier code [B]
17 -- > Desc: Code specifying the party that is the supplier of the
22 -- > 1 Shipper supplied
23 -- > The transport equipment is supplied by the shipper.
25 -- > 2 Carrier supplied
26 -- > The transport equipment is supplied by the carrier.
28 -- > 3 Consolidator supplied
29 -- > The equipment is supplied by the consolidator.
31 -- > 4 Deconsolidator supplied
32 -- > The equipment is supplied by the deconsolidator.
34 -- > 5 Third party supplied
35 -- > The equipment is supplied by a third party.
37 -- > 6 Forwarder supplied from a leasing company
38 -- > The equipment is supplied by the forwarder and is taken
39 -- > from a leasing company.
41 -- > 7 Forwarder supplied from the railways' pool
42 -- > The equipment is supplied by the forwarder and is taken
43 -- > from a pool established by railway companies.
44 simple8077 :: Parser Value
45 simple8077 = simple "8077" (alphaNumeric `upTo` 3)