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.

getTacticCompensationModels

This method returns the list of valid compensation model values for a tactic template based on the tactic template defined tactic record type.

Input Parameters

Name Description
tacticTemplate SFDC ID of the tactic template.

Input Sample

1{
2    "class": "NewPromotionWizardCallable",
3    "method": "getTacticCompensationModels",
4    "params": {
5        "tacticTemplate": "{! tacticTemplate.Id }"
6    },
7    "cache": true
8}

Response Sample

1[
2    {
3        "Name": "Per Case",
4        "Id": "PerCase"
5    },
6    {
7        "Name": "Percentage",
8        "Id": "Percentage"
9    }
10]

Response Properties

This method returns the list of items with the following properties:
Name Description
Id Value for the compensation model
Name Label for the compensation model