850 Purchase Order Mapping Guide (VICS4030) Strategic Partners, Inc. uses the Tilde (~) as our segment terminator. Usage Key: M-Mandatory, O-Optional, C-Conditional ISA Segment - Interchange Control Header Detail Position Description Size Value 1 Authorization Information Qualifier min. 2/max. 2 0 2 Authorization Information min. 10/max. 10 Blank - pad with spaces 3 Security Information Qualifier min. 2/max. 2 0 4 Security Information min. 10/max. 10 Blank - pad with spaces 5 Interchange ID Qualifier min. 2/max. 2 Your EDI Identification Qualifier 6 Interchange Sender ID min. 9/max. 9 Your EDI Identification Code 7 Interchange ID Qualifier min. 2/max. 2 12 8 Interchange Receiver ID min. 4/max. 15 8002837272 9 Interchange Date min. 6/max. 6 Date of Interchange - YYMMDD format 10 Interchange Time min. 4/max. 4 Time of interchange - HHMM format 11 Repetition Separator min. 1/max. 1 U 12 Interchange Control Version Number min. 5/max. 5 403 13 *Interchange Control Number min. 9/max. 9 Control number assigned by sender 14 Acknowledgement Requested min. 1/max. 1 0 15 Test Indication min. 1/max. 1 "P" for Production, "T" for Testing 16 Sub-element Separator min. 1/max. 1 > Sample Data ISA*00* *00* *01*123456789*12*8002837272 *060512*1432*U*00403*000000410*0*P*>~ *Should be a 9 digit # - incremented per transaction GS Segment - Functional Group Header Position Description Size Usage M M M M M M M M M M M M M M M M Value Usage 1 Functional Identifier Code min. 2/max. 2 "PO" - Purchase Order M 2 Application Sender's Code min. 2/max. 15 Same as ISA06 M 3 Application Receiver's Code min. 2/max. 15 Same as ISA08 M 4 Date min. 8/max. 8 Date of Interchange - CCYYMMDD format M 5 Time min. 4/max. 8 Time of interchange - HHMM format 6 Group Control Number min. 1/max. 9 Assigned number from sender 7 Responsible Agency Code min. 1/max. 2 X 8 Version/Release/Industry Code min. 1/max. 12 004030VICS Sample Data GS*PO*123456789*8002837272*20060512*1432*000000410*X*004030VICS~ ST Segment - Transaction Set Header Detail Position Description Size 1 Transaction Set Identifier Code min. 3/max. 3 2 Transaction Set Control Number min. 4/max. 9 Sample Data ST*850*0001~ Position M M M M Value 850 1 Usage M M BEG Segment - Beginning Segment for Purchase Order Detail Description Size Value Usage 1 2 3 5 Transaction Set Purpose Code Purchase Order Type Code Purchase Order Number Purchase Order Date min. 2/max. 2 min. 2/max. 2 min. 1/max. 22 min. 8/max. 8 12 Service Level Code min. 1/max. 2 13 Service Level Code min. 1/max. 2 Sample Data BEG*00*SA*1234567**20060512*******CB*WM~ Position 1 Description Note Reference Code 2 Description Sample Data NTE*SPH*SHIP OR CANCEL~ Position 1 Description Date/Time Qualifier 2 Sample Data DTM*001*20060512~ DTM*010*20060611~ Position 5 Sample Data TD5*****UPSG~ 00 "SA" - Stand Alone Purchase order number Purchase order date - CCYYMMDD format “SC” – Ship Complete, “CB” – Cancel Backorders “WM” – Waive Minimums (fee applies) NTE Segments - Notes Details Size Value min. 1/max. 30 "SPH" - Special Instructions min. 1/max. 80 Free form description of special instructions DTM Segment - Date/Time Reference Detail Size Value min. 3/max. 3 001 (Start Ship Date), 010 (Cancel Date) Date min. 8/max. 8 Corresponding date for matching code CCYYMMDD format TD5 Segment - Carrier Routing/Sequence Detail Description Size Value Free form description of routing or requested Routing min. 1/max. 35 routing N1 Segment - Bill to Information Position Description Size Value 1 Entity Identifier Code min. 2/max. 3 "BT" - Bill To 2 Name min. 1/max. 50 Name 3 Identification Code Qualifier min. 2/max. 2 Your EDI Identification Qualifier 4 Identification Code min. 1/max. 9 Your EDI Identification Code Sample Data N1*BT*YOUR COMPANY NAME*01*123456789~ Position Description 1 Entity Identifier Code 2 Name 3 Identification Code Qualifier 4 Identification Code Sample Data N1*ST**92*006~ N1 Segment - Ship to Information Size Value min. 2/max. 3 "ST" - Ship To Min. 1/max 60 Ship To Name (if applicable) min. 2/max. 2 92 min. 1/max. 9 Store Number (if applicable) M M M M O O Usage O O Usage M M Usage M Usage M M M M Usage C C C C Note: Either an N1 segment or a SDQ segment must exist at all times. If SDQ is used, N1 segment is optional. If N1 segment is used and SDQ segment exists, then goods will be prepackaged for the location code specified in the SDQ segment and shipped to the location specified in the N104 segment. If there is no N1 segment, goods will be shipped directly to the location codes specified in the SDQ segment. If more than 10 stores are included, additional SDQ segments will be added. N3 Segment - Address Information Position Description Size Value Usage 1 Address Information min. 1/max. 40 Street Address C 2 Address Line 2 min. 1/max. 40 Additional Address Information C Sample Data N3*123 Anystreet*Apt 123~ Note: Not needed unless N1 exists, and N103 is “02” for Drop Ship. Otherwise, if data is “01” the store number in N104 will be recognized as the ship to location. N4 Segment – Geographic Location Information Position Description Size Value 1 City Name min. 2/max. 30 City Name 2 State or Province Code min. 2/max. 2 State or Province 3 Postal Code min. 1/max. 15 Postal Code Sample Data N4*Anytown*CA*12345~ Note: Necessary only where N3 is also used. Position 2 Description Quantity Ordered PO1 Segment - Baseline Line Item Details Size Value min. 1/max. 15 Number of Units Ordered Usage C C C Usage M "EA" - Each "CA" - Case Unit price of ordered item "UP" - UPC Item UPC “CS” – Customer SKU Item Customer SKU “VA” – Vendor Style Style “VE” – Vendor Color Color “SZ” – Vendor Size Size 3 Unit of Measure min. 2/max. 2 M 4 Unit Price min. 1/max. 17 O 6 Product/ID Service Qualifier min. 2/max. 2 C 7 Product/ID min. 1/max. 48 C 8 Product/ID Product/ID Service Qualifier min. 2/max. 2 C 9 Product/ID min. 1/max. 48 C 10 Product/ID Product/ID Service Qualifier min. 2/max. 2 C 11 Product/ID min. 1/max. 48 C 12 Product/ID Product/ID Service Qualifier min. 2/max. 2 C 13 Product/ID min. 1/max. 48 C 14 Product/ID Product/ID Service Qualifier min. 2/max. 2 C 15 Product/ID min. 1/max. 48 C Sample Data PO1**3*EA*9.50**UP*0014852736459*CS*1234567*VA*759*VE*RED*SZ*S~ Note: If either PO107 or PO109 are included, PO111, PO113 and PO115 are optional. If neither PO107 nor PO109 are included, all 3 are mandatory. These must precisely match Strategic Partners’ style/color/size codes. Otherwise order will not process. Customer SKU should only be used if on file with SPI. If no Customer SKU is on file with SPI, then UPC is preferred. Position 1 2 Description Unit of Measure ID Code Qualifier SDQ Segment - Destination Quantity Detail Size Value min. 2/max. 2 "EA" – Unit or "CA" - Case min. 1/max. 2 "92" - Assigned by Buyer Usage M M 3 ID Code min. 3/max. 3 Store Number M 4 Quantity min. 1/max. 15 Quantity M 5 ID Code min. 3/max. 3 Store Number C 6 Quantity min. 1/max. 15 Quantity C 7 ID Code min. 3/max. 3 Store Number C 8 Quantity min. 1/max. 15 Quantity C 9 ID Code min. 3/max. 3 Store Number C 10 Quantity min. 1/max. 15 Quantity C 11 ID Code min. 3/max. 3 Store Number C 12 Quantity min. 1/max. 15 Quantity C 13 ID Code min. 3/max. 3 Store Number C 14 Quantity min. 1/max. 15 Quantity C 15 ID Code min. 3/max. 3 Store Number C 16 Quantity min. 1/max. 15 Quantity C 17 ID Code min. 3/max. 3 Store Number C 18 Quantity min. 1/max. 15 Quantity C 19 ID Code min. 3/max. 3 Store Number C 20 Quantity min. 1/max. 15 Quantity C 21 ID Code min. 3/max. 3 Store Number C 22 Quantity min. 1/max. 15 Quantity C Sample Data SDQ*EA*92*001*4*002*6*003*11*007*14~ Note: Either a N1 segment or a SDQ segment must exist at all times. If SDQ is used, N1 segment is optional. If N1 segment is used and SDQ segment exists, then goods will be prepackaged for the location code specified in the SDQ segment and shipped to the location specified in the N104 segment. If there is no N1 segment, goods will be shipped directly to the location codes specified in the SDQ segment. If more than 10 stores are included, additional SDQ segments will be added. Position 1 Sample Data CTT*1~ CTT Segment - Transaction Totals Detail Description Size Value Number of Line Items min. 1/max. 8 Total number of line items (PO1's) SE Segment - Transaction Set Trailer Detail Size Position Description 1 Number of Included Segments 2 Transaction Set Control Number Sample Data SE*15*0001~ Description 1 Number of Transaction Sets Included 2 Sample Data Value Usage min. 1/max. 10 Total number of segments including ST & SE M min. 4/max. 9 Unique identifying control number must match ST02 M GE Segment - Functional Group Trailer Detail Size Position Group Control Number Usage M Value Usage min. 1/max. 6 Number of transaction sets included within GS/GE M min. 1/max. 9 Group control number, must match GS06 M GE*1*000000410~ Position 1 IEA Segment - Interchange Control Trailer Detail Description Size Value Number of Included Functional Groups 2 Interchange Control Number Sample Data IEA*1*000000410~ Usage min. 1/max. 5 Number of functional groups included within ISA/IEA M min. 9/max. 9 Unique interchange control number, must match ISA13 M Sample 850 Purchase Order - SDQ ISA*00* *00* *01*123456789*12*8002837272*060512*1432*U*00403*000000410*0*P*>~ GS*PO*123456789*8002837272*20060512*1432*000000410*X*004030VICS~ ST*850*0001~ BEG*00*SA*1234567**20060512*******CB*WM~ NTE*SPH*SHIP OR CANCEL~ DTM*001*20060512~ DTM*010*20060611~ TD5*****UPSG~ N1*BT*YOUR COMPANY NAME*92*123456789~ PO1**3*EA*9.50**UP*0014852736459~ SDQ*EA*92*001*4*002*6*003*11*007*14~ CTT*1~ SE*15*0001~ GE*1*000000410~ IEA*1*000000410~ Sample 850 Purchase Order – Drop Ship ISA*00* *00* *01*123456789*12*8002837272*060512*1432*U*00403*000000410*0*P*>~ GS*PO*123456789*8002837272*20060512*1432*000000410*X*004030VICS~ ST*850*0001~ BEG*00*SA*1234567**20060512*******CB*WM~ NTE*SPH*SHIP OR CANCEL~ DTM*001*20060512~ DTM*010*20060611~ TD5*****UPSG~ N1*BT*YOUR COMPANY NAME*92*123456789~ N1*ST*Your Name~ N3*123 Anystreet*Apt 123~ N4*Anytown*CA*12345~ PO1**3*EA*9.50**UP*0014852736459~ CTT*1~ SE*15*0001~ GE*1*000000410~ IEA*1*000000410~ Sample 850 Purchase Order – Store Order ISA*00* *00* *01*123456789*12*8002837272*060512*1432*U*00403*000000410*0*P*>~ GS*PO*123456789*8002837272*20060512*1432*000000410*X*004030VICS~ ST*850*0001~ BEG*00*SA*1234567**20060512*******CB*WM~ NTE*SPH*SHIP OR CANCEL~ DTM*001*20060512~ DTM*010*20060611~ TD5*****UPSG~ N1*BT*YOUR COMPANY NAME*92*123456789~ N1*ST**92*006~ PO1**3*EA*9.50**UP*0014852736459~ CTT*1~ SE*15*0001~ GE*1*000000410~ IEA*1*000000410~
© Copyright 2026 Paperzz