I'm working on the Productions report (Production Control -> Reports -> Transactions) which utilizes the ProdReport AOT query.
When a user runs this report and enters a range in the dynamic parameter screen, when they click "OK" to run the report I need to intercept this value and modify this range.
I'm able to find this range and modify it to my liking, but I am having trouble finding the exact method to overwrite so that it executes during runtime. Specifically, after the user clicks "OK".
I have attempted to override the init method under my AOT query. However, this executes as soon as the parameter screen is opened, where I need it to execute after the user clicks "OK".
I have also attempted to override the run method under my AOT query. However for some reason that run method does not appear to be executing. I have put breakpoints there in an attempt to debug, as well as write an info("test"); statement and it does not appear to execute.
Can someone offer some insight or point me in the right direction about which method I need to override to achieve this? Is there a reason why the run method won't execute? Any help would be greatly appreciated. I would be happy to provide more detail on the situation if need be.