[GNC-dev] tb, gnc or me? my trial balance is wrong and I think it is gnc not me

Wm wm_o_o_o at yahoo.co.uk
Sun Feb 10 17:19:35 EST 2019

On 10/02/2019 16:54, John Ralls wrote:
> The "Average Cost" price source creates a price based on the actual transaction prices and is designed for the TB report, see the thread beginning with https://lists.gnucash.org/pipermail/gnucash-devel/2008-July/023297.html. I broke it for 2.6.13-2.6.21, see https://bugs.gnucash.org/show_bug.cgi?id=775368. The "Average Cost" and note that even 2.6.21 didn't fully fix it; that didn't happen until 3.2.
> Average cost is the *only* price source that works for the Trial Balance Report. In particular the "Nearest in Time" and "Most Recent" sources will take prices from the price database that are unlikely to reflect the actual prices for the transactions and will vary depending on the date of the report. I agree with Adrien that we should consider removing the price source option from that report and hard-wire it to average cost.


Why average cost?  A TB should use actual numbers.  We are meant to be 
checking what happened rather than the value of what happened.

There are separate reports for that, we call them the Balance Sheet, 
Equity Statement, Income Statement and similar.

The TB is internal.

At the risk of pushing too much burden onto you, JohnR, for which I 
apologise, I'm not at all sure gnc's TB should be there as it stands 
*unless* one rarely uses commodities of any sort.  If you're a home 
currency only person that thinks stock markets are the devil's own work 
it will probably be good enough.  Otherwise I think it is time we said, 
not fit for purpose.

The logical problem for me is that the SQL is so simple and the Scheme 
involved in a new report when it is being deprecated is largely pointless.


More information about the gnucash-devel mailing list