Skip to content

GET /oms/allocations/allocatable-lots/search

OMS > oms.allocation

What it does

/oms/allocations/allocatable-lots/search accepts GET and is declared in app/systems/OMS/allocation/api_routes.php:29 as a path.

The route handler delegates to allocation_allocatable_lot_search(). That function is the owner of this behaviour; the route entry is only dispatch.

Who calls it

Called from:

  • public/assets/js/modules/shared/mk-outbound-order-editor.js

A caller is the strongest available evidence of the intended use.

Input

No named input key is visible in the handler or its owner function. The endpoint either takes no parameters or reads them through a shared helper in app/shared/api/.

Output

The response is produced by a shared helper, so the key set is not visible at the route. Read the owner function to confirm the shape before writing a client.

SQL executed

SELECT IL.ID AS `key`,

Data

Tables reached from the owner function:

  • T_COMMODITY
  • T_INVENTORY_LOT
  • T_LOAD
  • T_LOAD_ITEM

Access

  • module-gated on oms.allocation, so tenant module access applies