Refresh Actuals Calculation Action
Refresh actuals calculations for sales agreements for current and past periods.
These actions update the actuals data in your Salesforce org. You must perform a database rollback to undo these actions.
For information on how the refreshActualsCalculation action can be used in a flow, see Use Manufacturing Actions in Flow Builder and Process Builder in Salesforce Help.
This object is available in API version 47.0 and later for users with the Manufacturing Sales Agreements permission set.
URI: /services/data/vXX.X/actions/standard/refreshActualsCalculation
Formats: JSON, XML
HTTP Methods: GET, HEAD, POST
Authentication: Authorization: Bearer token
| Input | Type | Description |
|---|---|---|
userId | ID | The ID of the user. An email is sent to this user when the action is complete. |
salesAgreementId | string | The ID of the sales agreement for refreshing actuals. |
isCurrentAndFutureSchedules | boolean | Indicates whether to refresh actuals for the current schedule period only (false) or for the current schedule period and future schedules (true). When true, the number of future schedules is based on the FutureActCalcSchedules field on the sales agreement.If you specify true for both isCurrentAndFutureSchedules and isCurrentSchedule, the action fails with an error. |
isCurrentSchedule | boolean | Indicates whether to refresh actuals for the current period (true) or current and past periods (false). |
Sample Request
Here’s a sample request for the Refresh Actuals Calculation action.
Sample Response
Here’s a sample success response for the Refresh Actuals Calculation action.
Error Response
Here’s a sample error response for the Refresh Actuals Calculation action.