web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

DirPartyPostalAddressFormHandler- calling "Logistics postal address" for creating new address in standard form

(0) ShareShare
ReportReport
Posted on by

Hi All,

I want to create "Add new address" option in a standard form as shown in the screenshot of SalesTable form, so in my extended table there is a custom "XXXCustomerAccount" and "XXXAddress" field which will be link, when user clicks on XXXCustomerAccount, the recId of postalAddress will be populated to XXXAddress field and we need to create a new address which will be link with that custom "XXXAddress" field.

Delivery-Address.jpg

Steps which I have done

1. I have created a new added a group like this in extended form, the screenshot is of SalesTable. The highlighted Menu Item Button is calling a display menu item and which is calling a class "DirPartyPostalAddressFormHandler"

Delivery-Address1.jpg

2. Created a new menu item and called the same class "DirPartyPostalAddressFormHandler".

3. Now when trying to open this menuItem, I m getting this error - 

"Error executing code: The field with ID '0' does not exist in table 'DirPartyMap'"

Please help me to resolve this problem. 

Or if have any other solutions/way please let me know.

Thanks in advance!!!

I have the same question (0)
  • ergun sahin Profile Picture
    8,826 Moderator on at

    Did you do the mapping step(3) in the link I shared? If you're not missing the map, do you have more than one address field in the table and form? (I have heard that there are difficulties in the form when there is more than one address in the same table, but I did not come across it myself)

    community.dynamics.com/.../how-to-add-standard-address-fields-into-a-new-table-dynamics365-ax7

  • Community Member Profile Picture
    on at

    Hi ERGUN,

    No, I haven't done the 3rd step.

    And yes, I do have multiple custom address field of type RecId in my standard table for which I have created a relation with Logistics postal address.RecId.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 677 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 620

#3
Subra Profile Picture

Subra 483

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans