Taking over „Update cross reference“ results from one environment to another in MS Dynamics AX 2009 SP 1
There is no way around for the need to run “Update cross reference” but the following approach could avoid long running times at least for 1 environment. Please test that in a test environments first by also taking into consideration the following disclaimer:
“Microsoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability or fitness for a particular purpose. This mail message assumes that you are familiar with the programming language that is being demonstrated and the tools that are used to create and debug procedures.”
Prerequisite: You have 2 separate test environments with the same AX 2009 SP 1 (same kernel and application builds) versions available:
1) You install a new hotfix first in the test1 environment and check that it works and fits your needs
2) You run the time consuming “Update cross reference” job also in the test1 environment
3) Once step 2) succeeded you export the following tables from test1 environment xRefNames, xRefPaths, xRefReferences, xRefTableRelation, XRefTempReferences, and xRefTypeHierarchiery via Data Import/ Export functionality (Note: Tables starting with the name XRef* contain the result of the “Update cross reference” Run)
4) You install the hotfix in test2 environment
5) You import the following tables from test1 environment xRefNames, xRefPaths, xRefReferences, xRefTableRelation, XRefTempReferences, and xRefTypeHierarchiery via Data Import/ Export functionality into test2 environment