Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

Sales Agreement Default Fields Input

Input representation of default values for the sales agreement fields.
JSON example with decimal quantity:
1{
2  "salesAgreementDefaultValues": {
3    "salesAgreement": {
4      "StartDate": "2020-01-01",
5      "ScheduleFrequency": "Monthly",
6      "ScheduleCount": "10"
7    },
8    "salesAgreementProduct": {
9      "PricebookEntry": "01uxx00000091jOAAQ",
10      "Name": "test-sap1",
11      "InitialPlannedQtyValue": "1.5",
12      "IsQuantityInDecimals": "true"
13    }
14  }
15}
JSON example without decimal quantity:
1{
2  "salesAgreementDefaultValues": {
3    "salesAgreement": {
4      "StartDate": "2020-01-01",
5      "ScheduleFrequency": "Monthly",
6      "ScheduleCount": "10"
7    },
8    "salesAgreementProduct": {
9      "PricebookEntry": "01uxx00000091jOAAQ",
10      "Name": "test-sap1",
11      "InitialPlannedQuantity": "1"
12    }
13  }
14}
Properties
Name Type Description Required or Optional Available Version
salesAgreement Map<String, String> Default field values of the sales agreement entity that aren’t defined in the mapping definition. Optional 51.0
salesAgreement​​Product​ Map<String, String> Default field values of the sales agreement product entity that aren’t defined in the mapping definition. Optional 51.0

If isQuantityInDecimals is not specified or set to false, existing integer-based mappings will continue to work as before.