GDA: A few questions

2006-12-08 Thread Phil Longstaff
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. Any

Re: GDA: A few questions

2006-12-08 Thread Derek Atkins
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 sc

Re: GDA: A few questions

2006-12-08 Thread Phil Longstaff
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

Re: GDA: A few questions

2006-12-08 Thread Derek Atkins
Quoting Phil Longstaff <[EMAIL PROTECTED]>: >> 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

Re: GDA: A few questions

2006-12-09 Thread Phil Longstaff
On Fri, 2006-08-12 at 23:10 -0500, Derek Atkins wrote: > Quoting Phil Longstaff <[EMAIL PROTECTED]>: > > >> 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 c

Re: GDA: A few questions

2006-12-09 Thread Josh Sled
On Fri, 2006-12-08 at 17:34 -0500, Phil Longstaff wrote: > 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 > cu

Re: GDA: A few questions

2006-12-11 Thread Chris Shoemaker
On Sat, Dec 09, 2006 at 12:53:35PM -0500, Josh Sled wrote: > On Fri, 2006-12-08 at 17:34 -0500, Phil Longstaff wrote: > > 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 ac

Re: GDA: A few questions

2006-12-11 Thread Derek Atkins
Chris Shoemaker <[EMAIL PROTECTED]> writes: >> (*) This really should be fixed: the template-transaction accounts >> should probably be a more literal mirror of the real account tree, in >> terms of types and commodities. The whole point of using real Accounts >> and Transactions for the template

Re: GDA: A few questions

2006-12-11 Thread Chris Shoemaker
On Mon, Dec 11, 2006 at 09:22:15PM -0500, Derek Atkins wrote: > Chris Shoemaker <[EMAIL PROTECTED]> writes: > > >> (*) This really should be fixed: the template-transaction accounts > >> should probably be a more literal mirror of the real account tree, in > >> terms of types and commodities. The

Re: GDA: A few questions

2006-12-11 Thread Derek Atkins
Quoting Chris Shoemaker <[EMAIL PROTECTED]>: > I'm not disagreeing about Invoices. AFAICT, Invoices already have the > design feature that I think SXs should have - they use real accounts, > transactions, and splits, and just note in the transaction KVP that > this is an invoice transaction. Not

Re: GDA: A few questions

2006-12-11 Thread Chris Shoemaker
On Mon, Dec 11, 2006 at 10:21:36PM -0500, Derek Atkins wrote: > Quoting Chris Shoemaker <[EMAIL PROTECTED]>: > > >I'm not disagreeing about Invoices. AFAICT, Invoices already have the > >design feature that I think SXs should have - they use real accounts, > >transactions, and splits, and just no

Registers (was Re: GDA: A few questions)

2006-12-11 Thread Derek Atkins
Josh Sled <[EMAIL PROTECTED]> writes: > (*) This really should be fixed: the template-transaction accounts > should probably be a more literal mirror of the real account tree, in > terms of types and commodities. The whole point of using real Accounts > and Transactions for the template transacti

Re: engine objects vs. SX or invoices (was: GDA: A few questions)

2006-12-12 Thread Christian Stimming
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Shoemaker schrieb: >>> I'm just saying SXs could use the real engine >>> objects, just like Invoices. The only difference is that the engine >>> has to learn that "real" SX transactions aren't _that_ real. :) >>> >> Except Invoices don't either,

Re: engine objects vs. SX or invoices (was: GDA: A few questions)

2006-12-12 Thread Chris Shoemaker
On Tue, Dec 12, 2006 at 09:47:10AM +0100, Christian Stimming wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Chris Shoemaker schrieb: > >>> I'm just saying SXs could use the real engine > >>> objects, just like Invoices. The only difference is that the engine > >>> has to learn that

Re: engine objects vs. SX or invoices (was: GDA: A few questions)

2006-12-12 Thread Derek Atkins
Christian Stimming <[EMAIL PROTECTED]> writes: > Chris Shoemaker schrieb: I'm just saying SXs could use the real engine objects, just like Invoices. The only difference is that the engine has to learn that "real" SX transactions aren't _that_ real. :) >>> Except Invoices don't

Re: engine objects vs. SX or invoices (was: GDA: A few questions)

2006-12-12 Thread Josh Sled
On Mon, 2006-12-11 at 22:06 -0500, Chris Shoemaker wrote: > Invoices basically reuse the engine objects. But SXs have: > struct TTInfo_s [...] > which look suspiciously like a Transaction, and > > struct TTSplitInfo_s [...] > which looks suspiciously like a Split. And then the whole duplicated

Re: engine objects vs. SX or invoices (was: GDA: A few questions)

2006-12-12 Thread Chris Shoemaker
On Tue, Dec 12, 2006 at 10:05:21AM -0500, Josh Sled wrote: > On Mon, 2006-12-11 at 22:06 -0500, Chris Shoemaker wrote: > > Invoices basically reuse the engine objects. But SXs have: > > struct TTInfo_s > [...] > > which look suspiciously like a Transaction, and > > > > struct TTSplitInfo_s > [..

Re: engine objects vs. SX or invoices (was: GDA: A few questions)

2006-12-12 Thread Benoit Grégoire
On Tuesday 12 December 2006 09:54, Derek Atkins wrote: > HOWEVER, I think there's another issue here..  When you're doing a > large import and you create new accounts as part of the import, if you > then cancel the import process these new accounts don't get backed > out too. That's probably not w

Re: engine objects vs. SX or invoices (was: GDA: A few questions)

2006-12-12 Thread warlord
Quoting Benoit Grégoire <[EMAIL PROTECTED]>: > On Tuesday 12 December 2006 09:54, Derek Atkins wrote: >> HOWEVER, I think there's another issue here.. When you're doing a >> large import and you create new accounts as part of the import, if you >> then cancel the import process these new accounts