Debugging accounting bugs
summary
Engineers report handling ~800 accounting tickets and claim the hard bugs are reproducible and fixable: a payment-entry overallocation bug occurs when an advance made against a sales order is reconciled to multiple invoices if the first invoice is smaller than the second, replicated locally and fixed by tightening allocation logic. Debugging uses smallest reproducible case plus DB rollback by injecting exceptions and print tracing. For data drift a binary bisection tool pinpoints a single date (28 Feb) where a fiscal-year mismatch causes a 0.01 discrepancy; fixes are merged.
AI-written summary · about
