blob: 37f328a57b69b997d5497d943c0a3a4491adf655 (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
|
{-# LANGUAGE OverloadedStrings #-}
---- Machine generated code.
---- Output of edi-parser-scaffolder
module Text.Edifact.D01B.Simples.S6311
( simple6311
) where
import Text.Edifact.Parsing
import Text.Edifact.Types (Value)
-- | Derived from this specification:
--
-- > * 6311 Measurement purpose code qualifier [B]
-- >
-- > Desc: Code qualifying the purpose of the measurement.
-- >
-- > Repr: an..3
-- >
-- > AAA Line item measurement
-- > Line item measurement specified by the Food and Drug
-- > Administration.
-- >
-- > + AAB Transport conditions for delivery to distribution centre
-- > Specified measurements refer to transport conditions for
-- > delivery to a distribution centre.
-- >
-- > AAC Retail container size
-- > Size of a retail container in terms of volume.
-- >
-- > AAD Other US Government agency application
-- > Measurement to be used by/for other United States
-- > government agencies.
-- >
-- > AAE Measurement
-- > [6314] Value of the measured unit.
-- >
-- > AAF Customs line item measurement
-- > The measurement of a consignment or part for customs
-- > purpose.
-- >
-- > AAG Alcohol content
-- > The measurement of the alcohol content.
-- >
-- > AAH Dimensions total weight
-- > The total weight of an identified dimension.
-- >
-- > AAI Item weight
-- > Weight at line item level.
-- >
-- > AAJ Visa quantity
-- > Measurement reportable for visaed merchandise.
-- >
-- > AAK Licence (quantity deducted)
-- > Quantity to be written off from the total license
-- > amount.
-- >
-- > AAL Cargo loaded
-- > Total tonnage of cargo loaded onto the conveyance.
-- >
-- > AAM Cargo discharged
-- > Total tonnage of cargo unloaded from the conveyance.
-- >
-- > AAN Weight of conveyance
-- > Tonnage of conveyance.
-- >
-- > AAO Conveyance summer dead weight
-- > Registered summer dead weight total tonnage of the
-- > vessel.
-- >
-- > AAP Containerized cargo on vessel's weight
-- > Total weight of containerized cargo on vessel.
-- >
-- > AAQ Non-containerized cargo on vessel's weight
-- > Total weight of non-containerized cargo on vessel.
-- >
-- > AAR 1st specified tariff quantity
-- > Primary reportable quantity associated with a tariff
-- > number.
-- >
-- > AAS 2nd specified tariff quantity
-- > Secondary reportable quantity associated with a tariff
-- > number.
-- >
-- > AAT 3rd specified tariff quantity
-- > Third reportable quantity associated with a tariff
-- > number.
-- >
-- > AAU Package
-- > Commodity/product shipped or sold in discrete individual
-- > containers which may be accumulated in a larger package.
-- >
-- > AAV Person
-- > Physical measurement of a person.
-- >
-- > AAW Accuracy
-- > Accuracy of the measurements being sent.
-- >
-- > AAX Consignment measurement
-- > Measurement related to a consignment; to be specified by
-- > the measurement code dimension value.
-- >
-- > AAY Package measurement
-- > Measurements of package.
-- >
-- > AAZ Handling unit measurement
-- > Measurements of handling unit.
-- >
-- > ABA Unit of measure used for ordered quantities
-- > The unit of measure in which ordered quantities are
-- > expressed.
-- >
-- > + ABB Transport conditions for delivery to market
-- > Specified measurements refer to transport conditions for
-- > delivery to the market.
-- >
-- > + ABC Storage conditions to guarantee product freshness until
-- > best before date
-- > Specified measurements refer to storage conditions to
-- > guarantee the product freshness until best before date.
-- >
-- > ABI Ventilation
-- > The number of air exchanges per hour.
-- >
-- > ABJ Original unit of issue
-- > A code identifying the original unit of issue.
-- >
-- > ABK External dimension
-- > The outer measurement of the referenced item or package.
-- >
-- > ABL Internal dimension
-- > The inner measurement of the referenced item or package.
-- >
-- > ABM Test piece dimensions
-- > The size of the test piece that was tested.
-- >
-- > ABN Average reading
-- > Average reading of the test being reported on.
-- >
-- > ABO Comparison price measurement
-- > A measurement used for comparison pricing purposes.
-- >
-- > ABP Unit of measure per unit of issue
-- > Provides the unit of measurement which is to be used for
-- > a given unit of issue.
-- >
-- > ABQ Air flow
-- > The movement of air.
-- >
-- > X ABR Certified weight
-- > Weight which has been certified.
-- >
-- > Note:
-- > 1. This code value will be removed effective with
-- > directory D.03A.
-- >
-- > ABS Velocity
-- > Speed.
-- >
-- > ABT Supplementary unit
-- > Supplementary unit referring to the measurement
-- > reported.
-- >
-- > ABU Quota
-- > Maximum number or amount.
-- >
-- > ABV Unit of time
-- > The specification of a specific unit of time.
-- >
-- > ABW Unit of measure used for invoiced quantities
-- > Unit of measure of invoiced quantity.
-- >
-- > ABX Usable or consumable content
-- > Measurement of usable or consumable contents.
-- >
-- > ABY Payment cycle
-- > Measurement of the period of time over which payment
-- > occurs.
-- >
-- > ABZ Plot size
-- > The relative bigness of a plot or an allotment of land.
-- >
-- > ACA Space occupied
-- > Space taken up or filled.
-- >
-- > ACB Building size
-- > The relative bigness of a permanent fixed structure
-- > forming an enclosure.
-- >
-- > ACC Office size
-- > The relative bigness of a room or building used for
-- > clerical or similar work.
-- >
-- > ACD Area damaged
-- > The size of an area that was damaged.
-- >
-- > ACE Land size
-- > The relative bigness of an expanse of ground.
-- >
-- > ACF Industrial plant size
-- > The relative bigness of a factory or facility used in an
-- > industrial process.
-- >
-- > ACG Installed capacity
-- > The maximum amount that can be contained or produced.
-- >
-- > ACH Warehouse size
-- > The relative bigness of a structure in which things are
-- > temporarily stored.
-- >
-- > ASW Weight ascertained
-- > [4240] Endorsement of the true weight (mass) as
-- > ascertained or verified by the railway (CIM 81).
-- >
-- > ASX Supplemental tariff classification quantity
-- > Supplemental quantity reportable for a tariff number.
-- >
-- > ASY 1st specified tariff quantity, general rules of
-- > interpretation 3(c) or 3(b)
-- > The first reportable quantity associated with a tariff
-- > number for goods classified under general rules of
-- > interpretation 3(b) or 3(c).
-- >
-- > ASZ 2nd specified tariff quantity, general rules of
-- > interpretation 3(c) or 3(b)
-- > Secondary reportable quantity associated with a tariff
-- > classification for goods classified under harmonized
-- > tariff schedule general rules of interpretation 3(b) or
-- > 3(c).
-- >
-- > ATA 3rd specified tariff quantity, general rules of
-- > interpretation 3(c) or 3(b)
-- > Third reportable quantity associated with a tariff
-- > classification for goods classified under harmonized
-- > tariff schedule general rules of interpretation 3(b) or
-- > 3(c).
-- >
-- > ATB Showroom size
-- > The relative bigness of a room used for display.
-- >
-- > ATC Reserves
-- > Measurement of reserves maintained.
-- >
-- > ATD Height reference point
-- > The point from which the reference height is determined.
-- >
-- > ATE Available for cultivation
-- > The purpose is to measure the availability for
-- > cultivation.
-- >
-- > CH Chemistry
-- > The given measurement value identifies the amount or
-- > percentage of a specific chemical within a substance.
-- >
-- > CHW Chargeable weight
-- > The weight on which charges are based.
-- >
-- > CN Core notch dimensions
-- > The notch dimensions of a core.
-- >
-- > CS Core size
-- > The size of a core.
-- >
-- > CT Counts
-- > The measurement is counts.
-- >
-- > DEN Density
-- > Code to indicate the mass of a commodity per unit of
-- > volume.
-- >
-- > DT Dimensional tolerance
-- > Possible range of values for a specified measurement
-- > dimension of a product, material or package.
-- >
-- > DV Discrete measurement value
-- > The measurement specified is separate and distinct from
-- > other measurements.
-- >
-- > DX Dimension used in price extension
-- > Dimension will be used in conjunction with price
-- > extension.
-- >
-- > EN Environmental conditions
-- > The data values to be reported reflect the environmental
-- > conditions surrounding a situation including but not
-- > limited to test environments.
-- >
-- > FO Footage
-- > Length or distance in feet.
-- >
-- > IV Interpolated value
-- > The value based on interpolation.
-- >
-- > LAO Vessel overall length
-- > Total overall length of the vessel.
-- >
-- > LC Limited weight/size coils
-- > Measurement identifying weight or size limit of coils.
-- >
-- > LGL Length limitations
-- > Indicates that value/range information is understood as
-- > length limitation.
-- >
-- > LL Lift limitation
-- > A measurement indicating lift capacity limitations.
-- >
-- > LMT Loading meters
-- > The length in a vehicle, whereby the complete width and
-- > height over that length is needed for the goods.
-- >
-- > PAL Payload
-- > The revenue-producing load carried by a means of
-- > transport.
-- >
-- > PC Parting cut (sawcut)
-- > Cut identifying parts of an item probably for
-- > separation.
-- >
-- > PD Physical dimensions (product ordered)
-- > Specified measurement dimensions refer to physical
-- > dimensions of a product, material or package.
-- >
-- > PL Package limitations
-- > A measurement indicating limitations associated with the
-- > package.
-- >
-- > PLL Platform limitation
-- > A measurement indicating limitations in relation to a
-- > platform.
-- >
-- > RL Receiving facility limitations
-- > Specified measurement dimensions are provided as a
-- > result of limitations or restrictions related to the
-- > physical dimensions of a product, material or package at
-- > the reception point.
-- >
-- > SE Property specification
-- > Indicates that the data to follow are target
-- > specifications.
-- >
-- > SH Shipping tolerance
-- > Tolerances related to shipping.
-- >
-- > SM Shade
-- > The degree to which a colour is mixed with black or is
-- > decreasingly illuminated.
-- >
-- > SO Storage limitation
-- > A measurement indicating limitation in relation to
-- > storage.
-- >
-- > SR Surface roughness
-- > The measurement of roughness of a surface.
-- >
-- > ST Surface treatment
-- > The attribute being measured is the surface treatment.
-- >
-- > SU Surface
-- > Surface area of an object.
-- >
-- > SV Specification value
-- > A measurable item characteristic specified by the buyer,
-- > seller or third party.
-- >
-- > TE Temperature
-- > The measured attribute is temperature.
-- >
-- > TL Transportation equipment limitations
-- > A measurement indicating limitations in relation to
-- > transportation equipment.
-- >
-- > TR Test result
-- > Indicates that the data to follow is the test result
-- > measurements.
-- >
-- > VOL Volume
-- > Size or measure of anything in three dimensions.
-- >
-- > WT Weights
-- > The measured attribute is weight.
-- >
-- > WX Weight used in price extension
-- > Weight will be used in conjunction with price extension.
simple6311 :: Parser Value
simple6311 = simple "6311" (alphaNumeric `upTo` 3)
|