Compute statement

A compute statement is an arithmetic equation that you can define to perform a calculation within Human Resource Writer reports and inquiries. A compute statement can have up to three factors and two operators.

  • A factor is a column in the report, a particular item from a system-defined list, or a fixed numeric value.

  • Operators are add (+), subtract (-), multiply (*), and divide (/).

Compute statements are associated with HR Writer Authors, so they can be used in multiple reports for the same author.

Example

The Personnel Manager at Two Rivers Company wants to have a report listing the hourly rate of pay for all the active full-time salaried employees. Therefore, she will establish a compute statement to take the employee's rate of pay from Employee (HR11) and divide it by 2080 to come up with an hourly rate of pay.