CDW Corporation August 28, 2002 ANSI X12 850 In Bound Guidelines August 28, 2002 106762867 1 CDW Corporation August 28, 2002 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 receiving for version 4010. Segment ID (Header) ST BEG CUR REF PER TAX FOB CSH ITD DTM LIN PWK PKG TD5 N9 MSG N1 N2 N3 N4 REF PER Name Req Max. Use Transaction Set Header Beginning Segment for Purchase Order Currency Reference Numbers Administrative Communications Contact Tax Reference F.O.B. Related Instructions Sales Requirements Terms of Sale/Deferred Terms of Sale Date/Time Reference Item Identification Detail Paperwork Marking, Packaging, Loading Carrier Details (Rtg Seq/Trans Time) Reference Identification Message Text Name Additional Name Information Address Information Geographic Location Reference Numbers Administrative Communications Contact M M O O O O O O O O O O O O O O M O M M O O 1 1 1 >1 3 1 1 1 1 3 1 25 200 3 1 1000 1 1 1 1 12 >1 Baseline Item Data Additional Item Detail Measurements Product/Item Description Reference Identification Service, Promotion, Allowance or Charge F.O.B. Related Instructions Date/Time Reference Message Text Line Item Schedule Carrier Details (Rtg Seq/Trans Time) M O O O O O O O O O O 1 1 2 1000 >1 1 1 3 >1 >1 >1 Transactions Totals Transaction Set Trailer M M 1 1 Loop Repeat 1 | | 200 | | | | | | (Detail) PO1 PO3 MEA PID REF SAC FOB DTM MSG SCH TD5 (Trailer) CTT SE * - Denotes that the segment is the only one in a loop | - Denotes that the segment is included in a previous loop 106762867 2 100,000 - * * | | | | | | | | * * | | CDW Corporation August 28, 2002 Here is an example of an inbound 850 document: ST*850*000000001 BEG*00*SA*TESTPO12345**20010401 CUR*BY*USD REF*ZZ*REFERENCE NUMBER PER*BD*BUYER NAME*TE*8005551234*EM*BUYERNAME@AAAAA.COM TAX**SP*MN*********2 ITD*05*3*****30*****NET 30 DAYS N9*ZZ*MESSAGES TO SALES REPRESENTATIVE MSG*. MSG*ATTENTION MSG*. MSG*NOTES TO SALES REPRESENTATIVE. N1*BT*XYZ COMPANY*92*12345 N3*P.O. BOX 99999 N4*ANYTOWN*MN*123456789*US N1*ST*XYZ COMPANY*92*12346 N3*123 COMPANY ST. N4*ANYTOWN*MN*123456789*US PER*DC*RECEIVER*TE*888-555-1212 PO1*0101*1*EA*154.06**VP*CDW 74886 PID*F****LANTRONIX MIRCRO PRINT SERVER PO1*0201*1*EA*19.05**VP*CDW106091 PID*F****NEATO WHITE LABELS 100PK 2UP PO1*0301*1*EA*66.85**VP*CDW99067 PID*F****SYMANTEC NORTON UTILITIES V3.0 PO1*0401*1*EA*57.88**VP*CDW77352 PID*F****PARTITION MAGIC CTT*4 SE*32*010921382 Please note that the segment terminators are not shown. 106762867 3 CDW Corporation August 28, 2002 The following is a guide to the notation that is used to present the specifications: Req - Required C M O X TP AN DT ID Nx R TM 106762867 or Usage Conditional Mandatory Optional Relational - Element Type Alpha Numeric Date, in the form of CCYYMMDD Identifier or Qualifier Numeric, where ‘x’ is the number of decimal positions Decimal, with the decimal point included Time, in the form of HHMM 4 CDW Corporation August 28, 2002 Header ST - Transaction Set Header Element ST01 ST02 Reference Number 143 329 Req Type M ID M AN Length Min Max 3 3 4 9 Description Transaction Set Purpose Code Purchase Order Type Code Purchase Order Number Release Number Purchase Order Date Contract Number Acknowledgement Type Qual/Def Req Type ‘00’ - Original M ID ‘SA’ - Stand Alone M ID M AN O AN CCYYMMDD M DT O AN O ID Length Min Max 2 2 2 2 1 22 1 30 8 8 1 30 2 2 Description Entity Identifier Code Currency Code Qual/Def Req Type ‘BY’-Buying Party M ID ‘USD’-US Dollars M ID Length Min Max 2 2 3 3 Description Transaction code for document Transaction set control number Qual/Def 850 - Invoice Sequential # same as SE02 BEG - Beginning Segment for Purchase Order Element BEG01 BEG02 BEG03 BEG04 BEG05 BEG06 BEG07 Reference Number 353 92 324 328 373 367 587 CUR - Currency Element CUR01 CUR02 Reference Number 98 100 REF – Reference Identification Element REF01 REF02 REF03 Reference Number 128 127 352 Description Reference Number Qualifier Reference Number Description Req Type M ID C AN O AN Length Min Max 2 3 1 30 1 80 Qual/Def Req Type BD = Buyer Contact M ID O AN ‘TE’ - Telephone O ID Include Area Code O AN ‘FX’ – Fax O ID Include Area Code O AN ‘EM’ - Email O ID Email Address O AN Length Min Max 2 2 1 35 2 2 7 21 2 2 7 21 2 2 7 21 Qual/Def Valid Qualifiers PER – Administrative Communications Contact Element PER01 PER02 PER03 PER04 PER05 PER06 PER07 PER08 106762867 Reference Number 366 93 365 364 365 364 365 364 Description Contact Function Code Name Number Qualifier Communication Number Number Qualifier Communication Number Number Qualifier Communication Number 5 CDW Corporation August 28, 2002 Header (continued) TAX – Tax Reference Element TAX01 TAX02 TAX03 TAX12 Reference Number 325 309 310 441 Description Tax Identification Number Location Qualifier Location Identification Tax Exempt Code Req Type C AN O ID C AN O ID Length Min Max 1 20 1 2 1 25 1 1 Qual/Def Valid Qualifier Valid Qualifiers Location of Responsibility Valid Qualifiers Location Where Title Passes Req Type M ID C ID C AN Length Min Max 2 2 1 2 1 80 Qual/Def Req Type O ID C N2 Length Min Max 1 1 2 9 Qual/Def Valid Codes Valid Codes Expressed as a % Req Type O ID M ID O R C N0 O N0 O AN C N0 Length Min Max 2 2 1 2 1 6 1 3 1 3 1 80 1 2 Qual/Def Valid Qualifiers CCYYMMDD Req Type M ID C DT Length Min Max 3 3 8 8 Qual/Def Valid Qualifiers Valid Qualifier FOB – F.O.B. Related Instructions Element FOB01 FOB02 FOB03 FOB06 FOB07 Reference Number 146 309 352 309 352 Description Shipment Payment Method Location Qualifier Description Location Qualifier Description C C ID AN 1 1 2 80 CSH – Header Sale Condition Element CSH02 CSH03 Reference Number 564 565 Description Do-Not-Exceed Action Code Do-Not-Exceed Amount ITD – Terms of Sale/Deferred Terms of Sale Element ITD01 ITD02 ITD03 ITD05 ITD07 ITD12 ITD13 Reference Number 336 333 338 351 386 352 765 Description Terms Type Code Terms Basis Date Code Terms Discount Percentage Terms Discount Days Due Terms Net Days Description Day of Month DTM – Date/Time Reference Element DTM01 DTM02 106762867 Reference Number 374 373 Description Date/Time Qualifier Date 6 CDW Corporation August 28, 2002 Header (continued) LIN – Item Identification Detail Element LIN02 LIN03 Reference Number 235 234 Description Product/Service ID Qualifier Product/Service ID Qual/Def Valid Qualifiers Req Type M ID M AN Length Min Max 2 2 1 30 Description Report Type Code Report Transmission Code Description Qual/Def Valid Qualifiers Valid Qualifiers Req Type M ID M ID O AN Length Min Max 2 2 2 2 1 80 Qual/Def Valid Qualifiers Valid Qualifiers Req Type M ID O ID O AN Length Min Max 1 1 1 5 1 80 Req Type C AN Length Min Max 1 35 Qual/Def Req Type ‘ZZ’-Mutually Def. M ID M AN Length Min Max 2 3 1 30 PWK – Paperwork Element PWK01 PWK02 PWK07 Reference Number 755 756 352 PKG – Marking, Packaging, Loading Element PKG01 PKG02 PKG05 Reference Number 349 753 352 Description Item Description Type Packaging Characteristic Code Description TD5 – Carrier Details (Routing Sequence/Transit Time) Element TD505 Reference Number 387 Description Routing Qual/Def N9 – Reference Identification Element N901 N902 Reference Number 128 127 Description Reference Id Qualifier Reference Id MSG – Message Text Element MSG01 106762867 Reference Number 933 Description Free Form Message Text Qual/Def 7 Req Type M ID Length Min Max 1 80 CDW Corporation August 28, 2002 Header (continued) N1 – Name Element N101 Reference Number 98 N102 N103 N104 93 66 67 Description Type of Organization Qual/Def ‘BT’-Bill To ‘ST’-Ship To Name ID Code Qualifier Identifying Number Valid Qualifiers Req Type M ID C C C AN ID ID Length Min Max 2 2 1 1 2 35 2 17 N2 - Additional Name Information Element N201 Reference Number 93 Description Name Req Type M AN Length Min Max 1 35 Qual/Def Req Type Destination address M AN Additional Address O AN Length Min Max 1 35 1 35 Qual/Def N3 - Address Information Element N301 N302 Reference Number 166 166 Description Address Address N4 - Geographic Location Element N401 N402 N403 N404 Reference Number 19 156 116 26 Description City Name State/Province Code Postal Code Country Code Qual/Def Req Type X AN Valid Code O ID Zip or postal code O ID Not necessary if US O ID Length Min Max 2 19 2 2 4 9 2 2 REF – Reference Identification Element REF01 REF02 Reference Number 128 127 Description Reference Number Qualifier Reference Number Req Type M ID C AN Length Min Max 2 2 1 30 Req Type M ID O AN ‘TE’ - Telephone O ID Include Area Code O AN ‘FX’ – Fax O ID Include Area Code O AN ‘EM’ - Email O ID Email Address O AN Length Min Max 2 2 1 35 2 2 7 21 2 2 7 21 2 2 7 21 Qual/Def Valid Qualifiers PER – Administrative Communications Contact Element PER01 PER02 PER03 PER04 PER05 PER06 PER07 PER08 106762867 Reference Number 366 93 365 364 365 364 365 364 Description Contact Function Code Name Number Qualifier Communication Number Number Qualifier Communication Number Number Qualifier Communication Number Qual/Def Valid Qualifier 8 CDW Corporation August 28, 2002 Detail PO1 - Baseline Item Data Element PO101 PO102 PO103 PO104 PO105 PO106 PO107 PO108 PO109 PO110 PO111 Reference Number 350 330 355 212 639 235 234 235 234 235 234 Description Assigned Identification Quantity Ordered Unit of Measurement Code Unit Price Basis of Unit Price Code Product/Service ID Qualifier Product/Service ID Product/Service ID Qualifier Product/Service ID Product/Service ID Qualifier Product/Service ID Qual/Def Req Type Line number O AN Total Quantity M R ‘EA’-Each M ID Price Per Unit C R Valid Qualifiers O ID ‘VP’-CDW Item M ID Product C AN ‘MG’-Man. Part # M ID Product C AN ‘BP’-Buyers Part M ID Product C AN Length Min Max 1 6 1 9 2 2 1 14 2 2 2 2 1 30 2 2 1 30 2 2 1 30 PO3 - Additional Item Detail Element PO301 PO306 PO307 Reference Number 371 380 355 Description Change Reason Code Quantity Unit of Measurement Code Req Type M ID M R M ID Length Min Max 2 2 1 10 2 2 Qual/Def Valid qualifier Valid qualifier ‘EA’-Each Req Type O ID O ID M ID C R C R Length Min Max 2 2 1 3 2 2 1 20 1 20 Qual/Def ‘F’-Free Form Req Type M ID X AN Length Min Max 1 1 1 80 Qual/Def Req Type SE - Serial number M ID S/N of item X AN Length Min Max 2 2 1 30 Qual/Def Valid codes Valid qualifiers MEA - Measurements Element MEA01 MEA02 MEA04 MEA05 MEA06 Reference Number 737 738 355 740 741 Description Measurement Ref Id Code Measurement Qualifier Unit of Measure Range Minimum Range Maximum PID - Product/Item Description Element PID01 PID05 Reference Number 349 352 Description Item Description Type Description REF - Reference Numbers Element REF01 REF02 106762867 Reference Number 128 127 Description Reference Number Qualifier Reference Number 9 CDW Corporation August 28, 2002 Detail (continued) SAC – Service, Promotion, Allowance or Charge Information Element SAC01 SAC02 SAC03 SAC05 Reference Number 248 1300 559 610 Description Allowance or Charge Indicator Service Code Agency Qualifier Code Amount Qual/Def Valid qualifier Valid code Valid code Req Type M ID C ID C ID O N2 Length Min Max 1 1 4 4 2 2 1 15 Qual/Def Valid Qualifier Valid Qualifiers Location of Responsibility Valid Qualifiers Location Where Title Passes Req Type M ID C ID C AN Length Min Max 2 2 1 2 1 80 Qual/Def Valid Qualifiers CCYYMMDD Req Type M ID C DT Length Min Max 3 3 8 8 Qual/Def Req Type M ID Length Min Max 1 80 Qual/Def Req Type M R M ID M ID C DT Length Min Max 1 10 2 2 3 3 8 8 Req Type C AN Length Min Max 1 35 FOB – F.O.B. Related Instructions Element FOB01 FOB02 FOB03 FOB06 FOB07 Reference Number 146 309 352 309 352 Description Shipment Payment Method Location Qualifier Description Location Qualifier Description C C ID AN 1 1 2 80 DTM – Date/Time Reference Element DTM01 DTM02 Reference Number 374 373 Description Date/Time Qualifier Date MSG – Message Text Element MSG01 Reference Number 933 Description Free Form Message Text SCH – Line Item Schedule Element SCH01 SCH02 SCH05 SCH06 Reference Number 380 355 374 373 Description Quantity Unit of Measurement Code Date/Time Qualifier Date Valid Codes Valid Qualifiers CCYYMMDD TD5 – Carrier Details (Routing Sequence/Transit Time) Element TD505 106762867 Reference Number 387 Description Routing Qual/Def 10 CDW Corporation August 28, 2002 Trailer CTT - Transaction Totals Element CTT01 Reference Number 354 Description Number of Line Items Req Type M N0 Length Min Max 1 6 Qual/Def Req Type ST and SE included M N0 Same as ST02 M AN Length Min Max 1 6 4 9 Qual/Def Number of IT1 segments used SE - Transaction Set Trailer Element SE01 SE02 106762867 Reference Number 96 329 Description Segments in Transaction Transaction Set Control 11