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
Apurva Dutta 8Apurva Dutta 8 

Trigger for Opportunity Team Member

Hi,

I have a requirement. I have a lookup field(user) on opportunity which when filled and opportunity is saved, the user should be automatically inserted into opportunity team members with edit access. Could anyone please help me in achaiving this. I know we have to write an apex trigger so any help would be really appriciated.

Thanks.
MagulanDuraipandianMagulanDuraipandian
http://www.infallibletechie.com/2014/05/trigger-to-add-opportunity-owner-in.html

If this solves your problem, kindly mark it as the best answer.
Hit Like, if it saved your work :-)

Regards,
Magulan
http://www.infallibletechie.com