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

Splitting shared tables (DataPerCompany = No) in Dynamics NAV 2017

(4) ShareShare
ReportReport
Posted on by 31

Hi everyone,

Client works with Microsoft Dynamics NAV 2017 and they have two companies in the same database. Currently, there are around 100 shared tables (DataPerCompany = No) and the client would like to separate them so that each company has its own data.

Our goal is to change these tables to DataPerCompany = Yes.

We tested this on a test environment with the Contact table and simply changed the DataPerCompany property from No to Yes. After synchronization, the data was not deleted and remained available in both companies (each company now sees its own data).

My question is:

Is changing the DataPerCompany property enough, or are there additional steps we should consider (data migration, SQL considerations, etc.)?

Has anyone done a similar separation of shared tables in NAV 2017 or similar version in a production environment?

Any advice or best practices would be appreciated.

Thank you.

I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    98,421 Super User 2026 Season 1 on at
    Hi, Microsoft supports switching this property, but you must use ForceSync mode. Due to the risk of data loss, please export your data beforehand.
     
    Thanks.
    ZHU
  • Suggested answer
    OussamaSabbouh Profile Picture
    11,612 Super User 2026 Season 1 on at
    Hello,
     
    Changing DataPerCompany/SaveDataPerCompany from No → Yes is only the schema switch; it typically results in the existing shared rows being available per company (often effectively duplicated across companies) after sync, so it won’t magically “split” records into the correct company for you. In production, treat this as a data migration project: decide ownership rules per table, run a controlled migration/cleanup (copy what belongs to each company, delete what doesn’t), and regression-test anything that assumed global masters (lookups, validations, integrations, numbering, cross-company reporting). Expect heavy SQL/schema work and downtime when doing this across ~100 tables.
     
    Regards,
    Oussama Sabbouh
  • Suggested answer
    Dhiren Nagar Profile Picture
    2,880 Super User 2026 Season 1 on at
    Hi,
     
    Yes you can do that and changing the property would require ForeSync.
     
    However what you need to check is if it is master tables, it is fine, but if it is transaction tables, you might need to delete the unnecessary data related to other company.
     
     
  • Suggested answer
    Touil Yahya Profile Picture
    220 on at
    Changing DataPerCompany/SaveDataPerCompany from No to Yes involves a schema update, so ForceSync is necessary. This should not demand additional work, but to minimize the chance of data loss, it's advised to export your data in advance.

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,958 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,101 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 959 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans