Reporting: weighted average price source
J. Alex Aycinena
alex.aycinena at gmail.com
Tue Jul 8 19:21:38 EDT 2008
> Date: Tue, 8 Jul 2008 08:41:21 -0700
> From: "Charles Day" <cedayiv at gmail.com>
> Subject: Re: Reporting: weighted average price source
> To: "Derek Atkins" <warlord at mit.edu>
> Cc: gnucash-devel at gnucash.org, Christian Stimming <stimming at tuhh.de>
> Message-ID:
> <1d6843d80807080841s2b885beaj25898410e4086db9 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
<snip>
>>
>> When you do you might consider making "Nearest in Time" the default....
>> Maybe..
>>
>
> I thought about that, but the problem with "nearest in time" is that, as I
> recall, it requires pricedb entries to exist. Perhaps I could make it
> default to "nearest in time" whenever entries are detected. I will at least
> change the default to "average cost". If you know an easy way to detect
> whether there are pricedb entries, let me know. That stuff is completely new
> to me.
>
> -Charles
>
(gnc-pricedb-has-prices
(gnc-pricedb-get-db (gnc-get-current-book))
account-commodity
report-currency)
Alex
More information about the gnucash-devel
mailing list