47.3.1 Calculate Payroll

Usage: calcpay [-p] firstvoucher# begindate end-date freq paydate

The Payroll menu has been changed so that the command to calculate payroll is incorrect. See your system administrator.

employee employee already paid for this period

This is a warning message only, it does not stop the process. It is just letting you know that there is already a pay voucher on file for employee for this pay period. The process continues on and processes the rest of the employees.

employee is not in employee file.

The employee just entered cannot be found in the employee master file, employee.

calcpay0110: voucher voucher already in use.

The voucher voucher already exists in the payroll voucher file, payrollm. Start the process again with a different starting voucher number.

bopen####: error message

calcpay0200: cannot open [master | header | detail] file for name

The process was unable to open the file for the reason specified by the bopen message. The following table lists the files opened by this process.

Table 47 - 3

Ledger Code File Description

em employee employee master

ed emductm employee deductions header

dm deductm standard deductions header

dm deductd standard deductions

ld labor labor hours

pr payrollm payroll voucher

pr payrolld payroll voucher detail

See the General Errors section for more information on the bopen message.

calcpay210: system error message

calcpay210: cannot set [master | header | detail] file field list for name

The process was unable to set the field list for the file for the reason specified by the system error message. Refer to Table 47-3 for a list of the files opened by this process.

calcpay0300: cannot open dictionary for name header file.

Calcpay was unable to open the dictionary file for the payroll voucher header file, payrollm.

calcpay0310: no index for employee date in name header file.

The secondary index containing the fields employee and date is missing from the payroll voucher header file, payrollm. Be sure this index is present in the RMS definition file pr/def/payrollm, and then run convertlf.

calcpay0320: system error message

The command to set the secondary index to be used to search the payroll voucher header file has failed for the reason specified by system error message.

calcpay0330: cannot open dictionary for name detail file.

Calcpay was unable to open the dictionary file for the payroll voucher detail file, payrolld.

calcpay0340: no index for employee deduction date in name detail.

The secondary index made up of the fields employee, deduction, and date is missing from the payroll voucher detail file, payrolld. Make sure this index is present in the RMS definition file pr/def/payrolld, and then run convertlf.

calcpay0350: system error message

The command to set the secondary index to search the payroll voucher detail file has failed for the reason specified by system error message.

calcpay0410: no memory left for employee list

The system was unable to allocate enough memory to process the list of employees.

calcpay0500: voucher voucher for employee employee been [partly] paid

Calcpay is running a final check on the payroll voucher before it is posted. It has found a voucher numbered voucher for employee that is marked as either paid or partially paid. This voucher has been removed as part of the termination process.

post####: error message

calcpay0510: cannot unpost voucher for employee from name header file.

Calcpay is running a final check on the payroll voucher before it is posted. This error message is misleading, calcpay has just unsuccessfully attempted to trial post the voucher header record. This voucher has been removed as part of the termination process.

post###: error message

calcpay0520: cannot unpost voucher for employee from name detail

Calcpay is running a final check on the payroll voucher before it is posted. This error message is misleading, calcpay has just unsuccessfully attempted to trial post the payroll voucher detail record. This voucher has been removed as part of the termination process.

calcpay0600: system error message

The process was attempting remove a payroll voucher header record and all of its detail records. It failed to do this when it was unable to the find the payroll header record in the payroll voucher header file, payrollm for the reason specified by system error message.

post####: error message

calcpay0610: will try again in 10 seconds

The process is attempting to remove a payroll voucher header record and all of its detail records. It is unable to unpost the payroll voucher header record at this time for the reason given by the post message. Refer to the General Error Messages section for more information on the post message. It will sleep for 10 seconds and then try again to unpost the record. It will continue this process until it is successful or it is interrupted. The payroll voucher detail records are still posted.

post####: error message

calcpay0620: will try again in 10 seconds

The process is attempting to remove a payroll voucher header record and all of its detail records. It is unable to unpost a payroll voucher detail record at this time for the reason given by the post message. Refer to the General Error Messages section for more information on the post message. It will sleep for 10 seconds and then try again to unpost the record. It will continue this process until it is successful or it is interrupted. The payroll voucher header record has already been unposted.

calcpay0700: system error message

The system was unable to find the newly created voucher in the payroll voucher header file, payrollm, for the reason specified by system error message. Calcpay was preparing to post the voucher. The detail records belonging to the voucher have not been posted.

post####: error message

calcpay0710: will try again in 10 seconds

The process is attempting to post the newly created payroll voucher header. It is unable to do so at this time for the reason specified by the post message. Refer to the General Error Messages section for more information on the post message. The system will sleep for 10 seconds and then attempt to post the record again. It will continue this process until it is successful or it is interrupted. The detail records belonging to this payroll voucher have not been posted.

post####: error message

calcpay0720: will try again in 10 seconds

The process is attempting to post the newly created payroll voucher detail records. It is unable to do so at this time for the reason specified by the post message. Refer to the General Error Messages section for more information on the post message. The system will sleep for 10 seconds and then attempt to post the record again. It will continue this process until it is successful or it is interrupted. The header part of the payroll voucher has been posted.

calcpay0800: system error message

Calcpay was in the process of creating detail payroll vouchers for the labor expenses accumulated in the labor file. After creating a voucher for one of these labor records it was unable to add it to the payroll voucher detail file, payrolld, for the reason specified by system error message. The header portion of the voucher was removed as part of the termination process.

calcpay0900: system error message

The process was re-calculating the period gross pay amount for a salaried employee with non-overtime labor distribution expenses in order to update the salary expense record belonging to the employee. It was unable to update the payroll voucher detail file, payrolld, for the reason specified by system error message.

calcpay0910: system error message

After creating a salary expense record for a salaried employee, calcpay was unable to add it to the payroll voucher detail file, payrolld. The payroll voucher header record was removed as part of the termination process.

calcpay1000: system error message

Calcpay was creating a payroll voucher detail record for an employee deduction. It was unable to add this record to the payroll voucher detail file, payrolld, for the reason specified by system error message. The payroll voucher header record and the rest of its detail records were removed as part of the termination process.

calcpay1010: system error message

Calcpay was creating a payroll voucher detail record for an employer deduction. It was unable to add this record to the payroll voucher detail file, payrolld, for the reason specified by system error message. The payroll voucher header record and the rest of its detail records were removed as part of the termination process.

calcpay1100: no standard deduction for deduction for employee employee

The process was creating deduction records for deductions taken from gross pay. The deduction deduction for employee employee is marked as a standard deduction (flags = s). The process cannot find deduction in the standard deduction header file, deductm. The payroll voucher for employee has been removed in the termination process.

calcpay1110: no standard deduction for deduction for employee employee

The process was creating deduction records for deductions taken from net pay (flags = n). The deduction deduction for employee employee is marked as a standard deduction (flags = s). The process cannot find deduction in the standard deduction header file, deductm. The payroll voucher for employee was removed as part of the termination process.

calcpay1200: system error message

The process just created a payroll voucher header record but was unable to add it to the payroll voucher header file, payrollm, for the reason specified by system error message.

calcpay1210: system error message

The process has just calculated the net pay amount but was unable to update the payroll voucher header record, payrollm, for the reason specified by system error message. The payroll voucher was removed in the termination process.