I want to populate AccountTeamMember names related to particular account on account object field. As Trigger is not allowed on AccountTeam or AccountTeamMember i think of writing a batch class to update the account field but problem is:
1) Suppose a accountteammember is added and during batch class run its name gets updated on account object field, now after some time it gets deleted. now on deletion i want to remove accountteammember name from account object field in which earlier i captured the value but in soql query id didnt get the deleted accountteammember inspite of using ALL ROWS keyword.
What is the best method to handle situation like i can have the names of all accountteammemebers on account level which are associated to that account.