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
Smike25Smike25 

Trigger/Class to change opportunity owner

We are trying to create a trigger that will automatically change the owner of an opportunity based on a change from a set account name to a new one.

For instance, lets say we have an account named "John's Apples" that we house numerous opportunities under.  When someone opens and opportunity under it and changes the Account name from "John's Apples" to "Suzie's Oranges" we want the opportunity owner to change to whoever the owner is of "Suzie's Oranges".  Anyone think they'd be able to assist with that?
James LoghryJames Loghry
Hi Kevin,

It sounds like you're looking for someone to write the code for this project. These forums are not meant for that; you'll want to post over on the AppExchange site where you can match up with a developer looking to work on your project. 

https://appexchange.salesforce.com/developers