UpdatePurchaseOrderStatus
Updates the status of a purchase order.
Procedure Specific Information
Updates the status of a purchase order. PurchaseOrderId and OrderStatus are required. The accepted OrderStatus values are: open, receiving, received, cancelled, and closed. The procedure is executed as below:
EXEC UpdatePurchaseOrderStatus PurchaseOrderId = 'po-123', OrderStatus = 'received'
Input
| Name | Type | Description |
| PurchaseOrderId | String | The Id of the purchase order. |
| OrderStatus | String | The new status for the purchase order.
The allowed values are open, receiving, received, cancelled, closed. |
Result Set Columns
| Name | Type | Description |
| Status | String | The status of the operation. |
| OrderStatus | String | The updated status of the purchase order. |
| PurchaseOrderId | String | The Id of the purchase order. |