Skip to content

oms.inbound-order

Inbound orders and customer POs. The order state advances here through inbound planning (scheduling) to scale completion. atomic-save wraps the order and its items in one transaction so a half-saved order cannot be left behind.

20 endpoints - system oms - module gate applies

What this module covers - Loads, load items, companies, bookings, scale tickets.

Endpoints

Method Path What it does Evidence
POST /oms/customer-pos/by-load-numbers Look up customer POs by load number handler customer_po_by_load_numbers() · tables T_CUSTOMER_PO, T_CUSTOMER_PO_ITEM · calls popup.core.js, export-transload-create-modal.js
POST/PATCH /oms/customer-pos/form Register or edit a customer PO handler omsCustomerPoFormMutation() · calls popup.core.js
POST /oms/customer-pos Register a customer PO handler omsCustomerPoCreate() · tables T_CUSTOMER_PO · calls customer-po-modal.js, customer-po-editor.js
GET /oms/customer-pos/(?P<id>\d+) Read a customer PO in detail handler omsCustomerPoRow() · tables T_CUSTOMER_PO
GET /oms/customer-pos/(?P<id>\d+)/items List the items of a customer PO handler omsCustomerPoRow() · tables T_CUSTOMER_PO
GET /oms/inbound-orders/calendar-events Read the inbound schedule calendar events handler inbound_calendar_events() · tables T_LOAD, T_LOAD_ITEM
GET /oms/inbound-orders/commodity-rate-options Read the commodity and rate options for an inbound order handler bmsRateCommodityOptions() · tables T_COMMODITY, T_COMPANY · calls mk-export-brokerage.php, mk-inbound-order-editor.js
POST /oms/inbound-orders/doortrade-packing-list/ai-extract Extract items from a DoorTrade packing list with AI handler ctcAiApiExtract() · calls api_catalog.php
GET /oms/inbound-orders List inbound orders handler inbound_order_list() · calls api_catalog.php, mk-inbound-orders.php
GET /oms/inbound-orders/options Read the inbound order input options (company and so on) handler purchase_order_options() · tables T_COMPANY · calls mk-inbound-order-editor.js, scale-portal.js
POST /oms/inbound-orders Register an inbound order handler purchase_order_post_handle() · tables T_LOAD · calls api_catalog.php, mk-inbound-orders.php
GET /oms/inbound-orders/schedule Read the schedule of an inbound order handler inbound_order_schedule() · tables T_COMPANY, T_LOAD, T_LOAD_ITEM · calls mk-order-schedule.php
POST /oms/inbound-orders/(?P<id>\d+)/atomic-save Save an inbound order and its items in one transaction handler apiAssertAdvancedPayloadDeletion()
POST /oms/inbound-orders/(?P<id>\d+)/complete-without-scale Complete an inbound order without a scale measurement handler purchase_order_complete_without_scale() · tables T_LOAD, T_SCALE_TICKET, T_TRANSLOAD
DELETE /oms/inbound-orders/(?P<id>\d+) Delete an inbound order handler purchase_order_post_handle() · tables T_LOAD
GET /oms/inbound-orders/(?P<id>\d+) Read an inbound order in detail handler inbound_order_detail() · tables T_BOOKING, T_COMPANY, T_INVENTORY_LOT +4 more
POST /oms/inbound-orders/(?P<id>\d+)/items Add an item to an inbound order handler purchase_order_post_handle() · tables T_LOAD
DELETE /oms/inbound-orders/(?P<id>\d+)/items/(?P<itemId>\d+) Delete an item from an inbound order handler purchase_order_post_handle() · tables T_LOAD
PATCH /oms/inbound-orders/(?P<id>\d+)/items/(?P<itemId>\d+) Edit an item on an inbound order handler purchase_order_post_handle() · tables T_LOAD
PATCH /oms/inbound-orders/(?P<id>\d+) Edit an inbound order handler purchase_order_post_handle() · tables T_LOAD

Topics this module shares with other modules

Tables this module reads

T_LOAD (10x) · T_CUSTOMER_PO (4x) · T_COMPANY (4x) · T_LOAD_ITEM (3x) · T_SCALE_TICKET (2x) · T_TRANSLOAD (2x) · T_CUSTOMER_PO_ITEM · T_COMMODITY · T_BOOKING · T_INVENTORY_LOT


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.