Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

Modify AOT Query Report range during runtime.

$
0
0

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.

 


Viewing all articles
Browse latest Browse all 72043

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>