Data dictionary. Source: AdminReportService, WarehouseDbContext, ReportModel.cs, DataSynchronizationService.


Report concepts

Term Definition
Pre-built report A ready-made report (Payroll Journal, Employee Summary, …).
Custom report / builder The Employee Report Builder — pick columns/filters/grouping over employee data.
Template A saved custom report, re-runnable (Save_Template).
Report category Payroll · Employee · Custom (the three landing pages).
Grouping type How report rows are grouped (GetGroupingTypes).
Date filter (ReportFilterParams) After · Before · Between · On · YTD.
Statutory report NHF · NSITF · Pension · Tax (Nigerian filings) with CSV/XLS export.

Warehouse

Term Definition
Warehouse A separate analytics DB (WarehouseDbContext) reports read from.
Store A denormalized flat copy of operational data.
Container A pre-aggregated summary/trend (SQL-procedure-populated).
BI Data "Business Intelligence" data — the warehouse Stores, filled by SyncBIData().
Eventual consistency The warehouse trails live data by ~30s (the sync cycle).

Stores

PersonStore · ContractorStore · EmployeeRequestStore · PayrollItemSummaryStore · PaymentScheduleItemStore

Containers

EmployeeTrendContainer · GenderSummaryContainer · PayrollTrendContainer · TopPayrollCompaniesContainer · ProcedureExecutionContainer

Services & endpoints

Component Detail
AdminReportService 7,058 lines — the report engine
ReportService 519
ControlAnalyticService 313 (internal analytics)
WarehouseService 22
DataSynchronizationService 30s BI-sync worker
Admin/ReportsController 26 endpoints
Routes /dashboard/report/{custom, employees, payroll}
WarehouseDbContext the analytics DB (via WarehouseDbFactory)

Related initiative

Server-driven tables — one JSON envelope ({ schema, rows, totals, pagination }) to render every table/report. Reports emit the Paginator<T> seed of it; the builder = the initiative's custom-table builder.

Permissions

Report view/build permissions (+ settings access).


Related