You need to sign in to do that
Don't have an account?
Ajay Kumar 583
Need Solution for Opportunity task
Hi,
I dont want to allow making Opportunity Stage = “Closed Won” or “Closed Lost” when the Opportunity Amount is greater or equal $500,000.
Thanks,
AJ
You can do this with the help of the validation rule. Below is the formula for the validation rule for the same:
AND(OR(ISPICKVAL(StageName , 'Close Won') , ISPICKVAL(StageName , 'Close Lost')) , Amount >= 500000)
Also, please check the API of the fields before implementing any changes.
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks and Regards,
Deepali Kulshrestha
All Answers
Use bellow trigger it may helpful for you:
Trigger :
Apex Controller
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks,
Ajay Dubedi
You can do this with the help of the validation rule. Below is the formula for the validation rule for the same:
AND(OR(ISPICKVAL(StageName , 'Close Won') , ISPICKVAL(StageName , 'Close Lost')) , Amount >= 500000)
Also, please check the API of the fields before implementing any changes.
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks and Regards,
Deepali Kulshrestha