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 :
Microsoft Dynamics NAV (Archived)

Microsoft Dynamcis NAV - Table Locking Error

(0) ShareShare
ReportReport
Posted on by 1,893

errors.jpg

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    It seems that there is some customization on this particular page. Get this checked via developer and rectify the code.

  • Suggested answer
    RockwithNav Profile Picture
    8,631 Super User 2025 Season 2 on at

    Hey manish yadav ,

    Locking is something which you will face in NAV if you havent designed your code in some good fashion. You should always check that no more then 4 5 users are trying to Modify a record at the same time. If multiple users are trying to operate the table and some entry is getting created then always use Rec.LOCKTABLE. In the same execution of codes avoid writing multiple Rec.MODIFY.

  • Suggested answer
    Alexander Ermakov Profile Picture
    28,096 on at

    It looks like there has been a customization, related to the additional setup verification made during the posting process. You should either modify the code to make it better (preferable option) or play with isolation level of SQL server.

  • Suggested answer
    Suresh Kulla Profile Picture
    50,243 Super User 2025 Season 2 on at

    If the page is modified, check the code in onOpenPage of the trigger or OnAfterGetRecord trigger it looks like there is a customization which is causing this issue. When does it started happening ?

  • Suggested answer
    Tharanga Chandrasekara Profile Picture
    23,118 on at

    As @suresh mentioned check in the onOpenPage trigger OnAfterGetRecord trigger of the page. Dynamics NAV automatically lock the tables for other users if a one user is doing any changes to a record.

    Adding to that check the page logic and find out why any user want to change data in the Purchase & payable setup. Normally as a standard main setups are static and program only should read their settings.

  • Tharanga Chandrasekara Profile Picture
    23,118 on at

    Please do verify answers if you manage to sort the reported issue.

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 > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans