oms.allocation¶
Assigns inventory lots to a shipment. Unassigned shipments are reviewed in the workbench, a candidate lot is chosen, and the assignment is applied.
4 endpoints - system oms - module gate applies
What this module covers - Inventory lots, commodity, companies. The assignment carries on into an outbound order.
Endpoints¶
| Method | Path | What it does | Evidence |
|---|---|---|---|
| GET | /oms/allocations/allocatable-lots/search |
Search the inventory lots that can be allocated - lists candidate lots by commodity | handler allocation_allocatable_lot_search() · tables T_COMMODITY, T_INVENTORY_LOT, T_LOAD +1 more · calls mk-outbound-order-editor.js |
| POST | /oms/allocations/apply |
Apply the allocation - assigns the chosen lot to the target shipment | handler omsAllocationPostHandle() · calls allocation-workbench.js |
| GET | /oms/allocations/target-shipments |
List the shipments available for allocation | handler omsAllocationQueryHandle() |
| GET | /oms/allocations/workbench |
The allocation workbench - unallocated shipments and their progress | handler omsAllocationQueryHandle() · calls api_catalog.php |
Tables this module reads¶
T_COMMODITY · T_INVENTORY_LOT · T_LOAD · T_LOAD_ITEM
The description is a summary read off the route path, the handler, the tables it reaches and the screens that call it. Nothing is guessed without evidence: where the handler has to be read, it says so. The full evidence is on each endpoint page.