[Kmymoney-devel] [kmymoney4] [Bug 345345] During Reconciling the Starting Balance is Wrong

Cristian Oneț onet.cristian at gmail.com
Mon Apr 6 08:04:24 UTC 2015


https://bugs.kde.org/show_bug.cgi?id=345345

Cristian Oneț <onet.cristian at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEEDSINFO
                 CC|                            |onet.cristian at gmail.com
         Resolution|---                         |WAITINGFORINFO

--- Comment #1 from Cristian Oneț <onet.cristian at gmail.com> ---
As the UI states: "The starting balance is the sum of your cleared and
reconciled transactions."

More precisely:

  // determine the beginning balance and ending balance based on the following
  // formulas:
  //
  // end balance   = current balance - sum(all non cleared transactions)
  //                                 - sum(all cleared transactions posted
  //                                        after statement date)
  // start balance = end balance - sum(all cleared transactions
  //                                        up to statement date)

So if your starting balance is not correct you might have some cleared
transaction before the statement date.

A good way to debug this is by starting KMyMoney from the command line and to
enable debug traces. You should see something like this on the output:

Reducing start balance by XX.XX because XXXX/XXXX(DDDD) is cleared.

Let me know if this information solves you problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list