Rename object in TFS
You can get this error message while renaming object that is checked out from TFS.
Unable to import
Trying to import Table MFATable_test1 with ID 50003
ID already held by Table MFATable1
To rename the object you need to follow these steps:
- Right click the object in AOT and select Rename (without checking out the object)
- Type a new name of the object. New object with the new name will be created
- Select Tools –> Development tools –> Version control in AX menu and click Pending objects
- Check in both objects
To update all objects that reference the renamed object, you need to check out all objects that refer to the object you want to rename. When you rename an object, two copies of the object are created: one with the old name and one with the new name. When you check in these objects (for delete and add, respectively), the system integrates both objects to maintain the history.