DataPerCompany = False in some standard tables

philippegirod
Member Posts: 191
Good morning,
We must have exactly the same data in a few tables (27 Item and related tables)
What about changing the Table property DataPerCompany ?
We must have exactly the same data in a few tables (27 Item and related tables)
What about changing the Table property DataPerCompany ?
My candle burns by both ends, it will not last the night,
But oh my foes and oh my friends, it gives a lovely light
But oh my foes and oh my friends, it gives a lovely light
0
Comments
-
philippegirod wrote:Good morning,
We must have exactly the same data in a few tables (27 Item and related tables)
What about changing the Table property DataPerCompany ?
Then you have some problems for example with the calculated fields or with the "Unit Cost", with the modifications in some posting routines, with the No.-Series, and so on.
If you really need the same items in all other companys you can store the "item no" in a separate table (DataPerCompany= No). But also here u must handle the following: Who (company) can modify / delete / insert items? After changeing a item (modify, delete, rename) and so on you must also change / insert the item no in the separate table and in all (!) entry tables, posted document lines of all companies and is this really that what you need (locking problem)?
So, the question is, why do you need this?Do you make it right, it works too!0 -
garak have you ever tried setting table 27's DataPerCompany to false? I would be interested to know whether the flowfields worked at all or how any calculations were off?
I don't think setting some of those master tables DataPerCompany property to false is a good idea...but it would be interesting to know what happens. For all the reasons that you pointed out it's pretty dangerous to do such a modification.0 -
We've successfully worked without the option "data per company" for tables like item, vendor, customer. You have to know that the values of flowfields are not considered, that means the value is the same for all. We solved this problem with using the global dimension filter.Rallnus (Yamaha FJ1200 - '89 / 25th anniversary was great!)0
-
then i hope that your customer doesn't use the avg. cost. option
On the item table there is a field called "Cost is Adjust" or some like this.
This means, that if you set DataperCompany=false, and the adjust cost batch is ran for Company 1, it willl mark the "Cost Is Adjust" to true.
Problem 1: AND THIS MEANS, that the Adjust Cost batch will never be ran for Company 2!
Problem 2: In addition, when invoices or cr. memos or what else for the item are posted for Company 2, it'll look at the "Avg. Cost Adjmt. Entry Point" table and detect that the cost has not been adjusted and mark it for adjustment again!
So, better is, copy the items from company 1 to company 2 or use a "Sharing" table (data per company = false) where the Items can created/modified/deleted and the changes in this table will be copied to the item table in the companies. this mean, that the items are not editable on the item card in the companies, it's only editable in the "sharing item" Card and this copies the values to table 27 for all companies.
RegardsDo you make it right, it works too!0 -
This has been discussed here:
http://dynamicsuser.net/blogs/alexchow/ ... n-5-0.aspxConfessions of a Dynamics NAV Consultant = my blog
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book0
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