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 Input

Input representation to convert a source object to a sales agreement.
JSON example
1{
2  "sourceObjectId": "0kFT1000000000RMAQ",
3  "salesAgreementDefaultValues": {
4      "salesAgreement": {
5          "StartDate": "2020-01-01",
6          "ScheduleFrequency": "Monthly",
7          "ScheduleCount": "10"
8      },
9      "salesAgreementProduct": {
10          "PricebookEntry": "01uxx00000091jOAAQ",
11          "Name": "test-sap1",
12          "InitialPlannedQuantity":"1"
13      }
14  }
15}
Properties
Name Type Description Required or Optional Available Version
salesAgreement​​​DefaultValues Sales Agreement Default​​ Fields Input[] Default field values for the SalesAgreement and SalesAgreementProduct entities that aren’t defined in the mapping definition.

You can remove a mapping field from the definition by providing the output field value as blank for SalesAgreement or SalesAgreementProduct.

Note

Optional 51.0
sourceObjectId String ID of the source object containing the mapping definition used to create the sales agreement record. Required 51.0