Stedi maintains this guide based on public documentation from Meijer. Contact Meijer for official EDI specifications. To report any errors in this guide, please contact us.

X12 850 Purchase Order (5010VICS)
X12 Release 5010Revised
Feb 28, 2024, 6:22 AM
—
Delimiters
- ~ Segment
- * Element
- > Component
- ^ Repetition
EDI samples
- None included
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
0100
Transaction Set Header
Max use 1
Required
BEG
0200
Beginning Segment for Purchase Order
Max use 1
Required
REF
0500
Associated Purchase Orders
Max use 1
REF
0500
Department Number
Max use 1
REF
0500
Internal Vendor Number
Max use 1
FOB
0800
F.O.B. Related Instructions
Max use 1
CSH
1100
Sales Requirements
Max use 5
ITD
1300
Terms of Sale/Deferred Terms of Sale
Max use 1
DTM
1500
Cancel After
Max use 1
DTM
1500
Delivery Requested
Max use 1
DTM
1500
Promotion Start
Max use 1
DTM
1500
Requested Ship
Max use 1
TD5
2400
Carrier Details (Routing Sequence/Transit Time)
Max use 1
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)
—
- 00501
- Standards Approved for Publication by ASC X12 Procedures Review Board through October 2003
—
- 0
- No Interchange Acknowledgment Requested
- 1
- Interchange Acknowledgment Requested (TA1)
—
- I
- Information
- P
- Production Data
- T
- Test Data
—
- T
- Transportation Data Coordinating Committee (TDCC)
- X
- Accredited Standards Committee X12
Heading
FOB
0800
Heading > FOB
F.O.B. Related Instructions
Max use >1
—
Example
If Description (FOB-03) is present, then Location Qualifier (FOB-02) is required
SAC Loop
Max >1
SAC
1200
Heading > SAC Loop > SAC
Service, Promotion, Allowance, or Charge Information
RequiredMax use 1
—
Example
If either Allowance/Charge Percent Qualifier (SAC-06) or Percent, Decimal Format (SAC-07) is present, then the other is required
If either Unit or Basis for Measurement Code (SAC-09) or Quantity (SAC-10) is present, then the other is required
SAC Loop end
N9 Loop
Max >1
N9 Loop end
N1 Bill-to-Party
Max 1
N1
3100
Heading > Bill-to-Party > N1
Party Identification
RequiredMax use 1
—
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
N1 Bill-to-Party end
N1 Selling Party
Max 1
N1
3100
Heading > Selling Party > N1
Party Identification
RequiredMax use 1
—
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
N1 Selling Party end
N1
3100
Heading > Ship To > N1
Party Identification
RequiredMax use 1
—
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
N1 Ship To end
Heading end
Detail
PO1 Loop
RequiredMax >1
PO1
0100
Detail > PO1 Loop > PO1
Baseline Item Data
RequiredMax use 1
—
Usage notes
—
Example
If Unit or Basis for Measurement Code (PO1-03) is present, then Quantity (PO1-02) is required
If either Product/Service ID Qualifier (PO1-06) or Product/Service ID (PO1-07) is present, then the other is required
If either Product/Service ID Qualifier (PO1-08) or Product/Service ID (PO1-09) is present, then the other is required
If either Product/Service ID Qualifier (PO1-10) or Product/Service ID (PO1-11) is present, then the other is required
If either Product/Service ID Qualifier (PO1-12) or Product/Service ID (PO1-13) is present, then the other is required
If either Product/Service ID Qualifier (PO1-14) or Product/Service ID (PO1-15) is present, then the other is required
—
- UA
- U.P.C./EAN Case Code (2-5-5)
- UK
- GTIN 14-digit Data Structure
CTP Loop
Max >1
CTP Loop end
PID Loop
Max >1
PID Loop end
SAC Allowance or Charge
Max >1
Variants (all may be used)
No Allowance or ChargeSAC
1300
Detail > PO1 Loop > Allowance or Charge > SAC
Service, Promotion, Allowance, or Charge Information
RequiredMax use 1
—
Example
If either Allowance/Charge Percent Qualifier (SAC-06) or Percent, Decimal Format (SAC-07) is present, then the other is required
If either Unit or Basis for Measurement Code (SAC-09) or Quantity (SAC-10) is present, then the other is required
SAC Allowance or Charge end
SAC
1300
Detail > PO1 Loop > No Allowance or Charge > SAC
Service, Promotion, Allowance, or Charge Information
RequiredMax use 1
—
Example
At least one of Service, Promotion, Allowance, or Charge Code (SAC-02) or Agency Qualifier Code (SAC-03) is required
If either Agency Qualifier Code (SAC-03) or Agency Service, Promotion, Allowance, or Charge Code (SAC-04) is present, then the other is required
—
- VI
- Voluntary Inter-Industry Commerce Standard (VICS) EDI
SAC No Allowance or Charge end
SDQ
1900
Detail > PO1 Loop > SDQ
Destination Quantity
Max use 500
—
Example
If either Identification Code (SDQ-19) or Quantity (SDQ-20) is present, then the other is required
If either Identification Code (SDQ-17) or Quantity (SDQ-18) is present, then the other is required
If either Identification Code (SDQ-15) or Quantity (SDQ-16) is present, then the other is required
If either Identification Code (SDQ-13) or Quantity (SDQ-14) is present, then the other is required
If either Identification Code (SDQ-11) or Quantity (SDQ-12) is present, then the other is required
If either Identification Code (SDQ-09) or Quantity (SDQ-10) is present, then the other is required
If either Identification Code (SDQ-07) or Quantity (SDQ-08) is present, then the other is required
If either Identification Code (SDQ-05) or Quantity (SDQ-06) is present, then the other is required
SLN Loop
Max >1
SLN
4700
Detail > PO1 Loop > SLN Loop > SLN
Subline Item Detail
RequiredMax use 1
—
Example
If either Product/Service ID Qualifier (SLN-09) or Product/Service ID (SLN-10) is present, then the other is required
Max use 1
To identify a composite unit of measure
(See Figures Appendix for examples of use)
SLN Loop end
PO1 Loop end
Detail end
Summary
CTT Loop
Max >1
CTT Loop end
Summary end
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.