W04 Item Detail Total

To designate those line items that were shipped

Position
Element
Name
Type
Requirement
Min
Max
Repeat
W04-01
Number of Units Shipped
Decimal number (R)
Mandatory
1
10
-
Numeric value of units shipped in manufacturer's shipping units for a line item or transaction set.
W04-02
Unit or Basis for Measurement Code
Identifier (ID)
Mandatory
2
2
-
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
W04-03
U.P.C. Case Code
String (AN)
Conditional
12
12
-
Code (Universal Product Code - U.P.C.) including two high order digits identifying the ``system'' (U.S. Grocery = 00, 06 or 07; U.S. Drug = 03); using the U.S. Grocery system, the next ten digits are: Manufacturer (5) Case Code (5)
R0304: At least one of W04-03 or W04-04 is required
W04-04
Product/Service ID Qualifier
Identifier (ID)
Conditional
2
2
-
Code identifying the type/source of the descriptive number used in Product/Service ID (234).
P0405: If either W04-04 or W04-05 is present, then the other is required
W04-05
Product/Service ID
String (AN)
Conditional
1
40
-
Identifying number for a product or service.
W04-06
Product/Service ID Qualifier
Identifier (ID)
Conditional
2
2
-
Code identifying the type/source of the descriptive number used in Product/Service ID (234).
P0607: If either W04-06 or W04-07 is present, then the other is required
W04-07
Product/Service ID
String (AN)
Conditional
1
40
-
Identifying number for a product or service.
W04-08
Freight Class Code
String (AN)
Optional
2
5
-
Code indicating generalized classification that applies to one or more items in the shipment, i.e., class 70, 77.5, etc.
W04-09
Rate Class Code
Identifier (ID)
Optional
1
3
-
Code identifying specifically designated class of goods. Note: For international air shipments, see IATA Resolution 600k.
W04-10
Commodity Code Qualifier
Identifier (ID)
Optional
1
1
-
Code identifying the commodity coding system used for Commodity Code.
W04-11
Commodity Code
String (AN)
Optional
1
30
-
Code describing a commodity or group of commodities.
W04-12
Pallet Block and Tiers
Numeric (N0)
Optional
6
6
-
Code indicating pallet and load structure. First three digits indicate the number of cases per layer, last three digits indicate the number of layers per pallet.
W04-13
Inbound Condition Hold Code
Identifier (ID)
Optional
2
2
-
Code designating condition status of units being shipped.

Stedi is a registered trademark of Stedi, Inc. Stedi's EDI Reference is provided for marketing purposes and is free of charge. All names, logos, and brands of third parties listed on our site are trademarks of their respective owners (including “X12”, which is a trademark of X12 Incorporated). Stedi, Inc. and its products and services are not endorsed by, sponsored by, or affiliated with these third parties. Our use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.