Any way to correct the running total of shares?

David T. sunfish62 at yahoo.com
Wed Feb 5 17:59:39 EST 2014


Another way to think of this: the Price DB shows the value of a commodity as of a given date. GnuCash stores this value because, once retrieved, it remains accurate, since it reflects the share value on that date.

I still don't understand how you could be registering shares from a price entry (or how you have hidden entries adding shares to your books). The prices don't include share values.

David


________________________________
 From: Derek Atkins <warlord at MIT.EDU>
To: Graham P Davis <hacker at scarlet-jade.com> 
Cc: gnucash-user at gnucash.org 
Sent: Wednesday, February 5, 2014 7:41 AM
Subject: Re: Any way to correct the running total of shares?
 

Hi,

Graham P Davis <hacker at scarlet-jade.com> writes:

> I've looked in the Guide but haven't yet found a mention that if one
> deletes an entry from the accounts display, one should also remove it
> from the Price Editor.
>
> Is this behaving as it should and, if so, is there a warning in the
> Guide that I've missed? If this is not the correct behaviour, should I
> raise a bug report?
>
>
> As to zero-pricing, that was a misunderstanding of the system on my
> part and I think I've got a way round that. If I want more help on
> that, I'll raise it separately.  

The PriceDB and Register are only loosly linked.  The register will read
from the PriceDB to suggest an exchange rate (or price), and it will
enter a price in the PriceDB if one does not already exist for the day.
However as you notice it will never remove data from the PriceDB.  Part
of the reason is that even if you delete the transaction it cannot know
for sure that there isn't ANOTHER transaction somewhere also using the
same PriceDB entry.  Moreover, there is not a direct link from the
transaction that caused the PriceDB entry to be created.

So basically what you are seeing is a feature, not a bug.

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
      warlord at MIT.EDU                        PGP key available

_______________________________________________
gnucash-user mailing list
gnucash-user at gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


More information about the gnucash-user mailing list