function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Apex trigger to update Opportunity next activity field

Hi Guys,

I would like to create a field on the Oppty object that is called "Next Activity". In this field we need to populate the subject of the next scheduled activity related to the Oppty. I believe this requires an Apex trigger to accomplish this. Can any one help me in writting this trigger. Thanks in advance.

Best Answer chosen by uma52551.3972270309784705E12

All Answers

Hi Uma,
I have penned a blog to help you write your first trigger. Do go through it and see if it helps.

If this answer helps you, do mark this as solved.
This was selected as the best answer