Records and access
Use a documented read-only view with fixed joins, row-level access, stable keys, time zone and reporting period. Identify the database owner.
Action and approval
A reporting owner reconciles totals and checks sample rows before the brief is circulated.
Deployment considerations
Allowlist required fields and query shapes. Keep preparation workloads away from sensitive transactional paths where necessary.
Failure and recovery
A read replica might be behind the closing transaction. Tag the result with the observed cutoff and hold the report until the data owner confirms the refresh before rerunning it.
A production acceptance test
Run a known closed period and a restricted user against the same report. Compare missing rows, totals and cutoff behavior.
Operator handover
Provide the implemented view definition, expected row counts, run schedule and a rollback copy of the last approved definition. Agree how schema changes are signaled before they affect scheduled reporting.