Apex Trigger Practice (4) – Trigger to create Sales Team
Components Involved Account is parent Object of Opportunity Account has Owner field as User Account has related list called “Account Team” Likewise, Opportunity has related list called “Opportunity Team” Requirement When opportunity is created then automatically add Account Team member along with Opportunity Owner as part of the Sales Team (Opportunity Team).