860 - Purchase order change

This topic describes the Electronic Data Interchange (EDI) standards that Business Transaction Intelligence implements for document type 860, or purchase order change, which specifies any changes the buyer makes to a previous purchase order.

Segment: BCH - Beginning segment for purchase order change

Loop

Level: Heading

Usage: Must use

Semantic notes:

  • If BCH01 equals 01, the PO is canceled.
  • If BCH01 equals 04, the PO is changed based on the line items.
  • If BCH01 equals 05, the original PO is replaced with the line items.
  • If BCH01 equals 06, this message acknowledges a change message from the seller (865).
  • If BCH05 is missing, a value of 1 is assumed.
  • BCH06 is the purchase order date.
  • BCH11 is the change date. If this field is missing, the process date of the transaction is used.
Reference Element name Requirement Usage
BCH01 Transaction Set Purpose Code Mandatory Must use
BCH02 Purchase Order Type Code Mandatory Must use
BCH03 Purchase Order Number Mandatory Must use
BCH04 Release Number Optional Not used
BCH05 Change Order Sequence Number Optional Used
BCH06 Purchase Order Date Mandatory Must use
BCH07 Request Reference Number Optional Not used
BCH08 Contract Number Optional Not used
BCH09 Reference Identification Optional Not used
BCH10 Date Optional Not used
BCH11 Purchase Order Change Date Optional Used

Segment: CUR - Currency

Loop

Level: Heading

Usage: Optional - Used

Comment: This segment specifies the currency that is used in a transaction.

Reference Element name Requirement Usage
CUR01 Entity Identifier Code Mandatory Must use
CUR02 Currency Code Mandatory Must use

Segment: DTM - Date/time reference

Loop

Level: Heading

Usage: Optional - Used

Syntax note:

  • DTM02 is required if DTM01 is specified.

Semantic notes:

  • The first date that has one of the listed qualifiers in the DTM01 field is captured as the estimated ship date. The estimated ship date is used to determine if a shipment is going to be late. These are the codes that are used to qualify estimated ship dates:
    • 038 - Ship no later than
    • 039 - Ship week of
    • 066 - First scheduled ship
    • 068 - Current scheduled ship
    • 079 - Promised for shipment
    • 083 - Scheduled for shipment (prior to and including)
    • 085 - Promised for shipment (prior to and including)
    • 086 - Scheduled for shipment (week of)
    • 088 - Promised for shipment (week of)
    • 110 - Originally scheduled ship
    • 175 - Cancel if not shipped by
  • The first date that has one of the listed qualifiers in the DTM01 field is captured as the delivery date. The delivery date is used to determine when a shipment missed its delivery window. These are the codes that are used to qualify delivery dates:
    • 001 - Cancel after
    • 002 - Delivery requested
    • 061 - Cancel if not delivered by
    • 063 - Do not deliver after
    • 071 - Requested for delivery (after and including)
    • 074 - Requested for delivery (prior to and including)
    • 106 - Required by
    • 996 - Required delivery
Reference Element name Requirement Usage
DTM01 Date / Time Qualifier Mandatory Must use
DTM02 Date Optional Used

Segment: N1 - Name

Loop: N1

Level: Header

Usage: Optional

Syntax note:

  • This segment is only used if the N101 qualifier field is equal to Ship to (ST) or Bill to Party (BT).

Semantic notes:

  • If N101 is equal to ST, N102 is the name of the recipient.
  • If N101 is equal to BT, N102 is the name of the billing party.
Reference Element name Requirement Usage
N101 Entity Identifier Code Mandatory Must use
N102 Name Optional Used

Segment: N3 - Address information

Loop: N1

Level: Header

Usage: Optional

Syntax notes:

  • This segment is only used if the N101 qualifier field is equal to ST or BT.

Semantic notes:

  • If N101 is equal to ST, N301 is the street address of the recipient.
  • If N101 is equal to BT, N301 is the street address of the billing party.
Reference Element name Requirement Usage
N301 Name Mandatory Must use

Segment: N4 - Geographic location

Loop: N1

Level: Header

Usage: Optional

Syntax note:

  • This segment is only used if the N101 qualifier field is equal to ST or BT.

Semantic notes:

  • If N101 is equal to ST, N401 is the geographic location of the recipient.
  • If N101 is equal to BT, N401 is the geographic location of the billing party.
