I am using the "hr_assignment_api.terminate_apl_asg" API to terminate applications, with out terminating the applicant.
When I run it, it does nothing, and gives no error.
I run it against data with two applications (different vacancies) for the same person. The Api seems to look for the primary application (wich can not be deleted with this API) by checking wether the 'effective_end_date' is less than 'end-of-time', but both applications have the effective_end_date = end_of_time, because neither of them is end-dated.
Is the API flawed?