Ax - Create Dynamic Query - using X++

Ax - Create Dynamic Query - using X++

  • Comments 1

 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)

 

 

 

Leave a Comment
  • Please add 8 and 5 and type the answer here:
  • Post
  • Muy buen foro me ayudo mucho

Page 1 of 1 (1 items)