Previous Topic

Next Topic

Book Contents

Book Index

Payroll processing needs

The company runs a batch job (CalcSalaries) that calculates the salaries to be paid to employees for the month just ended. After these calculations are completed, the company can run a paycheck printing job to print the pay checks. (The sample draft does not contain the job processing definition for the check printing job, but does contain the salary calculating job, described in this appendix).

Define a job to calculate salaries

This batch job calculates employees salaries for the month just ended.

You can see the following:

  1. In the General tab, the File Name and File Path fields identify the file name and location of the batch job.
  2. The job is scheduled on the first day of every month. In the Scheduling tab, the following values are selected day 1 in the Days of the month (Month Days) area and select ALL in the Order on Months area.
  3. The job runs in time for pay checks to be printed: In the Time Settings area, job can only be submitted between the hours of 1:00 and 3:00 AM, which ensures that the pay check printing job which follows has plenty of time to print the pay checks before they are needed.
  4. The job is not submitted until all time sheets have been submitted: In the Prerequisites tab, the In Condition contains EX_TimeSheetSubmitted. This condition is actually a manual condition, which means that it is not added by another job, and is instead added manually by the authorized manager from accounting, only after all time sheets have been submitted.
  5. The jobs that depend on successful completion of this job can run after the jobs ends ok. In case other jobs depend on this job, after the job ends successfully, it adds the Ex_CalcSalariesOK Out prerequisite condition. The date definition for this conditions is Order Date, which ensures that the condition is added to the system with the original scheduling date of the job. In addition, this job shouts a message to the appropriate location indicating that the pay checks can now be printed. This action is defined in the Notifications after job completion section.

Parent Topic

The Ex-Accounting application - organizing the company's accounting jobs