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

"source": {
    "class": "CopyPromotionWizardCallable",
    "method": "isPromotionAndUserSameSalesOrg",
    "cache": true,
    "params": {
        "promotionId": "{! promotionId }"
    }
}