CDW Corporation
August 28, 2002
ANSI X12 855 Out Bound
Guidelines
August 28, 2002
The following pages are the guidelines for implementing the ANSI X12 855 document with CDW. The segments listed below are a subset of the 855 document. This represents all the segments that CDW is capable of receiving.
Segment / Max. / LoopID / Name / Req / Use /
Repeat
(Header)ST / Transaction Set Header / M / 1
BAK / Beginning Segment for Purchase Order Acknowledgment / M / 1
FOB / F.O.B. Related Instructions / O / >1
N1 / Loop / O / 200
N1 / Name / O / 1
N3 / Address Information / O / 2
N4 / Geographic Location / O / 1
(Detail)
PO1 / Baseline Item Data / O / 1 / 100,000
DTM / Date/Time Reference / O / 10
ACK / Loop / O / 104
ACK / Line Item Acknowledgment / O / 1
DTM / Date/Time Reference / O / 1
(Trailer)
CTT / Transactions Totals / M / 1
SE / Transaction Set Trailer / M / 1
Here is an example of an inbound 855 document:
ST*855*000000001
BAK*00*AC*TESTPO12345*20010402
FOB*FO*OR
N1*SF*CDW COMPUTER CENTERES*92* CDW
PO1*0101*1*EA*154.06**VP*CDW74886
ACK*IH*1*EA***0001059436
PO1*0201*1*EA*19.05**VP*CDW106091
ACK*IA*1*EA***0001059436
DTM*017*20001011
CTT*2*2
SE*12*000000001
Please note that the segment terminators are not shown.
The following is a guide to the notation that is used to present the specifications:
Req - Required or Usage
CConditional
MMandatory
OOptional
XRelational
TP - Element Type
ANAlpha Numeric
DTDate, in the form of CCYYMMDD
IDIdentifier or Qualifier
NxNumeric, where ‘x’ is the number of decimal positions
RDecimal, with the decimal point included
TMTime, in the form of HHMM
Header
ST - Transaction Set Header
Element / ReferenceNumber / Description / Qual/Def / Req / Type / Min / Max
ST01 / 143 / Transaction Set Identifier / 855 – Purchase Order Acknowledgment / M / ID / 3 / 3
ST02 / 329 / Transaction Set Control Number / Sequential #
(Same as SE02) / M / AN / 4 / 9
BAK - Beginning Segment for Purchase Order Acknowledgment
Element / ReferenceNumber / Description / Qual/Def / Req / Type / Min / Max
BAK01 / 353 / Transaction Set Purpose Code / ‘00’ – Original / M / ID / 2 / 2
BAK02 / 587 / Acknowledgment Type /
- ‘AC’ – Accepted with Changes
- ‘AD’ – Accepted without Changes
BAK03 / 324 / Purchase Order Number / M / AN / 1 / 22
BAK04 / 373 / Date / CCYYMMDD, purchase order date / M / DT / 8 / 8
BAK09 / 373 / Date / CCYYMMDD / O / DT / 8 / 8
FOB – F.O.B. Related Instructions
Element / ReferenceNumber / Description / Qual/Def / Req / Type / Min / Max
FOB01 / 146 / Shipment Payment Method / M / ID / 2 / 2
FOB02 / 309 / Location Qualifier / X / ID / 1 / 2
FOB03 / 352 / Description / C / AN / 1 / 80
N1 – Name
Element / ReferenceNumber / Description / Qual/Def / Req / Type / Min / Max
N101 / 98 / Type of Organization / M / ID / 2 / 3
N102 / 93 / Name / X / AN / 1 / 60
N103 / 66 / ID Code Qualifier / X / ID / 1 / 2
N104 / 67 / Identifying Number / X / AN / 2 / 80
N2 - Additional Name Information
Element / ReferenceNumber / Description / Qual/Def / Req / Type / Min / Max
N201 / 93 / Name / M / AN / 1 / 60
N202 / 93 / Name / O / AN / 1 / 60
Header (continued)
N3 - Address Information
Element / ReferenceNumber / Description / Qual/Def / Req / Type / Min / Max
N301 / 166 / Address Information / M / AN / 1 / 55
N302 / 166 / Address Information / O / AN / 1 / 55
N4 - Geographic Location
Element / ReferenceNumber / Description / Qual/Def / Req / Type / Min / Max
N401 / 19 / City Name / O / AN / 2 / 30
N402 / 156 / State/Province Code / O / ID / 2 / 2
N403 / 116 / Postal Code / O / ID / 3 / 15
Detail
PO1 - Baseline Item Data
Element / ReferenceNumber / Description / Qual/Def / Req / Type / Min / Max
PO101 / 350 / Assigned Identification / O / AN / 1 / 20
PO102 / 330 / Quantity Ordered / X / R / 1 / 15
PO103 / 335 / Unit of Measurement Code / O / ID / 2 / 2
PO104 / 212 / Unit Price / X / R / 1 / 17
PO105 / 639 / Basis of Unit Price Code / O / ID / 2 / 2
PO106 / 235 / Product/Service ID Qualifier / ‘VN’ / X / ID / 2 / 2
PO107 / 234 / Product/Service ID / CDW Part Number / X / AN / 1 / 48
PO108 / 235 / Product/Service ID Qualifier / ‘MG’ / X / ID / 2 / 2
PO109 / 234 / Product/Service ID / Manufacture Part / X / AN / 1 / 48
PO110 / 235 / Product/Service ID Qualifier / ‘UP’ / X / ID / 2 / 2
PO111 / 234 / Product/Service ID / UPC Number / X / AN / 1 / 48
DTM – Date/Time Reference
Element / ReferenceNumber / Description / Qual/Def / Req / Type / Min / Max
DTM01 / 374 / Date/Time Qualifier / ‘097’ – Date Created
‘002’ – Date Required / M / ID / 3 / 3
DTM02 / 373 / Date / CCYYMMDD / X / DT / 8 / 8
Detail (continued)
ACK – Date/Time Reference
Element / ReferenceNumber / Description / Qual/Def / Req / Type / Min / Max
ACK01 / 668 / Line Item Status Code /
- ‘IB’ – Item backordered
- ‘BP’ – Partial shipment, balanced backordered
- ‘DR’ – Date rescheduled
- ‘IP’ – Item accepted but price changed
- ‘IQ’ – Item accepted but quantity changed
- ‘AC’ – Item accepted and Shipped
ACK02 / 380 / Quantity / X / R / 1 / 15
ACK03 / 355 / Unit of Measurement Code / X / AN / 2 / 2
ACK04 / 374 / Date/Time Qualifier / O / ID / 3 / 3
ACK05 / 373 / Date / CCYYMMDD / X / DT / 8 / 8
DTM – Date/Time Reference
Element / ReferenceNumber / Description / Qual/Def / Req / Type / Min / Max
Reference
Element / Number / Description / Qual/Def / Req / Type / Min / MaxDTM01 / 374 / Date/Time Qualifier / ‘097’ – Date Created
‘002’ – Date Shipped / M / ID / 3 / 3
DTM02 / 373 / Date / CCYYMMDD / X / DT / 8 / 8
Trailer
CTT - Transaction Totals
Element / ReferenceNumber / Description / Qual/Def / Req / Type / Min / Max
CTT01 / 354 / Number of Line Items / Number of PO1 segments used / M / N0 / 1 / 6
SE - Transaction Set Trailer
Element / ReferenceNumber / Description / Qual/Def / Req / Type / Min / Max
SE01 / 96 / Segments in Transaction / ST and SE included / M / N0 / 1 / 10
SE02 / 329 / Transaction Set Control / Same as ST02 / M / AN / 4 / 9
855_O_40101