Best Buy Company, Inc.

EDI Transaction Standards
850 Purchase Order

SEGMENT ID  DESCRIPTION
ISA INTERCHANGE CONTROL HEADER
GS FUNCTIONAL GROUP HEADER
ST TRANSACTION SET HEADER
BEG BEGINNING SEGMENT FOR PURCHASE ORDER
REF REFERENCE IDENTIFICATION
CSH SALES REQUIREMENTS
ITD TERMS OF SALE/DEFERRED TERMS OF SALE
DTM DATE/TIME REFERENCE
N1 NAME
PO1 BASELINE ITEM DATA
CTP PRICING INFORMATION
PID PRODUCT/ITEM DESCRIPTION
SDQ DESTINATION QUANTITY
CTT TRANSACTION TOTALS
SE TRANSACTION SET TRAILER
GE GROUP CONTROL TRAILER
IEA INTERCHANGE CONTROL TRAILER

NOTE:  The EDI850 Purchase Order document will be translated and transmitted near real-time.

ISA SEGMENT
INTERCHANGE CONTROL HEADER

REF ELEMENT NAME CODE/CODE NAME MIN/MAX NOTES
ISA01 AUTHORIZATION INFORMATION
QUALIFIER
'00' = No Authorization Information Present 2/2  
ISA02   AUTHORIZATION
INFORMATION
  10/10  
ISA03    SECURITY INFORMATION
QUALIFIER
'00' = No Security Information Present 2/2  
ISA04 SECURITY INFORMATION   10/10  
ISA05  INTERCHANGE ID QUALIFIER
'ZZ' = Mutually Defined 2/2 'ZZ' is used for both Production and Test ID's
ISA06  INTERCHANGE SENDER ID
0600603000003 = Production ID 15/15 Best Buy will be using its Global Location Number (GLN) for the ISA and GS ID.  This is in preparation to position for a roll-out of GLN's to all Best Buy locations.
ISA07  INTERCHANGE ID QUALIFIER   2/2  
ISA08  INTERCHANGE RECEIVER ID
(This element will contain your EDI network ID.)
  15/15  
ISA09  INTERCHANGE DATE
  6/6 YYMMDD
ISA10  INTERCHANGE TIME
  4/4 HHMM
ISA11  REPETITION SEPARATOR   1/1  
ISA12 INTERCHANGE CONTROL VERSION NUMBER '00403' = X12 5/5  
ISA13  INTERCHANGE CONTROL
NUMBER
  9/9  
ISA14  ACKNOWLEDGEMENT
REQUESTED
'0' = No Acknowledgment Requested 1/1  
ISA15  USAGE INDICATOR
'P' = Production Data
'T' = Test Data
1/1  
ISA16  COMPONENT ELEMENT SEPARATOR   1/1  
User Note:
  1. The Interchange Control Number (ISA13) must match the Interchange Control Number (IEA02) in the Interchange Control Trailer.
Example Data:
ISA*00*   *00*ZZ*0600603000003*ZZ*YOURID*030714*1230*<*00403*000000001*0*P*>~

 

GS SEGMENT
FUNCTIONAL GROUP HEADER

REF ELEMENT NAME CODE/CODE NAME MIN/MAX NOTES
GS01  FUNCTIONAL IDENTIFIER CODE
'PO' = Purchase Order 2/2  
GS02  APPLICATION SENDER'S CODE 0600603000003 = Production ID 2/15  
GS03   APPLICATION RECEIVER'S CODE   2/15  
GSO4  DATE   8/8 CCYYMMDD
GS05  TIME   4/8 HHMM
GS06  GROUP CONTROL
NUMBER
  1/9  
GS07  RESPONSIBLE AGENCY CODE
'X' = X12 1/2  
GS08   VERSION/RELEASE/INDUSTRY IDENTIFIER CODE '004030'  =  X12 1/12  
User Notes:
  1. GS04 is the group date.
  2. GS05 is the group time.
  3. The data interchange control number GS06 in this header must be identical to the same data element in the associated functional group trailer, GE02.

