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
SalesforceDevelpmentSalesforceDevelpment 

When ever Add/Remove User to/from AccountTeam then Populate the User Field value on Account Field

Hi,

I have a Requirement. That is when ever Add User to AccountTeam(AccountTeamMember Object) we will retrieve Territory# from User and Compare To Account Field Territory# if it is not their we will populate. AND when ever delete User from AccountTeam The Territory# should be remove. we are look for another user with Same Role and populate that user Territory# on Account Field Territory#. But My Understandig is We Cannot write Triggers,Workflows and We cannot create Custom Button On accountTeam Section and we cannot Override Add Button. Could you Please give me the Suggestion how do build this Requirement.

Regards,
Santosh 
MagulanDuraipandianMagulanDuraipandian
Create a trigger on AccountTeamMember object.

If this solves your problem, kindly mark it as the best answer.

Regards,
Magulan
http://www.infallibletechie.com
davidesidavidesi
SObject type does not allow triggers: AccountTeamMember