Dear All,
I have a created 3 companies in my database i.e. A,B and C. Now, I have created a dataport which imports some data from a file to Item table.
Now, my query is that if I have opened company A and I run that dataport then is it possible that system import the same data in company B also (at the same time). I do not want to open company B and do the same process again.
Is it possible?
Regards
Navision Developer
0
Comments
use table property "data per company"
Ashish Gupta
SS Dynamics Solutions Pvt. Ltd.
Navision Technical Consultant
lokesh
ind synergy
Please don't. Yes, this is a possible solution. It will cause more pain than it is worth. Search the forum about it and you'll find more of the same. You'll want to add a little bit of code to your dataport involving the CHANGECOMPANY method. You'll also find posts on it and exactly how it is used here in the forums. Also search the help from the NAV Client.
Follow the solution proposed by matttrax.
My personal opinion is that while you should investigate the CHANGECOMPANY in order to see the possibilities (..and possible pitfalls), the best solution is to run the import for each company in order to follow all system checks. Especially if you are planning to do the same with more than one table.