Initialization
Initial global settings
Details
Rule Type
Time
Execution
Initialization
Parameters
Name | DataType | DefaultValue | Description |
---|---|---|---|
max_length_of_day | float | 24 | Maximum length of a workday in hours |
decimals_hours | integer | 3 | Number of decimal places to use for hour calculations |
decimals_amount | integer | 2 | Number of decimal places to use for money and point calculations |
split_days | boolean | 0 | If set, splits overnight shifts into two pay dates |
next_day_starts | time | 12:00 AM | Determines when the next day begins |
out_drives_pay_date | boolean | 0 | Normally the IN punch drives the pay date; set this to have the OUT punch drive the pay date |
Decision Tree
Rule processing begins in the cell R1:Level1 and proceeds right/down. Any IF statement which results in a DONE step terminates the rule immediately.
Line# | Level1 | Level2 | Level3 | Comment |
---|---|---|---|---|
1 | Start | |||
2 | SET(? = max_length_of_day ) | Maximum length of a day in hours | ||
3 | SET(? = decimals_hours ) | Number of decimal places on time calculations | ||
4 | SET(? = decimals_amount ) | Number of decimal places on money/wage calculations | ||
5 | SET(? = split_days ) | Enabled when overnight shifts should be split into two paydates | ||
6 | SET(? = next_day_starts ) | Used to relocate midnight or the start of the next day | ||
7 | SET(? = out_drives_pay_date ) | Set to determine a paydate based on the OUT punch vs the IN |