Recalculate totals from source records
For Chen Plumbing, every figure in the app is someone's pay. We recalculate each week's payroll from its jobs, materials and restocks whenever one of them changes, and completed invoices are locked. The alternative, stored totals patched as things change, drifts out of sync with the invoices behind it. Manual adjustments sit on top of the computed number as their own lines. Read the Chen Plumbing case study.