This class contains support for Data Source providers used in the CopyPromotion
wizard.
-
getPromotion
This method returns the requested fields for the given promotion ID. -
getAccounts
This method returns the list of accounts valid for the target promotion. Target promotion timeframe is calculated by the difference in days between the original promotion date and the new date. -
getAccountSets
This method returns the list of account sets valid for the target promotion. Target promotion timeframe is calculated by the difference in days between the original promotion date and the new date. -
IsPromotionTemplateCopyable
This method validates the given promotion has a promotion template that can be copied. -
isPromotionAndUserSameSalesOrg
This method validates if the given promotion belongs to the same Salesorg where the user exists.