This class contains support for Data Source providers used in the NewPromotion
wizard.
-
getAccounts
This method returns the list of accounts valid for the period defined by the input date from and the date through. -
getAccountSets
This method returns the list of account sets valid for the period defined by the input date from and date through. -
getPromotionTemplates
This method returns the list of promotion templates along with additional information. The method will search for promotion templates where the "Display_In_MetadataWizard__c" field is set to true unless the "all" parameter is set to true. -
getProducts
This method returns the list of tactic templates related to the input promotion template. -
getPromotionKPIs
This method returns the list of editable and editable calculated KPIs on promotion level for the input promotion template -
getTacticCompensationModels
This method returns the list of valid compensation model values for a tactic template based on the tactic template defined tactic record type. -
getTacticKPIs
This method returns the list of editable and editable calculated KPI's on tactic level for the input ppromotion template and tactic template. It returns all the possible KPI's that are part of the tactic template defined KPI subset in the order defined by the sort field. -
getTacticTemplates
This method returns the list of tactic templates related to the input promotion template.