How to: Rename Elements in the Version Control System [AX 2012]
Updated: September 21, 2011
Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012
To rename elements that are under version control in Microsoft Dynamics AX, do the following:
Rename the element in the AOT.
Update interdependencies between elements.
To rename an element in the AOT
In the AOT, right-click the element and then click Rename.
Type the new name. A new element with the new name is created.
Click Version control > Pending objects.
Check in the two elements.
To update all elements that reference the renamed element, you must check out all elements that refer to the element you want to rename.
When you rename an element, two copies of the element are created: one with the old name and one with the new name. When you check in these elements (for delete and add, respectively), the system integrates both elements to maintain the history.
If you disable version control, rename an element, and then enable version control again, the name of the element will not revert to what it was before you disabled version control.
When you rename an element, you must update all other references to the element.
To update interdependencies between elements
In the AOT, right-click the element you have renamed, and then click Add-Ins > Cross-reference > Used by.
Check out all the elements that are listed.
Update the references and then check in the elements.