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 :
Small and medium business | Business Central, N...
Suggested answer

Table locking is serious in D365 BC

(0) ShareShare
ReportReport
Posted on by 15

hi all,

I didn't expect as long as if I'm writing/updating lot number of data to any table in BC. Pretty much it will create locked tables. For instance, I have a custom program to massively generate the warehouse shipment documents (500 to 1500 documents, we use warehouse shipment as our delivery document). During the program run, even another report is trying to read the data records from the table which stores the warehouse shipment document, will face table lock due to my custom program is still updating the table. Now my question is there any other way (in terms of coding in the report) that I can read and retrieve data from this table even the custom program is still updating it?

Thanks!

I have the same question (0)
  • Suggested answer
    JAngle Profile Picture
    121 on at
    RE: Table locking is serious in D365 BC

    Get the custom program to use temporary tables for reading and main table for writing. Add the routine to the job queue to run more frequently to minimise the amount of entries it handles per run or do the processing outside of office hours

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 3,401

#2
Sumit Singh Profile Picture

Sumit Singh 2,692

#3
YUN ZHU Profile Picture

YUN ZHU 1,935 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans