In the case of temporary foreign employees, a Work Permit is assigned to them with an expiry date. In relevance to the employer, this will span from the start of employment up until the document's end date, which is determined by the document expiry date.
This will not affect the termination date of the employee in any way, therefore a termination date must be set accordingly.
Setting up Work Permit expiry dates
The work permit expiry date is set up from Hr > Main > Employees.
Double-click (or select the employee and click Edit) on the employee that you wish to set the work permit expiry date for.
Enter the end date in the Work Permit End Date field, under the Employment Details section.
Save your changes by hitting Enter, or clicking on Save.