G50 Purchase Order Identification

To transmit identifying dates and numbers for this transaction set

Position
Element
Name
Type
Requirement
Min
Max
Repeat
G50-01
Order Status Code
Identifier (ID)
Mandatory
1
1
1
Code identifying purpose of transaction set
G50-02
Date
Date (DT)
Mandatory
8
8
1
Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year
G5002 is the date assigned by the purchaser to the purchase order.
G50-03
Purchase Order Number
String (AN)
Mandatory
1
22
1
Identifying number for Purchase Order assigned by the orderer/purchaser
G50-04
Tax Exempt Code
Identifier (ID)
Optional
1
1
1
Code identifying exemption status from sales and use tax
G50-05
Master Reference (Link) Number
String (AN)
Conditional
1
22
1
Reference number assigned by the sender to relate a transaction set to a master transaction (When associating a group of purchase orders, invoices or other transaction sets, use the master reference (link) number to identify the group and the link sequence number to identify individual transaction sets within the group)
P0506: If either G50-05 or G50-06 is present, then the other is required
G50-06
Link Sequence Number
Numeric (N0)
Conditional
6
6
1
A two-part number in the form "SSSTTT" where "SSS" is a sequentially assigned number and "TTT" equals the highest sequential number being used within the associated (linked) group (Leading zeros are required for both "SSS" and "TTT")
G50-07
Purchase Order Type Code
Identifier (ID)
Optional
2
2
1
Code specifying the type of Purchase Order

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.