Recalculate Forecasts Action
For more information about recalculating actual values of an active sales agreement, 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 Manufacturing Cloud license.
Supported REST HTTP Methods
URI: /services/data/vXX.X/actions/standard/recalculateForecast
Formats: JSON, XML
HTTP Methods: GET, HEAD, POST
Authentication: Authorization: Bearer token
Inputs
| Input | Type | Description |
|---|---|---|
| userId | ID | The ID of the user. An email is sent to this user when the action is complete. |
| forecastId | string | The ID of the forecast for recalculation. Use ALL to recalculate all account forecasts. |
Usage
Sample Request to recalculate one account forecast
The
following example shows how to recalculate one account
forecast:
Sample
Request to recalculate all account forecasts1{
2"inputs": [{
3 "userId":"005xx000001X7QLAA0",
4 "forecastId":"0yAxx0000000001EAA"
5 }]
6}The following example shows how to
recalculate all account
forecasts:
1{
2"inputs": [{
3 "userId":"005xx000001X7QLAA0",
4 "forecastId":"ALL"
5 }]
6}