CDW Corporation
March 2, 2001
ANSI X12 180 In Bound
Guidelines
March 2, 2001
The following pages are the guidelines for implementing the ANSI X12 180 document with CDW. The segments listed below are a subset of the 180 document. This represents all the segments that CDW is capable of recieving. Additional segments can be added or removed in order facilitate business between trading partners.
Note: RMA&N (Return Merchandise Authorization and Notification)
Segment Max. Loop
ID Name Req Use Repeat
(Header)
ST Transaction Set Header M 1
BGN Beginning Segment for RMA&N M 1
RDR Return Disposition Reason O 1
PER Administrative Communications Contact O 2
NTE Note/Special Instruction O 5
N1 loop 200
N1 Name O 1
N2 Additional Name Information O 1
N3 Address Information O 1
N4 Geographic Location O 1
PER Administrative Communications Contact O 1
(Detail)
BLI loop >1
BLI Baseline Item Data O 1
N9 Reference Identification O 20
RDR Return Disposition Reason O 1
PRF Purchase Order Reference O
N1 loop 200
N1 Name O 1
N2 Additional Name Information O 1
N3 Address Information O 1
N4 Geographic Location O 1
PER Administrative Communications Contact O 1
QTY loop >1
QTY Quantity O 1
AMT Monetary Amount O 1
LX loop >1
LX Assigned Number O 1
N9 Reference Identification O >1
(Trailer)
SE Transaction Set Trailer M 1
Here is an example of an inbound Accepted RMA 180 document:
ST~180~000004407
BGN~00~001316274~20010301~~~001316274~RA
RDR~RA
PER~CN~Contact Name~TE~18474656000~EM~ContactEmailAddress.com
N1~BT~CDW COMPUTER CENTERS, INC.~91~12345
N3~200 NORTH MILWAUKEE AVENUE
N4~VERNON HILLS~IL~60061
BLI~BP~240698~1~EA~ACT~17.84~~MG~72113~UP~008589672113~VP~096450
N9~LI~3
N9~OI~405559111054
N9~RZ~401008911~~~~~12>000
RDR~RA
PRF~1315778
N1~DA~ PROCESSING BRANCH:~54~96
N3~ABC Company~500 WEST ST
N4~SANTA ANA, CA 92707
QTY~28~1~EA
AMT~PD~17.84
LX~1
N9~SE~12345
SE~19~000004407
Here is an example of an inbound Declined RMA 180 document:
ST~180~000006315
BGN~11~001321956~20010308~~~001321956~RA
RDR~RD
PER~CN~Contact Name~TE~184712345678~EM~
N1~BT~CDW~91~40033473000
BLI~VP~129699~1~EA~ACT~29.76~~BP~211604~MG~3CP5699A~UP~06627053
N9~OI~405489111
N9~ZZ~106~CUSTOMER NOT AUTHORIZED FOR REASON CODE
RDR~RD~~MI
PRF~1290017
QTY~28~1~EA
SE~12~000006315
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
C Conditional
M Mandatory
O Optional
X Relational
TP - Element Type
AN Alpha Numeric
DT Date, in the form of CCYYMMDD
ID Identifier or Qualifier
Nx Numeric, where ‘x’ is the number of decimal positions
R Decimal, with the decimal point included
TM Time, in the form of HHMMSS
Header
ST - Transaction Set Header
Reference
Element / Number / Description / Qual/Def / Req / Type / Min / MaxST01 / 143 / Transaction Set Identifier / 180 – RMA&N / M / ID / 3 / 3
ST02 / 329 / Transaction Set Control Number / Sequential #
(Same as SE02) / M / AN / 4 / 9
BGN - Beginning Segment for RMA&N
Reference
Element / Number / Description / Qual/Def / Req / Type / Min / MaxBGN01 / 353 / Transaction Set Purpose Code / ‘00’ – Original / M / ID / 2 / 2
BGN02 / 127 / Reference Identification / CDW RMA Number / M / AN / 1 / 30
BGN03 / 373 / RMA&N Date / CCYYMMDD / M / DT / 8 / 8
BGN04 / 337 / RMA&N Time / HHMMSS / O / TM / 6 / 6
BGN05 / 623 / Time Code / O / ID / 2 / 2
BGN06 / 127 / Reference Identification / O / AN / 1 / 30
BGN07 / 640 / Transaction Type Code / M / ID / 2 / 2
RDR – Returns Disposition Code
Reference
Element / Number / Description / Qual/Def / Req / Type / Min / MaxRDR01 / 1292 / Returns Disposition Code / O / ID / 2 / 2
RDR02 / 1293 / Return Request Reason Code / X / ID / 2 / 2
PER – Administrative Communications Contact
Reference
Element / Number / Description / Qual/Def / Req / Type / Min / MaxPER01 / 366 / Contact Function Code / M / ID / 2 / 2
PER02 / 93 / Name / X / AN / 1 / 60
PER03 / 365 / Communications Number Qualifier / ‘TE’ – Telephone / X / ID / 2 / 2
PER04 / 364 / Communication Number / Includes Area Code / X / AN / 1 / 80
PER05 / 365 / Communications Number Qualifier / ‘EM’ – Electronic Mail / X / ID / 2 / 2
PER06 / 364 / Communication Number / X / AN / 1 / 80
NTE – Note/Special Instruction
Reference
Element / Number / Description / Qual/Def / Req / Type / Min / MaxNTE01 / 363 / Note Referece Code / O / ID / 3 / 3
NTE02 / 352 / Description / M / AN / 1 / 80
N1 – Name
Reference
Element / Number / Description / Qual/Def / Req / Type / Min / MaxN101 / 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
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 / M / ID / 2 / 2
PER02 / 93 / Name / O / AN / 1 / 60
PER03 / 365 / Communications Number Qualifier / X / ID / 2 / 2
PER04 / 364 / Communication Number / X / AN / 1 / 80
PER05 / 365 / Communications Number Qualifier / X / ID / 2 / 2
PER06 / 364 / Communication Number / X / AN / 1 / 80
Detail
BLI - Baseline Item Data
Reference
Element / Number / Description / Qual/Def / Req / Type / Min / MaxBLI01 / 235 / Product/Service ID Qualifier / M / ID / 2 / 2
BLI02 / 234 / Product/Service ID / M / AN / 1 / 48
BLI03 / 380 / Quantity / O / N0 / 1 / 15
BLI04 / 355 / Unit or Basis for Measurement Code / O / ID / 2 / 2
BLI05 / 236 / Price Identifier Code / X / ID / 3 / 3
BLI06 / 212 / Unit Price / X / N0 / 1 / 17
BLI08 / 235 / Product/Service ID Qualifier / See note / X / ID / 2 / 2
BLI09 / 234 / Product/Service ID / X / AN / 1 / 48
BLI10 / 235 / Product/Service ID Qualifier / X / ID / 2 / 2
BLI11 / 234 / Product/Service ID / X / AN / 1 / 48
BLI12 / 235 / Product/Service ID Qualifier / X / ID / 2 / 2
BLI13 / 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
N9 – Reference Identification
Reference
Element / Number / Description / Qual/Def / Req / Type / Min / MaxN901 / 128 / Reference Identification Qualifier / M / ID / 2 / 3
N902 / 127 / Reference Identification / X / AN / 1 / 30
RDR – Returns Disposition Code
Reference
Element / Number / Description / Qual/Def / Req / Type / Min / MaxRDR01 / 1292 / Returns Disposition Code / O / ID / 2 / 2
RDR02 / 1293 / Return Request Reason Code / X / ID / 2 / 2
PRF – Purchase Order Reference
Reference
Element / Number / Description / Qual/Def / Req / Type / Min / MaxPRF01 / 324 / Purchase Order Number / M / AN / 1 / 22
N1 – Name
Reference
Element / Number / Description / Qual/Def / Req / Type / Min / MaxN101 / 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
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 / M / ID / 2 / 2
PER02 / 93 / Name / O / AN / 1 / 60
PER03 / 365 / Communications Number Qualifier / X / ID / 2 / 2
PER04 / 364 / Communication Number / X / AN / 1 / 80
PER05 / 365 / Communications Number Qualifier / X / ID / 2 / 2
PER06 / 364 / Communication Number / X / AN / 1 / 80
QTY - Quantity
Reference
Element / Number / Description / Qual/Def / Req / Type / Min / MaxQTY01 / 673 / Quantity Qualifier / M / ID / 2 / 2
QTY02 / 380 / Quantity / X / N0 / 1 / 15
QTY03 / C001 / Composite Unit of Measure / O
355 / Unit or Basis for Measurement Code / M / ID / 2 / 2
AMT – Monetary Amount
Reference
Element / Number / Description / Qual/Def / Req / Type / Min / MaxAMT01 / 522 / Amount Qualifier Code / M / ID / 1 / 3
AMT02 / 782 / Monetary Amount / M / N2 / 1 / 18
LX – Assigned Number
Reference
Element / Number / Description / Qual/Def / Req / Type / Min / MaxLX01 / 544 / Assigned Number / M / N0 / 1 / 6
N9 – Reference Identification
Reference
Element / Number / Description / Qual/Def / Req / Type / Min / MaxN901 / 128 / Reference Identification Qualifier / M / ID / 2 / 3
N902 / 127 / Reference Identification / X / AN / 1 / 30
Trailer
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
180_I_4010 1