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
sujin h ssujin h s 

Account owner updating gone wrong

We got the request to update the account owner of 92 records.
So we extracted the new owner's ID and using Data import wizard we updated the account owners.
According to the article on updating the account owner the related records like opportunities & contacts owner has to be updated & it got updated.
But the problem is along with that Parent account (Field) & Contact roles (Related list) are also got updated with some inappropriate values.

Can anyone explain why this happen as we didn't expected & how roll back this changes?

Thanks in advance!!

VinayVinay (Salesforce Developers) 
Hi Sujin,

Check if you have any other component which is updated other fields along with related list.  If you have field history enable you can check previous values and roll back manually.

Field History Tracking
https://help.salesforce.com/articleView?id=tracking_field_history.htm&type=5

Check below references to mass update Account ownership.
https://help.salesforce.com/articleView?id=000319391&type=1&mode=1
https://help.salesforce.com/articleView?id=000336419&type=1&mode=1

Thanks,