Hi,
Terminate Employment is a step by step assistant in IFS. A lot of things happen when you run this assistant - absence is closed, termination actions generated, a log is created…. and much more.
If you check the API documentation under Terminate Employments and the Patch “Update entity in TerminateEmployments” you can see all the input and get a hint on what’s done.
main/ifsapplications/projection/v1/TerminateEmploymentHandling.svc/$openapi?V3#tag/TerminateEmployments/paths/~1TerminateEmployments(Objkey='{Objkey}')/patch
I guess it would have be run in a several step integration in a way if you want to use the assistant API since there are validations, warnings that needs to be handled and so…
If you run IFS HCM very simple and just want to update with end dates maybe you should just update date and information in for example the below (all depending on what functions you use):
EmplymentperiodsHandling
EmployeeStatusHandling
OrganizationAndPositionAssignmentsHandling
EmployeeSchedulesAndRulesHandling
Regards,
Maria
Hi,
Thanks Maria, I’ll have a look at these APIs!
Best regards,
/Magnus