Changing the Person Type when Terminating Emp [message #428951] |
Sat, 31 October 2009 01:58 |
Mauragon
Messages: 20 Registered: February 2007 Location: Philippines
|
Junior Member |
|
|
Pardon me if this seems to be a noob question.
I want to terminate an employee using an API so I used hr_ex_employee_internal.terminate_employee API. However,it seemed that the person type of the employee didn't change to 'Ex-employee' aside from the error 'PER_289603_CWK_INV_PERSON_TYPE'
I passed the correct person_type_id for 'Ex-employee' to the API but it seems the person type is not changed.
Does this API should automatically change the person type to 'Ex-employee' or I have to use hr_person_api.update_person API to update the person type?
Thanks for any knowledge you may impart.
|
|
|
|
|