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

Notifications

Announcements

No record found.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 669 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 449 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 384 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans