My own accounting python euler problem
Martin P. Hellwig
martin.hellwig at dcuktec.org
Sun Nov 8 08:27:43 CET 2009
As mentioned in the other answers, your problem is best solved by a long
overdue organisational decision instead of a technical one.
Most popular solutions are:
- All invoices are essential a single credit amount, money coming in is
taken of from the big pile.
- Invoices are split by date, creating multiple credit amounts, any
money coming in is used the pay of the oldest one.
The latter one allows more easily for different interest and penalty rates.
'If consumed, best digested with added seasoning to own preference.'
More information about the Python-list