On Fri, 2006-08-12 at 18:20 -0500, Derek Atkins wrote:
> Quoting Phil Longstaff <[EMAIL PROTECTED]>:
> 
> > I'm working on saving/restoring scheduled transactions, and have some
> > questions:
> >
> > 1) Accounts - The only difference I can see between regular accounts and
> > the accounts created for scheduled transactions is in the currency - the
> > currency for scheduled transactions is in the "template" namespace.
> > Anything else?  Could we have a new account type called TEMPLATE so that
> > I wouldn't need a really complex query to load just the regular
> > accounts?
> 
> The main difference is the root..  SXes all live in their own AccountGroup,
> separate from the CoA.   Why do you need anything special?  Why can't you
> load the SXes too?

I can.  I need to look into how AccountGroups are used.  Right now, what
happens is that the sx accounts show up in the CoA.  Hmmm...  The sx
accounts have no parent, but I am also not saving/restoring any
indication of which AccountGroup each account should belong to.  I guess
I need another boolean indicating whether the Account is in the template
account group or the CoA account group.  If there can be more than these
account groups in the future, perhaps something more general is
required, though there is no identifier in an account group.

Phil

_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to