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?
Dear Mr Colin Bradley
Please send mne the simple script which logs on Navision runs a report and logs out.
I downloaded macro scheduler but I was not able to figure out the script for running a report in Navision
I was surprised to get something on this topic.
It was back in 2007 when I last contributed.
I guess you now have the MacroScheduler downloaded as a demo version?
The demo may not have the scripting tools.
I tried recently to open Navision and then run a report but could not get it to open Navision.
I am now on a contract away from home so not able to look into this for the moment.
It may be worth trying to get hold of an earlier version that does not need a licence or find another product to do the job.
The problem I have is that the client is running an application that closes the Navision session if there has been no activity for 1/2 hour so using the internal timer may not be any good. I need to look into this or get some help from the users to firstly know if you can "keep the session open" in some way and then to kick off a number of reports.
The real problem is that you need to pass filters to the reports based on dates and so on. I suppose the starting form or report could hold that as variables.
I have never used the timer function so can't help with that. I may get some more info but probably not for several weeks unless the client asks for it before.
You could also investigate the ExpandIT Launch Utility.
Thank you for the prompt answer.
Yes I have installed the MacroScheduler demo version and it has the scripting tool.
I just want to Open Navision and run a report (which does not take a long time) and after that log out Navision.
The report does not require any filtering done by the user. (it has filters inside it)
I'm using Navision 4.0.
Please provide me the simple scrip which just helps running a single report in Navision.
Thank you again.
I'm using the old Navision 4.0 - the menu has no keyboard shortcuts, and you can't really depend on the menu starting with the same order. How do you get around this with the script from the Macro Scheduler? Please let me know. I need to run a function from the menu, say like, the update cost from the Financial Management - Inventory - Costing menu.
Thanks, if anyone else can help - much appreciated!
Why bother with the menu?
Just go directly to the object and run it.
That will be no problem for Macro Scheduler.