Somehow my Money ledger has gotten into a state where the balance is calculated wrong (no, it's not sloppy bookkeeping on my part). This is how it happened. It has to do with automatic transactions. These numbers are made up but they illustrate how the problem occurred:
yesterday balance: ($100)
today automatic transaction: 3000
now balance: ($100)
Obviously, the balance should be $2900.
Now if I remove the automatic transaction, or set it's value to $0, the balance goes to ($3100). Obviously the program keeps the current balance in a persistent state variable, rather than calculating the balance each time, and this variable has fallen out of sync.
This worries me. Even if there is a way to correct it (is there?), how can I tell it's not going to inadvertently happen again?
