How to: Compare Versions of an Object
Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012
In Microsoft Dynamics AX, you can compare two versions of the same application object by using the Compare tool. For example, you can compare a table with an earlier version of the same table provided that version control is enabled. Each version of the application object stored by the version control system is numbered. The Compare tool identifies the differences between two versions and provides action buttons to copy, move, or delete the differences. This topic describes how to compare two different versions of the same application object.
Note
You can also open the Compare tool form on the History form. For more information, see How to: View the History of an Element.
Procedures
To compare two versions of an application object
In the Application Object Tree, right-click the application object that you want to compare, and then click Compare. The Comparison formopens.
On the Name & Location tab, select the two versions that you want to compare.
Click the Advanced tab, and then set the following options as needed.
Option
Value
Show differences only
Select this option to view only the differences. When this option is cleared, matching results are displayed as black check marks.
Suppress whitespace
Select this option to view differences in spaces in X++ code.
Case sensitive
Select this option to view upper and lowercase differences. By using this option, MyName and Myname would be displayed as a difference.
Show line numbers
Select this option to enable line numbers in X++ code.
Click Compare to begin the version compare.
The differences between the versions are displayed in the results window on the Comparison form. For more information about the results, see Compare Tool.
See also
How to: Roll Back to a Previous Version of an Element
How to: View the History of an Element
Announcements: New book: "Inside Microsoft Dynamics AX 2012 R3" now available. Get your copy at the MS Press Store.