X12
Inbound

Walgreens X12 860 Purchase Order Change Request

Walgreens DC (Domestic Distribution Centers, Import, Direct to store, Corporate)
The EDI 860 is sent by Walgreens to modify an existing Purchase Order. Changes can include quantity adjustments, delivery date shifts, item additions, or cancellations. Suppliers must process changes promptly and confirm via an updated acknowledgment.
26segments
7loops
5mandatory

Schema Reference

26 segments · X12 860 Purchase Order Change Request

ISA ISA Interchange Control Header
Mandatory Max: 1
ISA01 Authorization Information Qualifier
M ID 2-2
ISA02 Authorization Information
M AN 10-10
ISA03 Security Information Qualifier
M ID 2-2
ISA04 Security Information
M AN 10-10
ISA05 Interchange ID Qualifier
M ID 2-2
ISA06 Interchange Sender ID
M AN 15-15
ISA07 Interchange ID Qualifier
M ID 2-2
ISA08 Interchange Receiver ID
M AN 15-15
ISA09 Interchange Date
M DT 6-6
ISA10 Interchange Time
M TM 4-4
ISA11 Interchange Control Standards Identifier
M ID 1-1
ISA12 Interchange Control Version Number
M ID 5-5
ISA13 Interchange Control Number
M N0 9-9
ISA14 Acknowledgment Requested
M ID 1-1
ISA15 Usage Indicator
M ID 1-1
GS GS Functional Group Header
Mandatory Max: 1
GS01 Functional Identifier Code
M ID 2-2
GS02 Application Sender's Code
M AN 2-15
GS03 Application Receiver's Code
M AN 2-15
GS04 Date
M DT 8-8
GS05 Time
M TM 4-8
GS06 Group Control Number
M N0 1-9
GS07 Responsible Agency Code
M ID 1-2
GS08 Version / Release / Industry Identifier Code
M AN 1-12
ST Transaction Set Header
Mandatory Max: 1
ST01 Transaction Set Identifier Code
M ID 3-3
ST02 Transaction Set Control Number
M AN 4-9
BCH Beginning Segment for Purchase Order Change
Mandatory Max: 1
BCH01 Transaction Set Purpose Code
M ID 2-2
BCH02 Purchase Order Type Code
M ID 2-2
BCH03 Purchase Order Number
M AN 1-22
BCH06 Date
M DT 8-8
BCH15 Transaction Type Code
O ID 2-2
REF Reference Identification
REF01 Reference Identification Qualifier
M ID 2-3
REF02 Reference Identification
C AN 1-30
PER Administrative Communications Contact
Optional Max: 3
PER01 Contact Function Code
M ID 2-2
PER02 Name
O AN 1-60
PER03 Communication Number Qualifier
C ID 2-2
PER04 Communication Number
C AN 1-80
PER09 Contact Inquiry Reference
O AN 1-20
SAC Loop Repeat: 25
SAC Service, Promotion, Allowance, or Charge Information
Optional Max: 1
SAC01 Allowance or Charge Indicator
M ID 1-1
SAC02 Service, Promotion, Allowance, or Charge Code
C ID 4-4
SAC03 Agency Qualifier Code
C ID 2-2
SAC04 Agency Service, Promotion, Allowance, or Charge Code
C AN 1-10
SAC05 Amount
O N2 1-15
SAC06 Allowance/Charge Percent Qualifier
C ID 1-1
SAC07 Percent
C R 1-6
SAC08 Rate
O R 1-9
SAC09 Unit or Basis for Measurement Code
C ID 2-2
SAC10 Quantity
C R 1-15
SAC11 Quantity
O R 1-15
SAC12 Allowance or Charge Method of Handling Code
O ID 2-2
SAC13 Reference Identification
C AN 1-30
SAC15 Description
C AN 1-80
ITD Terms of Sale/Deferred Terms of Sale
Optional Max: 5
ITD01 Terms Type Code
O ID 2-2
ITD02 Terms Basis Date Code
O ID 1-2
ITD03 Terms Discount Percent
O R 1-6
ITD05 Terms Discount Days Due
C N0 1-3
ITD07 Terms Net Days
O N0 1-3
ITD12 Description
O AN 1-80
DTM Date/Time Reference
Optional Max: 10
DTM01 Date/Time Qualifier
M ID 3-3
DTM02 Date
C DT 8-8
N9 Loop Repeat: 1,000
N9 Reference Identification
Optional Max: 1
N901 Reference Identification Qualifier
M ID 2-3
N903 Free-form Description
C AN 1-45
MSG Message Text
Optional Max: 1,000
MSG01 Free-Form Message Text
M AN 1-264
N1 Loop Repeat: 200
N1 Name
Optional Max: 1
N101 Entity Identifier Code
M ID 2-3
N102 Name
C AN 1-60
N103 Identification Code Qualifier
C ID 1-2
N104 Identification Code
C AN 2-80
N3 Address Information
Optional Max: 2
N301 Address Information
M AN 1-55
N302 Address Information
O AN 1-55
N4 Geographic Location
N401 City Name
O AN 2-30
N402 State or Province Code
O ID 2-2
N403 Postal Code
O ID 3-15
N404 Country Code
O ID 2-3
N405 Location Qualifier
C ID 1-2
N406 Location Identifier
O AN 1-30
POC Loop Repeat: 1,000
POC Line Item Change
Optional Max: 1
POC01 Assigned Identification
O AN 1-20
POC02 Change or Response Type Code
M ID 2-2
POC03 Quantity Ordered
O R 1-15
POC04 Quantity Left to Receive
C R 1-9
POC06 Unit Price
C R 1-17
POC07 Basis of Unit Price Code
O ID 2-2
POC08 Product/Service ID Qualifier
C ID 2-2
POC09 Product/Service ID
C AN 1-48
POC10 Product/Service ID Qualifier
C ID 2-2
POC11 Product/Service ID
C AN 1-48
POC14 Product/Service ID Qualifier
C ID 2-2
POC15 Product/Service ID
C AN 1-48
POC18 Product/Service ID Qualifier
C ID 2-2
POC19 Product/Service ID
C AN 1-48
PO3 Additional Item Detail
Optional Max: 25
PO301 Change Reason Code
M ID 2-2
PO302 Date
O DT 8-8
PO303 Price Identifier Code
C ID 3-3
PO304 Unit Price
O R 1-17
PO306 Quantity
M R 1-15
PO307 Unit or Basis for Measurement Code
M ID 2-2
PID Loop Repeat: 1,000
PID Product/Item Description
Optional Max: 1
PID01 Item Description Type
M ID 1-1
PID05 Description
C AN 1-80
PO4 Item Physical Details
PO401 Pack
O N0 1-6
PO402 Size
C R 1-8
PO403 Unit or Basis for Measurement Code
C ID 2-2
PO405 Weight Qualifier
O ID 1-2
PO406 Gross Weight per Pack
C R 1-9
PO407 Unit or Basis for Measurement Code
C ID 2-2
PO410 Length
C R 1-8
PO411 Width
C R 1-8
PO412 Height
C R 1-8
PO413 Unit or Basis for Measurement Code
C ID 2-2
REF Reference Identification
REF01 Reference Identification Qualifier
M ID 2-3
REF02 Reference Identification
C AN 1-30
PER Administrative Communications Contact
Optional Max: 3
PER01 Contact Function Code
M ID 2-2
PER02 Name
O AN 1-60
PER03 Communication Number Qualifier
C ID 2-2
PER04 Communication Number
C AN 1-80
PER09 Contact Inquiry Reference
O AN 1-20
SAC Loop Repeat: 25
SAC Service, Promotion, Allowance, or Charge Information
Optional Max: 1
SAC01 Allowance or Charge Indicator
M ID 1-1
SAC02 Service, Promotion, Allowance, or Charge Code
C ID 4-4
SAC03 Agency Qualifier Code
C ID 2-2
SAC04 Agency Service, Promotion, Allowance, or Charge Code
C AN 1-10
SAC05 Amount
O N2 1-15
SAC06 Allowance/Charge Percent Qualifier
C ID 1-1
SAC07 Percent
C R 1-6
SAC08 Rate
O R 1-9
SAC09 Unit or Basis for Measurement Code
C ID 2-2
SAC10 Quantity
C R 1-15
SAC11 Quantity
O R 1-15
SAC12 Allowance or Charge Method of Handling Code
O ID 2-2
SAC13 Reference Identification
C AN 1-30
SAC15 Description
C AN 1-80
FOB F.O.B. Related Instructions
FOB01 Shipment Method of Payment
M ID 2-2
FOB02 Location Qualifier
C ID 1-2
FOB03 Description
O AN 1-80
FOB06 Location Qualifier
C ID 1-2
FOB07 Description
O AN 1-80
TD4 Carrier Details (Special Handling, or Hazardous Materials, or Both)
Optional Max: 5
TD401 Special Handling Code
C ID 2-3
TD402 Hazardous Material Code Qualifier
C ID 1-1
TD403 Hazardous Material Class Code
C AN 1-4
TD404 Description
C AN 1-80
TD405 Yes/No Condition or Response Code
O ID 1-1
MSG Message Text
Optional Max: 1,000
MSG01 Free-Form Message Text
M AN 1-264
CTT Loop Repeat: 1
CTT Transaction Totals
Optional Max: 1
CTT01 Number of Line Items
M N0 1-6
CTT02 Hash Total
O R 1-10
CTT03 Weight
C R 1-10
CTT04 Unit or Basis for Measurement Code
C ID 2-2
CTT05 Volume
C R 1-8
CTT06 Unit or Basis for Measurement Code
C ID 2-2
SE Transaction Set Trailer
Mandatory Max: 1
SE01 Number of Included Segments
M N0 1-10
SE02 Transaction Set Control Number
M AN 4-9
How It Works

