Difference between revisions of "Adding a new Reporting Frequency"

From Vital Soft Wiki
Jump to: navigation, search
>Kevint
>Kevint
 
Line 5: Line 5:
 
2.  Make the frequency active by adding it to the [[Vitalsigns.xls#vReportFrequencies|vReportFrequencies]] list in  the Vitalsigns.xls configuration file.
 
2.  Make the frequency active by adding it to the [[Vitalsigns.xls#vReportFrequencies|vReportFrequencies]] list in  the Vitalsigns.xls configuration file.
  
3.  Create a UC4 task that processes the reports.
+
3.  Create a UC4 task that processes the reports. The script should log in as bolive and issue this command:
  
:The syntax is:
+
:/VSJOBS/JVSRELOAD ''qvw document name''  LOAD=NO PRINT=''frequency''
  
:/VSJOBS/JVSRELOAD ''qvw document name'' LOAD=NO PRINT=''frequency''
+
where ''qvw document name'' is the name of the Vital Signs document used by the report, and ''frequency'' is the new frequency defined in steps 1 and 2.

Latest revision as of 21:50, 29 May 2013

By default, Vital Signs is set up with three distribution frequencies for automated reports -- Daily, Weekly and Monthly. These frequencies can be used to generate reports every day, on Sunday and at the end of the month respectively. It is possible to generate reports on a custom frequency (ie every Tuesday afternoon) by following these steps:

1. Create a new frequency worksheet in the DocumentDistribution.xls file. See here for more details.

2. Make the frequency active by adding it to the vReportFrequencies list in the Vitalsigns.xls configuration file.

3. Create a UC4 task that processes the reports. The script should log in as bolive and issue this command:

/VSJOBS/JVSRELOAD qvw document name LOAD=NO PRINT=frequency

where qvw document name is the name of the Vital Signs document used by the report, and frequency is the new frequency defined in steps 1 and 2.