Credit (expression)
The Credit (expression) step banks an amount computed from an expression over the policy’s input activities (referenced by their alias) plus the built-in delta — the period’s worked − expected total. Use it when ordinary and premium hours bank at different rates and must be combined into a single figure.
When to use
- Bank additional hours at base rate and overtime at a premium in one step, e.g.
mer + over * 1.5. - Apply a tiered rate, e.g.
over > 600 ? over * 1.75 : over * 1.5. - Anything beyond plain flex — for plain flex, the simpler Flex step is enough (
deltaon its own is equivalent).
Parameters
| Setting | Meaning |
|---|---|
| Expression | Returns the credited minutes from the input aliases and delta. For example mer + over * 1.5, or delta for plain flex. The result is rounded to whole minutes. |
How it works
Each alias resolves to that activity’s period total; delta resolves to the period’s worked − expected total. The expression is evaluated and the result is credited to the account as a carry-forward movement. Factors use whole-number percentages elsewhere, but in an expression you write the multiplier directly (* 1.5 for ×1.5).
Every alias used in the expression must be declared under Input activities on the policy, or the expression has nothing to resolve.