Automating Walgreens EDI 860

Stacksync validates, transforms, and delivers your 860 transactions automatically — so your team can focus on operations, not EDI compliance.

Validate
Transform
Route
Monitor
Stacksync detects incoming 860 PO Changes and updates the original order in your ERP automatically. Changed fields are highlighted and your team is notified — so you can review and confirm without manually comparing documents.

Walgreens EDI 860 FAQ

Common questions about 860 Purchase Order Change Request transactions with Walgreens.

What types of changes can be made with a Walgreens EDI 860?

A Walgreens EDI 860 Purchase Order Change can modify quantities, prices, delivery dates, ship-to addresses, item substitutions, and add or cancel individual line items on an existing PO. The BCH segment specifies the change type — full replacement, partial change, or cancellation. Walgreens uses 860s instead of canceling and reissuing entire 850s for efficiency, especially when only a few lines need adjustment. Stacksync processes incoming Walgreens 860s by automatically updating the original PO record in your system, maintaining a change history for audit purposes.

What types of changes can be made with a Walgreens EDI 860?

A Walgreens EDI 860 Purchase Order Change can modify quantities, prices, delivery dates, ship-to addresses, item substitutions, and add or cancel individual line items on an existing PO. The BCH segment specifies the change type — full replacement, partial change, or cancellation. Walgreens uses 860s instead of canceling and reissuing entire 850s for efficiency, especially when only a few lines need adjustment. Stacksync processes incoming Walgreens 860s by automatically updating the original PO record in your system, maintaining a change history for audit purposes.

