How to create a command file to run a report |
The following parameters must be in effect to create a command file to run a report:
Report must exist as either a standard report or a user-defined report.
User must be assigned to a user group that is authorized to execute the report (specified on the Groups Currently Assigned tab of the System Mgmt -> Setup -> Access Rights -> Users screen). Report access rights for user groups are defined on the System Mgmt -> Setup -> Access Rights -> Rights Templates -> Report Access screen.
File must contain the screen ID of the Queries/Reports -> Query Report Generator screen (i.e., 3005), the report name, and the output destination (such as a file or a printer).
To create a command file to run a report, use a text editor (such as WordPad) and complete the following steps.
Create a text file in the AppServer directory of FA on the server.
For example: C:\AssetWorks\FASuite\1507\AppServer
Type a string in the text file for printing directly to a printer or printing to a file.
Create a text file in any other directory on the computer.
In the file, type in the following:
Create a Windows Task Scheduler task that will run the .bat file created in step 4 at a time you designate.