If the database has multiply companies the user sometimes has to change company.
There are a funtion in NAV CHANGECOMPANY but that does only give us access to read or write in the other company, my function will switch the client company.
There are no functions i C/AL to change company so we have to use windows script host.
Check out my mibuso blog for full information and download example code.
http://mibuso.com/blogs/rikardh/2012/12/13/cal-change-company-dynamics-nav-classic/
Comments
Its hard to find user cases for this. :-)
If you use a ISV-solution that creates some kind of orders in separated companies and want to jump between the orders.