Announcements for Payroll and OTL can now be found in the Announcements - Payroll and OTL - EBS (MOSC) subcategory. Follow to be sure you don't miss a thing!
hr_person_absence_api.create_person_absence getting no data found issue
Below is the code,when am calling this API to create absence with this API system is giving no data found error.
hr_person_absence_api.create_person_absence
(
-- p_validate => FALSE,
-- p_date_notification => l_start_date,
p_effective_date => trunc(sysdate),
p_person_id => 17077,
p_business_group_id => 0,
p_absence_attendance_type_id => 62,
p_date_start => trunc(sysdate),
p_date_end => trunc(sysdate+5),
p_absence_days => l_days,
p_absence_hours => l_hours,
p_absence_attendance_id => p_absence_attendance_id,
p_object_version_number => p_object_version_number,
p_occurrence => p_occurrence,
p_dur_dys_less_warning => p_dur_dys_less_warning,