The solution below shows the way of setting the following variable allowance (assuming the allowance amount varies for employees):
Full allowance (e.g., RM500 for an employee) if no absence and NPL
With absent/NPL/MC/Lateness, allowance should be RM 0
Go to: Housekeeping, Setup, Tables Maintenance, Select Allowance Table
Key in allowance description
Click Next, Next
At the Formula field for the row where the allowance is added, key in the following formula: IIF(RATTN=0, 50, IIF(RATTN<=1, 0, 0))
βAt the Reverse Attendance (RATTN) field, add "LATEHR + MC"
Click OK to save the record.
Go to Personnel, Add/Update Employees, Select Allow./Ded. tab,
Key in the allowance amount for the individual employee.
