Stedi maintains this guide based on public documentation from H-E-B. Contact H-E-B for official EDI specifications. To report any errors in this guide, please contact us.
X12 850 DSD 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
Department Number
Max use 1
Required
REF
050
Store Number
Max use 1
Required
PER
060
Administrative Communications Contact
Max use 3
Required
DTM
150
Delivery Requested
Max use 1
Required
DTM
150
Purchase Order
Max use 1
Required
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
—
- 00401
- Draft Standards for Trial Use Approved for Publication by ASC X12 Procedures Review Board through October 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
Department Number
RequiredMax use 1
—
Example
Variants (all may be used)
REFStore NumberREF
050
Heading > REF
Store Number
RequiredMax use 1
—
Example
Variants (all may be used)
REFDepartment NumberPER
060
Heading > PER
Administrative Communications Contact
RequiredMax use 3
—
Example
If either Communication Number Qualifier (PER-03) or Communication Number (PER-04) is present, then the other is required
DTM
150
Heading > DTM
Delivery Requested
RequiredMax use 1
—
Example
Variants (all may be used)
DTMPurchase OrderDTM
150
Heading > DTM
Purchase Order
RequiredMax use 1
—
Example
Variants (all may be used)
DTMDelivery RequestedN1
310
Heading > Ship From > N1
Name
RequiredMax use 1
—
Usage notes
—
Example
At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
—
- 9
- D-U-N-S+4, D-U-N-S Number with Four Character Suffix
TD5
390
Heading > Ship From > TD5
Carrier Details (Routing Sequence/Transit Time)
OptionalMax use 12
—
Example
N1 Ship From end
N1
310
Heading > Ship To > N1
Name
RequiredMax use 1
—
Usage notes
—
Example
At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
TD5
390
Heading > Ship To > TD5
Carrier Details (Routing Sequence/Transit Time)
OptionalMax use 12
—
Example
N1 Ship To end
N1
310
Heading > Vendor > N1
Name
RequiredMax use 1
—
Usage notes
—
Example
At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
TD5
390
Heading > Vendor > TD5
Carrier Details (Routing Sequence/Transit Time)
OptionalMax use 12
—
Example
N1 Vendor end
Heading end
Detail
PO1 Loop
RequiredMax >1
PO1
010
Detail > PO1 Loop > PO1
Baseline Item Data
RequiredMax use 1
—
Example
If either Product/Service ID Qualifier (PO1-24) or Product/Service ID (PO1-25) is present, then the other is required
—
- U2
- U.P.C. Shipping Container Code (1-2-5-5)—
PO1 Loop end
Detail end
Summary
CTT Loop
RequiredMax >1
CTT Loop end
Summary end
EDI Samples
Sample
ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *231106*1429*U*00401*000000001*0*T*>
GS*PO*SENDERGS*RECEIVERGS*20231106*142938*000000001*X*004010
ST*850*40001
BEG*00*NE*052101006**20120521
REF*DP*100
REF*ST*00623
PER*RE**TE*210-6820165
DTM*004*20120521
DTM*002*20120523
N1*ST*HEB 00623 210-6820165*9*0079247560623
N1*VN*GRILL DADDY BRUSH CO*9*7950447620000
TD5****M
PO1**3*CA***UA*089931500152
PO1**1*CA***UA*089931500160
CTT*2
SE*14*40001
GE*1*000000001
IEA*1*000000001
GS*PO*SENDERGS*RECEIVERGS*20231106*142938*000000001*X*004010
ST*850*40001
BEG*00*NE*052101006**20120521
REF*DP*100
REF*ST*00623
PER*RE**TE*210-6820165
DTM*004*20120521
DTM*002*20120523
N1*ST*HEB 00623 210-6820165*9*0079247560623
N1*VN*GRILL DADDY BRUSH CO*9*7950447620000
TD5****M
PO1**3*CA***UA*089931500152
PO1**1*CA***UA*089931500160
CTT*2
SE*14*40001
GE*1*000000001
IEA*1*000000001
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.