Comments:

  1. A functional group of related transaction sets, within the scope of X12 standards, consists of a collection of similar transaction sets enclosed by a functional group header and a functional group trailer.
Example Data:
GS*PO*0600603000003*YOURID*20030714*1230*1*x*004030~

 

ST SEGMENT
TRANSACTION SET HEADER

REF ELEMENT NAME CODE/CODE NAME MIN/MAX NOTES
ST01  TRANSACTION SET IDENTIFIER CODE
'850' = Purchase Order 3/3  
ST02  TRANSACTION SET CONTROL NUMBER
  4/9 The number is sequentially assigned by the sender, starting with one within each functional group.  For each functional group, the first transaction set control number will be 0001 and incremented by one for each additional transaction set within the group.
User Notes:
  1. The transaction set identifier (ST01) is used by the translation routines of the interchange partners to select the appropriate transaction set definition.
  2. The implementation convention reference (ST03) is used by the translation routines of the interchange partners to select the appropriate implemenation convention to match the transaction set definition.
  3. The Transaction Set Control Number (ST02) must match the Transaction Set Control Number used in the  Transaction Set Trailer (SE02)
Example Data:
ST*850*0001~

 

BEG SEGMENT
BEGINNING SEGMENT FOR PURCHASE ORDER

REF ELEMENT NAME CODE/CODE NAME MIN/MAX NOTES
BEG01 TRANSACTION SET PURPOSE CODE '00'  = Original 2/2   
BEG02  PURCHASE ORDER TYPE
CODE
'SA' = Stand-alone Order 2/2  
BEG03  PURCHASE ORDER NUMBER
  1/22 Retailer's original purchase order number
BEG05  DATE
  8/8 Retailer's original purchase order date
CCYYMMDD
User Notes:
  1. BEG05 is the date assigned by the purchaser to purchase order.

Example Data:
BEG*00*SA*ABCDEF**20030714~

 

REF SEGMENT
REFERENCE IDENTIFICATION

REF ELEMENT NAME CODE/CODE NAME MIN/MAX NOTES
REF01   REFERENCE IDENTIFICATION QUALIFIER 'PD' = Promotion/Deal Number
'ZZ' = Mutually Defined
2/3  
REF02  REFERENCE IDENTIFICATION
  1/50 If PD is sent in REF01, then REF02 will contain the Deals Code received from RETEK.
If ZZ is sent in REF01, then REF02 will contain Shipment Method Code received from   RETEK and REF03 will contain description received from RETEK.
REF03 DESCRIPTION   1/80  
User Notes:
  1. REF02/REF03 - At least one of REF02 or REF03 is required.
  2. REF segment is used in the Music/Movie map to express deals if they are present on the PO.
  3. REF Segment can also be used for either Brown Goods or Music/Movie map to express Shipment Method type if different then previously agreed.

Example Data:
REF*PD*6758~
REF*ZZ*01*SHIP GROUND- VENDOR PAYS~

 

CSH SEGMENT
SALES REQUIREMENTS

REF ELEMENT NAME CODE/CODE NAME MIN/MAX NOTES
CSH01 SALES REQUIREMENT CODE
'Y' = No Back Order
'N' = Back Order if Out of Stock
1/2  
User Notes:
  1. CSH Segment is used in the Music/Movie map only.

Example Data:
CSH*N~

 

ITD SEGMENT
TERMS OF SALE/DEFERRED TERMS OF SALE

REF ELEMENT NAME CODE/CODE NAME MIN/MAX NOTES
ITD03  TERMS DISCOUNT PERCENT   1/6 The percent is sent with a decimal point only when needed, e.g., 10.5% is sent as "10.5", and 2% is sent as "2".
ITD05  TERMS DISCOUNT DAYS DUE   1/3  
ITD07 TERMS NET DAYS   1/3  
User Notes:
  1. If ITD03 is present, then  ITD05 is required.

