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.
For more information, please refer to this announcement explaining best practices for getting answers to questions.
SQL statement of Value set
Summary
Help on build the SQL statementContent
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:
0