web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Code changes doesn't get run

(0) ShareShare
ReportReport
Posted on by 453

Hi 

I have a problem. I use NAV 2013 R2. When I change the code in an object, let say table 79.

The code doesn't run even though it should be. The debugger also shows the old code. 

I have compiled the object and restarted service and restarted the client. 

But it doesn't run the new code. 

What can I do?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Avinash B Profile Picture
    1,455 on at

    Hi,

    Some times it happens.
    The problem would be the meta data for the object is not updated.

    The solution may be to compile all the objects and check.
    Otherwise build server application objects.

    Please refer this.
    docs.microsoft.com/.../how-to--build-server-application-objects

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    Try also clearing the object cache from C/SIDE (Tools --> Options --> Set Object Cache to 0).

  • Suggested answer
    AJAnsari Profile Picture
    5,754 on at

    Also, have you checked to see if the client is connecting to the correct service? If you have separate dev, test and prod databases, it's possible that the client you're connecting from is pointing to an incorrect service, or the service you're connecting to is pointing to a database other than what you're expecting. It may sound silly, but I have seen this happen when multiple databases and service tiers are in play.

    I hope this helps. If my response has answered your question, please verify by clicking Yes next to "Did this answer your question?"

  • Suggested answer
    Suresh Kulla Profile Picture
    50,269 Super User 2026 Season 1 on at

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans