Hi everyone,
I came across requirement where I customized cash advance form in order to create cash advances for other workers as well despite of the fact which user is currently logged in just like Travel requisition "open other user's expenses" functionality.
Everything is working fine in this customization including creation , approval, pay and transfer of cash advances. Cash advance of other users can also be created while logging from another user.
But the problem is when ever I create expense report of cash advances it consider all amounts for current user who is logged in even if that cash advance belong to another worker.
So anyone can tell on what basis/parameters expense report is generated? and what could be the solution to generate expense report of different user's cash advances separately even if the "Requesting worker" remains same.