Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
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 | Details |
|---|---|
| userId |
|
| forecastId |
|
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}