Stedi maintains this guide based on public documentation from Tractor Supply Co. Contact Tractor Supply Co for official EDI specifications. To report any errors in this guide, please contact us.
X12 850 DTC Purchase Order
—
Delimiters
- ~ Segment
- * Element
- > Component
Powered by
Build EDI implementation guides at stedi.com
Overview
ISA
-
Interchange Control Header
Max use 1
Required
GS
-
Functional Group Header
Max use 1
Required
heading
ST
010
Transaction Set Header
Max use 1
Required
BEG
020
Beginning Segment for Purchase Order
Max use 1
Required
REF
050
Customer Order Number
Max use 1
Required
REF
050
Internal Vendor Number
Max use 1
Required
FOB
080
F.O.B. Related Instructions
Max use 1
Required
CSH
110
Sales Requirements
Max use 5
Required
ITD
130
Terms of Sale/Deferred Terms of Sale
Max use 1
Required
DTM
150
Delivery Requested
Max use 1
Optional
DTM
150
Requested Ship
Max use 1
Required
PWK
210
Paperwork
Max use 25
Optional
TD5
240
Carrier Details (Routing Sequence/Transit Time)
Max use 12
Required
TD4
260
Carrier Details (Special Handling, or Hazardous Materials, or Both)
Max use 5
Optional
GE
-
Functional Group Trailer
Max use 1
Required
IEA
-
Interchange Control Trailer
Max use 1
Required
—
- 00
- No Authorization Information Present (No Meaningful Information in I02)
—
- 00
- No Security Information Present (No Meaningful Information in I04)
—
- U
- U.S. EDI Community of ASC X12, TDCC, and UCS
—
- 00400
- Standard Issued as ANSI X12.5-1997
—
- 0
- No Acknowledgment Requested
- 1
- Interchange Acknowledgment Requested
—
- T
- Transportation Data Coordinating Committee (TDCC)
- X
- Accredited Standards Committee X12
Heading
REF
050
Heading > REF
Customer Order Number
RequiredMax use 1
—
Usage notes
—
Example
Variants (all may be used)
REFInternal Vendor NumberREF
050
Heading > REF
Internal Vendor Number
RequiredMax use 1
—
Example
Variants (all may be used)
REFCustomer Order NumberDTM
150
Heading > DTM
Delivery Requested
OptionalMax use 1
—
Example
Variants (all may be used)
DTMRequested ShipDTM
150
Heading > DTM
Requested Ship
RequiredMax use 1
—
Usage notes
—
Example
Variants (all may be used)
DTMDelivery RequestedTD5
240
Heading > TD5
Carrier Details (Routing Sequence/Transit Time)
RequiredMax use 12
—
Usage notes
—
Example
—
- LT
- Less Than Trailer Load (LTL)
- MP
- Motor (Package Carrier)
- U
- Private Parcel Service
TD4
260
Heading > TD4
Carrier Details (Special Handling, or Hazardous Materials, or Both)
OptionalMax use 5
—
Usage notes
—
Example
N1 Bill-to-Party
RequiredMax 1
N1 Bill-to-Party end
N1 Mark-for Party
RequiredMax 1
N1 Mark-for Party end
N1 Ship To
RequiredMax 1
PER
360
Heading > Ship To > PER
Administrative Communications Contact
RequiredMax use >1
—
Usage notes
—
Example
N1 Ship To end
Heading end
Detail
PO1 Loop
RequiredMax >1
—
- EN
- European Article Number (EAN) (2-5-5-1)
- UP
- U.P.C. Consumer Package Code (1-5-5-1)
CTP Loop
RequiredMax >1
CTP Loop end
PID Loop
RequiredMax >1
PID
050
Detail > PO1 Loop > PID Loop > PID
Product/Item Description
RequiredMax use 1
—
Usage notes
—
Example
PID Loop end
PO1 Loop end
Detail end
Summary
CTT Loop
RequiredMax >1
CTT Loop end
Summary end
EDI Samples
LTL Order Sample
ISA*00* *00* *08*6120930010 *01*064193840ZZ *190627*1537*U*00401*000000008*0*P*>~
GS*PO*6120930010*064193840ZZ*20190627*15372942*000000005*X*004010~
ST*850*0001~
BEG*00*DS*9003025779**20190627~
REF*CO*3003012333~
REF*IA*800410~
FOB*TP~
CSH*N~
ITD*05******60*****NET 60~
DTM*010*20190627~
DTM*002*20190712~
PWK*BL******ATTN CARRIER: PRIMARY CONTACT NUMBER 615-440-4037~
PWK*BL******ATTN CARRIER: EXPECTED DELIVERY DATE 07-12-2017~
PWK*BL******ATTN CARRIER: DELIVERY WINDOW 12:00-16:00~
PWK*BL******ATTN CARRIER: LIFTGATE REQUIRED~
PWK*BL******ATTN CARRIER: RESIDENTIAL DELIVERY~
TD5*O*2*CNWY*LT********CG~
N1*ST*First Name Last Name*92*9999~
N3*5401 VIRGINIA WAY*SUITE A3142~
N4*BRENTWOOD*TN*37027*US~
PER*DC*First Name Last Name*TE*615-440-4037*EM*CUSTOMERSERVICE@TRACTORSUPPLY.COM~
N1*Z7*First Name Last Name*92*9999~
N1*BT*TSC*92*5509~
N3*PO BOX 7000~
N4*BRENTWOOD*TN*37027*US~
PO1*10*1*EA*82.24**IN*1264211*VN*411*UP*008055041201~
CTP**RTL*99.99~
PID*F****HAMMOCK~
CTT*1~
SE*28*0001~
GE*1*000000005~
IEA*1*000000008~
GS*PO*6120930010*064193840ZZ*20190627*15372942*000000005*X*004010~
ST*850*0001~
BEG*00*DS*9003025779**20190627~
REF*CO*3003012333~
REF*IA*800410~
FOB*TP~
CSH*N~
ITD*05******60*****NET 60~
DTM*010*20190627~
DTM*002*20190712~
PWK*BL******ATTN CARRIER: PRIMARY CONTACT NUMBER 615-440-4037~
PWK*BL******ATTN CARRIER: EXPECTED DELIVERY DATE 07-12-2017~
PWK*BL******ATTN CARRIER: DELIVERY WINDOW 12:00-16:00~
PWK*BL******ATTN CARRIER: LIFTGATE REQUIRED~
PWK*BL******ATTN CARRIER: RESIDENTIAL DELIVERY~
TD5*O*2*CNWY*LT********CG~
N1*ST*First Name Last Name*92*9999~
N3*5401 VIRGINIA WAY*SUITE A3142~
N4*BRENTWOOD*TN*37027*US~
PER*DC*First Name Last Name*TE*615-440-4037*EM*CUSTOMERSERVICE@TRACTORSUPPLY.COM~
N1*Z7*First Name Last Name*92*9999~
N1*BT*TSC*92*5509~
N3*PO BOX 7000~
N4*BRENTWOOD*TN*37027*US~
PO1*10*1*EA*82.24**IN*1264211*VN*411*UP*008055041201~
CTP**RTL*99.99~
PID*F****HAMMOCK~
CTT*1~
SE*28*0001~
GE*1*000000005~
IEA*1*000000008~
Parcel Order Sample
ISA*00* *00* *08*612090010 *12*8008488707 *190411*0951*U*00401*000000005*0*P*>~
GS*PO*6120930010*8008488707*20190411*09511312*000000004*X*004010~
ST*850*0001~
BEG*00*DS*9005008934**20190411~
REF*CO*3005008575~
REF*IA*800301~
FOB*TP~
CSH*N~
ITD*05******60*****NET 60~
DTM*010*20190412~
TD5*O*2*UPSN*U********SC~
N1*ST*FirstName LastName*92*9999~
N3*5401 VIRGINIA WAY~
N4*BRENTWOOD*TN*37027-7536*US~
PER*DC*FirstName LastName*TE*615-440-4037*EM*CUSTOMERSERVICE@TRACTORSUPPLY.COM~
N1*Z7*FirstName LastName*92*9999~
N1*BT*TSC*92*5509~
N3*PO BOX 7000~
N4*BRENTWOOD*TN*37027*US~
PO1*10*1*EA*12.99**IN*1213140*VN*CSNSS58075*UP*078627583336~
CTP**RTL*18.99~
PID*F****Swan Soft Supple 75 ft. x 5/8 in. Water Hose~
CTT*1~
SE*22*0001~
GE*1*000000004~
IEA*1*000000005~
GS*PO*6120930010*8008488707*20190411*09511312*000000004*X*004010~
ST*850*0001~
BEG*00*DS*9005008934**20190411~
REF*CO*3005008575~
REF*IA*800301~
FOB*TP~
CSH*N~
ITD*05******60*****NET 60~
DTM*010*20190412~
TD5*O*2*UPSN*U********SC~
N1*ST*FirstName LastName*92*9999~
N3*5401 VIRGINIA WAY~
N4*BRENTWOOD*TN*37027-7536*US~
PER*DC*FirstName LastName*TE*615-440-4037*EM*CUSTOMERSERVICE@TRACTORSUPPLY.COM~
N1*Z7*FirstName LastName*92*9999~
N1*BT*TSC*92*5509~
N3*PO BOX 7000~
N4*BRENTWOOD*TN*37027*US~
PO1*10*1*EA*12.99**IN*1213140*VN*CSNSS58075*UP*078627583336~
CTP**RTL*18.99~
PID*F****Swan Soft Supple 75 ft. x 5/8 in. Water Hose~
CTT*1~
SE*22*0001~
GE*1*000000004~
IEA*1*000000005~
Stedi is a registered trademark of Stedi, Inc. All names, logos, and brands of third parties listed on this page 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. Use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.