HCM Group using Value Set in Oracle Fusion HCM
In Oracle Fusion HCM, you can use value sets to dynamically define membership criteria for HCM Groups. This is especially useful when you want to include or exclude individuals based on specific assignment or payroll attributes.
What Is a Value Set in HCM Groups?
A value set is a SQL-based query that returns a list of person IDs based on defined criteria. These can be used to include or exclude individuals from an HCM Group.
Example Use Case
You want to create a group of part-time employees with an annual salary basis. You can define a value set with a query like:
--------------------------------------------------------------------------------------------------------------------------------
SELECT ASG.PERSON_ID
FROM PER_ALL_ASSIGNMENTS_M ASG,
CMP_SALARY SAL,
CMP_SALARY_BASES SB,
HR_LOOKUPS EMP_CAT
WHERE ASG.ASSIGNMENT_ID = SAL.ASSIGNMENT_ID
AND SAL.SALARY_BASIS_ID = SB.SALARY_BASIS_ID
AND SYSDATE BETWEEN ASG.EFFECTIVE_START_DATE AND ASG.EFFECTIVE_END_DATE
AND SYSDATE BETWEEN SAL.DATE_FROM AND SAL.DATE_TO
AND ASG.PRIMARY_FLAG = 'Y'
AND ASG.EMPLOYMENT_CATEGORY = EMP_CAT.LOOKUP_CODE
AND EMP_CAT.LOOKUP_TYPE = 'EMP_CAT'
AND EMP_CAT.LOOKUP_CODE = 'PR'
AND SB.NAME = 'Annual Basis'
--------------------------------------------------------------------------------------------------------------------------------
This query filters employees who are:
· Part-time regular (EMP_CAT.LOOKUP_CODE = 'PR')
· On an annual salary basis
You can then add this value set to an HCM Group with either an Include or Exclude status
Steps to Use a Value Set in an HCM Group
1. Create the Value Set:
o Navigate to Setup and Maintenance > Manage Value Sets
o Define a SQL-based value set that returns PERSON_IDs
2. Create or Edit an HCM Group:
o Go to My Client Groups > HCM Groups
o Add the value set under Group Members with Include or Exclude
3. Evaluate the Group:
o Use the Evaluate Group Membership process to verify results
Comments
Post a Comment