Good morning to you all,
Maybe this has been answered somewhere in this great forum but I cannot seem to find is
. In my MS Dynamics NAV 2013 R2 environment I've setup multiple companies in which I want to schedule several jobs. Do I need more than one NAS service fo my companies or can I run all of the jobs through one NAS service on my service tier?
Thank you very much for helping me!
Stefan
Comments
Your license is able to run multiple NAS concurrently ?
If one NAS instance is off then it will affect in all the companies.
[*time consuming job]
It depends on your tasks. Normally, you will need one NAS for each company. However, you could rely on the CHANGECOMPANY statement to process data in multiple companies. This statement however has severe limitations. I assume you know these. In short: If your task does anything which is more complicated than setting simple values to records, the CHANGECOMPANY statement is useless, because it will not take any Business Logic into account.
Let's say, for example, that you want to post invoices in multiple companies (or execute any other business logic). What are the options? You could buy a extra NAS for each additional company. That would be the simplest solution, but also the most expensive. You also could buy one extra NAS, and with some clever coding, you could have one NAS executing the other NAS, with all the params needed. That way you can emulate lots of NAS instances with one extra NAS in your license. I am not sure whether Microsoft considers this to be proper conduct. I would not recommend it.
Third, you could rely on NAV webservices. Then one NAS calls a function in a fixed company, from which functions in other companies are called, taking into account all business logic. I think this is the best option, but likely not the fastest.
Greets.
http://www.epimatic.com
So in general I can work with one NAS service even for the more complex jobs?
Ps. the NAS service is still a somewhat of a unknown territory for me.
Greets,
Stefan
http://mibuso.com/blogs/ara3n/2014/02/2 ... -nav-2013/
One service tier can run multiple nas instances.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
What does it mean by "One service tier" ?
How is it possible to run Multiple NAS Instance without installing the same no. of NAS ?
Please reply.
When you start the service tier with a NAS with JOBQUEUE, it can start other NAS as background session. In a sense multiple NAS running it's own session and running jobs concurrently in one or more companies.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n