How to: Compare Layers
Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012
This topic describes how to use the Compare layers tool in Microsoft Dynamics AX. You can use the Compare layers tool to compare any two application object layers, for example, the SYP layer and the SYS layer.
The Compare layers tool compares a source layer to a reference layer. The compare process searches for application objects that have changed or exist only in the reference layer.
If VAR is the source layer that you want to compare to the standard application that has service packs installed, select SYP as the reference layer. The compare layers process will then compare the VAR layer with the SYP and SYS layers. The result of the comparison is a project that holds objects that do not occur in the reference layer, or occur in both layers, but are different provided that the option to Only include elements present in both layers is not selected.
When the reference layer is not an old layer, such as old sys, the reference layer automatically includes all lower layers. For example, if the USR layer is the source layer and it is compared to the CUS layers as a reference layer, then the reference layer includes the CUS layer and all layers underneath it.
Procedures
To compare application object layers
Click Tools > Code Upgrade > Compare layers. The Compare layers tool opens.
In the Compare layers tool, set the following properties as required.
Option
Description
Project name
The name of the project to contain the results of the compare layers tool process.
Source layer
The layer used as the base layer for the comparison.
The compare tool results only display differences for application objects that are contained in the source layer.
Reference layer
The layer that you want to compare to the source layer.
Note
You can select old sys as the reference layer. This is useful if you want to learn what application objects have changed.
Only include elements present in both layers
Select to detect conflicts between layers. When selected, elements found in only one of the layers are ignored.
Click OK to begin the application object layer compare.
A project holding application objects that differ is now created. The objects are presented in a tree structure and the regular Application Object Tree (AOT) shortcut menu commands are available.
Note
In a compare situation, it is useful to see the layer to which each object belongs. For more information, see the How to: Set the Layer View for Application Objects topic in your Microsoft Dynamics AX for Developers documentation.
Announcements: New book: "Inside Microsoft Dynamics AX 2012 R3" now available. Get your copy at the MS Press Store.