You need to sign in to do that
Don't have an account?
Prakhyat sapra
Whenever the account is updated. Those related opportunities whose created date is above 30 days and stage is closed won that opportunity stage convert in the closed lost. please help me to write the trigger on this
Whenever the account is updated. Those related opportunities whose created date is above 30 days and the stage is closed won that opportunity stage convert in the closed lost.
Refer the below link will help you to proceed further.
https://salesforce.stackexchange.com/questions/51507/trigger-to-update-opportunity-stage-based-on-account-status
Let me know if still faacing issues i will help you with code.
Thanks!!
Try with below code.
If this helps, Please mark it as best answer.
Thanks!!