I've developed one process in Nav2016, and I need to run this process using the NAS, but I don't know how to do the NAS Setup and the process is run for each company.
Yes it's normally necessary to create a NAS per company.
However if you have a very simple process then you may be able to use the CHANGECOMPANY function on the tables you are using in your code. NOTE! - if your code calls any triggers (e.g. OnValidate, OnModify, OnInsert, etc...) then this may cause problems as any variable declared within those triggers or in any functions called from those triggers will execute in the main company - not the one you specified in the CHANGECOMPANY function.
Answers
However if you have a very simple process then you may be able to use the CHANGECOMPANY function on the tables you are using in your code. NOTE! - if your code calls any triggers (e.g. OnValidate, OnModify, OnInsert, etc...) then this may cause problems as any variable declared within those triggers or in any functions called from those triggers will execute in the main company - not the one you specified in the CHANGECOMPANY function.
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/