Find your content:

Search form

You are here

Opportunity Owner change via Account Owner change nets odd result

 
Share

When I update an account owner, it updates any open opportunities if the original owner is identical to the original account owner.

Weird behavior: Opportunity.AfterUpdate trigger does not correctly identify the oldList.OwnerId as the original owner. Both oldList and newList have the same owner (the new one). Therefore, all my afterUpdate triggers that look for ownership changes are not working...

Anyone experience this? Do I need to create my own Account.AfterUpdate trigger that updates all open opportunity owners to get around this??


Attribution to: Nathan Williams
This content is remixed from stackoverflow or stackexchange. Please visit https://salesforce.stackexchange.com/questions/34930

My Block Status

My Block Content