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

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!