You need to sign in to do that
Don't have an account?
Ajay Kumar 583
How to change the Opp stage ??
Hi
I need to Change the Opportunity Stage to “Prospecting” whenever Opportunity Amount is changes to any value.
Thanks,
Aj
I need to Change the Opportunity Stage to “Prospecting” whenever Opportunity Amount is changes to any value.
Thanks,
Aj
You can use the below code:
<<<<----Trigger --->>>>>
trigger HandlerTriggerOpportunity on Opportunity (before Update) {
for(Opportunity opp : Trigger.new){
if(opp.Amount != Trigger.oldMap.get(opp.Id).Amount){
opp.StageName = 'Prospecting';
}
}
}
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks,
Ajay Dubedi