Hi all,
I'd like your input on the following idea. We have a client with a lot of companies. For the new NAV 2016 installation we would like to get around the old solution to make the No. Series Line table DataPerCompany = No because of locking issues and performance. Although, there is a need of having some Master Data with identical No. in several companies. We discussed the idea of duplicating the No. Series Line table for selected No. Series and make only this new table DataPerCompany = No and leave the Rest in standard with DataPerCompany = Yes.
Did somebody try this before or have thoughts on this idea? Your input is highly appreciated! Thx
0
Answers
Pargesoft
BTW - I personally would never set this table to DataPerCompany=no
Pargesoft
That's why we wanted to duplicate the table...
1st option: Make sure the NoSeriesManagement will always run in the same Company. This can be achieved in two ways, one using startsession or a webservice call (but both are probably too slow).
- Second is to rewrite the NoSeriesManagement codeunit, so it is applies changecompany for the tables 308, 309 and 310, but only when needed. Thereby forcing to always use the same company as the leading no.series company.
2nd Opion: Indeed make a copy of the No. Series and No. Series Line. and the NoSeriesManagement. Those tables that should use these multicompany No. Series should have a little change, so they call this new codeunit. This solution takes more objects to change, but I think it is easier to develop.
for your input. And Kowa you are thinking having approx 20 companies and thus 20 no. series line table in SQL would not improve locking behaviour. In theory it should but that's why I am asking, I want feedback from the field!