You need to sign in to do that
Don't have an account?
Vidya H 4
hi anbody help me to code this
I created a checkbox field call active on opportunity . If a user other than system administrator tries to update the field to inactive when the stage field value is not closed/won show an error 'You do not have the access to perform this operation. Kindly contact your system administrator'
Can you try the below code modified a bit.
If this solution helps, Please mark it as best answer.
Thanks,
All Answers
Can you confirm if you are okay with validation rule or you need ony with trigger logic.
Thanks,
Can you try the below validation rule.
If this solution helps, Please mark it as best answer.
Thanks,
need to do with trigger.
Can you try the below trigger code.
If this solution helps, Please mark it as best answer.
Thanks,
Did the above soloution worked? If so please mark it as best answer.
Thanks,
OppValidation: execution of BeforeInsert caused by: System.NullPointerException: Attempt to de-reference a null object Trigger.OppValidation: line 7, column 1
please help to solve that error
Can you try the below code modified a bit.
If this solution helps, Please mark it as best answer.
Thanks,
its working fine
thank you