Schema

Bill Gribble grib@gnumatic.com
Tue, 12 Dec 2000 16:06:48 -0600


On Tue, Dec 12, 2000 at 04:53:51PM -0500, David Merrill wrote:
> iow, what is a "suitable rational representation"?

A gnc_numeric data structure; 64 bit int for each of numerator and
denominator.

> Why "d"amount?

Figuring that out is archaeology at this point :)

> What is the difference between a cleared balance and a reconciled
> balance? You typically don't know whether a transaction has cleared
> until you reconcile. Or, is that changing now that we have such
> creatures as downloadable updates from your bank?

Clearing and reconciling are different things.  You need to have
separate totals.

> Am I correct, then, in visualizing a transaction as essentially a set
> of splits, within which the sum of debits must equal the sum of
> credits?

Yes.  There are also some other fields in the Transaction, and 
the Account owns the Split rather than the Transaction, but the 
Transaction has a list of Split *.

b.g.