Forum Discussions
Running Job Queue through NAV Web service for Unlimited Companies
- Author
- ara3n
- Category
- Forum Discussions
- Date
- 30/01/2009
- Size
- 6,2 KB
- Downloads
-
1090
Detailed statistics
- Downloads today 0
- 30 day downloads 7
- Total downloads 1090
- Overall download rank #1345 / 2083
- Today page views 0
- 30 days page views 4
- Total views 3650
- Popularity
- Downloaded 4 times in the last two weeks
I had posted on mibuso a while back on how to use two NAS instances to run job queue for unlimited amount of companies. Here is the link: http://www.mibuso.com/forum/viewtopic.php?f=7&t=22633. You had to purchase an additional NAS user license in order to use it. Dynamics NAV 2009 comes with web service, and you can publish any Code unit or Page by default. You will need to purchase one user but for webservice, but it much cheaper. In this blog, I will show you how to setup JOB QUEUE to schedule to run jobs across companies. The advantages of using Web Services is that you can run multiple jobs at the same time for multiple companies. What I've experienced with NAV 2009 Web Service is that once you call a web service function, you can disconnect and Service Tier will finish the job and commit the transaction.
In addition you don't have to modify any processing/posting jobs that have dialog windows displayed. The Service tier simply ignores them. For example you can run adjust cost report without modifying any objects from Job queue. In addition, the solution I've created does not modify any existing objects!!!
This fob file is uploaded as support for the thread Job Queue through NAV Webservice for mulitple Companies.
Object is Codeunit 50000.
In addition you don't have to modify any processing/posting jobs that have dialog windows displayed. The Service tier simply ignores them. For example you can run adjust cost report without modifying any objects from Job queue. In addition, the solution I've created does not modify any existing objects!!!
This fob file is uploaded as support for the thread Job Queue through NAV Webservice for mulitple Companies.
Object is Codeunit 50000.