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 15, 2025

    How Technology Can Help Improve Warehouse Employee Satisfaction 

    In today’s highly competitive labor market, holding on to your employees is critical. Losing quality talent puts a dent in your productivity, and replacing it costs money. In... Read More
    April 29, 2025

    Avoiding Recalls and Reputation Damage: Building Better Food & Beverage Compliance 

    Staying compliant is important in any industry. However, there are few industries where compliance impacts the population more widely and publicly than food and beverage.... Read More
    April 24, 2025

    How Manufacturers Can Set Themselves Up for Digital Transformation Success

    Manufacturing businesses operate in a world of pressure. The pressure to do more with less, the pressure to continually mine data for fresh insights, and the pressure to... Read More

    Subscribe to Receive Email Updates