Query to get Area of Responsibility details

 SELECT

pn.DISPLAY_NAME,

pall.PERSON_NUMBER,

asg.ASSIGNMENT_NUMBER,

aor.*

FROM PER_ASG_RESPONSIBILITIES aor

JOIN PER_PERSON_NAMES_F pn ON aor.PERSON_ID=pn.PERSON_ID

JOIN PER_ALL_PEOPLE_F pall ON aor.PERSON_ID=pall.PERSON_ID

JOIN PER_ALL_ASSIGNMENTS_M asg ON aor.PERSON_ID=asg.PERSON_ID

WHERE TRUNC(sysdate) BETWEEN pn.effective_start_date AND pn.effective_end_date

AND pn.NAME_TYPE='GLOBAL'

AND asg.ASSIGNMENT_TYPE IN ('E','C','N','P')

AND TRUNC(sysdate) BETWEEN asg.effective_start_date AND asg.effective_end_date

Comments

Popular posts from this blog

Query to get Salary Change details in Fusion HCM

Oracle Fusion HCM - Enhancements to Summary of Changes and History Sections in Redwood Workforce Structures Pages

๐Ÿงพ Streamlining Payroll Operations with Oracle Payroll Activity Center