Related topics
The day total calculations can be performed either for a specific wage type or for all wage types having a common attribute as, e.g. absence, etc.
- Select the Work with day balance calculation rules menu item.
- On the Work with day balance calc rules panel, select the applicable rule and click Details.
- On panel Work with day balance calc rules, Details, click Add.
- You access the detail panel. The following fields are mandatory:
- Calc sequence
- Enter a sequence number indicating the order in which the steps within the calculation rule should be performed.
- Perform always
- Indicate if the calculation always should be performed. If NO, the calculation will only be performed if a day balance exists for the group of wage types specified in Attribute or the wage type specified in Source wage type.
- Attribute
- Enter the wage type attribute that is used if the calculation is to be performed for a group of wage types.
- Source wage type
- Enter a code from Work with wage types indicating the source wage type that is used if the calculation is to be performed for a single wage type. During the calculation, the system compares the day balance that is reported for this wage type to the value in Time limit.
- Operator
- Enter a code indicating how the day balance value of the source wage type or attribute is compared to the value in Time limit. Valid codes are:
Code |
Description |
LT |
Less than |
LE |
Less than or equal to |
EQ |
Equal to |
GE |
Greater than or equal to |
GT |
Greater than |
- Time limit
- Enter a value indicating the time limit for the comparison. During the calculation, the system compares the day balance that is reported for the source wage type to this limit.
- Note: The Update source and Update result fields define if and how any differences between the day balance and the time limit should affect the calculated values for the source and result wage types.
- Update source
- Enter a code indicating if and how the source wage type should be updated. Valid codes are:
Code |
Description |
0 |
No update |
1 |
Set to zero |
2 |
Set equal to limit |
- Result wage type
- Enter a code from Work with wage types indicating the wage type to be updated by the result of the calculation. If no wage type is specified the resulting time is lost.
- Note: Update result defines how the result wage type should be updated.
- Update result
- Enter a code indicating the value to be used in the update of the result wage type. Valid codes are:
Code |
Description |
1 |
Fixed value |
2 |
Diff source/limit |
3 |
Set equal to source |
- Note: The value that is calculated will be multiplied or divided by the value in Factor in order to get the value with which the result wage type will eventually be updated.
- Fixed value
- Enter a fixed value to be used in the update of the result wage type if Update result is set to 1 (Fixed value).
- Divide/Multiply
- Enter a code indicating if the value that is calculated in Update result should be multiplied or divided by the value in Factor when the result is calculated. Valid codes are:
Code |
Description |
1 |
Divide |
2 |
Multiply |
- Factor
- Enter the factor that is used in the time calculation. Divide/Multiply indicates if the value that is calculated in Update result should be multiplied or divided by this factor when the result is calculated.
- Add/replace
- Enter a code indicating if the result is to be added to or if it should replace the previous value of the result wage type. Valid codes are:
Code |
Description |
1 |
Add |
2 |
Replace |
Click OK. You return to Work with day balance calc rules, Details. Repeat steps 3-4 to add more calculation steps to the calculation rule, if applicable. Exit the routine.
Related topics