EDI Mappings, Code Tables, Sandbox and Transmissions
Edit mappings without code (graph or list), keep code tables versioned, test documents safely in the sandbox, and work failures in Transmissions with retry and replay.
Mappings: edit without code, activate with a gate#
- Open Integration → EDI → Mappings. The editor has two modes over the same mapping: a graph mode (segment and element nodes with drawn connections — drag or click to connect, click a connection to edit its rule) and a list mode. Switching modes never changes the mapping itself.
- Every save creates a new version. The Versions view shows the history, compares any two versions (added / removed / changed), and can roll back — rolling back opens the old version in the editor, and you still test before activating, exactly like any other change.
- Activation is gated: a mapping must pass its checks and a sample preview before it can go active, and activating a new version never rewrites history — transmissions already processed keep the version they ran with, which is why Retry and Replay are different actions (below).
Code Tables: small lookups, versioned like mappings#
- Open Integration → EDI → Code Tables. Each table is a list of from → to entries with an optional note — for example a partner’s UPC to your SKU, or a carrier code to your carrier. One From value can only point to one To value; fix duplicates before saving.
- Use CSV import for long lists (one from,to,note row per line; duplicates are skipped) and CSV export to download a table. Saving a code table creates a new version of it, and mappings reference a table together with its version, so editing a table here does not silently change mappings that are already active.
Sandbox: test documents without sending anything#
The message sandbox generates sample X12 documents from the dictionary and a partner variant (for 850, 855, 856, 940, 945 and 997), reports validation issues at each level in plain language, and can round-trip a document — generate it with the same code path the connector uses, then parse it back — to prove what you write can be read. For 855, 856 and 945 it can also assemble a partner certification pack from a real test run; results you type in yourself are filed as unverified notes and never count as the verdict. Sandbox runs are pure tests: nothing is sent to the partner and no business document is created; a run is only recorded as a test transmission if you choose to file it that way.
Transmissions: follow every document, fix what failed#
- Open Integration → EDI → Transmissions. Filter by status, doc type and direction, or search by business number / external id. Each row shows the connection, direction, doc type, business number, status, acknowledgment status, attempt count and a plain-language error. The detail view shows the original raw document and the canonical document after mapping. Access to a raw document is restricted and recorded — treat it as the partner’s original paperwork.
- Statuses tell the story: Received (it arrived and was stored), Mapped (translation done), Done (business document created or delivered), Failed (a retryable problem — the system retries on its own with growing delays, up to 5 times), Duplicate (the same document arrived again and was not processed twice) and Dead (needs a human: read the error and its suggested action first).
- Retry re-runs the original document with the mapping it was bound to. Replay re-runs the original document with the currently active mapping — use Replay after you fix a mapping or complete a code table (the classic case: “SKU not mapped” → add the entries to the upc_to_sku table → Replay). Neither action fetches the document again from the partner, and neither is offered for errors marked not retryable, such as an authentication failure — fix the cause first.
Common errors
- “SKU not mapped” — the document is fine, a lookup is missing. Add the missing entries to the upc_to_sku code table, then Replay the transmission.
- A document the partner rejected with a 997 — never retry it as-is. Read the segment errors in the original transmission, fix the document or mapping, and send a new document with new control numbers.
- A delivered document whose recording failed on our side — do not resend it (the partner already has it; resending duplicates it). Replay only reconciles the record.