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

    October 30, 2024

    How Tech Investments Shield Distributors from Economic Uncertainty

    Over the past few years, the world — and the distribution industry that helps it run — has been through a lot: a global pandemic, major international conflicts, labor... Read More
    October 28, 2024

    How Power Platform’s AI Builder Can Make Your Workflows Better 

    Computers have made businesses far more productive and efficient over the decades, but they also introduced tedious, repetitive and time-consuming data-entry work. Collecting... Read More
    October 22, 2024

    Today’s Distribution Buyers Expect More. A Total Business Transformation Can Help Give It to Them

    MDM’s recent Mid-Year Outlook shows that while 2023 was generally tough for wholesale distribution, with 13 of 19 sectors declining, the rest of 2024 and especially 2025 are... Read More

    Subscribe to Receive Email Updates