Adding Payroll Relationship Group parameter for custom payroll reports
We have a requirement to add the parameter 'Payroll Relationship Group' to a custom payroll extract. So based on the Payroll relationship group selected, only the employees from that object group should be fetched.
But when the Payroll Relationship Group is dynamic, i.e, when the employee list is fetched using a fast formula type of 'Payroll Relationship Group' we are not able to filter the employees properly. The below filter criteria used currently in the extract only works when the Payroll Relationship Group is static,
"AND ( pay_report_utils.get_parameter_value('PAYROLL_RELATIONSHIP_GROUP') IS NULL
OR (EXISTS (