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.
For more information, please refer to this announcement explaining best practices for getting answers to questions.

UDT under Person security profile custom criteria

edited May 30, 2023 8:24AM in Human Capital Management 3 comments

Hi Team,

Our previous version custom criteria used hard coded value for 'ATTRIBUTE20'. But, we need to have the dynamic values. So, I am trying to use UDT contains person id and value of ATTRIBUTE20. I am not getting any syntax error but not giving correct values. Any idea? Below is the query.

EXISTS (SELECT 1

FROM PER_ALL_ASSIGNMENTS_M ASG

WHERE ASG.ASSIGNMENT_TYPE IN('E')

AND ASG.EFFECTIVE_LATEST_CHANGE='Y'

AND TRUNC(SYSDATE) BETWEEN ASG.EFFECTIVE_START_DATE AND ASG.EFFECTIVE_END_DATE

AND ASG.ASSIGNMENT_ID= &TABLE_ALIAS.ASSIGNMENT_ID

AND TRANSLATE(ATTRIBUTE20, ':',' ') IN (SELECT VAL.USER_COLUMN_NAME

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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