You need to sign in to do that
Don't have an account?
vari
apex trigger
Error: Compile Error: Variable does not exist: oldContact.ID at line 49 column 24
if (oldContact.ID == opp.PRINCIPAL_OWNER__C)
for the above line it was showing the error
can any one help me
Share the code!
Hi vari,
can u post the trigger code.
Hi Vari,
Create a object variable named oldContact in your trigger and then write this condition checking. I think you missed declaring the variable and checked condition using that variable.
If this post solves your problem, kindly mark it as solution.
Thanks