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, ...
Suggested Answer

Having problem in adding menuitem of "New address" in any extended form.

(0) ShareShare
ReportReport
Posted on by 668

Hi Experts,

    I want to add a new menu item of button of adding "New address" option in an standard form like we have in sales order creation form.

I have copied the menuitems for this functionality from SalesTable form,but error is coming while clicking on "+" sign.

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    301,194 Super User 2025 Season 2 on at

    Hi D365FO Avatar,

    Can you share what exact error you get? The error is on runtime or do you get the error when you click on it in the development environment?

  • D365FO Avatar Profile Picture
    668 on at

    Hi André Arnaud,

    I have copied "GroupHeaderAddressHeaderOverview" group from  SalesTable form and change the sales order with Work order table. So in form the address is coming but when I m clicking on "+" sign (CopyOfDirPartyPostalAddressNewHeader) menu item, the given error is coming -

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

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    301,194 Super User 2025 Season 2 on at

    Hi D365FO Avatar,

    When you copied the button, you might have copied some x++ methods along with this button or group. Review if the copied elements do have some methods with coding and check if you need to adjust it to the work order table. This can be either changing the x++ logic or create an extension for the DirPartyTable map. Table map extension - Finance & Operations | Dynamics 365 | Microsoft Docs

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
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 429 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 241 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans