You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Get Started with Redwood for Oracle Cloud HCM   Begin Now
To ensure that questions get required attention from community members and are NOT left unanswered, it’s important for the author to indicate (by selecting “Yes” or “No” when prompted) whether the question was answered. (newly added) Please note that it is also important to respond to EACH comment your question receives. Your Yes or No response ensures an accurate status for your question.

For more information, please refer to this announcement explaining best practices for getting answers to questions.

Query to fetch manager hierarchy based on Functional Reports-to

Summary:

Need help in fetching manager hierarchy based on most recently assigned Functional Reports-to manager.

Content (please ensure you mask any confidential information):

Hi,

I am trying to create a BIP report to fetch manager hierarchy based on Functional Reports-to manager in HCM. I noticed that an employee can be assigned multiple Functional Reports-to managers in the system. I need to fetch the manager hierarchy based on the most recently most recently assigned Functional Reports-to manager. I used the attached query to do so but this doesn't work in the below scenario -

Suppose an employee has 2 Functional Reports-to managers, A and B. Manager B is assigned after manager A, so B is the most recently assigned manager, now B also has 2 Functional Reports-to managers, C and D, out of which D is most recently assigned. In this case, the query fetches only the hierarchy of most recently assigned manager to B i.e., D and then his following hierarchy because of the max(Effective_Start_Date) logic I have used in the query.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!