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
SFDC12SFDC12 

help on ownership change

Hi everyone,whenever account owner is changed related opportunity owner should not change please help me out


Thanks in Advance
AnkaiahAnkaiah (Salesforce Developers) 
Hi,

Can you check is there any apex trigger updating the opportunity owner or not.

Usually it wont change opp owner when you change the account owner.

If this helps, Please mark it as best answer.


THanks!!
SFDC12SFDC12
Hi,Ankaiah
Its changing when account owner changes related opportunity owner,i need to stop the chnaging owner .

Thanks
AnkaiahAnkaiah (Salesforce Developers) 
Hi Anusha,

Can you check the triggers on account object which is updating the related opportunities with owner or not.

Thanks!!

 
SFDC12SFDC12
Hi anakaih there are no triggers Thanks
AnkaiahAnkaiah (Salesforce Developers) 
Hi Anusha,

As per the below article, its working as design.
  • Contacts related to the account are transferred to the new owner automatically.
  • The account owner’s open opportunities are transferred automatically.

https://help.salesforce.com/s/articleView?id=sf.account_owner_transfer.htm&type=5

https://salesforce.stackexchange.com/questions/83754/account-owner-changes-opportunity-owner

If this helps, Please mark it as best answer.

Thanks!!