Example Data:
ITD***2**15**30~

 

DTM SEGMENT
DATE/TIME REFERENCE

REF ELEMENT NAME CODE/CODE NAME MIN/MAX NOTES
DTM01 

 

DATE/TIME QUALIFIER '002' = Delivery Requested
'010' = Requested Ship
3/3  
DTM02  DATE   8/8 CCYYMMDD
User Notes:
  1. There will be two occurrences of the DTM segment.  One for qualifier 002 - Delivery Requested date and one for qualifier 010 - Requested Ship date.

Example Data:
DTM*002*20030714~
DTM*010*20030707~

 

N1 SEGMENT
NAME

REF ELEMENT NAME CODE/CODE NAME MIN/MAX NOTES
N101 

 

ENTITY IDENTIFIER CODE 'BY' = Buying Party (Purchaser)
'SE' = Selling Party
2/3  
  N102    NAME   1/60 When qualifer "BY" is used in the N101, then N102 will contain the buying company's name.   For example, Best Buy.
When qualifier "SE" is used in the N101, then N102 will contain the selling party's name.
N103  IDENTIFICATION CODE QUALIFIER '92' = Assigned by Buyer or Buyer's Agent
'UL' = UCC/EAN Location Code
1/2  
N104  IDENTIFICATION CODE   2/80 When the qualifier "BY" is used in the N101, then N104 will contain the GLN or other ID number for the buying party.
When qualifier "SE" is used in the N101, then N104 will contain the PO vendor number.
User Notes:
  1. At least N102 or N103 is required.
  2. If either N103 or N104 are present, then the others are required.

Example Data:
N1*BY*BESTBUY*UL*0600603000003~
N1*SE*VENDOR NAME*92*123450003~

 

PO1 SEGMENT
BASELINE ITEM DATA

REF ELEMENT NAME CODE/CODE NAME MIN/MAX NOTES
PO101  ASSIGNED IDENTIFICATION   1/20  
PO102  QUANTITY ORDERED   1/15 Sum quantity of all quantities in SDQ segment associated to the item.
PO103  UNIT FOR MEASUREMENT CODE 'EA' = Each 2/2  
PO104  UNIT PRICE   1/17 The price is sent with a decimal point only when needed, e.g., $15.95 would be sent as "15.95", and $29.00 would be sent as "29".
PO106  PRODUCT/SERVICE ID QUALIFIER 'UP' = UCC-12
'UK' = EAN/UCC-14
1/2  
PO107  PRODUCT/SERVICE ID   1/48  

User Notes:

  1. If PO105 is present, then PO104 is required.

Example Data:
PO1*001*50*EA*15**UP*12345600124~

 

CTP SEGMENT
PRICING INFORMATION

REF ELEMENT NAME CODE/CODE NAME MIN/MAX NOTES
CTP02 PRICE IDENTIFIER CODE
'RTL' = Retail 3/3  
CTP03  UNIT PRICE
  1/17 The price is sent with a decimal point only when needed, e.g., $15.95 would be sent as "15.95", and $29.00 would be sent as "29".
User Notes:
  1. CTP segment is an optional segment used in the Music/Movie map only.  This segment is only sent to vendors who preticket product.

Example Data:
CTP*RTL**20~

 

PID SEGMENT
PRODUCT/ITEM DESCRIPTION

REF ELEMENT NAME CODE/CODE NAME MIN/MAX NOTES
PID01 ITEM DESCRIPTION TYPE 'X' = Semi-structured 1/1 The description will be found in PID04 and PID05.
PID03 AGENCY QUALIFIER CODE 'AB' = Assigned by Buyer 2/2  
PID04 PRODUCT DESCRIPTION CODE 'P1' = Artist
'P2' = Title
'P3' = Best Buy SKU
'P6' = Category/Genre
1/12  
PID05 DESCRIPTION   1/80  
User Notes:
  1. If PID04 is present, then PID03 is required.
  2. At least one of PID04 or PID05 is required.
  3. PID segment is used in conjunction with the CTP segment.  When a CTP segment is present, PID segments will be sent for each Product Description Code.  This segment is only sent to vendors who pre-ticket product.

