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.

Person Security Profile with custom criteria comes with a SQL error

edited Mar 20, 2017 8:40AM in Human Capital Management 2 comments

Summary

SQL for custon criteria works in BI but not for the person security profile

Content

Dear all

 

I have created custom criteria for s person security profile::

&TABLE_ALIAS.person_id IN
(
SELECT asg.person_id
FROM per_all_assignments_m asg
, per_periods_of_service ps
, per_person_types_vl pt
WHERE asg.assignment_type IN ('E','C','N','P')
AND asg.person_type_id = pt.person_type_id
AND pt.active_flag = 'Y'
AND pt.user_person_type <> 'Executive' -- Replace the user person type name as per your requirement
AND asg.effective_latest_change = 'Y'

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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