Monsieur Winner

MS D365FO || Monsieur D365FO

Technical

Error executing code: The field with ID ‘0’ does not exist in table ‘TableName’ in D365FO

Error executing code: The field with ID ‘0’ does not exist in table ‘TableName’ in D365FO

While running code that has to do with newly created fields, you might come across the following error: “Error executing code: The field with ID ‘0’ does not exist in table

This is simply because the table is not synchronized with the database.

To resolve this we do the following:

 

  • Make sure the table is part of your project
  • On the Project property Synchronize database on build
  • Rebuild project

 

 

admin

Komi Siabi is a Bilingual D365FO Solution architect who loves sharing his knowledge as he works on Both Francophone and Anglophone projects around the globe. He enjoys doing some tiktok videos in his leisure time.

0 thoughts on “Error executing code: The field with ID ‘0’ does not exist in table ‘TableName’ in D365FO

  • Your comment is awaiting moderation.

    Thanks for posting. I really enjoyed reading it, especially because it addressed my problem. It helped me a lot and I hope it will help others too.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *