GATE 1 • SHA-256 & BUSINESS-ID DEDUPLICATION
Cryptographic File Hash & Composite Business-Key Guard
Computes source SHA-256 and checks UNIQUE(workspace_id, customer_code, po_number) to mark duplicates duplicate_skipped.
OrderAirlock never uses an LLM to guess an unrecognized SKU, invent a missing UOM conversion factor, or override a contract price variance.
support@orderairlock.com · security@orderairlock.com)Computes source SHA-256 and checks UNIQUE(workspace_id, customer_code, po_number) to mark duplicates duplicate_skipped.
Matches (workspace_id, customer_code, part_alias), then internal_sku, then upc_gtin, or blocks with block_unknown_sku.
Normalizes buyer units to ANSI X12 355 codes (CS, BX, M, C, EA) and computes converted_base_qty = raw_qty * factor.
Compares raw_unit_price / factor against contract rates and margin floors, catching 10 CS @ $0.18 EA price traps.
Enforces abs((raw_qty * raw_unit_price) - raw_line_total) <= $0.02 and (converted_base_qty % order_multiple_qty) === 0.
epicor_p21_sism)| Raw Buyer PO String | Normalized ANSI X12 355 Code | Wholesale Trade Meaning |
|---|---|---|
| ea, each, pc, pcs, unit | EA | Individual discrete unit (ERP base unit) |
| cs, case, cases, ctn, carton | CS | Master case pack (e.g. 12 EA, 24 EA, 250 EA) |
| bx, box, boxes | BX | Inner box pack (e.g. 25 EA, 100 EA) |
| c, hundred, per 100, 100-pk | C | Fastener hundred-weight / 100-count lot (factor = 100) |
| m, thousand, per 1000, 1000-pk | M | Fastener thousand-count lot (factor = 1000) |
| ft, feet, lf / lb, lbs | FT / LB | Dimensional length/weight (quarantined if SKU is discrete EA) |