API hr_entry_api.get_link when using from standard package hr_person_absence_api giving null element
Getting error for employee while creating absence from SSHR that This person is not eligible for the element associated with this absence type. When we check the package hr_person_absence_api in which element link id is coming hr_entry_api.get_link we found that it is returning null. But when we run package from dual it is giving element link id value.
Can some one please help me on this. This error is coming even if the employee has valid element link for element attached to him