Newer Version Available
Mass Update Sales Agreement Actions
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:
1{
2“entityId”: “a07B0000007qbQOIAY”,
3“fieldToUpdate”: “DiscountPercentage”,
4“periods”: “[”2020-01-01“,”2020-02-01“]”,
5“products”: “[”a07B0000007qbQOIAY“,”a07B0000007qbQOIAY“]”,
6“operation”: “ReplaceWith”,
7“numericvalue”: 10,
8“numericValueType”: “Percentage”
9}