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.

DFF - Unable to default value the DFF based on SQL Query from the seeded field

We have created a DFF based on Grade.

The requirement is to populate the numeric digit of the Grade in the DFF Grade field.

For example:

When the Grade is updated to 7A, the DFF Grade should be updated to “7”. (Only the number should be visible)

We have tried the below two queries, but none of them worked:

(1)

SELECT SUBSTR(name,1,1)  FROM per_grades_f_vl pgfv  WHERE pgfv.grade_id = :{PARAMETER.GRADE_ID}    AND TRUNC(SYSDATE) BETWEEN pgfv.effective_start_date AND pgfv.effective_end_date

(2)

SELECT DISTINCT SUBSTR(pgfv.name,1,1) from per_all_people_f papf,per_all_assignments_f paam,PER_JOBS_F pjf,PER_JOB_FAMILY_F_TL pjfft,per_grades_f_vl pgfvWhere paam.grade_id = pgfv.grade_idAND papf.person_id = paam.person_id --Assignment dataand paam.primary_flag = 'Y'AND TRUNC(sysdate) BETWEEN papf.effective_start_date ANDpapf.effective_end_dateAND TRUNC(sysdate) BETWEEN paam.effective_start_date ANDpaam.effective_end_dateAND TRUNC(sysdate) BETWEEN pgfv.effective_start_date ANDpgfv.effective_end_dateAND paam.assignment_status_type = 'ACTIVE'and paam.person_id = nvl(to_number(:{PARAMETER.PERSON_ID}), paam.person_id)

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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