While exporting/importing the .XPO file from DEV to another environment like QA, the object ID's might some times clash in dynamics AX. Then it prompts a message like this object ID is already used and throws an error in the infolog. It doesn't import some of the Objects. The following is the sample provided to show errors and warnings while importing tables.
The Objects like (tables, and Classes) when created, Dynamics AX automatically assigns a ID to each object. Users do think that ID's cannot be changed, but that also can be changed by editing the .XPO file and use find & replace-all so that the existing ID number will be replaced with new ID number in all the places where ever the references are used. It basically changes the ID and UTILOBJECTID in the XPO file. The manual process could some times cause problems. The best way is let Dynamics Ax handle it.
While Importing the XPO files, uncheck the 'Import with ID values' and Select the 'Enable data recovery for tables with changed IDs' under the options as shown in the above image. Dynamics AX automatically assigns the new ID's. It automatically syncs the objects. This process makes easy when importing multiple XPO files related to a project. Rarely you might end up some times with warnings and that could be resolved by investigating.
The Objects like (tables, and Classes) when created, Dynamics AX automatically assigns a ID to each object. Users do think that ID's cannot be changed, but that also can be changed by editing the .XPO file and use find & replace-all so that the existing ID number will be replaced with new ID number in all the places where ever the references are used. It basically changes the ID and UTILOBJECTID in the XPO file. The manual process could some times cause problems. The best way is let Dynamics Ax handle it.
While Importing the XPO files, uncheck the 'Import with ID values' and Select the 'Enable data recovery for tables with changed IDs' under the options as shown in the above image. Dynamics AX automatically assigns the new ID's. It automatically syncs the objects. This process makes easy when importing multiple XPO files related to a project. Rarely you might end up some times with warnings and that could be resolved by investigating.
No comments:
Post a Comment