Tables in Microsoft Dynamics AX are identified by their application object ID number series. Different ranges of IDs are used for different application object layers. For example, IDs in the range 1-20000 are used for SYS layer objects, whereas objects in the VAR layer use IDs in the range 30001-40000. This is important if you want to move tables and the data in the tables from one layer to another, for example, from the VAR to the CUS layer. This procedure describes how to move a table, together with data, to another layer.
Procedures
To move a table to another layer
-
Start Microsoft Dynamics AX in the application object layer that the source tables are located in.
-
Export the data from the tables that you want to move. For more information, see How to: Export Objects from a Selected Layer.
Note
Select Field type Binary in the Export options dialog box to preserve container fields and increase performance.
-
Export the tables that you want to move to an .xpo file. For more information, see How to: Export Application Objects.
-
In the Application Object Tree (AOT), delete the tables that you want to move.
-
Exit Microsoft Dynamics AX.
-
Restart Microsoft Dynamics AX in the layer that you want to move the tables to.
-
Import the tables from the .xpo file that you created in step 3. For more information, see How to: Import Application Objects.
-
In the AOT, right-click the Data Dictionary node, and then click Synchronize to synchronize the database with the imported tables.
-
Import the data from the location that you exported the data to in step 2. For more information, see How to: Add Data. The data is added to the tables with the new application object IDs allocated for the destination layer.
No comments:
Post a Comment