Should Walgreens cancel and resend an 850 or use an EDI 860?

Walgreens generally prefers EDI 860 for modifications to existing POs rather than canceling and reissuing the entire 850. The 860 is more efficient because it targets specific changes — a quantity adjustment on one line item, a revised ship date, or an added line — without disrupting the rest of the order. Canceling and reissuing creates a new PO number and can cause confusion in warehouse operations. Stacksync handles both workflows, but when a Walgreens 860 arrives, it applies the changes incrementally to your existing order record rather than creating a duplicate entry.

Should Walgreens cancel and resend an 850 or use an EDI 860?

Walgreens generally prefers EDI 860 for modifications to existing POs rather than canceling and reissuing the entire 850. The 860 is more efficient because it targets specific changes — a quantity adjustment on one line item, a revised ship date, or an added line — without disrupting the rest of the order. Canceling and reissuing creates a new PO number and can cause confusion in warehouse operations. Stacksync handles both workflows, but when a Walgreens 860 arrives, it applies the changes incrementally to your existing order record rather than creating a duplicate entry.

How does Stacksync process Walgreens EDI 860 changes?

When Stacksync receives a Walgreens 860, it identifies the original PO by reference number, compares the changed fields against the current order in your system, and applies the updates automatically. Quantity increases or decreases are reflected in your ERP's line items, new lines are appended, and canceled lines are flagged. Stacksync maintains a version history showing what changed and when, making it easy to trace modifications for compliance auditing. If a change conflicts with your fulfillment status (e.g., reducing quantity on items already shipped), Stacksync alerts your team immediately.

