Easily Add Addresses Fast Tab in Dynamics 365 for Operations with Logistics Postal Address Grid

by | Updated January 3, 2018 | Development, Dynamics 365 for Finance and Operations

Adding an Addresses Fast Tab to a form in Microsoft Dynamics 365 for Operations (AX7) is now as easy as adding the new LogisticsPostalAddressFormGridPart to your form and setting a few properties. The only requirement is that you have an entity that is mapped to DirPartyPostalAddressView (via DirPartyMap). I am creating a custom entity, SSILienHolder, that has a relationship to DirPartyTable, so I will leverage that relationship to manage my addresses.

logistics_mark

To use, Create an Address Fast Tab and drop a FormContainerControl on it. The FormContainerControl is a new control that hosts another form as a control allowing you to build reusable user-interface components.

logistics_mark-2

Once you’ve added the control, set the MenuItemName property to “LogisticsPostalAddressGridFormPart” and Run Mode to “Local”. This will tell the control to load the LogisticsPostalAddressGrid form and display it in the Fast Tab.

Next, expand the FormContainerControl and add a new “Field relation link”. Similar to a relation on a Table, this is the glue that tells the control how to navigate from your table to the DirPartyPostalAddressView. You need to set the DataField, DataSource, TargetDataField, and TargetDataSource properties on the link.

logistics_mark-3

When the FormContainerControl instantiates the form, it uses the data from the Field relation link to populate an Args class for the form. If you look at the design of the LogisticsPostalAddressGrid form, you will see that it has 2 form data sources, Common and DirPartyPostalAddressView. The Common data source acts as a proxy for the data source you pass to the Field relation link. When the form loads, it assigns your table buffer to the Common data source and adjusts the relationship to DirPartyPostalAddressVew using the DirPartyMap.

logistics_mark-4

Now when you run your form, you have a fully-functional Addresses Fast Tab.

logistics_mark-5

Related Posts

0 Comments

Submit a Comment

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

Upcoming Events

november

05nov11:00 am12:00 pmConfab with Stoneridge - Livestream - Project Oakdale: The NEW Integration of Power Platform into Teams

18nov10:00 am10:30 amThe Modern Manufacturer - Tears and Trauma of MRP

19nov11:00 am12:00 pmConfab with Stoneridge - Livestream - Project Oaktree: NEW Functionality for Dynamics 365 Manufacturing

december

02dec9:00 am12:00 pmOnline Workshop - Dynamics GP Year End Close (Morning Session)

03dec11:00 am12:00 pmConfab with Stoneridge - Livestream: Live Agents, Power Virtual Agents, Omnichannel – Oh My!

03dec1:00 pm4:00 pmOnline Workshop - Dynamics GP Year End Close (Afternoon Session)

09dec10:00 am10:30 amThe Modern Manufacturer - Manufacturing Policy Management

17dec11:00 am12:00 pmConfab with Stoneridge - Livestream - Technology in 2020: A Year in Review

About Stoneridge
Stoneridge Software is a unique Microsoft Gold Partner, with emphasis on partner. With specialties in Microsoft Dynamics 365, Microsoft Dynamics AX, Microsoft Dynamics NAV, Microsoft Dynamics GP and Microsoft Dynamics CRM, we focus on attracting the most knowledgeable experts in the field to our team, and prioritize delivering stellar solutions with maximum impact for your business. At Stoneridge, we are deeply committed to your results. Each engagement is met with a dedicated team, ready to provide thorough, tailored, and expert service. Based in Minnesota, we intentionally “step into your shoes,” wherever you are. We focus on what you care about, and develop trusting, long-term relationships with our clients.

Subscribe To Our Blog

Sign up to get periodic updates on the latest posts.

Thank you for subscribing!

X