In salary structure, we have two tables, salary earning & salary deductions. Each has a checkbox ‘reduce Deduction for leave without pay’ . How can i write a script such that the checkbox is selected always by default ? and where should this be written. I tried giving ‘1’ as default value. But it didnt work. Any other way ?
Default “1” should work. Where did you set it?
I set it in the salary earnings and salary deductions doc type which has
I checked and it works for me. Are you doing it in Salary Structure Deduction?
yes, Salary Structure Deductions as well as Salary Structure Earning
Worked for me, you may have customization that may be broken
right brother the cash was the problem
if it opend in private session it works well