Stedi maintains this guide based on public documentation from CDW. Contact CDW for official EDI specifications. To report any errors in this guide, please contact us.
X12 870 Order Status Report
—
Delimiters
- ~ Segment
- * Element
- > Component
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
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
—
- T
- Transportation Data Coordinating Committee (TDCC)
- X
- Accredited Standards Committee X12
Heading
N1 Loop
OptionalMax 200
N1
050
Heading > N1 Loop > N1
Name
RequiredMax use 1
—
Example
At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
PER
100
Heading > N1 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
If either Communication Number Qualifier (PER-05) or Communication Number (PER-06) is present, then the other is required
—
- BD
- Buyer Name or Department
- IC
- Information Contact
N1 Loop end
Heading end
Detail
HL Loop
RequiredMax 1000
ISR Loop
OptionalMax 1
ISR Loop end
REF Loop
RequiredMax >1
REF Loop end
N1 Loop
OptionalMax 200
N1
090
Detail > HL Loop > N1 Loop > N1
Name
RequiredMax use 1
—
Example
At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
N4
120
Detail > HL Loop > N1 Loop > N4
Geographic Location
OptionalMax use 1
—
Example
If Location Identifier (N4-06) is present, then Location Qualifier (N4-05) is required
—
- DE
- Destination (Shipping) (non drop-ship orders only)
PER
140
Detail > HL Loop > N1 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
If either Communication Number Qualifier (PER-05) or Communication Number (PER-06) is present, then the other is required
N1 Loop end
PO1 Loop
RequiredMax 1000
PO1
150
Detail > HL Loop > PO1 Loop > PO1
Baseline Item Data
RequiredMax use 1
—
Example
If either Product/Service ID Qualifier (PO1-10) or Product/Service ID (PO1-11) is present, then the other is required
If either Product/Service ID Qualifier (PO1-12) or Product/Service ID (PO1-13) is present, then the other is required
If either Product/Service ID Qualifier (PO1-14) or Product/Service ID (PO1-15) is present, then the other is required
If either Product/Service ID Qualifier (PO1-16) or Product/Service ID (PO1-17) is present, then the other is required
If either Product/Service ID Qualifier (PO1-18) or Product/Service ID (PO1-19) is present, then the other is required
—
- AC
- Aggregation Code (Used to Consolidate Part Families)
ISR Loop
OptionalMax 100
—
Usage notes
—
- BO
- Back Ordered
- BP
- Shipment Partial, Back Order to Ship on (Date)
- CC
- Shipment Complete on (Date)
- CK
- Cancelled from Previous Order
- DI
- Item Manufacturer-Discontinued
- HQ
- Held Awaiting Qualification, Credit Hold, Processing Delay—
- IC
- Item Canceled
- IN
- In Process
- PR
- Partial Shipment
—
- 01
- Discrete Quantity
- 27
- Committed Quantity
- 39
- Shipped Quantity
- 40
- Remaining Quantity
REF
300
Detail > HL Loop > PO1 Loop > ISR Loop > REF
Reference Identification
OptionalMax use 12
—
Example
ISR Loop end
PO1 Loop end
HL Loop end
Detail end
Summary
Summary end
EDI Samples
CDW Order Status Report
ISA~00~ ~00~ ~ZZ~SENDER ~ZZ~RECEIVER ~231101~0140~U~00401~000000001~0~T~>
GS~RS~SENDERGS~RECEIVERGS~20231101~014040~000000001~X~004010
ST~870~1001
BSR~2~AO~REPORT_001~20010301
DTM~007~20010301
N1~VN~VENDOR_NAME~92~1234567890
N1~BY~CDW~93~VENDOR_ID
HL~1~~O
PRF~CDW_PO_1~~~20010201
ISR~IN
REF~VN~SELLER_ORDER_NUMBER_1
N1~ST~SHIP_TO_NAME_1~92~SHIPTO_ID
N2~ATTN:SHIP_TO_CONTACT
N3~SHIP_TO_ADDRESS_1
N4~SHIP_TO_CITY~IL~60018
REF~EU~END_USER_PO
PER~IC~SHIP_TO_CONTACT~TE~1(800)555-5555
PO1~000001~100~EA~50.50~CA~BP~CDW_ITEM_1~MG~VENDOR_ITEM_1~VP~MANUF_ITEM_1
PID~F~~~~DESCRIPTION OF ITEM_1
ISR~HQ~~W04
QTY~01~50~UN
ISR~PR~20010228
QTY~01~50~UN
REF~BM~BILL_A
PO1~000002~50~EA~100~CA~BP~CDW_ITEM_2~MG~VENDOR_ITEM_2~VP~MANUF_ITEM_2
PID~F~~~~DESCRIPTION OF ITEM_2
ISR~IC
QTY~01~50~UN
REF~BM~CANC_REV_NUM_2
HL~2~~O
PRF~CDW_PO_2~~~20010202
ISR~CC
REF~VN~SELLER_ORDER_NUMBER_2
N1~ST~SHIP_TO_NAME_2~92~SHIPTO_ID
N2~ATTN:SHIP_TO_CONTACT
N3~SHIP_TO_ADDRESS_2
N4~SHIP_TO_CITY~IL~60018
REF~EU~END_USER_PO
PER~IC~SHIP_TO_CONTACT~TE~1(800)555-5555
PO1~000004~10~EA~75.80~CA~BP~CDW_ITEM_3~MG~VENDOR_ITEM_3~VP~MANUF_ITEM_3
PID~F~~~~DESCRIPTION OF ITEM_3
ISR~CC~20010227
QTY~01~10~UN
REF~BM~BILL_B
HL~3~~O
PRF~CDW_PO_3~~~20010203
ISR~IN
REF~VN~SELLER_ORDER_NUMBER_3
N1~ST~SHIP_TO_NAME_3~92~SHIPTO_ID
N2~ATTN:SHIP_TO_CONTACT
N3~SHIP_TO_ADDRESS_3
N4~SHIP_TO_CITY~IL~60018
REF~EU~END_USER_PO
PER~IC~SHIP_TO_CONTACT~TE~1(800)555-5555
PO1~000001~5~EA~1008.65~CA~BP~CDW_ITEM_4~MG~VENDOR_ITEM_4~VP~MANUF_ITEM_4
PID~F~~~~DESCRIPTION OF ITEM_4
ISR~IN
QTY~01~3~UN
DTM~068~20010320
ISR~CC~20010226
QTY~01~2~UN
REF~BM~BILL_C
CTT~3
SE~62~1001
GE~1~000000001
IEA~1~000000001
GS~RS~SENDERGS~RECEIVERGS~20231101~014040~000000001~X~004010
ST~870~1001
BSR~2~AO~REPORT_001~20010301
DTM~007~20010301
N1~VN~VENDOR_NAME~92~1234567890
N1~BY~CDW~93~VENDOR_ID
HL~1~~O
PRF~CDW_PO_1~~~20010201
ISR~IN
REF~VN~SELLER_ORDER_NUMBER_1
N1~ST~SHIP_TO_NAME_1~92~SHIPTO_ID
N2~ATTN:SHIP_TO_CONTACT
N3~SHIP_TO_ADDRESS_1
N4~SHIP_TO_CITY~IL~60018
REF~EU~END_USER_PO
PER~IC~SHIP_TO_CONTACT~TE~1(800)555-5555
PO1~000001~100~EA~50.50~CA~BP~CDW_ITEM_1~MG~VENDOR_ITEM_1~VP~MANUF_ITEM_1
PID~F~~~~DESCRIPTION OF ITEM_1
ISR~HQ~~W04
QTY~01~50~UN
ISR~PR~20010228
QTY~01~50~UN
REF~BM~BILL_A
PO1~000002~50~EA~100~CA~BP~CDW_ITEM_2~MG~VENDOR_ITEM_2~VP~MANUF_ITEM_2
PID~F~~~~DESCRIPTION OF ITEM_2
ISR~IC
QTY~01~50~UN
REF~BM~CANC_REV_NUM_2
HL~2~~O
PRF~CDW_PO_2~~~20010202
ISR~CC
REF~VN~SELLER_ORDER_NUMBER_2
N1~ST~SHIP_TO_NAME_2~92~SHIPTO_ID
N2~ATTN:SHIP_TO_CONTACT
N3~SHIP_TO_ADDRESS_2
N4~SHIP_TO_CITY~IL~60018
REF~EU~END_USER_PO
PER~IC~SHIP_TO_CONTACT~TE~1(800)555-5555
PO1~000004~10~EA~75.80~CA~BP~CDW_ITEM_3~MG~VENDOR_ITEM_3~VP~MANUF_ITEM_3
PID~F~~~~DESCRIPTION OF ITEM_3
ISR~CC~20010227
QTY~01~10~UN
REF~BM~BILL_B
HL~3~~O
PRF~CDW_PO_3~~~20010203
ISR~IN
REF~VN~SELLER_ORDER_NUMBER_3
N1~ST~SHIP_TO_NAME_3~92~SHIPTO_ID
N2~ATTN:SHIP_TO_CONTACT
N3~SHIP_TO_ADDRESS_3
N4~SHIP_TO_CITY~IL~60018
REF~EU~END_USER_PO
PER~IC~SHIP_TO_CONTACT~TE~1(800)555-5555
PO1~000001~5~EA~1008.65~CA~BP~CDW_ITEM_4~MG~VENDOR_ITEM_4~VP~MANUF_ITEM_4
PID~F~~~~DESCRIPTION OF ITEM_4
ISR~IN
QTY~01~3~UN
DTM~068~20010320
ISR~CC~20010226
QTY~01~2~UN
REF~BM~BILL_C
CTT~3
SE~62~1001
GE~1~000000001
IEA~1~000000001
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.