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.

SQL statement of Value set

edited Nov 10, 2020 2:17PM in Human Capital Management 3 comments

Summary

Help on build the SQL statement

Content

Hi all, 

 

I need help on build the SQL of Value set  to get Action Type (preferred) or Action Type ID. It should do something like that:

SELECT pav.ACTION_TYPE_ID FROM per_actions_vl pav,
      per_all_assignments_m paam
   WHERE pav.action_code = paam.action_code
   AND to_date(:{PARAMETER.L_EFF_DATE},'YYYY/MM/DD')  BETWEEN paam.effective_start_date AND paam.effective_end_date
      AND to_date(:{PARAMETER.L_EFF_DATE},'YYYY/MM/DD') BETWEEN pav.start_date AND pav.end_date
      AND paam.assignment_id = :{PARAMETER.P_ASSIGNMENT_ID}

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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