1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D01B.Simples.S9013
10 import Text.Edifact.Parsing
11 import Text.Edifact.Types (Value)
13 -- | Derived from this specification:
15 -- > 9013 Status reason description code [C]
17 -- > Desc: Code specifying the reason for a status.
21 -- > 1 Address ex delivery area
22 -- > The address for delivery is outside the area of the
23 -- > carrier/transporter.
25 -- > 2 After transport departed
26 -- > The goods/consignments/equipment arrived after the means
27 -- > of transport has departed.
30 -- > The agent of the customer refused to accept delivery.
33 -- > The seals on the equipment have been changed from those
36 -- > 5 Appointment scheduled
37 -- > An arrangement has been made to deliver at a specific
40 -- > 6 Attempt unsuccessful
41 -- > An unsuccessful attempt has been made to deliver the
42 -- > goods/consignments/equipment.
44 -- > 7 Business closed
45 -- > The goods/consignments/equipment could not be
46 -- > delivered/collected as the business was closed.
48 -- > 8 Changed schedule
49 -- > The goods/consignments/equipment cannot/will not be
50 -- > delivered/collected at the arranged time because of a
51 -- > change of schedule.
53 -- > 9 Complementary address needed
54 -- > A further address is needed to effect
55 -- > delivery/collection of the goods/consignments/equipment.
57 -- > 10 Computer system down
58 -- > The computer system is inoperative.
60 -- > 11 Credit approval requested
61 -- > The consignee requests delivery on a credit base.
63 -- > 12 Customer arrangements
64 -- > Goods/consignments/equipment require delivery
65 -- > arrangements by the customer.
67 -- > 13 Customs refusal
68 -- > The Customs authorities have refused to clear the
69 -- > goods/consignments/equipment.
72 -- > The goods/consignments/equipment have been damaged.
74 -- > 15 Delivery at specific requested dates/times/periods
75 -- > Delivery of the goods/consignments/equipment is
76 -- > requested at specific dates/times/periods.
78 -- > 16 Destination incorrect
79 -- > The goods/consignments/equipment have been sent to wrong
82 -- > 17 Departure delay
83 -- > The transport has been delayed in departing on the
84 -- > arranged transport action.
87 -- > The train carrying the goods/consignments/equipment has
91 -- > There is a discrepancy between the details of goods/
92 -- > equipment previously provided and the actual situation.
95 -- > The goods/consignments/equipment cannot be
96 -- > delivered/collected due to a dock strike.
98 -- > 21 Due to customer
99 -- > An action in the transport chain has been affected due
100 -- > to action of the customer.
103 -- > The package/equipment is found to be empty.
105 -- > 23 Equipment failure
106 -- > Delivery/collection could not be effected due to
107 -- > equipment failure.
109 -- > 24 Examination required by relevant authority
110 -- > An examination of the goods/equipment has been ordered
111 -- > by the relevant authority.
113 -- > 25 Export restrictions
114 -- > The goods/consignments/equipment have been prohibited
115 -- > from export pending further investigation.
117 -- > 26 Frustrated export
118 -- > Attempts to export the goods/consignments/equipment have
119 -- > been unsuccessful.
121 -- > 27 Goods units missing
122 -- > The tally of goods/consignments/equipment does not match
123 -- > the quantity as per advice. Result: less than advised.
125 -- > 28 Import restrictions
126 -- > The goods/consignments/equipment need import checks and
127 -- > tests pending being released for importation.
129 -- > 29 Incorrect pick information
130 -- > The goods/consignments/equipment were not collected due
131 -- > to incorrect pick information.
133 -- > 30 Incorrect address
134 -- > The address given for the action was incorrect.
136 -- > 31 Industrial dispute
137 -- > The action was frustrated by an industrial dispute.
139 -- > 32 Instructions awaited
140 -- > Further instructions are required.
142 -- > 33 Lost goods/consignments/equipment
143 -- > The goods/consignments/equipment have been lost in the
144 -- > course of a movement along the transport chain.
146 -- > 34 Means of transport damaged
147 -- > The means of transport on which the
148 -- > goods/consignments/equipment were being (were to be)
149 -- > moved has been damaged.
151 -- > 35 Mechanical breakdown
152 -- > There has been a mechanical breakdown of the means of
153 -- > transport/equipment on which the
154 -- > goods/consignments/equipment was being (was to be)
157 -- > 36 Mechanical inspection
158 -- > A mechanical inspection of the means of transport/
159 -- > equipment on which the goods/consignments/equipment were
160 -- > being (were to be) moved, is required.
162 -- > 37 Missing and/or incorrect documents
163 -- > The goods/consignments/equipment require complete and
164 -- > correct documentation.
166 -- > 38 New delivery arrangements
167 -- > Alternative delivery arrangements advised by consignee
168 -- > after failed delivery.
170 -- > 39 No recipient contact information
171 -- > No information available concerning the responsible
172 -- > person at delivery address.
174 -- > 40 Not identified
175 -- > The goods/consignments/equipment expected to be located
176 -- > and identified in the transport chain cannot be
180 -- > The goods/consignments/equipment to be loaded onto a
181 -- > means of transport have not been loaded on the expected
185 -- > The goods/consignments/equipment have been stowed on
188 -- > 43 Package not ready
189 -- > The package was not available for collection.
191 -- > 44 Package tracking number unknown
192 -- > The package tracking number is unknown.
194 -- > 45 Partly missing
195 -- > The goods/consignments/equipment are partly, but not
196 -- > completely, missing.
198 -- > 46 Payment not received
199 -- > The expected payment for the transport action was not
202 -- > 47 Payment refused
203 -- > The payer refused to pay for the service.
206 -- > The goods/consignments/equipment have been plundered.
208 -- > 49 Refused without reason given
209 -- > The transport action/documentation has been refused
210 -- > without explanation.
212 -- > 50 Scheduled past cut-off
213 -- > The goods/consignments/equipment to be
214 -- > delivered/collected have been scheduled past/later than
215 -- > the cut-off time.
217 -- > 51 Shunted to siding
218 -- > The transport on which the goods/consignments/equipment
219 -- > is to be placed has been shunted to siding.
221 -- > 52 Signature not required
222 -- > Self explanatory.
224 -- > 53 Sorted wrong route
225 -- > The goods/consignments/equipment have been sorted
226 -- > erroneously to an incorrect route.
228 -- > 54 Special service required
229 -- > A special service is required for the
230 -- > goods/consignments/equipment.
233 -- > The consignment of goods has been split into two or more
236 -- > 56 Totally missing
237 -- > The total goods/consignments/equipment is missing.
239 -- > 57 Tracking information unavailable
240 -- > The tracking information of the
241 -- > goods/consignments/equipment is unavailable.
243 -- > 58 Transit delay
244 -- > The goods/consignments/equipment have been delayed in
247 -- > 59 Unable to locate
248 -- > The goods/consignments/equipment cannot be located.
250 -- > 60 Unacceptable condition
251 -- > The goods/consignments/equipment were in unacceptable
252 -- > condition at time of delivery/collection.
255 -- > The goods/consignments/equipment have been stowed
256 -- > under/below deck.
259 -- > The reason is unknown.
261 -- > 63 Weather conditions
262 -- > The weather conditions have affected
263 -- > collection/delivery.
265 -- > 64 Expired free time
266 -- > The goods/consignments/equipment have been in a storage
267 -- > facility for longer than permitted free time.
269 -- > 65 Outstanding claims settled
270 -- > Outstanding claims in respect of
271 -- > goods/consignments/equipment have been settled.
274 -- > A consignment or goods have been stolen.
276 -- > 67 Administrative error
277 -- > An administrative error has occurred.
279 -- > 68 Undefined incident attributed to buyer
280 -- > An undefined incident has been attributed to the buyer.
282 -- > 69 Undefined incident attributed to carrier
283 -- > An undefined incident has been attributed to the
286 -- > 70 Undefined incident attributed to logistic service provider
287 -- > An undefined incident has been attributed to the
288 -- > logistic service provider.
290 -- > 71 Change in agreed product reference
291 -- > An agreed reference associated with a product has
294 -- > 72 Difference in replenishment figures
295 -- > A difference has been identified between the opening
296 -- > inventory balance, the physical count of incoming
297 -- > replenishment inventory, and the closing inventory
300 -- > 73 Lost quantity of variable measurement product
301 -- > A quantity of a variable measurement product which has
304 -- > 74 Damaged during manipulation in warehouse
305 -- > Product damaged during the manipulation process in a
308 -- > 75 Product degenerated during storage or transport
309 -- > A product has degenerated during storage or transport.
312 -- > The goods, consignments, or equipment have been
315 -- > 77 Best before date expired
316 -- > A product's best before date has expired.
318 -- > 78 Log number assignment
319 -- > Log number is assigned.
321 -- > 79 Entry point assessment of Data Maintenance Request (DMR)
323 -- > An entry point is providing its initial comments on a
326 -- > 80 Entry point assessment of Data Maintenance Request (DMR)
328 -- > An entry point is providing its latest comments on a
331 -- > 82 International assessment group reporting on Data
332 -- > Maintenance Request (DMR)
333 -- > The international assessment group has determined if the
334 -- > Data Maintenance Request (DMR) is to be included in the
335 -- > next publication of the standard.
337 -- > 84 Central secretariat review cycle start
338 -- > Report start of the central secretariat review cycle.
340 -- > 85 Data structure tag assigned
341 -- > A data structure has been assigned a permanent tag.
344 -- > Information is in error.
346 -- > 88 Accident involving means of transport
347 -- > The means of transport being used to move the
348 -- > consignment has been involved in an accident.
350 -- > 89 Order or instruction status change
351 -- > A status of an order or instruction has changed.
353 -- > 90 Not accepted by delivery party
354 -- > The delivery was not accepted by the delivery party.
356 -- > 91 Delivery requested to another location by ordering party
357 -- > Goods have been delivered to another location following
358 -- > an instruction from the ordering party.
360 -- > 92 Incorrect goods delivered
361 -- > The goods delivered were incorrect.
363 -- > 93 Undefined incident attributed to customs authority
364 -- > An undefined incident has been attributed to the customs
367 -- > 94 Imperfect item
368 -- > Item has defect(s).
370 -- > 95 Excess goods delivered
371 -- > Excess goods have been delivered.
373 -- > 96 Goods partially delivered
374 -- > Goods were partially delivered.
376 -- > 97 Remove to federal court
377 -- > Action has been removed to a federal court level.
379 -- > 98 Change of venue granted
380 -- > A change in venue has been approved.
382 -- > 99 Replenish inventory
383 -- > The goods, consignment and/or equipment have replenished
386 -- > 100 Unloading date and or time not received
387 -- > The unloading date and or time was not received.
389 -- > 101 Stacked pallets not acceptable
390 -- > Stacked pallets are not accepted by the goods recipient.
392 -- > 102 Pallets containing mixed goods not acceptable
393 -- > Pallets containing mixed goods are not accepted by goods
396 -- > 103 Product expiry date not acceptable
397 -- > The product expiry date is not accepted.
399 -- > 104 Pallet and goods height higher than permitted
400 -- > The combined height of the pallet and goods is higher
403 -- > 105 Delivery order not received
404 -- > The delivery order was not received.
406 -- > 106 Back-orders not permitted by goods recipient
407 -- > Back-orders are not permitted by the goods recipient.
409 -- > 107 Article identification not found in computer system
410 -- > Article identification is not found in computer system.
412 -- > 108 Goods not barcoded
413 -- > Goods are not barcoded.
414 simple9013 :: Parser Value
415 simple9013 = simple "9013" (alphaNumeric `upTo` 3)