Transfer
The Transfer step moves the account’s balance to another account at the end of each period. Optionally it moves only part of it: up to a maximum, or only in whole blocks. A factor lets it credit the target more than it moves, or convert what it moves at a lower rate.
When to use
- Converting untaken comp time into saved days at a deadline, up to a fixed amount.
- Folding one account into another on a periodic grid.
- Converting collected hours into time off at a fixed ratio, such as 3 hours off for every full 37 hours of night work (the Danish state 37/3 rule).
Parameters
| Setting | Meaning |
|---|---|
| Period length (months) | Months per period; the transfer runs at each period end. Must divide the year (1, 2, 3, 4, 6 or 12). |
| Cycle start month | First month of the cycle. |
| Target account | Account the moved amount is transferred to. |
| Factor | Scales what the target is credited. 1.0 transfers the same amount. A higher value adds the difference as a separate accrual. A lower value credits the converted amount directly: 3/37 ≈ 0.0811 gives 3 hours for every 37 hours moved. Default 1.0. |
| Maximum per period | Most that may move at each period end. Leave 0 to move the whole positive balance. |
| Block size | Moves only whole multiples of this amount and keeps the rest on the account, e.g. 37:00. Leave 0 to move the whole amount. |
How it works
At each cut-off on the configured grid, the step works out how much to move:
- It starts from the account’s positive balance.
- If a maximum is set, it moves no more than the maximum.
- If a block size is set, it rounds that amount down to whole blocks. Whatever is left stays on the account for the next period.
With a factor of 1.0 or more, the target receives exactly what the source loses, so the two accounts stay reconciled. Any uplift above 1.0 is credited to the target as a separate accrual rather than inflating the transfer itself.
With a factor below 1.0, the step converts: the target is credited the moved amount times the factor, rounded to the minute, in one line. On the statement, the source shows the full amount going out and the target shows the converted amount coming in.
Between cut-offs the balance is left untouched. The transfer is recorded when the timesheet is submitted and reversed if it is reopened.
Example: 3 hours off for every full 37 hours of night work
Night hours are collected 1:1 on their own account, Night work towards 37/3. Its settlement policy has two steps:
- A Credit (expression) step that banks the night hours 1:1 from the night allowance, added to the policy as an input activity.
- A Transfer step: period length 1 month, target account Afspadsering, block size 37:00, factor 0.0811.
A guard starts with 10:00 on Afspadsering:
| Month | Night hours | Night account (start → end) | Converted | Afspadsering at month end |
|---|---|---|---|---|
| December | 30:00 | 0:00 → 30:00 | — | 10:00 |
| January | 50:00 | 30:00 → 6:00 (74:00 moved) | +6:00 (2 × 3 hours) | 16:00 |
| February | 20:00 | 6:00 → 26:00 | — | 16:00 |
In December, 30 hours is less than one block, so nothing moves. In January the account holds 80 hours: two full blocks (74 hours) convert into 6 hours, and 6 hours carry over. In February, 26 hours is again less than one block.
Make sure the night account can’t be booked as time off and has no requested-payout step, so the hours only count once they are converted. What happens to a remainder at the end of the year, or when someone leaves, is set on the night account itself, for example with a periodic cap.