I want to add accural qty month vise per employee . Suppose i have accural qty for emp 1 is 5 and emp 2 is -7 and -15 so accural will be calculate based on employee.
For 1 employee accural will be 5 and for 2 employee acurral will be -22 .
var accural = 0;
accural = accural+am_accural;
First i fetch employee master table -- all employee fetch
Second fetch employee accural table -- filter - emp and period from and period to
but it calculate all accural qty employee filter is not working