API to Purge an person from Oracle HRMS

API to Purge an person from Oracle HRMS

DECLARE
   l_person_org_manager_warning VARCHAR2 (200);
BEGIN
   hr_person_api.delete_person(p_validate => FALSE,
                               p_effective_date => SYSDATE,
                               p_person_id => :person_id,
                               p_perform_predel_validation => FALSE,
                               p_person_org_manager_warning => l_person_org_manager_warning
                              );
   COMMIT;
END;

Before purging the person from Oracle HRMS we need to make sure that the employee and fnd_user link is been deleted and also the person should not have an active payroll.
If the employee has an active payroll then we cannot purge the record. The alternative way is to either end date the employee using the termination screen or you need to change the person from 'Employee' to 'Applicant' and then use the above API again to purge the record.
*/

3 comments:


  1. Many businesses are now exploring innovative printing solutions to enhance their product appeal. One such option is uv dtf printing, which offers high-quality and durable results. This technology allows for vibrant and detailed designs on a variety of surfaces, making it ideal for custom merchandise. As more companies adopt this method, its popularity continues to grow in the market.

    ReplyDelete