How does Stacksync process Walgreens EDI 860 changes?

When Stacksync receives a Walgreens 860, it identifies the original PO by reference number, compares the changed fields against the current order in your system, and applies the updates automatically. Quantity increases or decreases are reflected in your ERP's line items, new lines are appended, and canceled lines are flagged. Stacksync maintains a version history showing what changed and when, making it easy to trace modifications for compliance auditing. If a change conflicts with your fulfillment status (e.g., reducing quantity on items already shipped), Stacksync alerts your team immediately.

Do I need to respond to a Walgreens EDI 860 with an 865?

Some Walgreens trading programs require an EDI 865 (Purchase Order Change Acknowledgment) in response to every 860. The 865 confirms that you received the change request and indicates whether you accept the modifications, reject them, or need further negotiation. Even when not mandatory, sending an 865 is good practice because it closes the communication loop and prevents Walgreens from resending the same change. Stacksync can generate 865 responses automatically based on your acceptance rules, similar to how it handles 855 PO acknowledgments.

Do I need to respond to a Walgreens EDI 860 with an 865?

Some Walgreens trading programs require an EDI 865 (Purchase Order Change Acknowledgment) in response to every 860. The 865 confirms that you received the change request and indicates whether you accept the modifications, reject them, or need further negotiation. Even when not mandatory, sending an 865 is good practice because it closes the communication loop and prevents Walgreens from resending the same change. Stacksync can generate 865 responses automatically based on your acceptance rules, similar to how it handles 855 PO acknowledgments.

Can pricing be changed through a Walgreens EDI 860?

Yes, Walgreens can modify unit pricing on existing PO line items through the EDI 860. Price changes appear in the PO1 segment with updated unit price values. However, pricing changes via 860 may be subject to Walgreens's vendor agreement terms — some programs restrict supplier-initiated price changes and only allow buyer-initiated modifications. Stacksync validates incoming Walgreens 860 price changes against your contracted pricing and flags discrepancies. Your team can review and approve price adjustments before they flow into your billing system, preventing unexpected margin impacts.

Can pricing be changed through a Walgreens EDI 860?

Yes, Walgreens can modify unit pricing on existing PO line items through the EDI 860. Price changes appear in the PO1 segment with updated unit price values. However, pricing changes via 860 may be subject to Walgreens's vendor agreement terms — some programs restrict supplier-initiated price changes and only allow buyer-initiated modifications. Stacksync validates incoming Walgreens 860 price changes against your contracted pricing and flags discrepancies. Your team can review and approve price adjustments before they flow into your billing system, preventing unexpected margin impacts.

Ready to automate Walgreens EDI?

a blue checkmark icon
POC from integration engineers
a blue checkmark icon
No-code EDI setup
a blue checkmark icon
Real-time compliance monitoring
a blue checkmark icon
White-glove onboarding