Scenario : I have 10 Contact records related to one Account. If I change the Account Owner of one of the Contacts (Move one Contact record from One Account to another Account) then all the related remaining Contacts with same Account Id should be moved to the another Account.
How to achieve this by using Apex Trigger.
3 risposte
Thanks @Jonathan Fox .But this question I got asked in the Interview, to write down the trigger: whenever Contact record moved from One Account to another Account ,all related contacts with same AccountId should be moved to that another Account.