Defining Update Client Statistic Jobs

An Update Client Statistics job allows statistics on the Statistics tab in Client Registration to be automatically calculated and available on-the-fly, instead of having to wait for the statistics to be calculated when viewing the tab.

Before you begin

Schedule Job Agent must be open.

About this task

To run this job, Client Statistics ancillary data needs to already be set up to define what statistics to calculate and how they are calculated.

Procedure

  1. Select a job from the grid.
    The scheduled job record settings are shown in the Job Schedule frame.
  2. Confirm the Agent Name PassScheduleAgent is defined for the job schedule.
    The selected agent determines the options that are available in the Job Type field.
  3. Click Job Data.
    The Job Data dialog box appears.
  4. Define the schedule type and date information:
    1. In the SchType field, click a schedule type:
      Live or Template.
    2. Optional: In the Schedule list, if setting parameters for a single date or week day, specify a date or day. If the job parameters should apply to all dates or days that the job runs, leave this field set to N/A.
    3. In the Offset field, type the offset from the present date.
      Typing 0 will run the job today. Typing 1 runs the job on the next day’s schedule.

      Using Offset allows you to always run the job for days in the future.

  5. In the Job Type field, select Update Client Statistic. If no Job Types are available, confirm that an Agent Name has been selected in the Job Schedule frame of the Schedule Job Agent dialog box.
  6. Click New.
    The New Batch dialog box appears.
    The New Batch dialog box open to the Update Client Statistic tab. No options are defined.
  7. Type the Batch Name for the job step.
  8. Select First Use Date to update the date of the client's first trip booked with the site.
    This check box can be unselected after the job is first run.
  9. Select Last Trip Date to update the date of the client's latest trip booked with the site.
  10. Select Update Current Periods to update the current client statistics period.
    Periods are defined in Client Statistics ancillary data by a system administrator.
  11. Select Update Previous Periods and click the # of Previous Periods to update previous statistics periods.
    One, two, or three previous periods can be calculated. Periods are ordered by their ToDate.
  12. Click OK.
  13. Click OK.
    The Job Data dialog box closes.
  14. Click Save.