goods_receipt_reject_lines
Reject HELD goods receipt lines after quality check, leaving ordered quantity open for a later delivery. Requires a reason, recorded on an append-only rejection event.
Instructions
Refuse HELD lines after a quality check. No stock movement and no order quantity: a rejected quantity never entered the warehouse, so the ordered quantity simply stays open and can be received again on a later delivery. reason is required and is recorded with the actor on an append-only rejection event. A line that is not pending is invalid_transition.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workspaceId": "<workspaceId>",
"grId": "<grId>",
"lineIds": "<lineIds>",
"reason": "<reason>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "goods_receipt_reject_lines"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grId | Yes | ||
| reason | Yes | ||
| lineIds | Yes | ||
| workspaceId | Yes | ||
| idempotencyKey | Yes |