Reset Leave Entitlement

Discuss Technical Queries about OrangeHRM
Post Reply
orangehrm_1990
Posts: 1
Joined: Wed Sep 02, 2020 4:45 pm

Reset Leave Entitlement

Post by orangehrm_1990 » 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?

rajitha
Posts: 28
Joined: Tue Feb 11, 2020 9:54 am

Re: Reset Leave Entitlement

Post by rajitha » Mon Sep 07, 2020 2:16 am

Hi
We recommend not to edit database tables since it may lead to internal errors. It's better to add entitlements through OrangeHRM web interface.

Thanks

Post Reply