Worked example: two channels sharing six available cases.
This is a hypothetical wholesaler, not a client result or a model of every ERP. At warehouse W1, product W100 is recorded in EACH; one CASE contains 12 EACH. Physical stock includes reserved and held units. Reserved units and other holds are separate, non-overlapping groups.
Initially, 120 EACH are physically present. Existing orders reserve 24 EACH, while 12 are in quarantine and another 12 form a safety buffer. The fixture’s available quantity is therefore 120 − 24 − 24 = 72 EACH, or six cases. The buffer is already included in other holds and is subtracted once.
| Accepted event | On hand | Reserved | Other holds | Available |
|---|---|---|---|---|
| Opening position | 120 | 24 | 24 | 72 |
| Web order reserves four cases: 48 EACH | 120 | 72 | 24 | 24 |
| Sales desk requests three cases: hold for a decision | 120 | 72 | 24 | 24 |
| Dispatch the web order’s reserved 48 EACH | 72 | 24 | 24 | 24 |
| Receive a damaged return of 12 EACH into quarantine | 84 | 24 | 36 | 24 |
After the web reservation, only two cases remain available. The sales desk’s request for three cases needs the agreed shortage procedure; this example does not silently accept a partial order or promise a backorder. Dispatch reduces physical and reserved quantities together, so the already reserved order does not reduce availability a second time. A damaged return increases physical stock and quarantine, not sellable stock.
Use this reasoning to check your own lifecycle. If a destination field already excludes reservations or safety stock, subtracting them again produces a different, incorrect mapping. Keep incoming deliveries separate, with explicit receipt and any preorder rules.
Plan for missed, repeated, and stale messages.
Shopify’s webhook guidance states that event delivery order is not guaranteed and recommends reconciliation jobs because deliveries can be missed or mishandled. Check the equivalent behaviour for every integration in your project; a stream of successful notifications is not a complete stock-control process.
Agree a reconciliation checklist with a named operations owner:
- Normalise the comparison: use the same product, location, unit, and stock-state definition. Compare against an agreed time or version boundary so an in-flight movement is not mistaken for a permanent mismatch.
- Track transfer status: retain source references, movement identifiers, destination results, and the last successful check for each channel and location.
- Handle repetition: recognise a repeated delivery and a repeated business movement before applying another stock effect.
- Handle uncertain writes: check whether a destination accepted a change before retrying after a lost response. Keep unresolved records visible.
- Recover omissions: compare current authoritative records with channel state on an agreed schedule and after interruptions, using a controlled resynchronisation process.
- Resolve discrepancies: investigate mapping, timing, unrecorded movements, and physical-count differences. Require an approved, traceable correction instead of automatically choosing the larger count.
Agree who is alerted, when a stale channel must stop promising stock, and what staff can do while recovery is underway. Measure mismatch age and unresolved records alongside update delay.
Prove a bounded first release.
Start with an agreed warehouse, a representative product group, and the channels needed to test the main problem. The following are proposed checks, not reported results:
- A case order resolves to the correct base-unit quantity and warehouse.
- Two competing requests cannot both receive a firm commitment beyond the accepted available quantity under the chosen reservation or allocation rules.
- A repeated message does not reserve or deduct the same movement twice, and a cancellation releases only the remaining valid reservation.
- Dispatching reserved stock and receiving an inspected return produce the agreed state changes, including quarantine where required.
- A delayed update or interrupted connection produces a visible stale or uncertain state; reconciliation restores the expected records without silently overriding a newer accepted change.
Include manual adjustments, stock counts, and the agreed peak workload in the pilot. Keep transfers between warehouses, bundles, or additional marketplaces explicitly in scope or deferred. If checkout hardware and payments are involved, our POS integration checklist covers those separate readiness checks.
Bring the stock rules to the project conversation.
Prepare a channel and system list, representative product mappings, unit conversions, warehouse IDs, and examples of receipts, orders, dispatches, cancellations, and returns. Mark where the current process loses or duplicates a movement. Identify interface access and the people authorised to approve stock corrections.
Our ERP integration scope worksheet helps separate connection work, data mapping, recovery, and ongoing support. Add the agreed stock authority and acceptance cases to your software project brief. Techlications offers commissioned inventory software and ERP/POS integrations; we can assess the available interfaces and agree a focused scope and quote before development.