Audience: on-call, Ops, senior Support. Companion: technical.md, configuration.md.

⚠️ Balances affect pay. Confirm the tenant; prefer app paths; check the balance log before adjusting.


1. Wrong leave balance

Diagnosis: read the EmployeeLeaveBalanceLog — it lists every change (accrual, usage, rollover, adjustment). Compare against the policy item's accrual type and entitlement.

Common causes:

Fix: correct a single employee via profile → Leave Balances → Edit Balance (POST /admin/requests/update_leavebalance, writes a log row). Avoid re-saving the whole policy to fix one balance — see §1a.

1a. Policy save overwrote balances

Symptom: after an admin edited/re-saved a leave policy, several employees' balances jumped to a single flat number.

Not a blind reset: the wizard's Balances step pre-fills each row with the employee's current balance (getleavepolicyitememployees returns balance, which becomes the input's default). Re-saving without touching the table round-trips the same values — untouched saves are safe.

Cause (when it does happen): a value was changed before Finish — almost always the "same value for all" header textbox, which stamps one number across every listed employee (the form warns "Be careful not to overwrite employees' unused balances from previous paybands."). Editing individual rows overwrites only those rows. On Finish these go out as starting_balances[] via add/update_leavepolicy → EmployeeLeaveBalance.

Fix / prevent: for one-off corrections use profile → Edit Balance (§1), not the policy wizard. When editing policy rules, leave the Balances table alone and never use the header box unless you intend a mass set. Recover prior values from EmployeeLeaveBalanceLog.

2. Rollover didn't happen / wrong

Check: HasRolloverLimit, RolloverDays, RolloverDate on the policy item; whether rollover is scheduled or on-read (⚠️ VERIFY). Excess above RolloverDays is forfeited by design.

3. Employee can't request leave

Check: policy Can-employees-apply, target group membership, and waiting period vs Person.HireDate.

4. Approved leave didn't deduct / didn't affect pay