Stedi maintains this guide based on public documentation from Walgreens. Contact Walgreens for official EDI specifications. To report any errors in this guide, please contact us.
X12 860 Buyer Initiated Purchase Order Changes for Distribution Centers (DC)
—
Delimiters
- ~ Segment
- * Element
- > Component
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
010
Transaction Set Header
Max use 1
Required
BCH
020
Beginning Segment for Purchase Order Change
Max use 1
Required
REF
050
Reference Identification
Max use 1
Required
PER
060
Administrative Communications Contact Order Contact
Max use 1
Required
PER
060
Administrative Communications Contact Warehouse
Max use 1
Optional
ITD
130
Terms of Sale/Deferred Terms of Sale
Max use 1
Optional
DTM
150
Date/Time Reference
Max use 10
Optional
detail
POC Loop
POC
010
Line Item Change
Max use 1
Required
PO3
030
Additional Item Detail
Max use 25
Optional
PO4
090
Item Physical Details
Max use 1
Required
REF
100
Reference Identification
Max use 1
Optional
PER
110
Administrative Communications Contact
Max use 3
Optional
SDQ
190
Destination Quantity
Max use 500
Optional
MSG
292
Message Text
Max use 15
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
—
- 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
—
- PC
- Purchase Order Change Request - Buyer Initiated (860)
—
- T
- Transportation Data Coordinating Committee (TDCC)
- X
- Accredited Standards Committee X12
Heading
PER
060
Heading > PER
Administrative Communications Contact Order Contact
RequiredMax use 1
—
Example
Variants (all may be used)
PERAdministrative Communications Contact WarehouseIf either Communication Number Qualifier (PER-03) or Communication Number (PER-04) is present, then the other is required
PER
060
Heading > PER
Administrative Communications Contact Warehouse
OptionalMax use 1
—
Example
Variants (all may be used)
PERAdministrative Communications Contact Order ContactIf either Communication Number Qualifier (PER-03) or Communication Number (PER-04) is present, then the other is required
SAC Loop
OptionalMax 25
SAC
120
Heading > SAC Loop > 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
If either Allowance/Charge Percent Qualifier (SAC-06) or Percent (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
If Quantity (SAC-11) is present, then Quantity (SAC-10) is required
If Reference Identification (SAC-13) is present, then at least one of Service, Promotion, Allowance, or Charge Code (SAC-02) or Agency Service, Promotion, Allowance, or Charge Code (SAC-04) is required
—
- 1
- Item List Cost
- 2
- Item Net Cost
- 3
- Discount/Gross
- 4
- Discount/Net
- 5
- Base Price per Unit
- 6
- Base Price Amount
- 7
- Base Price Amount Less Previous Discount
- 8
- Net Monthly On All Invoices Past Due
- 9
- Late Payment Charge Base Amount
- Z
- Mutually Defined
—
- AS
- Assortment
- CA
- Case
- DE
- Deal
- DZ
- Dozen
- EA
- Each
—
- 01
- Bill Back
- 02
- Off Invoice
- 03
- Vendor Check to Customer
- 04
- Credit Customer Account
- 05
- Charge to be Paid by Vendor
- ZZ
- Mutually Defined
SAC Loop end
—
- 01
- Basic
- 02
- End of Month (EOM)
- 05
- Discount Not Applicable
- 12
- 10 Days After End of Month (10 EOM)
—
- 1
- Ship Date
- 2
- Delivery Date
- 3
- Invoice Date
- 15
- Receipt of Goods
N9 Loop
OptionalMax 1000
N9 Loop end
N1 Loop
OptionalMax 200
—
Usage notes
—
- BT
- Bill-to-Party
- CS
- Consolidator
- SF
- Ship From
- ST
- Ship To
—
Usage notes
—
- 9
- D-U-N-S+4, D-U-N-S Number with Four Character Suffix
- 92
- Assigned by Buyer or Buyer's Agent
N4
330
Heading > N1 Loop > N4
Geographic Location
OptionalMax use >1
—
Usage notes
—
Example
If Location Identifier (N4-06) is present, then Location Qualifier (N4-05) is required
N1 Loop end
Heading end
Detail
POC Loop
RequiredMax >1
POC
010
Detail > POC Loop > POC
Line Item Change
RequiredMax use 1
—
Usage notes
—
Example
If Basis of Unit Price Code (POC-07) is present, then Unit Price (POC-06) is required
If either Product/Service ID Qualifier (POC-10) or Product/Service ID (POC-11) is present, then the other is required
If either Product/Service ID Qualifier (POC-14) or Product/Service ID (POC-15) is present, then the other is required
OptionalMax use 1
To identify a composite unit of measure
(See Figures Appendix for examples of use)
—
- EN
- European Article Number (EAN) (2-5-5-1)
- ND
- National Drug Code (NDC)
- UA
- U.P.C./EAN Case Code (2-5-5)—
- UE
- U.P.C./EAN Module Code (2-5-5)
- UI
- U.P.C. Consumer Package Code (1-5-5)
- UK
- U.P.C./EAN Shipping Container Code (1-2-5-5-1)
- UN
- U.P.C. Case Code Number (1-1-5-5)
- UP
- U.P.C. Consumer Package Code (1-5-5-1)
- VN
- Vendor's (Seller's) Item Number—
PID Loop
OptionalMax 1000
PID Loop end
PO4
090
Detail > POC Loop > PO4
Item Physical Details
RequiredMax use >1
—
Example
If Length (PO4-10) is present, then Unit or Basis for Measurement Code (PO4-13) is required
If Width (PO4-11) is present, then Unit or Basis for Measurement Code (PO4-13) is required
If Height (PO4-12) is present, then Unit or Basis for Measurement Code (PO4-13) is required
If Unit or Basis for Measurement Code (PO4-13) is present, then at least one of Length (PO4-10), Width (PO4-11) or Height (PO4-12) is required
—
- AS
- Assortment
- CA
- Case
- DE
- Deal
- DZ
- Dozen
- EA
- Each
PER
110
Detail > POC Loop > PER
Administrative Communications Contact
OptionalMax use 3
—
Example
If either Communication Number Qualifier (PER-03) or Communication Number (PER-04) is present, then the other is required
SAC Loop
OptionalMax 25
SAC
130
Detail > POC Loop > SAC Loop > 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
If either Allowance/Charge Percent Qualifier (SAC-06) or Percent (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
If Quantity (SAC-11) is present, then Quantity (SAC-10) is required
If Reference Identification (SAC-13) is present, then at least one of Service, Promotion, Allowance, or Charge Code (SAC-02) or Agency Service, Promotion, Allowance, or Charge Code (SAC-04) is required
—
- ZZZZ
- Mutually Defined—
—
- 1
- Item List Cost
- 2
- Item Net Cost
- 3
- Discount/Gross
- 4
- Discount/Net
- 5
- Base Price per Unit
- 6
- Base Price Amount
- 7
- Base Price Amount Less Previous Discount
- 8
- Net Monthly On All Invoices Past Due
- 9
- Late Payment Charge Base Amount
- Z
- Mutually Defined
—
- AS
- Assortment
- CA
- Case
- DE
- Deal
- DZ
- Dozen
- EA
- Each
—
- 01
- Bill Back
- 02
- Off Invoice
- 03
- Vendor Check to Customer
- 04
- Credit Customer Account
- 05
- Charge to be Paid by Vendor
SAC Loop end
SDQ
190
Detail > POC Loop > SDQ
Destination Quantity
OptionalMax use 500
—
Usage notes
—
Example
If either Identification Code (SDQ-05) or Quantity (SDQ-06) 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-09) or Quantity (SDQ-10) 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-13) or Quantity (SDQ-14) 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-17) or Quantity (SDQ-18) is present, then the other is required
If either Identification Code (SDQ-19) or Quantity (SDQ-20) is present, then the other is required
If either Identification Code (SDQ-21) or Quantity (SDQ-22) is present, then the other is required
—
- AS
- Assortment
- CA
- Case
- DE
- Deal
- DZ
- Dozen
- EA
- Each
POC Loop end
Detail end
Summary
CTT Loop
OptionalMax 1
Usage notes
—
CTT
010
Summary > CTT Loop > CTT
Transaction Totals
RequiredMax use 1
—
Example
If either Weight (CTT-03) or Unit or Basis for Measurement Code (CTT-04) is present, then the other is required
If either Volume (CTT-05) or Unit or Basis for Measurement Code (CTT-06) is present, then the other is required
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.