AX- create Forms using classes

Design AX Forms: 1. Using AOT. (right click AOT>Forms nodes and add a new form. You add controls under ‘Design’ sub node and tables under ‘Data Source’ subnode) OR 2. Using X++ code to dynamically create and display a form.   X++ Dynamic Forms:  1. FORM and FORMRUN classes can be used to create forms…


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…

1

Ax – Create Static Query – using AOT Morphx

 Queries – a (one) way of retreiving data from the data base. How to get data in AX: 1. Views, 2.Queries  3.Select statement. Why Queries?   helps when ranges or values are not known until run time. Where used?   in forms + reports + places where data is retreived from multiple data sources. How to create?         …