How to: Compare Two Application Objects

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 application objects in the same or different layers by using the Compare tool. For example, you can compare a table in the CUS layer with the same table in the SYS layer. The Compare tool identifies the differences between the two application objects and provides action buttons to copy, move, or delete the differences. This topic describes how to compare two application objects in the Application Object Tree (AOT).

Procedures

To compare two application objects

  1. In the AOT, select the application objects that you want to compare.

  2. Right-click the selected application objects, and then click Compare. The Comparison formopens.

  3. Click the Advanced tab, and then set the following options as needed.

    Option

    Description

    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 show 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.

  4. Click Compare to begin the comparison of the two application objects.

The differences are displayed in the results window on the Comparison form. For more information about the results, see Compare Tool.

See also

How to: Compare Versions of an Object

How to: Compare Layers

Announcements: New book: "Inside Microsoft Dynamics AX 2012 R3" now available. Get your copy at the MS Press Store.