Dynamics AX 2009 Data Dictionary - Güven Şahin - 04.05.2013
Dynamics AX 2009Data DictionaryGüven ŞahinAyax Yazılım ve Danışmanlık
MorphX• MorphX is an IDE in Microsoft Dynamics AXthat allows developers to graphically designdata types, base enumerations, tables,queries, forms, menus and reports.• In addition to design of application objects, italso allows access to any application code bylaunching the X++ code editor.
Application Object Tree• The Application Object Tree (AOT) is a treeview of all application objects in MicrosoftDynamics AX 2009.• Each branch node contains a differentapplication object type.
Application Object Tree• Developer can create or modify MicrosoftDynamics AX 2009 application objects usingdrag-and-drop functionality.• This chapter focuses on those objectscontained in the Data Dictionary node.
Opening the AOT• Access the AOT from the Microsoft DynamicsAX 2009 application. There are three differentways to open the AOT.
Opening the AOT• #1: Navigate to FILE MENU > OPEN >APPLICATION OBJECT TREE.
Opening the AOT• #2: Click the AOT icon on the applicationtoolbar.• #3: Press CTRL + D.
Tables• Tables are at the core of the MicrosoftDynamics AX 2009 application and enablestoring a companys information andtransactions.• Tables storing data about companytransactions, inventory, general ledger,journals and more.
Creating a Table• Right-click theTables node inthe DataDictionary in theAOT and selectNew Table.
Tables• These are referred to as base tables orapplication tables. Some frequently used basetables are shown as follows.
Tables• Tables in Microsoft Dynamics AX 2009 containmultiple elements that define the table. Thereare six categories that define tables:
Tables• Fields• Field Groups• Indexes• Relations• Delete Actions• Methods
Data Types – Primitive and Extended• Microsoft Dynamics AX 2009 has built inprimitive and extended data types associatedwith the information in the database.• The primitive data types enabled withinMicrosoft Dynamics AX 2009 are:
Extended Data Types• Extended Data types can inherit either fromprimitive data types or other Extended DataTypes, which enables properties to beinherited.• The properties of many fields can change atone time by changing the properties on theEDT.
Extended Data Types• Some important facts about Extended DataTypes are in the following list:
Extended Data Types• Extended Data Types can be based onprimitive MorphX data types or on anotherEDT.• If it is possible, custom tables have fieldsbased on Extended Data Types.• A relation can be assigned to an ExtendedData Type and it can be made a Related FieldFixed relation.
Extended Data Types• Most fields in Microsoft Dynamics AX 2009tables are based on Extended Data Types.After it is created it can be reused as manytimes as it is needed in the application.
Base Enumerations (Base Enums)• Base enumerations are used as data lists forfields of the Enum type. Base enumerations,also named Base Enums, are used forassignment to Enum primitive data type fieldsthat require a set of predefined values.
Views• A Microsoft Dynamics AX 2009 view is avirtual table that provides the data recordsand fields that are specified by a query. Thefollowing sections describe views and howthey retrieve data.