O'Reilly logo

Microsoft Dynamics NAV by Mark Brummel, Christopher Studebaker, David Studebaker, David Roys, Vjekoslav Babić, Cristina Nicolàs Lorente, Laura Nicolàs Lorente, Alex Chow

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

Model-View ViewModel Pattern

As explained in Chapter 1, Introduction to Patterns and Software Architecture, the Page objects are bound to the Table objects. The way the data is displayed to the user is the way we store it in the SQL Server database.

This is not always what we want. In some cases, we want to display the information in a different, way than how we store it in the database.

For this reason, each Page has the property SourceTableTemporary, and Reports have the Temporary property since Microsoft Dynamics NAV version 2015.

Technical description

The basics for this Pattern is the Temporary Dataset, which is a table that contains the field layout that we want to display to the user. This needs to have a matching Primary key, which is often ...

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