Keystroke Point of Sale Help


Report Manager - Menus - Cue - How to Automate a Report Cue

Reports Cues may be automated to run at specified times of the day using a Task Scheduler in Windows, by clicking on a shortcut, or by clicking a Toolbar Button.

Every Report Cue (Report Group) may be identified by its ID Number (ID Number: #) displayed on the Edit Report Group Screen.

The following command line may be used to run a Report Group from outside of Keystroke:

Keystroke.exe /GKSR CUEID=# (where the # is the Report Group's ID Number)

Keystroke date formulas may be used as variables to define the Date Range for which the reports are to be run (for reports that prompt for a Date Range).

Example:

Keystroke.exe /GKSR CUEID=1 START=-1M END=-1D

In this example, if this command is run on the 1st of the month, it would start 1 MONTH AGO, and end 1 DAY AGO. (If run on March 1st ,2018 it would run from 02/01/18 through 02/28/18. If run on July 1st ,2018 it would run from 06/01/18 through 06/30/18).

Date formulas used with START= and END= include:
-1D = 1 Day ago
-1W = 1 Week ago
-1M = 1 Month ago
-1Y = 1 Year ago

Time formulas used with STARTTIME= and ENDTIME= include:
-1H = 1 Hour ago
-1M = 1 Minute ago

Any numbers may be used such as:
-5W = 5 Weeks ago
+1D = 1 Day from now

To enter the previous month:
Enter "BPM" (Beginning of Previous Month) in the Start Date and enter "EPM" (End of Previous Month) in the End Date.

To enter the previous year:
Enter "BPY" (Beginning of Previous Year) in the Start Date and enter "EPY" (End of Previous Year) in the End Date.

For end of month (28,29,30,31), enter 99 as the day:
For May 31, enter:
5/99/17
5.99
99 (if the current month is May)

See:

Report Manager Contents

Keystroke Help Table Of Contents