How to modify the transaction query for custagingreport

custVendBalanceList.calculateDetailsForMultiple(
qr, CustVendAgingQueryConverter::convertCustomers(qr.query()), contract.parmIncludeAmountCur());

i have tried modifying the query that the “convertCustomres” method returns in the custagingreportDP, but that didnt work
any ideas? i really could use some help, tysm.

Well, you didn’t tell us how you tried to modify it and what didn’t work, so there isn’t anything we can comment on. Please give us more information.

tysm for the reply, what im trying to find is a transaction query i can modify in the custagingDP and i still cant find one, do you have an idea on where it is?

If I understand the code correctly, the query comes from the report parameters and it’s later modified and used in CustBalanceList class.

It’s not clear when you want to modify it, but if you want to understand the code, begin in CustAgingReportDP.processReport(). Notice how a query is obtained from this.parmQuery() and passed to calculateDetailsForMultiple(). If you want to modify the query before passing to calculateDetailsForMultiple(), you don’t need to know what happens inside; if you want to modify CustBalanceList, a good idea may be walking through the code in debugger to see what happens there.

The key question is when you want to change the query. You may do it already when users selects the records, just before running processReport() or somewhere inside CustBalanceList.