Income Statement has incorrect Net total for period

Dave dhamblen at roadrunner.com
Wed May 18 08:22:14 EDT 2011


Using gnucash-2.4.5 (or 2.4.3, 2.4.4 but not 2.4.0) and Ubuntu 10.10, 
the income statement seems to be involving  unrealized gains in some 
fashion when calculating the net income or loss.  I've attached a test 
case which demonstrates this.  BTW, the income and expenses  subtotals  
are correct.

This test case has only income in 2010, a stock purchase in 2010, and 
another stock purchase in 2011.  Then an income statement for 2011 has 
the incorrect total.

The key to triggering this seems to be a stock purchases or sales in a 
prior period, and some additional stock was purchased (or sold) in the 
current period.  Then one can get a variety of answers (all wrong) 
depending on which "Commodity Price Source" one chooses.  I don't think 
that unrealized gains should show up on an income statement (unless I 
enter an actual transaction posting them).   This is all in one currency 
(USD); so multi-currency issues aren't involved.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-inc.gnucash
Type: application/x-gnucash
Size: 3987 bytes
Desc: not available
URL: <http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20110518/65524ee9/attachment.bin>


More information about the gnucash-devel mailing list