Newer Version Available
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:
1{
2 "inputs": [
3 {
4 "entityId": "0YALT000000H9rh4AC",
5 "products": [
6 "0YBLT0000000Mq94AE"
7 ],
8 "periods": [
9 "ALL"
10 ],
11 "fieldToUpdate": "SalesPrice",
12 "operation": "Increase By",
13 "numericValue": "15",
14 "numericValueType": "absolute"
15 }
16 ]
17}