Anyone running multiple companies in same database?

davmac1
Member Posts: 1,283
Is anyone running multiple companies in the same database? We are looking at sharing data and it seems to have common tables updateable they need to be in the same database, but then you end up with a huge number of tables, and problems backing up and restoring a single company.
We are using the SQL Server option.
The primary goal is to have a common set of contacts between all companies.
We are using the SQL Server option.
The primary goal is to have a common set of contacts between all companies.
David Machanick
http://mibuso.com/blogs/davidmachanick/
http://mibuso.com/blogs/davidmachanick/
0
Comments
-
in sql server it prefixes the tables with the company Name
* Company1$Contact
* Company2$Contact
there is an attribute on the table DataPerCompany, set this to No
this will create the table without the company prefix
* Contact
and will be available to all companies.
Yes this does put less strain on your back up process you just will not have company specific data - so use carefully.[/list]0 -
The documentation is pretty clear on how to do it. I am looking for tips from companies that have actually done it and whether it created problems.
Are there some areas like contacts that are safe to handle this way?
Are there any companies out there that have several Navision companies in one database, and if yes - are they happy with performance and manageability, etc.?David Machanick
http://mibuso.com/blogs/davidmachanick/0 -
I asked about this once, and some experienced users did not recommend setting DataPerCompany = No. For example, if you delete a contact in Company A, the OnDelete validation will be run in Company A to make sure that it is OK to delete it; but if DataPerCompany=No, you will have automatically deleted the contact from all other companies, without running the OnDelete validation in those companies.
Instead, they suggested synchronising the company's tables to make sure they have the same values.
http://www.mbsonline.org/forum/topic.asp?TOPIC_ID=9491
AlastairAlastair Farrugia0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions