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.

Leave a Reply

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