You need to sign in to do that
Don't have an account?
Nagma Khan
how to write a trigger on Opportunity object to count the no of notes and write it to a custom field.
hi
i am new so pelae help me about that trigger
Thanks
Nagma
i am new so pelae help me about that trigger
Thanks
Nagma
can you explain a bit more??
Try the code below it will help you.
Trigger:
Trigger Class:
Note:- As Total_Note__c is a custom field in Opportunity and if someone enters manually a wrong value in the field then don't you worry because when the enter a note
the trigger will be fired and it will count the number of notes and auto-corrected the value.
Regards,
Akshay
Please mark my answer as a solution if it was helpful so it is available to others as a proper solution.
Meg