Get Started with Consumer Goods Cloud
Derive and Copy Promotions with MetadataWizard and Business Object API
getPromotion
getAccounts
getAccountSets
IsPromotionTemplateCopyable
isPromotionAndUserSameSalesOrg
API End-of-Life Policy
Previous Versions
This class contains support for Data Source providers used in the CopyPromotion wizard.
This method returns the requested fields for the given promotion ID.
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.
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.
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.