Newer Version Available

This content describes an older version of this product. View Latest

isPromotionAndUserSameSalesOrg

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

Input Parameters

Name Type Required Description
promotionId String YES ID of the promotion.

Input Sample

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