Reset Leave Entitlement
Posted: Wed Sep 02, 2020 4:53 pm
Hi,
I was asked to create a job that will update the leave entitlement values when the leave period expires. For example I have set a leave period From June 1, 2020 To May 31, 2021. And added leave entitlements to a list of employees.
Come June 1, 2021 is it ok to update only the From and To of the existing records on the table? Or should I create another list of leave entitlements on the same employees, and just set the deleted column of the existing records to 1?
I was asked to create a job that will update the leave entitlement values when the leave period expires. For example I have set a leave period From June 1, 2020 To May 31, 2021. And added leave entitlements to a list of employees.
Come June 1, 2021 is it ok to update only the From and To of the existing records on the table? Or should I create another list of leave entitlements on the same employees, and just set the deleted column of the existing records to 1?