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

InputTypeDescription
entityIdstringThe ID of the sales agreement to mass update.
fieldToUpdatestringThe developer name of a sales agreement product schedule field. For example, SalesPrice.
periodsanyTypeList of sales agreement product schedules in the yyyy-MM-dd date format. For example, 2020-01-01,2020-02-01.
productsanyTypeComma separated list of sales agreement product IDs.
operationstringOperation for mass update.
Valid values are:
  • Increase By
  • Decrease By
  • Replace With
numericvaluedoubleNumeric value to use in the operation for mass update. Can be any number up to 15 digits.
numericValueTypestringType of operation for mass update.
Valid values are:
  • percentage
  • absolute

Sample Request

The following example shows how to mass update sales agreement fields: