Ax – Create Dynamic Query – using X++


 X++ Dynamic Queries: use Query classes to create dynamic queries.

How? you need the following classes Query; QueryRun; QueryBuildDataSource; QueryBuildRange; QueryBuildLink

CodeSample1: x++ code to dynamically create a query. verify the results in the Infolog.

 

 

CodeSample2: will show how to create a node on AOT. In the query example I am showing how to generate dynamic query object and use it to construct a node on  AOT\Query node.

(also showing how to use macros like #AOT, #QueriesPath)

 

 

 

Comments (1)

  1. Pablo Silva says:

    Muy buen foro me ayudo mucho