The rebate aged debt and calc issues reports¶
Two monitoring reports in the Rebate module. Both are administrative health checks rather than day-to-day screens.
Aged debt¶
The aged debt report (sidebar Financials → Aged Debt,
/rebate/agedDebt, superusers only) is an accounts-receivable-style
aging of unpaid, overdue rebates, grouped by supplier/member into
age buckets — 0-30, 30-60, 60-90, and 90+ days — with a total column.
It reads the rebate group index, keeping only lines that are unpaid and past their due date, and buckets each by how long it has been overdue.
Unlike the main dashboard's rebate search, the aging query does not apply element-permission role filtering — it is scoped only by site — so document it as a superuser report and keep the sidebar gate.
Calc issues¶
The calc issues report (/rebate/calcissues, rebateCalcIssuesCtrl)
lists deals whose scheduled rebate calculation task failed, showing
the deal, the error message, and the most recent failure time. It reads
the scheduler's task log directly (failed runs of the rebateCalculation
task for the site).
There is no sidebar link to this report — it is reachable only by URL — and the endpoint has no role check beyond site scoping.
Why do these reports change unexpectedly¶
- Aged debt totals dropped — overdue rebates were paid or their due dates changed; only unpaid, past-due lines appear.
- A deal appeared in calc issues — its most recent rebate calculation run logged an error; fixing the deal and re-running calculation clears it on the next successful run.
What these reports are not¶
- Not the rebate management dashboard — that is the actionable payment grid; these are read-only reports.
- Aged debt is not a payment screen — it has no actions, only aging.
- Calc issues is not a general error log — it is specifically the rebate calculation task's failures.
Related pages¶
- The rebate management dashboard
- The deal rebates view
- Deal seasonality and projections — rebate calculation inputs