stage_po_amendment
Stage purchase order quantity or price changes as a pending amendment for human approval, ensuring validated updates are reviewed before execution.
Instructions
STAGE (do not execute) a PO amendment (qty and/or price) for human approval.
- po_id: corpus PO id, e.g. "PO-8801".
- new_qty: optional new order quantity.
- new_unit_price: optional new net price per unit.
Validates the PO exists and at least one change is present, records a pending record,
returns pending_approval + approval_id. Models a PATCH to API_PURCHASEORDER_PROCESS_SRV
A_PurchaseOrder (If-Match / x-csrf-token write). 'po_amendment' is gated. Executes only
on human approval.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| po_id | Yes | ||
| new_qty | No | ||
| new_unit_price | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||