StockLedger.ERP
Supabase connected

Shipping

Shared deduction function for all shipping paths (ship_stock) — single transaction · idempotency · negative-stock prevention.

🚚 Stock Deduction (Atomic · Idempotent)

Re-running with the same idempotency key returns the prior result with no double deduction. If stock is insufficient, it blocks instead of going negative.

📅 Reservations (confirm → ship/cancel)

Confirming an order adds a reservation; cancelling releases it. A Postgres trigger keeps stock.reserved and the ledger in sync.

Results appear instantly in Stock Ledger and Inventory.

🖥️

Best experienced on desktop

This interactive demo (guided tour · tables · forms) is built for desktop screens. For the best experience, please open it on a desktop browser.

Open erp-inventory-ledger.vercel.app on a PC