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

Usage

Sample Request
The following example shows how to mass update forecast fields:
{
“entityId”: “a07B0000007qbQOIAY”,
“fieldToUpdate”: “DiscountPercentage”,
“periods”: “[”a07B0000007qbQOIAY“,”a07B0000007qbQOIAY“]”,
“products”: “[”a07B0000007qbQOIAY“,”a07B0000007qbQOIAY“]”,
“operation”: “ReplaceWith”,
“numericvalue”: 10,
“numericValueType”: “Percentage”,
“adjNote”: “Percentage updated.”
}