From Dev.to
Why two partial payments can double an invoice total in SQL
A supplier invoice has two lines, one for 80 and one for 40. Accounts payable has recorded two payments against it, first 30 and then 20. The supplier is still owed 70. Suppose your ERP report shows a...
