Microsoft Dynamics AX 2012 Upgrade Guide 178
Capture and preserve legacy IDs (Customers) Capture and preserve legacy IDs (Customers)Capture and preserve legacy IDs (Customers)Capture and preserve legacy IDs (Customers)Capture and preserve legacy IDs (Customers) Capture and preserve legacy IDs (Customers) Capture and preserve legacy IDs (Customers)Capture and preserve legacy IDs (Customers)Capture and preserve legacy IDs (Customers) Capture and preserve legacy IDs (Customers) Capture and preserve legacy IDs (Customers)Capture and preserve legacy IDs (Customers) Capture and preserve legacy IDs (Customers) Capture and preserve legacy IDs (Customers)Capture and preserve legacy IDs (Customers) Capture and preserve legacy IDs (Customers) Capture and preserve legacy IDs (Customers) Capture and preserve legacy IDs (Customers) Capture and preserve legacy IDs (Customers)Capture and preserve legacy IDs (Customers)Capture and preserve legacy IDs (Customers) Capture and preserve legacy IDs (Customers)Capture and preserve legacy IDs (Customers)Capture and preserve legacy IDs (Customers)
If you are upgrading to Microsoft Dynamics AX 2012 R2 or R3, perform the Preserve legacy element IDs task by completing the steps that follow. If you are upgrading to Microsoft Dynamics AX 2012 R3, use the Export baseline element IDs checklist task to capture your legacy element IDs and skip to step 4.
1. (On the installation media, locate the file PrivateProject_SysUpgradeExportIdMap.xpo in the DatabaseUpgradeXPO folder. Copy the file to the source system.
2. Import PrivateProject_SysUpgradeExportIdMap.xpo. For information about importing XPO files during upgrade, see Install upgrade framework files and Install optional upgrade XPO files.
3. In Project > Private, locate the SYSUpgradePreserveID job, right-click it, and click Open. The output of the job will be saved as :Users\AppDataLocalTemp1SysUpgradeExportIdMap.csv. An Infolog window will open when the job is finished.
4. Create or identify a temporary file share on the target system that the SQL Server service account has permission to write to.
5. Copy the file SysUpgradeExportIdMap.csv to the file share on the target system.
6. Retrieve the file DatabaseUpgradeXPOMicrosoftElementsRenamed62.csv from the installation media, and copy it to the same location on the target system.
7. Copy any additional rename files that are required for the ISV solutions that you are running to the same location on the target system.
8. When you are ready to perform the Preserve legacy element IDs task, stop the target system AOS.
9. Open a Microsoft Dynamics AX 2012 Management Shell window, and execute the following command.
axutil idkeep /idfile:filename /renamefile:filename1, filename2, filename3 /verbose
The idfile:filename parameter contains the path and file name of SysUpgradeExportIdMap.csv.
The /renamefile parameter contains the path and file name of MicrosoftElementsRenamed62.csv. There may be additional rename files because of the presence of ISV solutions.
For example, if there are no additional ISV rename files, the command is as follows.
axutil idkeep /idfile:C: empSysUpgradeExportIdMap.csv /renamefile:c: empMicrosoftElementsRenamed62.csv /verbose
10. Stop the AOS and compile the application using AxBuild.exe. For information, see AxBuild.exe for Parallel Compile on AOS of X++ to p-code (http://msdn.microsoft.com/library/d6da631b-6a9d-42c0-9ffe-26c5bfb488e3(AX.60).aspx).
11. Restart the AOS, open the client, and continue with the next checklist task.