3 ms·
"debits and credits balance" is a very useful constraint to have in your system in order to maintain data integrity. Transactions can also get quite complex - t
by pbourke 6y ago
"debits and credits balance" is a very useful constraint to have in your system in order to maintain data integrity. Transactions can also get quite complex - think of a salaried payroll deposit - this is a transaction with 5-10 splits from various accounts. Even a typical ecommerce sale might have 4-5 when you include commissions owed, shipping, sales tax, etc.