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
Mr.Mittal_2617Mr.Mittal_2617 

Create APEX TRIGGER

When Account team member(contact) is deleted, the same date will be captured as End date in new custom object in End date field. While adding the team member default End date can be set and this end date will be updated when Account team member(contact) will be deleted(Business to suggest the default end date)

 
SwethaSwetha (Salesforce Developers) 
HI Mittal,

Please edit your question to include the trigger that you've tried to write so far. If you're getting any error messages, you should include the full text of those error messages too.

See https://help.salesforce.com/apex/HTViewHelpDoc?id=sf.bi_edd_wb_trigger_native.htm&language=en_US to get started.

Thanks