Interested in creating and selling training? You pick the price, 50/50 revenue share, and you own the content. Find out more at
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?
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.