ActOnApprovable
Submits an approval action (approve, deny, withdraw, or comment) for a requisition, invoice, or user profile document.
Input
| Name | Type | Required | Description |
| ApprovableType | String | True | Document type for the target approvable.
The allowed values are requisitions, invoices, userprofiles. |
| ApprovableId | String | True | Unique identifier of the approvable document. |
| User | String | True | Unique identifier of the user submitting the approval action. |
| PasswordAdapter | String | True | Password adapter used to authenticate the specified user. |
| Realm | String | False | Unique identifier of the realm. |
| Action | String | True | Approval action to execute for the approvable document.
The allowed values are approve, deny, withdraw, comment. |
| CommentText | String | False | Comment text submitted with the action, typically used with comment or deny actions. |
| VisibleToSupplier | Boolean | False | Controls whether the submitted comment is visible to the supplier.
The default value is false. |
Result Set Columns
| Name | Type | Description |
| Success | String | Indicates whether the operation completed successfully. |
| Details | String | Additional details returned by the operation execution. |