O'Reilly logo

Microsoft Dynamics AX 2009 Programming: Getting Started by Erlend Dalen

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

Parameter table

Most modules need a parameter-table that can only consist of one record. The values in the table specify general options for the module. They typically consist of the number sequences needed for the module and default values that are used throughout the module.

In the next example we create a parameter table for the Car Rental module.

First off, we will create a table in the same way that we did in Chapter 3, Storing Data, and name the table CarRentalParameters and set the label of the table to be Car rental parameters.

We then add a field to the parameter table that will work as the key for the parameter table, ensuring that a maximum of one record can exist in the table. In order to do this we open an additional AOT window and ...

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