Hi all,
I need to get all Opportunities that are linked to accounts that match my criteria for accounts (for simplicity sake, lets say I want all active accounts) AND all opportunities that are also linked to all of the accounts that have hierarchical relationship to the account the opportunity is directly linked to.
For example, if I have an Account A and it's a parent to 3 other accounts (B,C,D), I want to fetch all Opportunities where Account A is the Client and all of the opportunities where Accounts B,C,D are also Clients.
Anyone knows how to achieve this?
TIA,
-TS.
*This post is locked for comments