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
Seth StollSeth Stoll 

Need a SOQL query to see all Opportunities owned by Person A that have Files owned by Person B

Hello,

I uploaded hundreds of files to individual opportunities for a salesman.  I need to change ownership to him so he can delete / upload new versions of these files.  So to do that, I am trying to start by getting a list of all his opportunities with Content Documents owned by me.  Any Ideas?

Thank you!
Seth