X12 860 Buyer Initiated Purchase Order Changes for Distribution Centers (DC)
This Draft Standard for Trial Use contains the format and establishes the data contents of the Purchase Order Change Request - Buyer Initiated Transaction Set (860) for use within the context of an Electronic Data Interchange (EDI) environment. The transaction set can be used to provide the information required for the customary and established business and industry practice relative to a purchase order change. This transaction can be used: (1) by a buyer to request a change to a previously submitted purchase order or (2) by a buyer to confirm acceptance of a purchase order change initiated by the seller or by mutual agreement of the two parties.
- ~ Segment
- * Element
- > Component
- None included
Interchange Control Header
To start and identify an interchange of zero or more functional groups and interchange-related control segments
Code to identify the type of information in the Authorization Information
- 00
- No Authorization Information Present (No Meaningful Information in I02)
Information used for additional identification or authorization of the interchange sender or the data in the interchange; the type of information is set by the Authorization Information Qualifier (I01)
Code to identify the type of information in the Security Information
- 00
- No Security Information Present (No Meaningful Information in I04)
This is used for identifying the security information about the interchange sender or the data in the interchange; the type of information is set by the Security Information Qualifier (I03)
Qualifier to designate the system/method of code structure used to designate the sender or receiver ID element being qualified
Identification code published by the sender for other parties to use as the receiver ID to route data to them; the sender always codes this value in the sender ID element
Qualifier to designate the system/method of code structure used to designate the sender or receiver ID element being qualified
Identification code published by the receiver of the data; When sending, it is used by the sender as their sending ID, thus other parties sending to them will use this as a receiving ID to route data to them
Code to identify the agency responsible for the control standard used by the message that is enclosed by the interchange header and trailer
- U
- U.S. EDI Community of ASC X12, TDCC, and UCS
This version number covers the interchange control segments
- 00401
- Draft Standards for Trial Use Approved for Publication by ASC X12 Procedures Review Board through October 1997
A control number assigned by the interchange sender
Code sent by the sender to request an interchange acknowledgment (TA1)
- 0
- No Acknowledgment Requested
- 1
- Interchange Acknowledgment Requested
Code to indicate whether data enclosed by this interchange envelope is test, production or information
- I
- Information
- P
- Production Data
- T
- Test Data
Type is not applicable; the component element separator is a delimiter and not a data element; this field provides the delimiter used to separate component data elements within a composite data structure; this value must be different than the data element separator and the segment terminator
- >
- Component Element Separator
Functional Group Header
To indicate the beginning of a functional group and to provide control information
Code identifying a group of application related transaction sets
- PC
- Purchase Order Change Request - Buyer Initiated (860)
Code identifying party sending transmission; codes agreed to by trading partners
Code identifying party receiving transmission. Codes agreed to by trading partners
Time expressed in 24-hour clock time as follows: HHMM, or HHMMSS, or HHMMSSD, or HHMMSSDD, where H = hours (00-23), M = minutes (00-59), S = integer seconds (00-59) and DD = decimal seconds; decimal seconds are expressed as follows: D = tenths (0-9) and DD = hundredths (00-99)
Assigned number originated and maintained by the sender
Code used in conjunction with Data Element 480 to identify the issuer of the standard
- T
- Transportation Data Coordinating Committee (TDCC)
- X
- Accredited Standards Committee X12
Code indicating the version, release, subrelease, and industry identifier of the EDI standard being used, including the GS and GE segments; if code in DE455 in GS segment is X, then in DE 480 positions 1-3 are the version number; positions 4-6 are the release and subrelease, level of the version; and positions 7-12 are the industry or trade association identifiers (optionally assigned by user); if code in DE455 in GS segment is T, then other formats are allowed
- 004010
- Draft Standards Approved for Publication by ASC X12 Procedures Review Board through October 1997
Heading
Transaction Set Header
To indicate the start of a transaction set and to assign a control number
Code uniquely identifying a Transaction Set
- The transaction set identifier (ST01) used by the translation routines of the interchange partners to select the appropriate transaction set definition (e.g., 810 selects the Invoice Transaction Set).
- 860
- Purchase Order Change Request - Buyer Initiated
Beginning Segment for Purchase Order Change
To indicate the beginning of the Purchase Order Change Transaction Set and transmit identifying numbers and dates
Code identifying purpose of transaction set
- 01
- Cancellation
- 05
- Replace
Code specifying the type of Purchase Order
- CP
- Change to Purchase Order
Identifying number for Purchase Order assigned by the orderer/purchaser
Legacy Distribution Center (DC) and Import Purchase Order numbers are 8 digits in length, with the first two digits referencing the DC to which the items are to be shipped; however, SAP-originated Purchase Order numbers will have a length of 10 digits and will not include a "prefix" for the originating DC. The future Walgreens SAP back end environment will no longer allow for the issuance of Central Direct Purchase Orders (CDPO), which have order numbers that are 8 digits in length and begin with a "99," but are included in this guide during the Legacy/SAP co-existence period.
Date expressed as CCYYMMDD
- BCH06 is the date assigned by the purchaser to purchase order.
This is the Purchase Order date.
Code specifying the type of transaction
This element will only be populated when the original order, which this transaction updates, originated from the SAP-based system; orders from the Walgreens Legacy DC system will not send any information in this element
- 33
- Normal
This element code will be used on SAP-originated orders for Direct Store Delivery (DSD)
- OR
- Order
This element code will be used on SAP-originated orders for Distribution Centers (DC).
- ZZ
- Mutually Defined
This element code will be used on SAP-originated Import orders for Distribution Centers (DC).
Reference Identification
To specify identifying information
The REF segment is used for transmission of the Walgreens Marketing Vendor number on all Purchase Order types, and is mandatory.
Promotional/Deal number may be sent on Distribution Center and Central Direct Purchase Orders
Code qualifying the Reference Identification
- PD
- Promotion/Deal Number
- VN
- Vendor Order Number
Walgreens will use this element to signify the applicable vendor number for which this transaction applies in REF02.
- VR
- Vendor ID Number
Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier
If REF01=VN, the 6 character SIMS Marketing Vendor or 10 character SAP Vendor Number will be in this element.
If REF01=PD, the 8-character Walgreens Promotional/Deal Number will be in this element.
Administrative Communications Contact Order Contact
To identify a person or office to whom administrative communications should be directed
Code identifying the major duty or responsibility of the person or group named
- OC
- Order Contact
Code identifying the type of communication number
Inventory Specialist phone number for future use
- TE
- Telephone
Complete communications number including country or area code when applicable
Administrative Communications Contact Warehouse
To identify a person or office to whom administrative communications should be directed
Code identifying the major duty or responsibility of the person or group named
- WH
- Warehouse
WH is used only on Central Direct Orders.
Free-form name
On a Central Direct Purchase Order Change (these are purchase orders that will start with a "99" in the BEG03), the PER01 will contain the code of 'WH' and the PER02 will contain the following statement: "SEE ATTACHED LIST."
The "attached list" refers to the store numbers and quantities contained in the SDQ segment
Code identifying the type of communication number
- TE
- Telephone
Service, Promotion, Allowance, or Charge Information
To request or identify a service, promotion, allowance, or charge; to specify the amount or percentage for the service, promotion, allowance, or charge
Code which indicates an allowance or charge for the service specified
- If SAC01 is "A" or "C", then at least one of SAC05, SAC07, or SAC08 is required.
- A
- Allowance
- C
- Charge
Code identifying the service, promotion, allowance, or charge
- ZZZZ
- Mutually Defined
Code identifying the agency assigning the code values
- AX
- ANSI Accredited Standards Committee, X12
Agency maintained code identifying the service, promotion, allowance, or charge
- SAC04 may be used to uniquely identify the service, promotion, allowance, or charge. In addition, it may be used in conjunction to further the code in SAC02.
Monetary amount
- SAC05 is the total amount for the service, promotion, allowance, or charge.
- If SAC05 is present with SAC07 or SAC08, then SAC05 takes precedence.
'400' = Freight
Code indicating on what basis allowance or charge percent is calculated
- 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
Percent expressed as a percent
Will send 2 decimal positions.
Rate expressed in the standard monetary denomination for the currency specified
- SAC08 is the allowance or charge rate per unit.
Will send 3 decimal positions.
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
- AS
- Assortment
- CA
- Case
- DE
- Deal
- DZ
- Dozen
- EA
- Each
Numeric value of quantity
- SAC10 and SAC11 is the quantity basis when the allowance or charge quantity is different from the purchase order or invoice quantity.
- SAC10 and SAC11 used together indicate a quantity range, which could be a dollar amount, that is applicable to service, promotion, allowance, or charge.
- In some business applications, it is necessary to advise the trading partner of the actual dollar amount that a particular allowance, charge, or promotion was based on to reduce ambiguity. This amount is commonly referred to as "Dollar Basis Amount". It is represented in the SAC segment in SAC10 using the qualifier "DO" - Dollars in SAC09.
Numeric value of quantity
This value is quantity of free goods.
Code indicating method of handling for an allowance or charge
- 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
Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier
- SAC13 is used in conjunction with SAC02 or SAC04 to provide a specific reference number as identified by the code used.
Terms of Sale/Deferred Terms of Sale
To specify terms of sale
Code identifying type of payment terms
- If the code in ITD01 is "04", then ITD07 or ITD09 is required and either ITD10 or ITD11 is required; if the code in ITD01 is "05", then ITD06 or ITD07 is required.
- 01
- Basic
- 02
- End of Month (EOM)
- 05
- Discount Not Applicable
- 12
- 10 Days After End of Month (10 EOM)
Code identifying the beginning of the terms period
- 1
- Ship Date
- 2
- Delivery Date
- 3
- Invoice Date
- 15
- Receipt of Goods
Terms discount percentage, expressed as a percent, available to the purchaser if an invoice is paid on or before the Terms Discount Due Date
Will send 3 decimal positions.
Number of days in the terms discount period by which payment is due if terms discount is earned
Number of days until total invoice amount is due (discount not applicable)
Date/Time Reference
To specify pertinent dates and times
Reference Identification
To transmit identifying information as specified by the Reference Identification Qualifier
The N9 segment is used on Distribution Center and Central Direct orders
Message Text
To provide a free-form format that allows the transmission of text information
Free-form message text
Special message notes sent on Purchase Order Changes include:
- Ship by dates on DC level POs may vary. A PO will display the earliest ship date.
- This PO is subject to the standard terms and conditions as stated on our SupplierNet vendor portal Website at https://vendor.walgreens.com.
Name
To identify a party by type of organization, name, and code
The N1 segment is used for all Purchase Order Change types
Code identifying an organizational entity, a physical location, property or an individual
The element codes "BT" and "ST" are the most commonly used values in this element.
- BT
- Bill-to-Party
- CS
- Consolidator
- SF
- Ship From
- ST
- Ship To
Free-form name
When N101="SF," this will be the ship point name.
Code designating the system/method of code structure used for Identification Code (67)
When N101 = "SF," N103 is not sent; otherwise, N103 will be populated.
- 9
- D-U-N-S+4, D-U-N-S Number with Four Character Suffix
- 92
- Assigned by Buyer or Buyer's Agent
Code identifying a party or other code
- This segment, used alone, provides the most efficient method of providing organizational identification. To obtain this efficiency the "ID Code" (N104) must provide a key to the table maintained by the transaction processing party.
When N101 = "SF," N104 is not sent; otherwise, N104 will be populated.
Legacy DC Purchase Orders will transmit the 13-character DUNS+4 value (with leading zeroes) in this element; however, when the Purchase Orders come from our future SAP system, the 4-character (alphanumeric) Site number will be sent in this element.
Example:
Legacy : DC Legacy DUNS+4 : SAP DC Site Number : GFR/GNFR DC Name
88001 : 008965063W001 : ZD12 : WALGREENS CO - JUPITER
88001 : 008965063W001 : ZD13 : WALGREENS NATIONAL - JUPITER
Address Information
To specify the location of the named party
The N3 segment is used for all Purchase Order Change types
Geographic Location
To specify the geographic place of the named party
The N4 segment is used for all Purchase Order Change types
Free-form text for city name
- A combination of either N401 through N404, or N405 and N406 may be adequate to specify a location.
Code (Standard State/Province) as defined by appropriate government agency
- N402 is required only if city name (N401) is in the U.S. or Canada.
Code defining international postal zone code excluding punctuation and blanks (zip code for United States)
Code identifying type of location
- KE
- Port of Embarkation
Detail
Line Item Change
To specify changes to a line item
When the future SAP system generates the Purchase Order, the SAP Article Number will always be sent in POC14/POC15 and the Legacy 6-digit WIC may also be sent in POC08/POC09. You may be required to send the SAP Article number on all return transactions in the future, so please plan accordingly.
Alphanumeric characters assigned for differentiation within a transaction set
- POC01 is the purchase order line item identification.
This value must be the original Purchase Order line number.
Code specifying the type of change to the line item
- RZ
- Replace All Values
Quantity left to receive as qualified by the unit of measure
Price per unit of product, service, commodity, etc.
This element is not sent if the specified item and quantity are Free Goods.
The value in POC06 is the net cost of the item after all PO conditions have been applied (i.e., off-invoice allowances) - this is the net cost we expect you to bill on the invoice.
Orders originating out of our Legacy environment usually only send up to 2 decimal positions; however, our future SAP system-generated orders will send up to 4 significant decimal places.
Code identifying the type of unit price for an item
This element is not sent if the specified item and quantity are Free Goods
- PR
- Promotion
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
- EN
- European Article Number (EAN) (2-5-5-1)
- ND
- National Drug Code (NDC)
- UA
- U.P.C./EAN Case Code (2-5-5)
The UA qualifier is used ONLY for deals and
assortments - 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
The VN qualifier is used ONLY for expense items
Identifying number for a product or service
This is the Ordering Number that needs to be returned in the LIN03 of the ASN (EDI-856). When the Purchase Order originates from the SAP environment, the Primary Ordering Number should be the Case GTIN, as set up in our Master Data environment.
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
- IN
- Buyer's Item Number
Identifying number for a product or service
The value is the Legacy 6-digit Walgreens Item Code (WIC) or 8-digit SAP
Article Number.
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
- OT
- Internal Number
Identifying number for a product or service
This value is the 18-digit SAP Article number; however, leading zeroes may be omitted. The future Walgreens SAP back-end environment will start with values that are at least 8 digits in length (dropping the leading zeroes). In the future, when sending return transactions (ASNs, Invoices, etc.) to SAP activated Distribution Centers, the SAP article number from this field will be mandatory.
Additional Item Detail
To specify additional item-related data involving variations in normal price/quantity structure
Code specifying the reason for price or quantity change
- ZZ
- Mutually Defined
Code identifying pricing specification
- LPR
- List Price
Price per unit of product, service, commodity, etc.
This element is not sent if the specified item and quantity are Free Goods.
The value in PO304 will be the gross cost of the item, before any PO conditions (i.e., off-invoice allowances) have been applied.
Orders originating out of our Legacy environment usually only send up to 2 decimal positions; however, our future SAP system-generated orders will send up to 4 significant decimal places.
Product/Item Description
To describe a product or process in coded or free-form format
Code indicating the format of a description
- If PID01 equals "F", then PID05 is used. If PID01 equals "S", then PID04 is used. If PID01 equals "X", then both PID04 and PID05 are used.
- F
- Free-form
Item Physical Details
To specify the physical qualities, packaging, weights, and dimensions relating to the item
The number of inner containers, or number of eaches if there are no inner containers, per outer container
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
- PO403 - The "Unit or Basis for Measure Code" in this segment position is for purposes of defining the pack (PO401) /size (PO402) measure which indicates the quantity in the inner pack unit. For example: If the carton contains 24 12-Ounce packages, it would be described as follows: Data element 356 = "24"; Data element 357 = "12"; Data element 355 = "OZ".
- AS
- Assortment
- CA
- Case
- DE
- Deal
- DZ
- Dozen
- EA
- Each
Numeric value of gross weight per pack
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
- LB
- Pound
- ML
- Milliliter
- OZ
- Ounce - Av
Largest horizontal dimension of an object measured when the object is in the upright position
Shorter measurement of the two horizontal dimensions measured with the object in the upright position
Vertical dimension of an object measured when the object is in the upright position
Reference Identification
To specify identifying information
Code qualifying the Reference Identification
- PD
- Promotion/Deal Number
Administrative Communications Contact
To identify a person or office to whom administrative communications should be directed
Code identifying the major duty or responsibility of the person or group named
- BD
- Buyer Name or Department
Free-form name
This will be the Category Manager.
Code identifying the type of communication number
Category Manager phone number for future use.
- TE
- Telephone
Complete communications number including country or area code when applicable
Service, Promotion, Allowance, or Charge Information
To request or identify a service, promotion, allowance, or charge; to specify the amount or percentage for the service, promotion, allowance, or charge
Code which indicates an allowance or charge for the service specified
- If SAC01 is "A" or "C", then at least one of SAC05, SAC07, or SAC08 is required.
- A
- Allowance
- C
- Charge
Code identifying the service, promotion, allowance, or charge
- ZZZZ
- Mutually Defined
If you use the "ZZZZ" code in SAC02, you must supply a description/explanation in SAC15.
Code identifying the agency assigning the code values
- AX
- ANSI Accredited Standards Committee, X12
Agency maintained code identifying the service, promotion, allowance, or charge
- SAC04 may be used to uniquely identify the service, promotion, allowance, or charge. In addition, it may be used in conjunction to further the code in SAC02.
Monetary amount
- SAC05 is the total amount for the service, promotion, allowance, or charge.
- If SAC05 is present with SAC07 or SAC08, then SAC05 takes precedence.
Code indicating on what basis allowance or charge percent is calculated
- 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
Percent expressed as a percent
Will send 2 decimal positions.
Rate expressed in the standard monetary denomination for the currency specified
- SAC08 is the allowance or charge rate per unit.
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
- AS
- Assortment
- CA
- Case
- DE
- Deal
- DZ
- Dozen
- EA
- Each
Numeric value of quantity
- SAC10 and SAC11 is the quantity basis when the allowance or charge quantity is different from the purchase order or invoice quantity.
- SAC10 and SAC11 used together indicate a quantity range, which could be a dollar amount, that is applicable to service, promotion, allowance, or charge.
- In some business applications, it is necessary to advise the trading partner of the actual dollar amount that a particular allowance, charge, or promotion was based on to reduce ambiguity. This amount is commonly referred to as "Dollar Basis Amount". It is represented in the SAC segment in SAC10 using the qualifier "DO" - Dollars in SAC09.
Code indicating method of handling for an allowance or charge
- 01
- Bill Back
- 02
- Off Invoice
- 03
- Vendor Check to Customer
- 04
- Credit Customer Account
- 05
- Charge to be Paid by Vendor
Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier
- SAC13 is used in conjunction with SAC02 or SAC04 to provide a specific reference number as identified by the code used.
Destination Quantity
To specify destination and quantity detail
The SDQ segment is sent only on Central Direct Purchase Orders (CDPO) from the Legacy Walgreens system and not the future SAP back-end environment. This segment is only included in this guide during the Legacy/SAP co-existence period.
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
- AS
- Assortment
- CA
- Case
- DE
- Deal
- DZ
- Dozen
- EA
- Each
Code designating the system/method of code structure used for Identification Code (67)
- SDQ02 is used only if different than previously defined in the transaction set.
- 92
- Assigned by Buyer or Buyer's Agent
Code identifying a party or other code
- SDQ03 is the store number.
Walgreens Store#
Code identifying a party or other code
Walgreens Store#
Code identifying a party or other code
Walgreens Store#
Code identifying a party or other code
Walgreens Store#
Code identifying a party or other code
Walgreens Store#
Code identifying a party or other code
Walgreens Store#
Code identifying a party or other code
Walgreens Store#
Code identifying a party or other code
Walgreens Store#
Code identifying a party or other code
Walgreens Store#
Code identifying a party or other code
Walgreens Store#
Message Text
To provide a free-form format that allows the transmission of text information
Free-form message text
TEXtile declaration
VISATextileQuotaDeclaration
GSPmanufacturer statement
FACtory/Mfgr name&address
DROP ball test & I/C
FWL Fish&Wildlife Attchmnt
FWO Fish & Wildlife Form
FCC form required
FEAthers attachment form
QUOTA charge declaration
FOOtwear Invoice
COO Certificate of Origin
FAMA TrademarkAgreement
MEDicalEstablishment Nmbr
DEVice Listing Number
PHYtosanitary Certificate
PDS Product Detail Sheet
AGGlomerated Stone Sheet
ING List of Ingredients
LAB Test Results(food goods)
QAAcceptabilityReport Rq'd
CPSIA Certificate Required
Summary
The CTT segment is used for all Purchase Order types. Distribution Center and Central Direct orders use all elements listed
Transaction Totals
To transmit a hash total for a specific element in the transaction set
- Number of line items (CTT01) is the accumulation of the number of POC segments.
If used, hash total (CTT02) is the sum of the value of quantities ordered (POC03) for each POC segment.
Total number of line items in the transaction set
Sum of values of the specified data element. All values in the data element will be summed without regard to decimal points (explicit or implicit) or signs. Truncation will occur on the left most digits if the sum is greater than the maximum size of the hash total of the data element.
-.0018 First occurrence of value being hashed.
.18 Second occurrence of value being hashed.
1.8 Third occurrence of value being hashed.
18.01 Fourth occurrence of value being hashed.
1855 Hash total prior to truncation.
855 Hash total after truncation to three-digit field.
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
- LB
- Pound
Value of volumetric measure
Total Cube.
Transaction Set Trailer
To indicate the end of the transaction set and provide the count of the transmitted segments (including the beginning (ST) and ending (SE) segments)
Total number of segments included in a transaction set including ST and SE segments
Functional Group Trailer
To indicate the end of a functional group and to provide control information
Total number of transaction sets included in the functional group or interchange (transmission) group terminated by the trailer containing this data element
Interchange Control Trailer
To define the end of an interchange of zero or more functional groups and interchange-related control segments
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.