changing transaction's account; acting on groups of transactions?
Dave Peticolas
dave@krondo.com
Fri, 02 Mar 2001 13:29:00 -0800
Neal Young writes:
> Thanks!
>
> Where can I find out how to write a guile script to act on a set of
> transactions (say, those in the find window)?
You will probably need to do the searching in guile, unless you are
also willing to do some C & GUI hacking to get the frontend to execute
your script on the appropriate register.
But searching for transactions isn't that hard -- you might look
at the transaction report in src/scm/reports.
> Do I need to use version 1.5 of gnucash?
No, you can do it in 1.4.x. And 1.5 is unstable.
> I am familiar with scheme and emacs lisp, so probably pointing me to the
> documentation for the guile interface to gnucash would be enough.
Each gnucash engine api that is wrapped for guile is documented in
src/guile/gnc.html. The code under src/scm should also be helpful.
dave