Example Data:
PID*X**AB*P1*ARTIST NAME~
PID*X**AB*P2*ALBUM TITLE~
PID*X**AB*P3*345777~
PID*X**AB*P6*RCK~

 

SDQ SEGMENT
DESTINATION QUANTITY

REF ELEMENT NAME CODE/CODE NAME MIN/MAX NOTES
SDQ01 UNIT FOR MEASUREMENT CODE 'EA' = Each 2/2  
SDQ02 IDENTIFICATION CODE QUALIFIER '92' = Assigned by Buyer 1/2  
SDQ03 IDENTIFICATION CODE   2/80  
SDQ04 QUANTITY   1/15  
SDQ05 IDENTIFICATION CODE   2/80  
SDQ06 QUANTITY   1/15  
SDQ07 IDENTIFICATION CODE   2/80  
SDQ08 QUANTITY   1/15  
SDQ09 IDENTIFICATION CODE   2/80  
SDQ10 QUANTITY   1/15  
SDQ11 IDENTIFICATION CODE   2/80  
SDQ12 QUANTITY   1/15  
SDQ13 IDENTIFICATION CODE   2/80  
SDQ14 QUANTITY   1/15  
SDQ15 IDENTIFICATION CODE   2/80  
SDQ16 QUANTITY   1/15  
SDQ17 IDENTIFICATION CODE   2/80  
SDQ18 QUANTITY   1/15  
SDQ19 IDENTIFICATION CODE   2/80  
SDQ20 QUANTITY   1/15  
SDQ21 IDENTIFICATION CODE   2/80  
SDQ22 QUANTITY   1/15  
User Name:
  1. This segment is used to distribute the line item quantity to various locations.

Example Data:
SDQ*EA*92*01281*25*01004*25~

 

CTT SEGMENT
TRANSACTION TOTALS

REF ELEMENT NAME CODE/CODE NAME MIN/MAX NOTES
CTT01  NUMBER OF LINE ITEMS   1/6  
User Notes:
  1. This segment is intended to provide hash totals to validate transaction completeness and correctness.

Example Data:
CTT*1~

 

SE SEGMENT
TRANSACTION SET TRAILER

REF ELEMENT NAME CODE/CODE NAME MIN/MAX NOTES
SE01  NUMBER OF INCLUDED
SEGMENTS
  1/10  
SE02  TRANSACTION SET CONTROL NUMBER   4/9 This must be the same number as is in the ST segment (ST02) for the transaction set.
User Notes:
  1. The Transaction Set Control Number (SE02) must match teh Transaction Set Control Number used in the  Transaction Set Trailer (ST02).

 

GE SEGMENT
FUNCTIONAL GROUP  TRAILER

REF ELEMENT NAME CODE/CODE NAME MIN/MAX NOTES
GE01  NUMBER OF TRANSACTIONS
IN FUNCTIONAL GROUP
  1/6  
GE02  GROUP CONTROL NUMBER   1/9  
User Notes:
  1. The data interchange control number GE02 in this trailer must be identical to the same data element in the associated functional group header, GS06.

 

IEA SEGMENT
INTERCHANGE CONTROL TRAILER

REF ELEMENT NAME CODE/CODE NAME MIN/MAX NOTES
IEA01  NUMBER OF INCLUDED
GROUPS (GS SEGMENTS)
  1/5  
IEA02  INTERCHANGE CONTROL
NUMBER
  9/9  
User Notes:
  1. The Interchange Control Number (IEA02) must match the Interchange Control Number (ISA13) in the Interchange Control Header.

 

Back to EDI Transaction Standards Table of Contents