GET /wms/inventory/report¶
What it does¶
/wms/inventory/report accepts GET and is declared in app/systems/WMS/inventory/api_routes.php:952 as a path.
The route handler delegates to inventory_report(). That function is the owner of
this behaviour; the route entry is only dispatch.
Who calls it¶
No literal caller path was found in frontend/, public/ or new-system/.
The endpoint may be called through a constructed path, a helper wrapper, or only by
an external client. Treat the route table and owner function as the authority.
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 DISPLAY_NAME FROM T_COMPANY WHERE CLIENT_ID=:client_id AND ID=:company_id AND DELETED_AT IS NULL
SELECT T.ID, 'TRANSLOAD' AS REPORT_ROW_SOURCE,
SELECT T.ID, T.REFERENCE_NUMBER,
Data¶
Tables reached from the owner function:
T_COMPANYT_LOADING_PLANNERT_SCALE_TICKETT_TRANSLOAD
Access¶
- module-gated on
wms.inventory, so tenant module access applies