Skip to main content

#MSDyn365BC Reduce Data Stored in Business Central Tenant - Part 1?

 Hi all,

We all understand that our customer databases size increases as we use Dynamics NAV or Business Central. We as partners are not the right person to suggest you which data is important for your business.

At same time we understand that there is a size limit in Business Central Online.

We as customers & partners need to start thinking about data that we can remove to reduce our database sizes.

Microsoft is providing us with tools and suggestion how to keep our database size small. In this series of articles we will talk about those suggestions and if possible I would recommend to start discussion with your partner to reduce the database size.

I would recommend to follow these steps - Even you are using Business Central (on-Prem) and not planning to upgrade to BC Online.

There are multiple benefits of Reducing the size of your database - 
  • Prevents reaching the size limit when using Business Central online.
  • Improves runtime performance.
  • Improves database management processes, like backing up and restoring databases.
All These measures are typically done by an application administrator or developer.

Delete unused companies

If you have companies that are no longer needed, such as test companies or the Demo company, delete these companies.

I know that we think that no one keep those companies, but believe it or not I have seen customers have and want to keep those Demo / Test Companies during Upgrades. 

If you want to have a Demo Database from Microsoft or Test Companies then create a separate database.

Delete documents

Over time, the database will accumulate historical data for documents, like invoiced purchase orders. If these documents are no longer needed, delete them.

We as partners understand that customer have to keep posted document for a defined period of time which vary from region and business area. But After the defined period you can delete those documents.

While deleting Posted documents - Business Central checks that you have fully invoiced the deleted purchase orders. You cannot delete orders that you have not fully invoiced and received.

For Deleting Posted Documents, a New setup field is added in Sales & Receivable Setup and Purchase & Payable Setup.

The Field is - Allow Document Deletion Before (as shown below).

The Data Specifies if and when posted sales documents can be deleted. If you enter a date, posted sales documents with a posting date on or after this date cannot be deleted.



You also may have Documents which are fully invoiced like Sales Order, Purchase order, Sales Return orders, Purchase Return orders, Blanket Sales orders & Blanket Purchase orders based on how you use system.

Business Central provides you Batches which you can use to Delete these Documents which are no longer required.




You can use these batches to cleanup unused data in the system.

In Next article in this series We will discuss about other possibilities that we have to keep our database size within permissible limit.

Stay connected.

Regards,
Saurav Dhyani
www.sauravdhyani.com

Comments

Popular posts from this blog

Microsoft Dynamics NAV 2016 - How to Configure Phone Client.

Hi All, In this article we will discuss how we can connect Microsoft Dynamics NAV 2016 with New Client Launched i.e. Phone Client. This Article Contain Steps for a Android Phone as I have Only Android Phone. I am doing it having all tiers on my windows 8 machine, steps remain same for multiple servers but issues might be different. What we Need (Other what we discuss in this article) -  The Service Tier should be on Public IP . Some of the Data-card does not Provide you Public IP. check it for sure.

MSDYN365BC - Data Upgrade To Microsoft Dynamics 365 Business Central on premises.

Hi Readers, We have already talked about the number of steps for upgrading to Business Central on Premises from different NAV versions. After that article, I received multiple requests for an article which list down steps for Data Migration. In this article, we will discuss steps of data migration to MSDYN365BC (on-Prem) from NAV 2017. For this article, I am considering a Cronus Demo Database without any customization. For an actual upgrade project, we will have to complete object merge using compare and Merge process. After the Merge Process, the next step is data migration. Let's discuss those steps. Direct Upgrade to Microsoft Dynamics 365 Business Central (on-Prem) is from following versions - 1. NAV 2015. 2. NAV 2016. 3. NAV 2017. 4. NAV 2018.

🚀 Exploring Vibe Coding with GitHub Copilot for Business Central.

Hi All, In a recent #BCOpenDiscussion session, we delved into the fascinating concept of Vibe Coding —a new way of building software where developers collaborate with AI (like GitHub Copilot) to co-create solutions.  The session covered practical setup, how AI understands context, and even touched on Microsoft's new Model Context Protocol (MCP) integration for enhanced learning. Let’s break down the journey, step by step.