Copy a Existing Legal Entity from one Environment to other Environment for instance Testing,Development,UAT etc.
- Create a legal entity to use as a template.
- Set all configuration data for the source legal entity.
- Create a definition group which can be used to export data.
Options tab of above form check Include shared tables
Don't check Include system tables check box, Include database log tables, Include cross-reference tables
To Export configuration data, include the following table groups: Reference, Parameter, Group, Framework, and Miscellaneous
To export master data, you must include the tables that are in the Main table group
Do not include the tables that are in the Transaction, Transaction header, Transaction line, Worksheet, Worksheet header, and Worksheet line table groups.
These tables include transaction data. It can be difficult to create a duplicate environment for transaction data if the SaveDataPerCompany property of tables is set to No.
For transaction date Microsoft SQL Server backup and restore mechanism is one of best option but a minor configuration changes can be made to illustrate specific Microsoft Dynamics AX features.
click on OK button to create definition group
Now you are ready with Definition group to export data for a legal entity (Company).
Go to System Administration module->Common->Data export/import->Export to.
Select your Definition group from drop down and provide the file Name (and location). Remaining things are up to your choice. Clock on OK button. This will create a .dat file with your given name using the Microsoft Dynamics AX data export and import feature to export the legal entity to a .dat file.