CDW Corporation
November 12, 2001
ANSI X12 850 Out Bound
Guidelines
November 12, 2001
Specific for Warranty Orders
The following pages are the guidelines for implementing the ANSI X12 850 document with CDW. The segments listed below are a subset of the 850 document. This represents all the segments that CDW is capable of sending. This document is to be used specifically for sending Warranty Order information.
SegmentMax.Loop
ID NameReq UseRepeat
(Header)
STTransaction Set HeaderM 1
BEGBeginning Segment for Purchase OrderM 1
REFReference NumbersO>1
PERAdministrative Communications ContactO1
TAXTax ReferenceO1
FOBF.O.B. Related InstructionsO1
ITDTerms of Sale/Deferred Terms of SaleO1
DTMDate/Time ReferenceO1
N1loopO200
N1NameO 1
N2Additional Name InformationO 1
N3Address InformationO 1
N4Geographic LocationO 1
PERAdministrative Communications ContactO>1
(Detail)
PO1Baseline Item DataO1100,000
PIDloopO1,000
PIDProduct/Item DescriptionO1
REFReference NumbersO>1
DTMDate/Time ReferenceO1
SLNLoopO1,000
SLNSub-line Item DetailO1
(Trailer)
CTTTransactions TotalsM1
AMTMonetary AmountO1
SETransaction Set TrailerM1
Here is an example of an outbound 850 document (warranty order) :
ST~850~010921382
BEG~00~NE~1014288~~20000911
REF~EU~000907
REF~PD~PAF
REF~CO~000907
N1~BT~CDW COMPUTER CENTERS, INC.~1~107627952
N3~200 NORTH MILWAUKEE AVENUE
N4~VERNON HILLS~IL~60061
PER~BD~Buyer Name~TE~8474656000
N1~ST~ABC COMPANY~93~6010101001
N3~JOE’S STREET ADDRESS
N4~VERNON HILLS~IL~60061
PER~IC~JOE BUYER~TE~8474656000
TAX~33-3310735~~~~~~~~~~~3
PO1~0000001~1~EA~154.06~~BP~010076~MG~MFG-12345-1
PID~F~~~~MANUFACTURE WARRANTY EXAMPLE 1
SLN~001~~O~1~EA~1500~CP~MG~HDW-A~BP~000001~SE~SER 01~TZ~CPQ CPU #1
PO1~0000002~2~EA~19.05~~BP~060951~MG~MFG-12345-2
PID~F~~~~MANUFACTURE WARRANTY EXAMPLE 2
SLN~001~~O~1~EA~2000~CP~MG~HDW-B~BP~100002~SE~SER 02~TZ~CPQ CPU #2
SLN~002~~O~1~EA~2000~CP~MG~HDW-B~BP~100002~SE~SER 03~TZ~CPQ CPU #2
PO1~0000003~10~EA~66.85~~BP~990672~MG~MFG-12345-3
PID~F~~~~ MANUFACTURE WARRANTY EXAMPLE 3
SLN~001~~O~1~EA~2000~CP~MG~HDW-C~BP~100003~SE~SER 04~TZ~CPQ CPU #3
SLN~002~~O~1~EA~2000~CP~MG~HDW-C~BP~100003~SE~SER 05~TZ~CPQ CPU #3
SLN~003~~O~8~EA~2000~CP~MG~HDW-C~BP~100003~~~TZ~CPQ CPU #3
PO1~0000004~10~EA~57.88~~BP~277352~MG~MFG-12345-4
PID~F~~~~ MANUFACTURE WARRANTY EXAMPLE 4
SLN~001~~O~10~EA~1350~CP~MG~HDW-D~BP~100004~~~TZ~CPQ CPU #4
CTT~4
SE~31~010921382
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 YYMMDD
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
Reference
Element / Number / Description / Qual/Def / Req / Type / Min / MaxST01 / 143 / Transaction Set Identifier / 850 – Purchase Order / M / ID / 3 / 3
ST02 / 329 / Transaction Set Control Number / Sequential #
(Same as SE02) / M / AN / 4 / 9
BEG - Beginning Segment for Purchase Order
Reference
Element / Number / Description / Qual/Def / Req / Type / Min / MaxBEG01 / 353 / Transaction Set Purpose Code / ‘00’ – Original / M / ID / 2 / 2
BEG02 / 92 / Purchase Order Type Code / ‘SA’ - Stand Alone
‘NE’ – New order
‘DS’ - Drop ships
‘TM’ - Configuration
Government/Education
Software licensing
TP can specify PO type / M / ID / 2 / 2
BEG03 / 324 / Purchase Order Number / M / AN / 1 / 22
BEG04 / 328 / Release Number / O / AN / 1 / 30
BEG05 / 323 / Purchase Order Date / CCYYMMDD / M / DT / 8 / 8
BEG06 / 367 / Contract Number / O / AN / 1 / 30
BEG07 / 587 / Acknowledgement Type / O / ID / 2 / 2
REF – Reference Numbers
Reference
Element / Number / Description / Qual/Def / Req / Type / Min / MaxREF01 / 128 / Reference Number Qualifier / PO – CDW purchase order number
EU – CDw’s customer’s purchase order number
Authorization number / M / ID / 2 / 3
REF02 / 127 / Reference Number / X / AN / 1 / 30
REF03 / 352 / Description / X / AN / 1 / 80
PER – Administrative Communications Contact
Reference
Element / Number / Description / Qual/Def / Req / Type / Min / MaxPER01 / 366 / Contact Function Code / ‘IC’ / M / ID / 2 / 2
PER02 / 93 / Name / Purchasing Agent / O / AN / 1 / 80
PER03 / 365 / Communications Number Qualifier / ‘TE’ – Telephone / X / ID / 2 / 2
PER04 / 364 / Communication Number / Includes Area Code / X / AN / 1 / 80
TAX – Tax Reference
Reference
Element / Number / Description / Qual/Def / Req / Type / Min / MaxTAX01 / 325 / Tax Identification Number / X / AN / 1 / 20
TAX12 / 441 / Tax Exempt Code / O / ID / 1 / 1
FOB – F.O.B. Related Instructions
Reference
Element / Number / Description / Qual/Def / Req / Type / Min / MaxFOB01 / 146 / Shipment Payment Method / M / ID / 2 / 2
FOB02 / 309 / Location Qualifier / X / ID / 1 / 2
FOB03 / 352 / Description / C / AN / 1 / 80
ITD – Terms of Sale/Deferred Terms of Sale
Reference
Element / Number / Description / Qual/Def / Req / Type / Min / MaxITD01 / 336 / Terms Type Code / O / ID / 1 / 2
ITD02 / 333 / Terms Basis Date Code / O / ID / 1 / 2
ITD03 / 338 / Terms Discount Percentage / O / R / 1 / 6
ITD05 / 351 / Terms Discount Days Due / X / N0 / 1 / 3
ITD07 / 560 / Terms Net Days / O / N0 / 1 / 3
DTM – Date/Time Reference
Reference
Element / Number / Description / Qual/Def / Req / Type / Min / MaxDTM01 / 374 / Date/Time Qualifier / 002 / M / ID / 3 / 3
DTM02 / 373 / Date / Purchase order date / X / DT / 8 / 8
N1 – Name
Reference
Element / Number / Description / Qual/Def / Req / Type / Min / MaxN101 / 98 / Type of Organization / VN – vendor
BS – bill to / ship to
BT – bill to (if other than ship to)
ST – ship to (if other than bill to)
EU – end user / M / ID / 2 / 3
N102 / 93 / Name / X / AN / 1 / 60
N103 / 66 / ID Code Qualifier / ’91’, ‘94’ assigned by seller
‘92’, ‘93’ assigned by buyer / X / ID / 1 / 2
N104 / 67 / Identifying Number / Either a static value assigned or sicc codes for gov/ed / X / AN / 2 / 80
N2 - Additional Name Information
Reference
Element / Number / Description / Qual/Def / Req / Type / Min / MaxN201 / 93 / Name / M / AN / 1 / 60
N202 / 93 / Name / O / AN / 1 / 60
N3 - Address Information
Reference
Element / Number / Description / Qual/Def / Req / Type / Min / MaxN301 / 166 / Address Information / M / AN / 1 / 55
N302 / 166 / Address Information / O / AN / 1 / 55
N4 - Geographic Location
Reference
Element / Number / Description / Qual/Def / Req / Type / Min / MaxN401 / 19 / City Name / O / AN / 2 / 30
N402 / 156 / State/Province Code / O / ID / 2 / 2
N403 / 116 / Postal Code / O / ID / 3 / 15
PER – Administrative Communications Contact
Reference
Element / Number / Description / Qual/Def / Req / Type / Min / MaxPER01 / 366 / Contact Function Code / ‘IC’ / M / ID / 2 / 2
PER02 / 93 / Name / If ship to is CDW, will be purchasing agent. If ship to is CDW customer, will be customer contact / O / AN / 1 / 60
PER03 / 365 / Communications Number Qualifier / ‘TE’ – Telephone / X / ID / 2 / 2
PER04 / 364 / Communication Number / X / AN / 1 / 80
Detail
PO1 - Baseline Item Data
Reference
Element / Number / Description / Qual/Def / Req / Type / Min / MaxPO101 / 350 / Assigned Identification / P.O Line number / O / AN / 1 / 20
PO102 / 330 / Quantity Ordered / X / R / 1 / 15
PO103 / 335 / Unit of Measurement Code / ‘EA’ - Each / 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 / See note / X / ID / 2 / 2
PO107 / 234 / Product/Service ID / X / AN / 1 / 48
PO108 / 235 / Product/Service ID Qualifier / X / ID / 2 / 2
PO109 / 234 / Product/Service ID / X / AN / 1 / 48
PO110 / 235 / Product/Service ID Qualifier / X / ID / 2 / 2
PO111 / 234 / Product/Service ID / X / AN / 1 / 48
PO112 / 235 / Product/Service ID Qualifier / X / ID / 2 / 2
PO113 / 234 / Product/Service ID / X / AN / 1 / 48
Note: The following product ids can be sent as required.
BP, CB = CDW’s part number
MG = manufacturer’s part number
VP, VC = vendor’s part number
UP = U.P.C. Consumer Package Code
PID - Product/Item Description
Reference
Element / Number / Description / Qual/Def / Req / Type / Min / MaxPID01 / 349 / Item Description Type / ‘F’ – free form / M / ID / 1 / 1
PID05 / 352 / Description / Product description / X / AN / 1 / 80
REF - Reference Numbers
Reference
Element / Number / Description / Qual/Def / Req / Type / Min / MaxREF01 / 128 / Reference Number Qualifier / M / ID / 2 / 3
REF02 / 127 / Reference Number / X / AN / 1 / 30
REF03 / 352 / Description / X / AN / 1 / 80
DTM – Date/Time Reference
Reference
Element / Number / Description / Qual/Def / Req / Type / Min / MaxDTM01 / 374 / Date/Time Qualifier / M / ID / 3 / 3
DTM02 / 373 / Date / CCYYMMDD / X / DT / 8 / 8
SLN – Sub item Detail
Reference
Element / Number / Description / Qual/Def / Req / Type / Min / MaxSLN01 / 350 / Assigned ID / Seq #, 1 SLN for each Serial Number / M / AN / 1 / 20
SLN03 / 662 / Relationship Code / “O” = Info Only / M / ID / 1 / 1
SLN04 / 380 / Quantity / Quantity for Serial #’s / M / N0 / 1 / 15
SLN05 / 355 / Unit of Measure / “EA” = Eaches / M / ID / 2 / 2
SLN06 / 212 / Unit Price / Price of Hardware Item / M / R / 1 / 17
SLN07 / 639 / Basis of Unit Price Code / “CT” = Contract / O / ID / 2 / 2
SLN09 / 235 / Product Service Qualifier / “MG” / O / ID / 2 / 2
SLN10 / 245 / Product Service ID / Manufacture Part Number of Hardware Item / O / AN / 1 / 48
SLN11 / 235 / Product Service Qualifier / “BP” / O / ID / 2 / 2
SLN12 / 245 / Product Service ID / CDW’s Part Number of Hardware Item / O / AN / 1 / 48
SLN13 / 235 / Product Service Qualifier / “SN” / O / ID / 2 / 2
SLN14 / 245 / Product Service ID / Serial Number of Hardware Item / O / AN / 1 / 48
SLN15 / 235 / Product Service Qualifier / “TZ” / O / ID / 2 / 2
SLN16 / 245 / Product Service ID / Description of Hardware Item / O / AN / 1 / 48
Note: The following product ids can be sent.
MG = Manufacturer’s part number (hardware item)
MN = CDW’s 3 digit manufacture part code (hardware item)
SN = Serial number (hardware item)
BP = CDW part number (hardware item)
Z1 = Line Extended price (hardware item)
Z2 = Line Extended price (warranty item)
Z3 = Ship/Invoice date (hardware item)
TZ = Item description (hardware item)
C6 = CDW’s product description code (hardware item)
Trailer
CTT - Transaction Totals
Reference
Element / Number / Description / Qual/Def / Req / Type / Min / MaxCTT01 / 354 / Number of Line Items / Number of PO1 segments used / M / N0 / 1 / 6
AMT - Monetary Amount
Reference
Element / Number / Description / Qual/Def / Req / Type / Min / MaxAMT01 / 522 / Amount Qualifier code / TT / M / ID / 1 / 3
AMT02 / 782 / Monetary Amount / M / R / 1 / 18
SE - Transaction Set Trailer
Reference
Element / Number / Description / Qual/Def / Req / Type / Min / MaxSE01 / 96 / Segments in Transaction / ST and SE included / M / N0 / 1 / 10
SE02 / 329 / Transaction Set Control / Same as ST02 / M / AN / 4 / 9
850_O_4010_Warranty1