Derek Atkins writes:
> Hi,
> 
> What's the best way to get a list of all the transactions in an
> accountgroup, recursively?  At least, I'm assuming the 'sync()'
> Backend callback is expected to act recursively on the children
> of all accounts, so I need a way to determine all the transactions
> in all the accounts.
> 
> It sounds like all the staged traversal code is non-recursive...
> Is there a documented way to do this?

Hmm, the docs for xaccGroupForEachTransaction are wrong.
It *does* recursively descend the hierarchy. I will fix
this.

Anyway, xaccGroupForEachTransaction is probably the best
way.


dave

_______________________________________________
gnucash-devel mailing list
[EMAIL PROTECTED]
http://www.gnumatic.com/cgi-bin/mailman/listinfo/gnucash-devel

Reply via email to