After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 395694 - Report uses wrong stock prices
Report uses wrong stock prices
Status: VERIFIED DUPLICATE of bug 361604
Product: GnuCash
Classification: Other
Component: Reports
2.0.x
Other All
: Normal normal
: ---
Assigned To: Chris Lyttle
Chris Lyttle
Depends on:
Blocks:
 
 
Reported: 2007-01-12 07:06 UTC by Steve Kelem
Modified: 2018-06-29 21:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Steve Kelem 2007-01-12 07:06:31 UTC
Please describe the problem:
I have the following account hierarchy  (names changed to protect the
innocent):

Assets
+-Current Assets
+-Fixed Assets
+-Investments
  +-Brokerage
    +-Fezziwig
      +-Mutual Fund
      +-Stock
        +-Stryker Drilling

In the Stryker Drilling account I have one transaction:
1999-03-19
  Xfr Assets...Stryker Drilling 75 shares 23.6875 1,776.56
      Retained Earnings                                    1,776.56
                                                1

The Price Editor shows only two entries for Stryker Drilling:
NASDAQ/STRK USD 2007-01-11 Finance::Quote    last 29.400000
NASDAQ/STRK USD 1999-03-31 user:price-editor last 22.500000

I then created a Balance sheet report for Fezziwig that includes
Fezziwig and all of its sub-accounts.
The report's currency is USD. The price source is "Most Recent" (or
"Nearest in Time", it doesn't make a difference.)
Under Balance Sheet/Display, I checked all the boxes except "Include
accounts with zero total balances".
The Balance Sheet Date is set to 1999-03-31.

The resulting report shows
Stryker Drilling     75 STRK $2,205.00

But this is not correct!  75 shares times $22.5/share is $1,687.50. 
$2,205 reflects the price in 2007 ($29.40), not the 1999 price!

Steps to reproduce:
1. See above
2. 
3. 


Actual results:
I get the current price instead of the price for the report date.

Expected results:
I would expect to get the most recent quotes (i.e., less than or equal to the date for the report).

Does this happen every time?
Yes

Other information:
gnucash 2.0.4 on SuSE Linux 10.0
Comment 1 Josh Sled 2007-04-21 17:34:22 UTC
I'd expect that Nearest in Time would be more appropriate than Most Recent, but this isn't behaving as it should, no.
Comment 2 Carl van Denzen 2007-05-08 18:05:40 UTC
This is a duplicate of bug 361604
Comment 3 Andreas Köhler 2007-06-03 10:49:23 UTC
Marking as such then.


*** This bug has been marked as a duplicate of 361604 ***
Comment 4 John Ralls 2018-06-29 21:22:23 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=395694. Please update any external references or bookmarks.