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 :
Supply chain | Supply Chain Management, Commerce
Answered

Table not appearing in SQlServer

(0) ShareShare
ReportReport
Posted on by 30

Hi,

  I have created new custom table in D365 F&O after build successfully its appearing in AOT but not in SQL server.

  Also when I try to insert data in table via runnable class, I get error "An error occurred while obtaining new RecId value for the table".

  Can some one please give pointer what's the possible resolution or if I am doing anything wrong?

Regards,

Satayjeet Kumar

I have the same question (0)
  • Suggested answer
    Gunjan Bhattachayya Profile Picture
    35,423 on at

    Hi Satyajeet,

    Have you done a database synchronization?

    pastedimage1600787710683v1.png

    pastedimage1600787726608v2.png

  • satyajeet Kumar New Profile Picture
    30 on at

    Hi Gunjan,

     Thanks for suggestion , I shall try and let you know. Is it the case that every time new table or its definition has been modified, database synchronization needs to run?

    Please excuse me if its rudimentary as I am new to D365?

    Regards,

    Satyajeet Kumar

  • Verified answer
    Gunjan Bhattachayya Profile Picture
    35,423 on at

    You need to synchronize every time you have any changes to the data model. This process synchronizes the change in D365 FO with SQL.

    You have a property on the Visual Studio project as well that will synchronize whenever you build.

  • satyajeet Kumar New Profile Picture
    30 on at

    Thanks Gunjan it worked.

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 > Supply chain | Supply Chain Management, Commerce

#1
Laurens vd Tang Profile Picture

Laurens vd Tang 299 Super User 2025 Season 2

#2
Siv Sagar Profile Picture

Siv Sagar 183 Super User 2025 Season 2

#3
André Arnaud de Calavon Profile Picture

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

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans