reporting/account currencies

Bill Gribble grib@gnumatic.com
Wed, 24 Jan 2001 17:31:35 -0600


On Wed, Jan 24, 2001 at 05:09:38PM -0600, linas@linas.org wrote:
> No.  Because this returns the "wrong thing".  For an ibm stock
> account, it would return IBM.  Whereas both the main window, and 
> the register need USD (the "reporting currency").

It's my position (call it "position B" :) that we should change the
main window first, so that it always reports the share balance rather
than the valued balance.

For IBM, you SHOULD be seeing the number of shares of IBM if you are
just looking at the bare-bones account tree widget.  It shouldn't be
expected to do fancy interpretation, just to report what you have in
your accounts.  If you want to see the $$ balance, look at the
portfolio report, which you will be able to set as your "main window"
as soon as rgmerk gets his pane-window patch in.

In the register, you should be seeing DR/CR in the transaction
balancing currency, which everybody agrees we store with the xtn, so
there's no need for a reporting currency to do that either.

So the only place you need a balance in the reporting currency is in
reports.  Oddly enough.  I will allow that it makes more sense to
cache the value-in-reporting-currency in the split, in much the same
way that we cache the account balance there now, but that's an
optimization IMO.

b.g.