isPromotionAndUserSameSalesOrg

This method validates if the given promotion belongs to the same Salesorg where the user exists.

Input Parameters 

NameTypeRequiredDescription
promotionIdStringYESID of the promotion.

Input Sample 

1"source": {
2    "class": "CopyPromotionWizardCallable",
3    "method": "isPromotionAndUserSameSalesOrg",
4    "cache": true,
5    "params": {
6        "promotionId": "{! promotionId }"
7    }
8}