February 2, 2017

    Microsoft Dynamics 365 For Operations: Upgrade Address Information

    Post #1: How to upgrade Addresses information:

    Here is a quick guide on how to upgrade customized Addresses functionality from Microsoft Dynamics AX 2012 to Microsoft Dynamics 365 for Operations.

    I’m purposely not explaining theoretical aspects of the differences in the Addresses framework from AX 2012 and Microsoft Dynamics 365 for Operations, 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 an Addresses information upgrade to Microsoft Dynamics 365 for Operations.

    After finishing code migration to Microsoft Dynamics 365 for Operations, the customized 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. Delete all controls form the AddressTabPage tab page, change the Pattern of the control to Custom:

    AddressTabPage

    2. Delete the DirPartyPostalAddressView data source from the form, remove all data source usage from the form X++ code. In my case there were two places to modify.

    3. Create a new control of the FormContainerControl type – AddressGridFormPart with MenuItemName = LogisticsPostelAddressGridFormPart. It can be copied from the HcmApplicant. Set up a DataSource and DataField properties on the control:

    new control

    4. Delete the parmPostalAdderssLocation() method from the form and create a new postalAddressGridArgs() method:

    postalAddressGridArgs

    5. After the project is recompiled, the Addresses tab should become available on the entity form.

    Pavel Tseranidzi

    Pavel Tseranidzi, PMP – F&SC Practice Leader at Enavate – is a seasoned Microsoft Dynamics Expert with more than 15 years of experience in Microsoft Business Applications domain including full cycle of building and implementing Dynamics ISV solutions in different regions all over the globe. Having deep knowledge of full stack of Microsoft Business Applications, his primary focus is on the technical delivery of global Dynamics 365 solutions, exceptional quality technical services for partners and project management processes of Dynamics implementations. You can reach him via email: pavel.tseranidzi@enavate.com

    Enavate Recent Posts

    May 29, 2025

    Balancing Rising Manufacturing Costs with Business Central

    With the ongoing uncertainty surrounding trade and the economy in general, many businesses are faced with trying to plan for a future that could look any number of ways.... Read More
    May 20, 2025

    How to Survive—and Thrive—on GP While Planning Your Next Move

    With Microsoft GP entering the end of its lifecycle, businesses operating on the platform are facing many choices: how and when to upgrade to a new platform, which platform... Read More
    May 15, 2025

    Navigating Your Business Central Reporting Options

    The search for the “perfect” reporting option is, for some businesses, a lot like the search for the Fountain of Youth. Hours of time and mountains of money are wasted in a... Read More

    Subscribe to Receive Email Updates