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.
Scenarios.ScenarioParameter Class
This APEX class provides programmatic access to a single scenario parameter information
contained in a TPM_Scenarios instance.
Namespace
1cgcloudTPM_Scenarios Methods
The following are methods for TPM_Scenarios.ScenarioParameter.
global Boolean isApplied
Returns the scenario parameter applied flag. If applied, UI will not re-apply the value
when loading the scenario information. If not applied, when loading the scenario, UI will apply
the value of the parameter to the total of the KPI) .
API Version
55
Signature
global Boolean isApplied()
global Decimal getValue
Returns the KPI Value of the Scenario Parameter.
API Version
55
Signature
global Decimal getValue()
global ScenarioParameter setKPIName
Sets the scenario parameter KPI Name.
API Version
55
Signature
global ScenarioParameter setKPIName(String kpi)
global ScenarioParameter setApplied
Sets the scenario parameter applied flag. If applied, UI will not re-apply the value
when loading the scenario information. If not applied, when loading the scenario, UI will apply
the value of the parameter to the total of the KPI) .
API Version
55
Signature
global ScenarioParameter setApplied(Boolean applied)