Microsoft Dynamics AX 2012 R3 Development-3 Locus IT Services

Microsoft Dynamics AX 2012 R3 Development-3

Locus IT ServicesMicrosoft Dynamics AX 2012 R3 Development-3

Lesson 2 : Application Object Classes

Application Object Classes

In classes hold functions that are activated whenever you use the AOT to create your application. For example, the system uses the FormDesign class when you define the layout of your form in the Designs node in the AOT. When you click New CheckBox in the AOT, the system activates the controlName method with a CheckBox type control as parameter.

These system classes hold functions that are activated whenever you use the AOT to create your application. For example, the system uses the FormDesign class when you define the layout of your form in the Designs node in the Application Object Tree. When you click New CheckBox in the AOT, the system activates the controlName method with a CheckBox type control as parameter.

These classes also enable you to create and modify application objects. For example, if you want to change a property on a form string field, see Forms System classes and Query System Classes.

Form Classes

You use Form classes to create, modify, or run forms by using X++ code. You often use classes to modify forms during run time. For example, you want to hide one or more controls on a form when you click a specified type of record in the form.

The form classes are all system classes and are prefixed with Form. Examples of form classes include FormRun, FormStringControl, FormBuildDesign.

The form classes are in the following class type categories:

Class type Description
Form build Used when you design the form.
Form run Used when the form is executed.

Query System Classes

The query object model contains classes to define and run a query. These objects are used to define the query data source, the fields returned, record ranges and relations to child data sources.

The query classes are more visible when you create a dynamic query in code, but they are also used behind the scenes when you create a static query in the AOT.

Locus IT Project Management Office
What’s it?