Error when creating an Absence for an employee when using API
We have a custom package that consolidates retro changes made on an employees element entries. In this package, we are planning to add hr_person_absence_api.create_person_absence to create absences for an employee and place it on the retro week. I ran the package and the absences were not created. Also, error message "ORA-20001: HR_289300_ABS_DYS_DISALLOWED:" is encountered. Can someone tell me what the error means and why it is encountered? below is how we used the API:
hr_person_absence_api.create_person_absence
(p_validate => FALSE
,p_effective_date => r_batches.effective_date