Reference Element name Requirement Usage
N401 City Name Optional Used
N402 State or Providence Code Optional Used
N403 Postal Code Optional Used
N404 Country Code Optional Used
N405 Location Qualifier Optional Used
N406 Location Identifier Optional Used

Segment: POC - Line item change

Loop

Level: Detail

Usage: Optional - Used

Syntax notes:

  • POC01 is mandatory if POC02 equals CA, DI, PQ, QC, QD, or QI.
  • POC04 is mandatory if POC02 is related to a line item quantity change.
  • POC03 is mandatory if POC02 equals QD or QI.
  • POC06 is mandatory if POC02 is related to a line item quantity change.
  • POC07 is mandatory if POC02 is related to a line item quantity change.
  • If POC08 is specified, POC09 is required.
  • If POC10 is specified, POC11 is required.
  • If POC12 is specified, POC13 is required.
  • If POC14 is specified, POC15 is required.
  • If POC16 is specified, POC17 is required.
  • If POC18 is specified, POC19 is required.
  • If POC20 is specified, POC21 is required.
  • If POC22 is specified, POC23 is required.
  • If POC24 is specified, POC25 is required.
  • If POC26 is specified, POC27 is required.

Semantic notes:

  • POC01 is the line number from the original purchase order.
  • If POC02 equals Add item (AI), POC01 is used if it is provided. If POC01 is missing, a line number is assigned.
  • If POC02 equals CA, PQ, or QC, POC04 represents the new quantity to be used.
  • If POC02 equals QD or QI, POC04 is used with POC03 to calculate the new quantity.
  • If POC02 is related to a line item quantity change, POC07 is used with POC06 to calculate the line item amount. If POC07 is missing for a quantity change, POC07 defaults to a code of Price for each (PE).
  • The first UPC qualifier that is found in this list is used. The following product/service ID qualifiers are UPC-related :
    • U2 - UPC/EAN shipping container code (1-2-5-5-1)
    • UA - UPC/EAN case code (2-5-5)
    • UD - UPC/EAN consumer package code (2-5-5)
    • UI - UPC consumer package code (1-5-5)
    • UK - GTIN (14 digits) - UPC/EAN shipping container code (1-2-5-5-1)
    • UP - UPC consumer package code (1-5-5-1)
    • UN - UPC/EAN Case Code Number (1-1-5-5)
  • Seller/supplier qualifiers are preferred over buyer qualifiers. The first seller/supplier qualifier that is found (MG-VP) in the list is used. If a seller/supplier qualifier is not found, the first found buyer qualifier is used. The following product number or ID-related product/service ID qualifiers are seller or buyer-related:
    • MG - the part number of the manufacturer
    • PI - the item code of the purchaser
    • SK - stock keeping unit
    • VC - the catalog number of the vendor (seller)
    • VN - the item number of the vendor (seller)
    • VP - the part number of the vendor (seller)
    • BP - the part number of the buyer
    • CB - the catalog number of the buyer
    • IN - the item number of the buyer
Reference Element name Requirement Usage
POC01 Assigned Identification Optional Used
POC02 Change or Response Type Code Mandatory Must use
POC03 Quantity Ordered Optional Used
POC04 Quantity Left to Receive Optional Used
POC05 Unit of Measure Composite Optional Used
POC06 Unit Price Optional Used
POC07 Basis of Unit Price Code Optional Used
POC08 Product/Service ID Qualifier Optional Used
POC09 Product/Service ID Optional Used
POC10 Product/Service ID Qualifier Optional Used
POC11 Product/Service ID Optional Used
POC12 Product/Service ID Qualifier Optional Used
POC13 Product/Service ID Optional Used
POC14 Product/Service ID Qualifier Optional Used
POC15 Product/Service ID Optional Used
POC16 Product/Service ID Qualifier Optional Used
POC17 Product/Service ID Optional Used
POC18 Product/Service ID Qualifier Optional Used
POC19 Product/Service ID Optional Used
POC20 Product/Service ID Qualifier Optional Used
POC21 Product/Service ID Optional Used
POC22 Product/Service ID Qualifier Optional Used
POC23 Product/Service ID Optional Used
POC24 Product/Service ID Qualifier Optional Used
POC25 Product/Service ID Optional Used
POC26 Product/Service ID Qualifier Optional Used
POC27 Product/Service ID Optional Used

