Skip to content
X12 EDI

Williams Sonoma X12 865 Purchase Order Change Acknowledgment/Request - Seller Initiated

Plan X12 865 Purchase Order Change Acknowledgment/Request - Seller Initiated for Williams Sonoma via SPS. Connect document identifiers to your business records, test exception handling and track each exchange to completion.

Segments
12
Loops
4
X12 865
Partner references ↗

Implementation guide

Williams Sonoma via SPS: 865 mapping and validation

X12 865 Purchase Order Change Acknowledgment/Request - Seller Initiated is used when a seller acknowledges or proposes an order change. Preserve original purchase order, change reference and affected line so the seller order-change response or request in your business system stays connected to the original document.

This document is listed for Williams Sonoma via SPS. Confirm the version, required fields and responses that apply to your account.

Map records and test the business result
Document or decisionRecord and matching IDsWhat to test
Match the business record seller order-change response or request

original purchase order, change reference and affected line

  • Define which combination of original purchase order, change reference and affected line identifies one business record, its lines and any later revision.
Update the receiving system Processing the seller order-change response or request

ID assigned by the receiving system and processing result

  • Distinguish a seller-proposed change from acceptance of a buyer-requested change.
  • Reject an outdated revision that would overwrite a later agreed quantity.
Check the processing result Processing status for the seller order-change response or request

Original document reference and matching response

  • Reconcile the seller order-change response or request with the source after a timeout before sending it again. A lost response can occur after the destination has already processed the document.

The document reference includes 12 segments. Use the segment reference below to locate the relevant parts of the message. Check required fields and repetition limits in the partner guide.

How the related documents differ

Each message represents a different business event. Use shared references to connect the records while tracking each message’s outcome separately.

Implementation steps

  1. Choose the starting event and owner

    Decide which application acts when a seller acknowledges or proposes an order change. Name the operational owner of the seller order-change response or request and the team that resolves rejected or ambiguous messages.

  2. Keep record IDs connected

    Map original purchase order, change reference and affected line. Confirm qualifiers, code lists, units and date/time meaning against the agreed X12 version and Williams Sonoma guide. Preserve the source reference alongside any new destination identifier.

  3. Test failures before launch

    Run the failure cases in the mapping table against realistic seller order-change response or request data. Check how the receiving system reports a rejection and how your team corrects it without creating a duplicate.

  4. Track every document to completion

    Record transport delivery and document validation separately from successful seller order-change response or request processing. Give unresolved errors an owner and check the receiving system before approving retries.

Go-live checklist

  • An approved 865 sample and the agreed version and partner guide are available.
  • The mapping tests pass with realistic seller order-change response or request data.
  • Each submitted document can be traced through delivery, validation and processing in the receiving system.
  • Your team knows how to investigate and recover a rejected or timed-out seller order-change response or request without processing it twice.

Transaction context

Where 865 Purchase Order Change Acknowledgment/Request - Seller Initiated fits on Williams Sonoma via SPS

Williams Sonoma channels
1 of 2

1 of Williams Sonoma's 2 channels list 865

Trading partners
12

partner references list 865

Channels
12

channel entries list 865

The directory associates SPS Commerce and 865 with 6 channels.

Document structure

X12 865 Purchase Order Change Acknowledgment/Request - Seller Initiated at the element level

The X12 865 reference contains 21 segment entries and 72 data elements; 40 are marked mandatory in this reference. Use the version and partner guide agreed for your account to confirm required fields.

Segments
21
Data elements
72
Mandatory elements
40
Segments with elements marked mandatory in this reference
Segment Elements Mandatory
BCA 4 3
REF 2 1
N9 2 1
MSG 1 1
POC 12 1
PID 2 1
ACK 15 1
DTM 3 1
CTT 1 1
Key identifiers in 865
  • Transaction Set Purpose Code
  • Purchase Order Number
  • Date
  • Reference Identification Qualifier
  • Free-Form Message Text
  • Change or Response Type Code
  • Item Description Type
  • Line Item Status Code
Segment reference — 12 segments 4 loops · X12 865 Purchase Order Change Acknowledgment/Request - Seller Initiated
ISA Interchange Control Header 16 elements

To start and identify an interchange of zero or more functional groups and interchange-related control segments

GS Functional Group Header 8 elements

To indicate the beginning of a functional group and to provide control information

ST Transaction Set Header 2 elements

To indicate the start of a transaction set and to assign a control number

BCA Beginning Segment for Purchase Order Change Acknowledgment 6 elements

To indicate the beginning of the Purchase Order Change Acknowledgment Transaction Set and transmit identifying numbers and dates

REF Reference Information 2 elements

To specify identifying information

PER Administrative Communications Contact 6 elements

To identify a person or office to whom administrative communications should be directed

N9 Loop Repeat: 1,000
N9 Extended Reference Information 2 elements

To transmit identifying information as specified by the Reference Identification Qualifier

MTX Text 1 element

To specify textual data

POC Loop Repeat: 1,000
POC Line Item Change 14 elements

To specify changes to a line item

PID Loop Repeat: 1,000
PID Product/Item Description 3 elements

To describe a product or process in coded or free-form format

CTT Loop Repeat: 1
CTT Transaction Totals 1 element

To transmit a hash total for a specific element in the transaction set

SE Transaction Set Trailer 2 elements

To indicate the end of the transaction set and provide the count of the transmitted segments (including the beginning (ST) and ending (SE) segments)

Related references

Other transactions in Williams Sonoma via SPS

Other EDI documents listed on this channel.

Williams Sonoma via SPS EDI 865 questions

Common questions about 865 Purchase Order Change Acknowledgment/Request - Seller Initiated on the Williams Sonoma via SPS channel.

What is X12 865 Purchase Order Change Acknowledgment/Request - Seller Initiated used for?

865 is used when a seller acknowledges or proposes an order change. It carries information for the seller order-change response or request. Match it to your business system using original purchase order, change reference and affected line.

Is 865 required for Williams Sonoma via SPS?

865 is listed for Williams Sonoma via SPS. Confirm the required version and direction for your business unit and account with the partner.

What should I map for X12 865?

Start with original purchase order, change reference and affected line and the target seller order-change response or request. Define duplicate detection, allowed updates and response correlation before mapping individual fields. Use the partner guide to check required fields and their formats.

How should I test 865 error handling?

Distinguish a seller-proposed change from acceptance of a buyer-requested change. Reject an outdated revision that would overwrite a later agreed quantity. Also test a lost response after destination processing so that a retry cannot create an unintended duplicate or repeated adjustment.

How does 865 relate to other EDI messages?

X12 850 Purchase Order; X12 860 Purchase Order Change Request Buyer Initiated; X12 855 Purchase Order Acknowledgment are related documents also listed on Williams Sonoma via SPS. Match these documents through their order, shipment or invoice references. Agree which response marks each business step as complete.

What is the difference between 865 and 850?

865 is used when a seller acknowledges or proposes an order change. 850 is used when a buyer places an order. Each message represents a different business step. Keep their record references connected and track the processing result for each message.

Connect Williams Sonoma EDI to your business systems

See how Stacksync can fit your enterprise EDI workflow. Bring one partner guide and a sample exchange to plan the system mapping, exception handling and production rollout.