EDI 850 SDQ Segment: Cross-Dock Store Allocation Guide & Excel Splitter
In a Cross-Dock PO, N1*ST gives the Regional Distribution Center, while SDQ lists up to 10 (Store #, Quantity) pairs per line. Use the interactive workbench below to explode SDQ segments into store-level rows in one click.
Drop your file below, check the order, then download for Excel (.XLSX) & CSV.
- 1Load your order file
- 2Check it and match your SKUs
Drop your EDI order file here
.edi, .x12 or .txt. The file is read on your computer and is not uploaded.
No chargeback risks found. This order passes every check.
Checked against the Walmart supplier guide for EDI 850.
- Detected Cross-Dock SDQ allocations (6 store-level splits verified against PO102).
- Walmart Dept #0018 & Vendor #123456789 verified.
Raw EDI Code Inspector
31 linesPrimary header of an EDI 850 Purchase Order. BEG03 is the legal PO # that must be echoed on your 856 ASN and 810 Invoice.
Purchase Order Summary & Line Items
| Order / Store # | Your SKU | Retailer Item # / UPC | Item Description | Qty | Unit Price | Line Total |
|---|---|---|---|---|---|---|
| PO-4500991288-STORE-0101 | Item: 554433221 UPC: 012345678905 | ORGANIC COTTON BATH TOWEL ROYAL BLUE | 25 EA | $12.50 | $312.50 | |
| PO-4500991288-STORE-0102 | Item: 554433221 UPC: 012345678905 | ORGANIC COTTON BATH TOWEL ROYAL BLUE | 35 EA | $12.50 | $437.50 | |
| PO-4500991288-STORE-0103 | Item: 554433221 UPC: 012345678905 | ORGANIC COTTON BATH TOWEL ROYAL BLUE | 40 EA | $12.50 | $500.00 | |
| PO-4500991288-STORE-0101 | Item: 554433299 UPC: 012345678912 | LUXURY WAFFLE ROBE WHITE XL | 20 EA | $18.00 | $360.00 | |
| PO-4500991288-STORE-0102 | Item: 554433299 UPC: 012345678912 | LUXURY WAFFLE ROBE WHITE XL | 20 EA | $18.00 | $360.00 | |
| PO-4500991288-STORE-0103 | Item: 554433299 UPC: 012345678912 | LUXURY WAFFLE ROBE WHITE XL | 20 EA | $18.00 | $360.00 |
Download for your software
Pick where the order is going, then download. Files are ready for Excel, QuickBooks, Shopify or a thermal printer.
Field mapping table: which EDI segment fills which column (for IT & bookkeepers)
SDQ (Destination Quantity) Element Structure & Store Explosion Logic
Deterministic segment-to-column mapping rules enforced by our client-side X12 engine
| Source X12 Segment / Element | Sample Raw Value | Target ERP / CSV Column | Transformation & Validation Logic |
|---|---|---|---|
| SDQ01 & SDQ02 | EA * 92 | UOM & Store ID Qualifier | SDQ01 = Unit of Measure; SDQ02="92" = Store # assigned by buyer. |
| SDQ03 & SDQ04 | 0101 * 25 | Store #1 ID & Quantity | Allocates 25 units of the parent PO1 line to Store #0101. |
| SDQ05/06 .. SDQ21/22 | 0102 * 35 * 0103 * 40 | Stores #2 – #10 ID & Quantity Pairs | Sliding 2-element window extracts up to 10 stores per SDQ segment (multiple SDQ segments allowed per PO1). |
| Sum(SDQ Quantities) vs PO102 | 25 + 35 + 40 === 100 | Cross-Dock Balance Check | Verifies that the sum of all store quantities equals PO102 ordered quantity. |
Critical Chargeback & Import Pitfalls We Prevent
Common EDI mistakes that trigger $250+ retailer fines or accounting balance errors
Shipping Bulk Pallets Without Store-By-Store Carton Breakdown
Risk: $250–$1,000+ Cross-Dock FineWhen an 850 contains SDQ segments, the retailer’s Regional DC merely cross-docks your pre-labeled store cartons onto outbound store trucks.
Only Parsing SDQ03/SDQ04 and Ignoring SDQ05–SDQ22
Risk: 80% Short-Ship DisasterA single SDQ segment can hold up to 10 stores (elements 03 through 22). Naive scripts only read the first store pair.
SDQ Sum Mismatch After Partial Inventory Allocation
Risk: 856 ASN RejectionIf you edit PO102 without updating the corresponding SDQ store quantities, the ASN fails validation.
How to Split SDQ Segments into Store-Level Excel or Shopify Rows
Zero middleware setup — complete in under 60 seconds
Notice the indigo "SDQ Cross-Dock Detected" bar in the right pane.
Watch 2 summary PO1 lines expand into 6 store-specific order rows instantly.
Every exported row includes the exact Store ID and store-allocated quantity.
Frequently Asked Technical Questions
ANSI X12 specification details, retail companion rules, and ERP import answers
How many stores can fit inside a single X12 SDQ segment?
Up to 10 (Store ID, Quantity) pairs can fit in one SDQ segment (elements SDQ03 through SDQ22). If an order is split across 50 stores, the PO1 loop will contain 5 consecutive SDQ segments.
Does EDIParse support multiple consecutive SDQ segments under one PO1?
Yes. Our parser accumulates all store allocations across any number of consecutive SDQ segments belonging to the active PO1 line.
Related EDI Converters, Retailer Guides & X12 Segment References
- X12 referenceEDI 856 HL Segment: S→O→T→P→I Hierarchy Validator & Excel Flattener
- X12 referenceEDI 856 MAN Segment: MAN*GM SSCC-18 & Marks and Numbers Guide
- X12 referenceEDI 810 BIG Segment: Beginning Segment for Invoice Guide
- X12 referenceEDI 810 TDS Segment: Total Monetary Value & N2 Implied Decimal Guide
- X12 referenceEDI 850 & 810 SAC Segment: Allowance, Charge & SAC05 N2 Guide
- ToolsConvert EDI 850 Purchase Order to Compliant EDI 856 ASN
- Transaction setsEDI 997 Functional Acknowledgment Inspector & AK5/AK9 Rejection Lookup
- IntegrationsConvert EDI 810 Invoices to QuickBooks Desktop (.IIF)
- RetailersHome Depot EDI 850 / 856 / 810 Converter & Compliance Validator