

Let a table inherit fields, methods, and relationships from another table. The UnitOfWork class helps enforce transaction integrity.įor more information, see How to: Use the UnitOfWork Class to Manage Database Transactions. The object calculates the correct sequence used to run the data modification calls.Īpplication programmers who perform a set of data modification calls no longer have to track every detail of foreign key relationships. Then, by using one method call, you instruct the object to run the data modification calls. First, register each SQL data modification call with the UnitOfWork object. You can use the UnitOfWork class to safely manage the operation sequence and transaction integrity for row-by-row database deletes, inserts, and updates. Manage the operation sequence and transaction integrity for row-based database operations. Now, Microsoft Dynamics AX can manage these relationships for you.įor more information, see Valid Time State Tables and Date Effective Data.
#Can you group objects in microsoft word code#
The code that manages data relationships over date ranges is complex. The Query class has properties, such as ValidTimeStateDateTimeRange, that provide a filter by date range. The X++ select statement has the validTimeState keyword, so that rows can be filtered by date or date range. The system ensures that the values in these date fields remain valid by automatically preventing overlap among date ranges, based on the primary key value. The system then automatically adds the ValidFrom and ValidTo columns that track a date range in each row. You can set the ValidTimeStateFieldType property on a table to make it a valid time state table. Let the system automatically manage data relationships that are valid only during a specified date range. The following improvements were made in AOS:Īdd a Having Clause to a Query in the AOT

This topic describes the new and enhanced features that are available for Microsoft Dynamics AX Application Object Server (AOS) in Microsoft Dynamics AX 2012. Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012
