Newer Version Available
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 |