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

By Mark Nelson | December 22, 2016

Easily add addresses fast tab in dynamics 365 for operations with logistics postal address grid

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

Recommended Reading:

Manage U.S. Use Tax on Purchase Orders in Dynamics 365 Finance and Operations

  Managing sales tax requirements on your business purchase can be complicated, but Dynamics 365 Finance and Operations can help […]

Read the Article
5.19.22 Dynamics CRM

How to Write a Great Support Ticket in the Stoneridge Support Portal

Submitting a support ticket through the Stoneridge Support Portal is a quick and effective way to get assistance for any […]

Read the Article

Managing Your Business Through Uncertain Times Using Dynamics 365 Finance and Operations

  Dynamics 365 Finance and Operations (F&O) can help you make informed decisions on how to move your business forward. […]

Read the Article
5.13.22 Power Platform

Using Power BI Object Level Security

  The following article will demonstrate how to use Power BI Object Level Security to disable column data based on […]

Read the Article
5.12.22 Dynamics CRM

How to Use the Stoneridge Support Portal

Stoneridge Software’s support portal is an intuitive and useful function that makes it easy for you to access resources to […]

Read the Article
5.6.22 Dynamics GP

Dynamics GP Transaction Removal: Purchase Orders

  Are you having performance issues with Purchase Orders?  Do you find that there are old Purchase Orders on your […]

Read the Article
5.5.22 Dynamics GP

The Real Story about the Long-Term Future of Dynamics GP Support

I’ve seen a number of people put forward comment that Dynamics GP is going away and you have to get […]

Read the Article

New Features in Dynamics 365 Business Central 2022 Wave 1 Release – Financial Enhancements

The Dynamics 365 Businses Central 2022 Wave 1 Release has a lot of new and exciting features to help your […]

Read the Article
4.29.22 Dynamics GP

Dynamics GP Transaction Removals: Bank Reconciliation

  This is part 2 of a 3 part series on Dynamics GP Transaction Removals. These quick tips will hopefully […]

Read the Article

Start the Conversation

It’s our mission to help clients win. We’d love to talk to you about the right business solutions to help you achieve your goals.

Subscribe To Our Blog

Sign up to get periodic updates on the latest posts.

Thank you for subscribing!

X