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.

Note

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.

Supported REST HTTP Methods

URI
/services/data/vXX.X/actions/standard/refreshActualsCalculation
Formats
JSON, XML
HTTP Methods
GET, HEAD, POST
Authentication
Authorization: Bearer token

Inputs

Input Details
userId
Type
ID
Description
The ID of the user. An email is sent to this user when the action is complete.
salesAgreementId
Type
string
Description
The ID of the sales agreement for refreshing actuals.
isCurrentSchedule
Type
boolean
Description
Indicates whether to refresh actuals for the current period (true) or current and past periods (false).

Usage

Sample Request
The following example shows how to refresh actuals:
{
"inputs" : [{
"userId" : "005Ws000001Agn0IAC",
"salesAgreementId": "0YAWs0000004FkBOAU",
"isCurrentSchedule": true
}]
}