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
OnDem DevOnDem Dev 

Query to find all Managers in a Forecast Hierarchy for a User?

Hi,

 

I am using Forecast Hierachy in my org.

When a Users Forecast is viewed, it shows up all the Managers in that Users hierarchy in a section in the top.

 

I want to find all those Managers in the hierarchy for a particular User using SOQL query.

It can be done recursively, but may hit governor limits at some stage.

 

Is there any solution for this?

 

Regards,

Message Edited by OnDem Dev on 10-06-2009 06:17 PM
Message Edited by OnDem Dev on 10-06-2009 06:39 PM