Dear All,
I hope all are fine. I am facing some problem regarding running an object , can be form,report etc, automatically depending on the user defined time. Let us say at 12am everyday, a process report should run automatically.
How can i achieve this? Where should i place my code?
Please help
Thanks
You will need to write a job scheduler yourself, if the customer does not have a license for the scheduler built in to Navision (don't ask from which version on the scheduler is included).
I did it several times using a SI codeunit with an instance of the Navision timer firing every minute.
Then looking into a table if any job is overdue and run it.
You should not run the job directly but call another codeunit (using the return value).
Otherwise a job failing will stop the session and you might not be able to mark a certain job as having failed to process.
Dear Mr Bradley,
I have downloaded the Macro Schedular. But could you please provide me with the script also. I dont know in what language i have to write the script and what to write.
Please help me. It is urgent one.
Ok i have learned to write the script just from the help coming with the software. Yes it is easy.
THank you very much.
I'm not sure of what I'm reading here....
I need too a "calendar" to work with Navision but the Macro Scheduler is an external application.
Is there any component to include in Navision, that I could setup each year with the holidays of my country to look up later?
Galletin,are you looking for a base calendar to be maintained in Navision (MS Dynamics NAV :))?
This would be under Administration - Application Setup - General - Base Calendar within Navision 4.x
You can't imagine how much time you have saved me, I had started to do my own calendar and was really depressed jajajaja
Thank you Joerg !!
I was not able to write the script which logs on in Navision runs a reports and logs out.
Please send me this simple script
Thank you!