Receiving Exceptions
get_receiving_exceptionsList inbound purchase orders that are receiving exceptions — POs sent to the supplier (issued, receiving, partiallyFulfilled, pendingReceiptResolution, pendingReconciliation) that are stuck. Each row carries every bucket it matches (buckets OVERLAP): overdue (past its due date), partial (some but not all ordered quantity received), blocked (a human decision is required before receiving can proceed). Optional bucket filter (overdue/partial/blocked; omit for any bucket) narrows to one; unknown values are rejected. Optional warehouseId / supplierId filters (AND-combined). Rows also carry diagnostic exceptionReasons (supplier_overdue, awaiting_remainder, receipt_pending_resolution, receipt_pending_reconciliation, cost_variance_unresolved, quantity_variance_unresolved). Ordered by due date ascending (nulls last). Paged: returns Total (pre-paging) plus the page; default 100, max 500. A client-pinned token sees only its own client's POs; an operator token sees the whole tenant's.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_receiving_exceptions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Page size (default 100, max 500). | |
| bucket | No | Restrict to a single bucket: overdue, partial, or blocked. Omit for any bucket. | |
| offset | No | Zero-based offset for paging (default 0). | |
| supplierId | No | Only POs from this supplier. | |
| warehouseId | No | Only POs whose destination warehouse is this id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| limit | No | ||
| total | No | ||
| offset | No | ||
| orders | No |