Dave Peticolas <[EMAIL PROTECTED]> writes:
> > Where are these functions defined, and are there corresponding
> > functions to get information about individual transactions?
>
> Yes, the C functions are in src/engine/Transaction.?
> However, getting at Transactions is not as easy, since
> there is not a global list. We may need to think about
> maintaining one.
What's the difference between a global list, and just traversing all
the transactions account by account?
To do that with scheme code, you can look at src/scm/text-export.scm.
It traverses all the transactions in the current account group to
export your data as a set of trivially parsable scheme forms. This
depends on the gnc:*staged-transaction-traversal functions which let
you traverse all the transactions in a group without hitting any of
the splits twice (i.e. the naive approach would hit them more than
once since each split in the transaction has two "sides").
It shouldn't be too hard to use this as an example upon which to base
your transaction report. Let me know if I can help.
--
Rob Browning <[EMAIL PROTECTED]> PGP=E80E0D04F521A094 532B97F5D64E3930
--
Gnucash Developer's List
To unsubscribe send empty email to: [EMAIL PROTECTED]