<div dir="ltr">With discussion of development moving towards V6, it would be a good time to discuss refactoring trep-engine.scm. As it stands, the Transaction Report engine is a massive, highly complex monolith that is very difficult to maintain, debug, or extend.<br><br>I'd like to see it reworked with more helper modules.<br><br>Perhaps:<br>* Query & Filtering<br>* Grid Matrix Processing<br>* Subtotaling & Calculations<br><br>Others are far more familiar with this report than me, but I think breaking the report into simpler modules would make it more workable.<br><br>Regards</div>