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
Shreya ShirodkarShreya Shirodkar 

Opportunity created by 1 user not seen by other users/Roles

Opportunity 1 was created by User 1 whose Role is 'Account Manager' and whose profile is 'Standard User'

When I do an API call using User 2 credentials, to get all the opportunities, Opportunity 1 is not returned in the list.
User 2 Role is 'Developer' and the Profile is 'System Administrator.

Per your documentation, I have changed the Sharing setting of OPPORTUNITY to allow Developers to see all the opportunities created by an Account Manager.
But I still cannot see it.
AnkaiahAnkaiah (Salesforce Developers) 
Hi Shreya,

Can share the sharing rule?

Thanks!!
mukesh guptamukesh gupta
HI Shreya,

What is OWD of Opportunity Object
What is Role Hirerachy between Account Manager and Developers

 
Shreya ShirodkarShreya Shirodkar

@Ankaiah

Thank you for replying.

I have created a shared rule to share all the Opportunities created by an Account Manager with the Developer. The rule has Read Write access.

User-added image

Shreya ShirodkarShreya Shirodkar

@Mukesh,

Thank you for replying.

Sorry, I am new to Salesforce. Could you tell me where can I find the required info?