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
uma52551.3972270309784705E12uma52551.3972270309784705E12 

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.

Regards,
Best Answer chosen by uma52551.3972270309784705E12
uma52551.3972270309784705E12uma52551.3972270309784705E12
Solved...

All Answers

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

http://www.sforce.ninja/2012/01/basic-of-writing-apex-trigger.html

If this answer helps you, do mark this as solved.
uma52551.3972270309784705E12uma52551.3972270309784705E12
Solved...
This was selected as the best answer