Top Task is not valid parameter for the Revenue and Invoice Function.
We are trying to build auto accounting rules using the SQL statement, we have requirement to look for the task level project/task owning organization while getting the segment1.
For this we are trying to build sql statments, but surprise to see that the task id or task owning organization is not a valid parameter for the revenue and invoice auto accounting funtion.
And also observed that the custom sqls are being called only one time during its run for draft revenue and invoices generation programs.
Need to know how can we make the sql statment to take the task id as a parameter during its draft revenue and invoice generation for revenue and invoince auto accouting function.