GET /oms/commercial-orders/next-number¶
What it does¶
/oms/commercial-orders/next-number accepts GET and is declared in app/systems/OMS/commercial-order/api_routes.php:21 as a path.
The route handler delegates to commercialOrderQueryHandle(). That function is the owner of
this behaviour; the route entry is only dispatch.
Call chain:
- →
commercialOrderQueryHandle()—app/systems/OMS/commercial-order/commercial_order_query_handler.php:4 - ↳
commercial_order_list()—app/systems/OMS/commercial-order/commercial_order_query_helper.php:365 - ↳
commercial_order_order_types()—app/systems/OMS/commercial-order/commercial_order_query_helper.php:8
Who calls it¶
Called from:
frontend/pages/system/OMS/commercial-order/mk-commercial-orders.php
A caller is the strongest available evidence of the intended use.
Input¶
| Where | Key |
|---|---|
body |
ID |
Request bodies must not use TYPE, ACTION or USERNAME as contract fields.
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.
Data¶
No table reference is visible in the owner function body.
Access¶
- module-gated on
oms.commercial-order, so tenant module access applies