Hi all, I searched forum quite enough, but finally i've decided to post my problems. So, I've created CU for some nevermind reason, and I want it to run periodically.. And here's my failure. I know, NAS is sort of outta way, but as I know it works with Native DBes. So, if you guys have any ideas about how to get this done plz share with me.. ](*,)
Thanks a lot
MCSD
Attain Navision
0
Answers
To run a REport / CU periodically and autom. u can use the Sheduler.
Which NAV version do u use?
Reagrds
Attain Navision
Take a look to this module (if you have it in your license).
The job queue provides functionality to schedule tasks at certain times, without having to develop anything (but the Codeunit or the report must be developed ;-) ).
It might be a granule cost, but it will be much better from a support point of view, and from an upgrade point of view.
So, if you are an End-User, ask your partner for the job queue.
But before you ask your partnert, take a look into the pdf for the Job Queue.
Regards
Attain Navision
Here is an example illustrated.
http://blogs.msdn.com/microsoft_dynamic ... v-5-0.aspx
It's very simple, but read the pdf (on CD / DVD) before.
PS: If you use the native server u need nas.exe. If you use SQL Server Option u need nasssql.exe
Attain Navision
I'm also having the same requirement for my client.
I'm new in JobQueue so i want to ask, did we need to install NAS to use the JobQueue?
We use NAV 5 SP 1.
Please advice,
Thanks
Regards,
Steven
yes, u need to instal NAS and start the service
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Can i just Create a Report, DataItem "Integer" with SORTING(Number) WHERE(Number=CONST(1))
And then add codes :
AppMan.NASHandler('JOBQUEUE');
with AppMan is Global Variable for CU 1 "ApplicationManagement"
Then I Run the Report 1 time to start the JobQueue?
I already try this, the JobQueue call 1 codeunit to insert 1 row to my table,
I just want to test if it works first. But it didn't.
Please advice,
Thanks
Regards,
Steven