• Kolade Lawal
  • NEWBIE
  • 0 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
When two accounts have been merged, the child Contact record that's reparented isn't getting updated with the new Account because it's not triggered to do so.  Apparently this is one of the operations that doesn't invoke a trigger automatically (https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_triggers_ignoring_operations.htm), so I'm having to write one for this particular scenario.  I'm not very experienced at writing Apex Triggers so can someone please assist me in what that code would be?

Thanks in advance!
When two accounts have been merged, the child Contact record that's reparented isn't getting updated with the new Account because it's not triggered to do so.  Apparently this is one of the operations that doesn't invoke a trigger automatically (https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_triggers_ignoring_operations.htm), so I'm having to write one for this particular scenario.  I'm not very experienced at writing Apex Triggers so can someone please assist me in what that code would be?

Thanks in advance!
When two accounts have been merged, the child Contact record that's reparented isn't getting updated with the new Account because it's not triggered to do so.  Apparently this is one of the operations that doesn't invoke a trigger automatically (https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_triggers_ignoring_operations.htm), so I'm having to write one for this particular scenario.  I'm not very experienced at writing Apex Triggers so can someone please assist me in what that code would be?

Thanks in advance!