You need to sign in to do that
Don't have an account?
Arundhati Deb
How to write a trigger to update a field in account by adding the amount field of different opportunities against that account.
I have a field called '"credit blocked" on account. I need to update this field by adding the amount field of different opportunities against this account. Also only those opportunities have to be considered whose stage is not "closed won" or "closed lost." I have to write a trigger.
I trust you are doing very well.
Below is the sample code which I have tested in my org and it is working fine. Kindly modify the code as per your requirement.
I hope it helps you.
Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in future.
Thanks and Regards,
Khan Anas
All Answers
I trust you are doing very well.
Below is the sample code which I have tested in my org and it is working fine. Kindly modify the code as per your requirement.
I hope it helps you.
Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in future.
Thanks and Regards,
Khan Anas