Scheduled Transaction design document?

Derek Atkins warlord@MIT.EDU
16 Nov 2001 15:09:17 -0500


Josh Sled <jsled@asynchronous.org> writes:

> SchedXaction is the scheduled transaction data [name, bounds on the range
> of recurrance [start/end dates, number-of-occurance data].
> 
> Scheduled Transactions have associated Template Transactions/Splits.
> These are stored as 0-value Splits in an Account specific to the SX
> [linked by GUID, stored in the SX], which are parented in a seperate/hidden
> AccountGroup for Template Transaction data.  These are written to the XML
> backend in a <gnc:template-transactions> ... </gnc:template-transactions>
> block, but are otherwise "normal" Splits and Accounts.

It appears that there is both a template_accountgroup and a
schedxaction_accountgroup within a book.  What is the relationship
between the two?

Also, if the value of the split is 0, where do you actually keep track
of how much the split is "worth"?

> The _real_ account of the Split is stored in the KVP data of the template
> split, as is the credit/debit formula.

Is the real value part of the credit/debit formula?

> Gotta get back to work, but this should get you part of the way there;
> I'll edit this more tonight and re-port it/put it in CVS.

Thanks!!  This does help a lot, and I think is a great model for what
I'm about to start working on.

> ...jsled

-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@MIT.EDU                        PGP key available