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.

First "Approved" Position Record

edited Feb 1, 2021 12:21PM in Reporting and Analytics for HCM 1 comment

Summary

SQL

Content

Hey guys.

I'm trying to extract the first approved record's effective start date of all my active positions.
I tried to use this in order to extract the first effective date but it didn't result the wanted outcome.

Can you pls let me know what i am doing wrong?

Thanks in advance for all the kind helpers.
Ben.

Code Snippet

select 
pos.position_id,
min(pos.effective_start_date) 

from HR_ALL_POSITIONS_F pos

where 
pos_app.position_code in ('NOV_BEN_TEST2','NOV_MMD_MMD_ALGOSPE1')
pos_app.hiring_status in ('APPROVED') 

group by pos_app.position_id

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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