Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
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.

HCM Extract | Aggregate Function in value set

edited Feb 17, 2022 6:56AM in HCM Extract 1 comment

Hi ,

Requirement ->This value set returns minimum assignment effective start date for the given person and date range coming from fast formula( Extract rule type).

I used this logic, which looks good to me , inner query is returning the data but outside not returning the data . Could you please let me know where am I doing wrong?


select n.n

from (select level n from dual connect by level <= 1000000)n

where n.n = (select a.val from    

       (SELECT 

 to_number(to_char(MIN(EFFECTIVE_START_DATE), 'yyyymmdd')) val

       FROM

       PER_ALL_ASSIGNMENTS_M  

       WHERE 

       assignment_type='E' 

       and system_person_type='EMP'

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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