O'Reilly logo

Learning MS Dynamics AX 2012 Programming by Erlend Dalen, Mohammed Rasheed

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Views

In AX, views are objects that are used to retrieve data from the database and stored in the memory on the layer in which the view is instantiated. The views are actually stored as database views on the SQL server. This means that there are potentially great performance benefits of using views compared to using an equivalent query. This depends on the complexity of the query but, in general, the performance benefits of using a view compared to a query will increase and the complexity of the query will increase.

Views can be used throughout AX in all places where tables can be used; this includes forms, queries, and reports in the X++ code.

Note

Views in AX can never be used to write data; they are used only to read data from the database. This ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required