GDA: A few questions

Derek Atkins warlord at MIT.EDU
Fri Dec 8 18:20:10 EST 2006


Quoting Phil Longstaff <plongstaff at rogers.com>:

> 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?

> 2) SXRegister() registers the class with qof using GNC_SX_ID rather than
> GNC_ID_SCHEDXACTION (which would agree with how every other object is
> registered).  I don't think it will break anything to change this, but
> want to know if there is anywhere else I should check i.e. where else
> are getters/setters used?

Maybe jsled can answer.

> Phil

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



More information about the gnucash-devel mailing list