You have to first assign a salary structure for a period (usually a month). Based on the attendance and leave without pay, the salary gets calculated. For example, if the monthly salary of an employee is 30,000 then salary per day is 30000/30 = 1000. If the employee has worked only for 27 days (based on his attendance), then the salary for that month will 27,000 (if the leaves taken were of type “Leave without pay”).
Also, why would you want to calculate attendance from salary? Because, usually, it is the other way round.
@wale, you will have to create Leave Application having Leave Type = LWP, and then run the payroll. All the components that are based on the payment days will calculate the salary based on the number of working days only.
@michelle This is the point of his complaints. Of what use is attendance if the absent days are not automatically marked as LWP? when you deal with hundreds of workers, some of who miss work now and then it is cumbersome to have to manually generate LWP for every time they miss work without genuine reason, especially if this occurs at different times within the month.
It would be easier to automatically deduct absent days from payment days unless a leave is triggered.
Thanks for your suggestion @michelle but I think @flexy2ky has properly explained the issue. It makes no sense to have to manually create LWPs for staff when you’ve got an attendance register! Even if you wanted to do it, it’s not feasible when you have a large number of employees
Hi, yes your are correct, there is no point in manually marking of leaves as LWP when you have hundreds of employees. But the system doesn’t take attendance, it takes only the leaves into consideration.
@Reema_Mehta This is awesome news!!! @winter_wolf Thanks for your effort. It is much appreciated and this will be an awesome addition to the HR Module.
@winter_wolf This is awesome!!! i have a test production setup. How do i pull this into the test instance and do live trials before i can give comments?
Hi Reema Good Day is this function working on v12 it seems im having issue about this did i miss something here i already checked the attendance tool and its already been marked kindly check the screenshot for your reference. Thans in advance
@yhenn
The reason for this error message is bcoz you have not marked attendance for your employee John Marquez. Check your attendance logs. You must have missed one of the days. Also, screenshot attached say start date 3.1.2020, try marking the attendance for 1st and 2nd Jan.
Thank you @Reema_Mehta for giving me a hint i adjust the dates under my payroll entry then selected payroll period dates and it must be accurate base on shift type. Thanks for the big help everyone. It works now