[Kmymoney-devel] [kmymoney4] [Bug 347166] "Price/share" field on investment transaction entry form is mislabeled. Actually is total buy/sale amount.

allan agander93 at gmail.com
Fri Sep 11 10:12:07 UTC 2015


--- Comment #18 from allan <agander93 at gmail.com> ---
(In reply to Thomas Baumgart from comment #17)
> 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.

...and I nearly posted a follow-up to ignore me as it was rubbish!

That helps me concentrate where needed.  Thanks.

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

More information about the KMyMoney-devel mailing list