Mass Update Sales Agreement Action
Now you can make mass updates to sales agreement fields for different
products and periods with a single action.
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/massUpdateSalesAgreement
- Formats
- JSON, XML
- HTTP Methods
- GET, HEAD, POST
- Authentication
- Authorization: Bearer token
Inputs
Input | Details |
---|---|
entityId |
|
fieldToUpdate |
|
periods |
|
products |
|
operation |
|
numericvalue |
|
numericValueType |
|
Usage
Sample Request
The following example shows how to mass
update sales agreement
fields:
{
“entityId”: “a07B0000007qbQOIAY”,
“fieldToUpdate”: “DiscountPercentage”,
“periods”: “[”2020-01-01“,”2020-02-01“]”,
“products”: “[”a07B0000007qbQOIAY“,”a07B0000007qbQOIAY“]”,
“operation”: “ReplaceWith”,
“numericvalue”: 10,
“numericValueType”: “Percentage”
}