Skip to main content
Administrator Guide
Last Updated: 2023-06-23
Concept: AND and OR Setup for Boolean Calculations

Concept: AND and OR Setup for Boolean Calculations

You can use AND and OR logic to set up conditions that identify workers, such as:
  • Worker Eligibility
    and
    Scheduling
    fields on the
    Effective Dated
    tab of the
    Create Earning
    and
    Create Deduction
    tasks.
  • Selection Criteria
    field for workers to process on the
    Create Run Category
    task.

OR Conditions

To set up an OR condition, put each condition on a separate row. A worker must satisfy only 1 condition for the pay component or worker selection to resolve.
You want to resolve an earning for an allowance when a worker is either:
  • Enrolled in a compensation plan.
  • Has payroll input.
  1. Access the
    Edit Earning
    task.
  2. Add 2 rows to the
    Worker Eligibility
    field.
    Click the plus sign to put each condition in a separate row.
    Worker Eligibility
    Compensation: Compensation Value Exists and <> 0
    Payroll Input Exists for Pay Component

AND Conditions

To set up an AND condition, keep all conditions in the same row. Workers must satisfy all criteria in the row for the pay component or worker selection criteria to resolve.
You want to resolve a deduction for an amount-based benefit deduction only if the deduction hasn't already resolved in a previous subperiod of the period.
  1. Access the
    Edit Deduction
    task.
  2. Add 1 row to the
    Worker Eligibility
    field.
    Worker Eligibility
    Benefits: Employee Cost (Post-tax) Exists and <> 0
    Pay Component Not Previously Paid in Period