Page 1 of 1

Running Scripts on Capital Startup

Posted: Fri Aug 31, 2007 2:23 pm
by codemonkey76
I have a number of reports I would like to run on a periodic basis, is there a way to have capital office run a script on start-up to do this?

Or is there a better way to go about this, I could recreate the report functions by accessing the DBF files externally but it seems like a lot of work to replace some of the built-in reports.

Basically at present i have to run the reports manually saving to files and then progamatically parse the files to manipulate further.

Posted: Tue Sep 11, 2007 6:48 am
by COBS Tech Support
You can use the /RUN switch, like so:

CAPWIN /RUN=SETCLOCK.MAC

or in V8:

BMS /RUN=SETCLOCK.MAC

Running a report on startup

Posted: Tue Mar 11, 2008 1:07 pm
by codemonkey76
How would i create a script that runs the built-in supplier expense report for the previous month, outputing to a particular filename (i have a PDF print driver installed)

Posted: Tue Mar 11, 2008 4:37 pm
by COBS Tech Support
You can't presently access the standard internal reports using an external command. You would therefore need to replicate the report using Visual Builder. You could then launch the report using the /RUN switch. We are planning to add standard internal reports to our Server Agent application as tasks that can be scheduled, but that feature is not yet available.