---
schema_version: "1"
id: c1bcb9f98ed011af4a333484f1dccca7465586f3bbae6afc8dc16428e6fef8c7
title: Mass Update Account Forecast Action
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/mfg_api_devguide/mfg_actions_mass_update_account_forecast.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.mfg_api_devguide.meta/mfg_api_devguide/mfg_actions_mass_update_account_forecast.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: fbdb0ebc31c17d3e62aeb54f3e238ab3044a2ef2e4b5036760b3f8c12dc51115
description: Mass update account forecast fields for different products and periods with this single action.
---
# Mass Update Account Forecast Action

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

![Note](https://developer.salesforce.com/docs/atlas.en-us.mfg_api_devguide.meta/mfg_api_devguide/images/icon_note.png)

#### Note

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

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:

{
“entityId”: “a07B0000007qbQOIAY”,
“fieldToUpdate”: “DiscountPercentage”,
“periods”: “\[”a07B0000007qbQOIAY“,”a07B0000007qbQOIAY“\]”,
“products”: “\[”a07B0000007qbQOIAY“,”a07B0000007qbQOIAY“\]”,
“operation”: “ReplaceWith”,
“numericvalue”: 10,
“numericValueType”: “Percentage”,
“adjNote”: “Percentage updated.”
}