Recalculate Forecasts Action
Recalculate forecasts based on orders, opportunity, and sales agreement figures.
These actions update the forecast data in your Salesforce org. You must perform a database rollback to undo these actions.
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.
URI: /services/data/vXX.X/actions/standard/recalculateForecast
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. |
forecastId | string | The ID of the forecast for recalculation. Use ALL to recalculate all account forecasts. |
Sample Request to recalculate one account forecast
The following example shows how to recalculate one account forecast:
Sample Request to recalculate all account forecasts
The following example shows how to recalculate all account forecasts: