Mass Update Sales Agreement Action
Now you can make mass updates to sales agreement fields for different products and periods with a single action.
These actions update the sales agreement based 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.
URI: /services/data/vXX.X/actions/standard/massUpdateSalesAgreement
Formats: JSON, XML
HTTP Methods: GET, HEAD, POST
Authentication: Authorization: Bearer token
| Input | Type | Description |
|---|---|---|
entityId | string | The ID of the sales agreement to mass update. |
fieldToUpdate | string | The developer name of a sales agreement product schedule field. For example, SalesPrice. |
periods | anyType | List of sales agreement product schedules in the yyyy-MM-dd date format. For example, 2020-01-01,2020-02-01. |
products | anyType | Comma separated list of sales agreement product IDs. |
operation | string | Operation for mass update. Valid values are:
|
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:
|
Sample Request
The following example shows how to mass update sales agreement fields: