Tables Over View

In this post we will be exploring the basics of tables in Dynamics Ax 2012.

OVER VIEW:

•    Tables store business data. Each table in the AOT has a corresponding table in the underlying Microsoft SQL Server database.
•    In Microsoft Dynamics AX, tables have advanced features beyond what tables might have in the underlying database. The advanced features include the following:
•    Method members – A table can have methods, just as a class in X++ or C# can have methods.
•    Table inheritance – A table can extend, or be derived from another table. That same table can be the base table for several derived tables.
•    Tables are specified at AOT > Data Dictionary > Tables

•    In Microsoft Dynamics AX, tables are located in the Application Object Tree (AOT) under the Data Dictionary\Tables node. Each table contains the following primary elements:
Fields
Field Groups
Indexes
Relations
Delete Actions
Methods


      We will be discussing all these elements in detail in further posts, in this post we will be having brief look up on these elements.

Fields

The Fields node contains all the fields in the table. By specifying a field's data type, you define the type of data that can be stored in it. Microsoft Dynamics AX performs data validation to ensure that only valid data is entered into each field in the table.

Field Groups

Field groups are objects that group together fields that logically belong together. 

Indexes

An index is a table-specific database structure that speeds the retrieval of rows from the table. Indexes are used to improve the performance of data retrieval and sometimes to ensure the existence of unique records.

Relations

Relations define the relationship between two tables that contain related data.

Delete Actions

The Delete Action element is used to maintain database consistency when a record is deleted. 
Define delete actions to specify what should occur when data being deleted in the current table is 
related to data in another table. The delete action values are None, Cascade, Restricted, and 
Cascade + Restricted.  



Comments

Popular posts from this blog

D365: SSRS Report Development/ Customization

D365: X++ code to add custom lookup on worker to show specific workers team workers only

Error message when you log on to a Microsoft Dynamics AX 4.0 client: "You are not a recognized user of Microsoft Dynamics AX"