Pay Element Derivation
This topic describes the way in which the payroll calculation routine determines the value of a pay element.
Generally, all temporary pay elements are derived first, in element order. If there is a formula this is ignored until later, unless it is a simple formula, for example, /ADT which is evaluated at this stage. The fixed pay elements are then derived in element order, again ignoring formula unless simple. Pension elements are evaluated later, after the first formula pass.
Then the formulae is evaluated. This is done in pay element within formula priority order, blank or 0 being first, 9 last. If the priority is a letter, the evaluation is postponed until after the pension calculation.
If the formula calls for value, units or rate from a fixed element (FA[xxxx] etc) these are derived in the order shown below.
Temporary Pay Elements
If a value cannot be found for a temporary pay element, the value is derived by searching through the following in order, until a value is found:
- Input value.
- 2nd Currency input value.
- Value derived from monetary table on the input element.
- Value from the pay element Fixed Amount field, which is accessed from the Type Detail field in Maintain Pay Element Definition.
- Value from the pay element monetary table, which is accessed from the Type Detail field in Maintain Pay Element Definition.
If the temporary pay element is rated, units are derived from the following in order:
- Input units.
- Units derived from monetary table on the input element.
- Units from the pay element Fixed Units field, which is accessed from the Type Detail field in Maintain Pay Element Definition.
- Units from the pay element monetary table, which is accessed from the Type Detail field in Maintain Pay Element Definition.
The rate is derived from the following in order:
- Input rate.
- 2nd Currency input rate.
- Rate derived from monetary table on the input element.
- Grade rate if element spinal column based.
- Fixed pay element value for the same element.
- Fixed pay element 2nd currency value.
- Fixed pay element monetary table.
- Value from the pay element Fixed Rates field, which is accessed from the Type Detail field in Maintain Pay Element Definition.
- Value from the pay element monetary table, which is accessed from the Type Detail field in Maintain Pay Element Definition.
- Post rate Normal, Overtime 1 or overtime 2.
Fixed Pay Elements
If a value cannot be found for a fixed pay element, the value is derived by searching through the following in order, until a value is found:
- Default pay element value, if pointed to. This is not applicable to employer values.
- Fixed value.
- 2nd Currency fixed value.
- Value derived from monetary table on the fixed pay element.
- Value from the pay element Fixed Amount field, which is accessed from the Type Detail field in Maintain Pay Element Definition.
- Value from the pay element definition monetary table, which is accessed from the Type Detail field in Maintain Pay Element Definition.
If the fixed pay element is rated, units are derived from the following in order:
- Fixed units.
- Units derived from monetary table on the fixed element.
- Units from the pay element Fixed Units field, which is accessed from the Type Detail field in Maintain Pay Element Definition.
- Units from the pay element monetary table, which is accessed from the Type Detail field in Maintain Pay Element Definition.
The rate is derived from the following in order:
- Default pay element rate, if pointed to.
- Fixed rate.
- 2nd Currency fixed rate.
- Rate derived from monetary table on the fixed element.
- Value from the pay element Fixed Amount field, which is accessed from the Type Detail field in Maintain Pay Element Definition.
- Value from the pay element definition monetary table, which is accessed from the Type Detail field in Maintain Pay Element Definition.
- Post rate Normal, Overtime 1 or overtime 2.