For more information, please refer to this announcement explaining best practices for getting answers to questions.
Purge Person - Not working after Rel13 Upgrade
Content
Hi
I am trying to Purge Person for the data loaded through HDL. I have done it multiple times. But after R13 upgrade, it is skipping records and Purge not happening. There is no error message.
In Diagnostic report, the person are skipped with this message : PERSONS SKIPPED DUE TO PAYROLL RUNS
The query used to get Person ID is using Payroll relationship action table. We do not use Payroll but there are data in this table. Because of this, all employees are skipped. Anyone come across this ?
select distinct(person.person_id),person.person_number from per_all_people_f person WHERE person.person_id in (select distinct(person_id) from per_all_people_f where person_number like 'PER%') AND person.created_by not in ('SEED_DATA_FROM_APPLICATION') AND NOT EXISTS (select 1 from hrc_loader_batch_key_map where object_name = 'PERSON_VO' and target_id = person.person_id and (OWNER='EHR2HR' or OWNER='HRC_SQLLOADER')) AND NOT EXISTS (SELECT 1 FROM pay_payroll_rel_actions pra WHERE pra.payroll_relationship_id IN (SELECT DISTINCT payroll_relationship_id FROM PAY_PAY_RELATIONSHIPS_DN WHERE person_id = person.person_id))