Quantcast
Channel: Martin Dráb's Activities
Viewing all articles
Browse latest Browse all 17532

Can we alter/add range of query and and save to AOT in D365FO through X++?

$
0
0

Hello All,

Can we alter/add range of query and and save to AOT in D365FO through X++?  In Ax 2012 I've achieved the same.

but the same code not working in D365FO. 

queryObj.AOTcompile(1);
queryObj.AOTsave();

Above methods are throwing run-time error "Method '%1' is not supported for treenode (%2)." when I execute the code.

My requirement is Adding a query range value dynamically to to an AOT query and save it while particular field is modified.


Viewing all articles
Browse latest Browse all 17532

Trending Articles



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