May 12, 2016

    6 Steps to Upgrade Global Address Book Entities in AX 7

    In this post I would like to provide a quick guide on how to upgrade customized Global address book entities based on DirParty/DirPerson functionality from AX 2012 to AX 7.

    I’m purposely not explaining theoretical aspects of the differences in the Global address book framework from AX 2012 and AX 7, but you can always find it in Microsoft’s official documentation.The purpose of this article is to provide practical short and simple steps needed to execute during a Global address book entity upgrade to AX7.

    After finishing code migration to AX 7, the customized Global address book forms and tables will be compiled successfully but will throw errors while working with it. You can perform the following steps to resolve the issues:

    1) A new mapping to the DirPartyMap map should be created in the GAB entity’s main table:

    Step 1

     

     

     

     

     

     

     

     

     

     

    2) Make sure that a relation to the DirPartyTable (or DirPerson) table exists in the GAB entity’s main table:

    Step 2

     

     

     

    3) Create a new class in your model/package which is implementing DirPartyTableListExtensible interface similarly to DirPartyTableListExtension class:

    Step 3

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

    4) Create a new class in your model/package which is implementing DirPartyToolTipExtensible interface similarly to DirPartyToolTipExtension class:

    Step 4

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

    5) In a case where custom GAB entity’s type is different from default Party type (DirParameters.PartyDefaultPartyType), it is necessary to customize a defaultPartyType() method on the DirAppParameters table similarly to existing functionality:

    Step 5

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

    6) In a case where the Roles fact box is used in the solution, make sure that the DirPartyView view and the DirQuery query are modified similarly to existing functionality:

     Step 6

     

     

     

     

     

     

     

     

    Step 6 - 2

     

     

     

     

     

     

     

     

    After all steps are finished, compile changed objects and execute AX. The customized Global address book forms should work properly.

    I hope this cleared up any questions you may have had regarding updating Global address book entities on AX 7, but feel free to comment below with any additional inquiries!

    About the Author - Paul Tseranidi, PMP

    Photo_TseranidiPaul is a Microsoft Certified Dynamics Professional with over 10 years of extensive Dynamics AX experience from v3.0 through AX 2012, and AX 7 including full cycle implementations of Dynamics AX in different regions of the world. Having more than 10 Microsoft Dynamics certificates, his primary focus is on the development of applications and software modules, and project management processes of AX Implementations.

    Enavate Recent Posts

    March 27, 2024

    The Costs and Benefits of Microsoft Dynamics 365 Business Central

    Microsoft Dynamics 365 Business Central is an agile ERP platform that allows small to medium-sized businesses (SMB) to enhance, grow, and scale their operations, allowing for... Read More
    March 15, 2024

    How to Reduce Warehouse Management Costs with Automation

    Way back in 2015, Supply Chain Management Review claimed that warehouse automation is one of the few remaining areas where companies can still significantly reduce their... Read More
    March 13, 2024

    How Business Central Helps You Stay on Task

    Anyone who has ever traveled by plane knows how stressful it can be to have a connecting flight. You must wait your turn to get off the first plane, figure out where your... Read More

    Subscribe to Receive Email Updates