Mass Update Account Forecast Action

Mass update account forecast fields for different products and periods with this single action.

These actions update the forecast data in your Salesforce org. You must perform a database rollback to undo these actions.

Note

This object is available in API version 48.0 and later for users with Manufacturing Cloud license.

Supported REST HTTP Methods

URI: /services/data/vXX.X/actions/standard/massUpdateAccountForecast

Formats: JSON, XML

HTTP Methods: GET, HEAD, POST

Authentication: Authorization: Bearer token

Inputs

Input Type Description
entityId string The ID of the forecast to mass update.
fieldToUpdate string The developer name of an account product period forecast. For example, ForecastedQuantity
periods anyType Comma-separated list of period IDs.
products anyType Comma-separated list of account forecast product IDs.
operation string Operation for mass update. Valid values are IncreaseBy DecreaseBy ReplaceWith.
numericvalue double Numeric value to use in the operation for mass update. Can be any number up to 15 digits.
numericValueType string Type of operation for mass update. Valid values are Percentage Absolute.
adjNote string Any comments on the mass update operation.

Usage

Sample Request
The following example shows how to mass update forecast fields:
1{
2“entityId”: “a07B0000007qbQOIAY”,
3“fieldToUpdate”: “DiscountPercentage”,
4“periods”: “[”a07B0000007qbQOIAY“,”a07B0000007qbQOIAY“]”,
5“products”: “[”a07B0000007qbQOIAY“,”a07B0000007qbQOIAY“]”,
6“operation”: “ReplaceWith”,
7“numericvalue”: 10,
8“numericValueType”: “Percentage”,
9“adjNote”: “Percentage updated.”
10}