Segment: PID - Product / item description

Loop: PID

Level: Detail

Usage: Optional - Used

Semantic note:

  • PID01 is set to Free Form (F).
  • PID05 is the description that is associated with the PO1 line item.
  • The first PID instance is used.
Reference Element name Requirement Usage
PID01 Item Description Type Mandatory Must use
PID02 Product/Process Characteristic Code Optional Not used
PID03 Agency Qualifier Code Optional Not used
PID04 Product Description Code Optional Not used
PID05 Description Optional Used

Segment: SLN - Subline item detail

Loop: PO1/SLN

Level: Detail

Usage: Optional - Used

Syntax notes:

  • If SLN09 is specified, SLN10 is required.
  • If SLN11 is specified, SLN12 is required.
  • If SLN13 is specified, SLN14 is required.
  • If SLN15 is specified, SLN16 is required.
  • If SLN17 is specified, SLN18 is required.
  • If SLN19 is specified, SLN20 is required.
  • If SLN21 is specified, SLN22 is required.
  • If SLN23 is specified, SLN24 is required.
  • If SLN25 is specified, SLN26 is required.
  • If SLN27 is specified, SLN28 is required.

Semantic notes:

  • The first UPC qualifier that is found in this list is used. The following product/service ID qualifiers are UPC-related :
    • U2 - UPC/EAN shipping container code (1-2-5-5-1)
    • UA - UPC/EAN case code (2-5-5)
    • UD - UPC/EAN consumer package code (2-5-5)
    • UI - UPC consumer package code (1-5-5)
    • UK - GTIN (14 digits) - UPC/EAN shipping container code (1-2-5-5-1)
    • UP - UPC consumer package code (1-5-5-1)
    • UN - UPC/EAN Case Code Number (1-1-5-5)
  • Seller/supplier qualifiers are preferred over buyer qualifiers. The first seller/supplier qualifier that is found (MG-VP) in the list is used. If a seller/supplier qualifier is not found, the first found buyer qualifier is used. The following product number or ID-related product/service ID qualifiers are seller or buyer-related:
    • MG - the part number of the manufacturer
    • PI - the item code of the purchaser
    • SK - stock keeping unit
    • VC - the catalog number of the vendor (seller)
    • VN - the item number of the vendor (seller)
    • VP - the part number of the vendor (seller)
    • BP - the part number of the buyer
    • CB - the catalog number of the buyer
    • IN - the item number of the buyer
Reference Element name Requirement Usage
SLN01 Assigned Identification Mandatory Must use
SLN02 Assigned Identification Optional Used
SLN03 Relationship Code Mandatory Must use
SLN04 Quantity Optional Used
SLN05 Unit of Measure Optional Used
SLN06 Unit Price Optional Used
SLN07 Basis Of Unit Price Optional Not used
SLN08 Relationship Code Optional Not used
SLN09 Product/Service ID Qualifier Optional Used
SLN10 Product/Service ID Optional Used
SLN11 Product/Service ID Qualifier Optional Used
SLN12 Product/Service ID Optional Used
SLN13 Product/Service ID Qualifier Optional Used
SLN14 Product/Service ID Optional Used
SLN15 Product/Service ID Qualifier Optional Used
SLN16 Product/Service ID Optional Used
SLN17 Product/Service ID Qualifier Optional Used
SLN18 Product/Service ID Optional Used
SLN19 Product/Service ID Qualifier Optional Used
SLN20 Product/Service ID Optional Used
SLN21 Product/Service ID Qualifier Optional Used
SLN22 Product/Service ID Optional Used
SLN23 Product/Service ID Qualifier Optional Used
SLN24 Product/Service ID Optional Used
SLN25 Product/Service ID Qualifier Optional Used
SLN26 Product/Service ID Optional Used
SLN27 Product/Service ID Qualifier Optional Used
SLN28 Product/Service ID Optional Used

Segment: CTT - Transaction totals

Loop

Level: Summary

Usage: Optional - Used

Semantic note:

  • CTT01 is equal to the number of POC segments in a transaction.
Reference Element name Requirement Usage
CTT01 Number of Line Items Mandatory Must use