OrderAirlock[ ≡ ] ANSI X12 355 PO AIRLOCK
← All 15 Wholesale ERP & EDI Import Error Guides · ANSI X12 DE 355
ERR-02 • X12-850-DE355-M-C-BASIS-VARIANCE • GATE 3 & GATE 4 — UOM PACK BASIS + MICROS PRICE ARITHMETIC

ANSI X12 850 DE 355 'M' (Per 1,000) & 'C' (Per 100) Fastener/Wire Extended Total Errors

Target ERP / Standard: ANSI X12 EDI 850 (004010 / 005010) · Deterministic Compiler Profile: x12_850

AUTOMATED PRE-ERP QUARANTINE & TRANSPARENT PRICING

OrderAirlock blocks X12-850-DE355-M-C-BASIS-VARIANCE deterministically with zero LLM calls before bad quantities or prices enter ANSI X12 EDI 850 (004010 / 005010). Starter: $249/mo ($2,490/yr annual, 500 POs/mo) · Distributor & FDE Pro: $499/mo ($4,990/yr annual, 2,500 POs/mo) — 0% transaction cut.

Run <60s Broken-PO Sandbox (/desk)Inspect Live Split-Screen WorkbenchView $249 / $499 Plans
Automated Fix & Pricing (`OrderAirlock`): Starter $249/mo ($2,490/yr annual, 500 POs/mo) · Distributor/FDE Pro $499/mo ($4,990/yr annual, 2,500 POs/mo) — verifies M (1,000) and C (100) price-basis math in integer micro-dollars before ERP import.

Direct Root Cause & Fix: In electrical wire and industrial fastener wholesale, buyers frequently send PO102=5000, PO103=EA, and PO104=18.50 while pricing per thousand (M / PO105=TP) for a true line total of $92.50—causing naive ERP imports to calculate 5,000 * $18.50 = $92,500.00 (a 1,000x credit-limit lockup). Fix by dividing PO104 by the M/C basis ($18.50 / 1000 = $0.0185) in micro-dollar precision.

Root Cause in PO1 Segments

  • DE 355 codes C (PER 100, 100-PK, CW) and M (PER 1000, 1000-PK, TH) represent count multiples, while PO105 (DE 639 Basis of Unit Price Code: PE Price Each, HP Price per Hundred, TP Price per Thousand) is frequently omitted or hardcoded to PE by customer procurement portals.

Deterministic Resolution Steps

  1. Compare (raw_qty * raw_unit_price) against raw_line_total on the incoming PO.
  2. When PO103 is M (factor = 1000) or C (factor = 100), convert unit price to integer micros (18.50 / 1000 = $0.0185 -> 18,500 micros) rather than 2-decimal floats that round $0.0185 to $0.02 ($100.00 vs $92.50).
  3. Emit PO1*1*5000*EA*0.0185*PE with exact CTT hash totals.
RAW BROKEN INBOUND PAYLOAD (QUARANTINED)
PO1*1*5000*EA*18.50*PE*VP*HEX-M8-ZN~ (calculates $92,500.00 instead of $92.50)
ORDERAIRLOCK VERIFIED X12_850 OUTPUT
PO1*1*5000*EA*0.0185*PE*VP*HEX-M8-ZN~
COMMON PRACTITIONER DIAGNOSTIC QUERIES
  • EDI 850 UOM M per thousand PO104 PO105 HP TP PE error
  • X12 DE 355 C vs M fastener electrical wire PO line total mismatch
  • fix 1000x price variance EDI 850 fastener wholesale