I have 2 companies in my Navision (2016), Company_1 & Company_2. Both companies are in the same Database!
Let’s say I create a new Purchase order in Company 1. Now, I want to send this Purchase order to Company 2 by pressing a button, this button will automatically send my Purchase order to Company 2 & create a new Sales order in Company 2 for me.
Now the question is how to achieve this without the inter-company Module in Navision? Is there another way to do this? I am A Navision programmer so I am open for some good & understandable ideas
Hi,
It is not possible to directly create document from one company to another. You need to write a program to pull the purchase order from company A to company B using ’ CHANGECOMAPNY’ function .
Look at the following links msdn.microsoft.com/…/dd338929.aspx
I believe it depends upon developers to developers and on their ease. Yes Web Service will be a better approach but the chances of error is comparatively more then using the CHANGEOMPANY feature.
For Webservice you have to design your code as per the Webservice guidelines and for CHANGECOMPANY there’s as in no Protocols to follow. You can simply go with the common C/AL code.
HI Erik,
First thanks a lot for your reply. We have in our new Navision System (2016) 7 different companies. The Purchase employee have to create a Purchase order in one company and create a Sales order in the other company and so one. We are using IC company in our old Nav 2009. But its really annoying sending an IC document and accepting it the whole day. we wanted to make the employees life much easier by just pressing one BUTTON & this button would create the other documents in the other companies.
And thats why I am asking what is the best way to do this?