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

Error: Part Reference's menu item must point to a Form.

(1) ShareShare
ReportReport
Posted on by 12
Hello everyone, 

I am trying to go to the lines of fixed assets journal and started receiving this error, even though this form doesn't have any form parts.
Any advice, please?//
I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    301,035 Super User 2025 Season 2 on at
    Hi,
     
    Are you aware of any changes to this environment? E.g. deployment of a customization or partner solution? Are you able to check in Visual Studio if there is a form extension for the Asset journal lines?
  • Hana Xue Profile Picture
    Microsoft Employee on at
    Hi,
    Have you made some customizations in this form. Because in my test environment it works fine.


     You need to check the menu item configuration according to the prompt message. Make sure the menu item's "ObjectType" property is set to "Form". For more information you can check this article, it mentions about creating forms as well as menu items, you can check based on the article. https://dynamics365musings.com/simple-list-and-details/
    Best Regards,
    Hana
  • Layan Jwei Profile Picture
    8,112 Super User 2025 Season 2 on at
    Hi Community member,
     
    You need to check if there are customizations made in this area. Cause this is a standard form and such error shouldn't appear.
    If you sure there are no customizations, then maybe try to build the environment.
     
    Thanks,
    Layan Jweihan 
    Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future
  • Community member Profile Picture
    12 on at
    I did do some customization in an extension class to customize some behaviour in the init method, but I even deleted that form extension class and made a full build, it is still appearing. It is really weird because I don't even have a menu item extension to this form, and it doesn't contain any form parts.
  • Suggested answer
    Waed Ayyad Profile Picture
    9,039 Super User 2025 Season 2 on at
     
    Since you delete your extensions of the form, then try to do full be for the model that you tried to do extension on it and try to clear cache.
     
    Path: setting -> user options -> Usage data -> All usage data 
     
    Thanks, 
    Waed Ayyad
     
    Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future
     
  • Community member Profile Picture
    12 on at
    Hi Waed,
     
    Thanks for the reply, but I tried to full build, full db sync and clearing all caches, still never works though.
  • André Arnaud de Calavon Profile Picture
    301,035 Super User 2025 Season 2 on at
    Have you tried using the debugger to find out where and when it is raising the error? You can then learn what could be the culprit.
  • Community member Profile Picture
    12 on at
    Hi Andre, I am sorry I am a new dev, I am not sure where exactly should I put a breakpoint to use the debugger, can you please advise?
  • Suggested answer
    Waed Ayyad Profile Picture
    9,039 Super User 2025 Season 2 on at
     
    1- Try to restart IIS.
    2- Try to restart you Dev Box. And As Ander mentioned try to debug the code, just open the form code and on the init method , put a break point and start the debugging.
    3- If you click on the Journal number on any line does the same error appear?
     
     
    Thanks
    Waed Ayyad
  • Layan Jwei Profile Picture
    8,112 Super User 2025 Season 2 on at
    Hi Community member,
     
    Are you sure you removed all customizations? Is there any customization for the "lines" menu item? Or the form assigned to the menu item?
    Also are you sure you did full build and not just building the project or your model?
     
    Yes please debug and see at what line the code fails, if there is a main method, put the break point there, if there is an init method also put the code there.
     
    Thanks,
    Layan Jweihan
    Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future

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
Martin Dráb Profile Picture

Martin Dráb 584 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 254 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans