approve_purchase_order
Approves a pending purchase order as the configured approver, not the requester, after validating the preview confirmation code; supports an optional comment.
Instructions
Approve a pending purchase order as the configured user (never its requester).
Args: po: Purchase order ID. confirmation_code: From preview("approve_purchase_order", ). comment: Optional approval comment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| po | Yes | ||
| comment | No | ||
| confirmation_code | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |