Use the code upgrade tool
Use code upgrade to help you compare and merge your X++ source code.
The tab page displays the code in the active layer with comments about changes and additions, for example 'New in sys' or 'Removed from sys'.
When the tab is active, the following functionality is available:
-
Click to open the X++ editor with the selected method, which allows you to make the desired modifications.
Note |
|---|
|
Modifications cannot be made directly on the tab, but requires you to open the X++ editor. This is to prevent inadvertent code upgrades. For information about editing code, see Code Editor. |
-
Click , and select from and to merge the source code from the layers and present the result on the tab.
The additional options on the menu button are the layers to be used as the basis for the upgrade, for example SYS and old USR. Use them to copy code from the layer into the workspace.
-
Click , and select the layers to compare in the dialog box that opens, as shown in the following diagram.
A new tab is created displaying the comparison, and exists for that method only.
You can only view information on the tab pages that display the layers. You cannot edit source code. For information about editing code, see Code Editor.
On the tab pages that display comparisons, different colors are used for different layers. The lines that differ have a gray background color. The legend is explained below the code lines.
Note