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

List:       kmymoney-devel
Subject:    [Kmymoney-devel] [kmymoney4] [Bug 347166] "Price/share" field on investment transaction entry form i
From:       Thomas Baumgart <ipwizard () users ! sourceforge ! net>
Date:       2015-09-11 9:12:40
Message-ID: bug-347166-123840-r8s2EBMZGy () 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 the assignee for the bug.
_______________________________________________
KMyMoney-devel mailing list
KMyMoney-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmymoney-devel

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

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