He Community,
Can anyone suggest on this.
We have late_entry field in Attendance Doctype. I have a condition that I want to create one salary component that calculates as
For every 3 consecutive late_entry there would be deduction of half of basic salary.
Note:- late_entry is checked auto if someone comes late as biometric is integrated. My concern is How could this field be fetched in salary component as it’s out of employee, salary slip, salary assignment doctype.
Looking forward a healthy discussion on it. Plz drop ur Idea/Solution for it.
Thank You
I suggest creating a cron job that runs shortly before your payroll date. This job will check all employee attendance records, and if it detects three consecutive late entries, it will automatically create an ‘Additional Salary’ entry as a deduction, dated for the payroll period.
When you run your payroll, this deduction will be automatically included as a deduction component.
HYY @Maheshwari_Bhavesh.
Have you tried before or have reference. If so help me with the code or actual procedure. Thank You
I didn’t, but I just thought of it based on your details but if you will need paid development then do contact me at bhavesh@nesscale.com
Hey Community plz drop if anyone has solution for it. Or how can I use Attendance doctype field called late_entry checkbox in condition while making salary component.