web
You’re offline. This is a read only version of the page.
close
Skip to main content
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)
  • satyajeet Kumar New Profile Picture
    30 on at
    RE: Table not appearing in SQlServer

    Thanks Gunjan it worked.

  • Verified answer
    Gunjan Bhattachayya Profile Picture
    35,421 on at
    RE: Table not appearing in SQlServer

    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
    RE: Table not appearing in SQlServer

    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

  • Suggested answer
    Gunjan Bhattachayya Profile Picture
    35,421 on at
    RE: Table not appearing in SQlServer

    Hi Satyajeet,

    Have you done a database synchronization?

    pastedimage1600787710683v1.png

    pastedimage1600787726608v2.png

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
André Arnaud de Calavon Profile Picture

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

#2
Yng Lih Profile Picture

Yng Lih 150

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 104 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans