G04 Item Detail

To designate those line items that were not shipped as ordered

Position
Element
Name
Type
Requirement
Min
Max
Repeat
G04-01
Shipment/Order Status Code
Identifier (ID)
Mandatory
2
2
-
Code indicating the status of an order or shipment or the disposition of any difference between the quantity ordered and the quantity shipped for a line item or transaction.
G04-02
Quantity Ordered
Decimal number (R)
Mandatory
1
9
-
Quantity ordered.
G04-03
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.
G04-04
Quantity Difference
Decimal number (R)
Mandatory
1
9
-
Numeric value of variance between ordered and shipped quantities.
G04-05
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
G0405 qualifies G0404.
G04-06
UPC Case Code
String (AN)
Conditional
12
12
-
Code (Universal Product Code - ``UPC'') 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).
R0607: At least one of G04-06 or G04-07 is required
G04-07
Product/Service ID Qualifier
Identifier (ID)
Conditional
2
2
-
Code identifying the type/source of the descriptive number used in Product/Service ID (234).
P0708: If either G04-07 or G04-08 is present, then the other is required
G04-08
Product/Service ID
String (AN)
Conditional
1
30
-
Identifying number for a product or service.

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.