Lots in Account screen : Value sign

Chris Good chris.good at ozemail.com.au
Wed Aug 17 20:31:54 EDT 2016


Hi,

 

I'm documenting using lots to calculate investments capital gains.

 

Please see the attached screenshot.

 

The sign of the Value in the 'Splits free' panel seems inconsistent.

Why is the sign of the initial acquisition +ve, but -ve for the following 2
reinvested dividends?

The program contains the following:

gnucash/src/gnome/dialog-lot-viewer.c line 523:

 

        /* Value. Invert the sign on the first, opening entry. */

        currency = xaccTransGetCurrency (trans);

        valu = xaccSplitGetValue (split);

        if (node != split_list)

        {

            valu = gnc_numeric_neg (valu);

        }

 

I'd like to explain why this is done?

Perhaps something to do with the Business scrubbing?

 

Regards,

Chris Good

 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: InvestLots1_BeforeCreateLot.png
Type: image/png
Size: 59679 bytes
Desc: not available
URL: <http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20160818/2e5c9c9f/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4817 bytes
Desc: not available
URL: <http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20160818/2e5c9c9f/attachment-0001.p7s>


More information about the gnucash-devel mailing list