You need to sign in to do that
Don't have an account?
ruchika Nayyar
if (objC.AccountId!=null && objC.myruchika__fee__c!=TriggeroldMap.get(objC.AccountID).myruchika__fee__c)
error method doesnot exist
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
Your code seems fine, can you please paste some more code around this line, it is possible that error is for previous line.
Thanks!
I think myruchika__fee__c is a Field of "objC" so you have to use : If this code do not solve your problem, please let me know "myruchika__fee__c" belongs to which object and what do you want to compare !
Regards,
Ajay
I thing Ajay is Right you need to pass objC.id because the OldMap uses the id on which the trigger is written.
But one more thing "method doesnot exist" is genrated due to write the trigger on insert, because the OldMap does not allow in new context.
Thanks.