[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [kmymoney4] [Bug 347166] "Price/share" field on investment transaction entry form is mislabeled.  Ac
From:       Thomas Baumgart <ipwizard () users ! sourceforge ! net>
Date:       2015-09-11 9:12:40
Message-ID: bug-347166-17878-mrBuw5AG8d () http ! bugs ! kde ! org/
[Download RAW message or body]

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

--- Comment #17 from Thomas Baumgart <ipwizard@users.sourceforge.net> ---
From the source comment of MyMoneyTransaction::splitSum()

  /**
    * This method is used to return the sum of all splits of this transaction
    *
    * @return MyMoneyMoney value of sum of all splits
    */

and a general requirement for a balanced book is, that this sum is always zero.
Otherwise, the transaction becomes imbalanced. So it is not strange at all but
perfect. The value() member of all splits is used to sum up here.

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic