Skip to content

oms.commercial-order

Registering, editing and listing commercial orders. The order number is assigned here, so check the number before creating the order.

7 endpoints - system oms - module gate applies

What this module covers - Commercial orders and their line items.

Endpoints

Method Path What it does Evidence
GET /oms/commercial-orders List commercial orders handler commercialOrderQueryHandle() · calls mk-commercial-orders.php
GET /oms/commercial-orders/next-number Preview the next commercial order number handler commercialOrderQueryHandle() · calls mk-commercial-orders.php
GET /oms/commercial-orders/options Read the commercial order input options (company, commodity and so on) handler commercialOrderQueryHandle() · calls mk-commercial-orders.php
POST /oms/commercial-orders Register a commercial order handler commercialOrderPostHandle() · calls mk-commercial-orders.php
DELETE /oms/commercial-orders/(?P<id>\d+) Delete a commercial order handler commercialOrderPostHandle()
GET /oms/commercial-orders/(?P<id>\d+) Read a commercial order in detail handler commercialOrderQueryHandle()
PATCH /oms/commercial-orders/(?P<id>\d+) Edit a commercial order handler commercialOrderPostHandle()

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.