Table Delete actions in code compare window

I am sure all fellow developers have faced the frustrating problem of not being able to insert certain objects when importing an XPO or comparing different models, layers. Today I will show you how can you insert the Table Delete actions in code compare window for AX 2012 R3.

Modify \Classes\SysTreeNode\mergeInsertSubnode method in the AOT as per below:

Also you may want to make sure you have a better range of what objects can you insert, by changing \Classes\SysCompare\selectionChanged method, and adding the following to line 161:

You can use similar logic to expand AX’s capabilities where it lacks the tools out of the box (indexes, field groups, etc.) similar to what we have done for the Table Delete actions in code compare window.

DAXRunBase / 2016-03-30 / AX 2012
Tags: , , , , , ,

Comments

  1. Table Delete actions in code compare window - Microsoft Dynamics AX Community
  2. Robin Kretzschmar - 2016-11-23 @ 10:16

    Wow I was searching for a way to merge delete actions more comfortably a long time, with this modification it’s getting better!

    Thanks for sharing!

    Reply
  3. Ray Breakall - 2018-04-26 @ 14:43

    You saved us hours during our AX 2012 R2 to R3 upgrade. Thanks for sharing this!

    Reply

Leave a Reply

Your email address will not be published / Required fields are marked *