changing transaction's account; acting on groups of transactions?
Neal Young
ney@akamai.com
Fri, 2 Mar 2001 16:24:43 -0500 (EST)
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)?
Do I need to use version 1.5 of gnucash?
I am familiar with scheme and emacs lisp, so probably pointing me to the
documentation for the guile interface to gnucash would be enough.
Thanks very much,
Neal
DP> From: Dave Peticolas <dave@krondo.com>
DP> Date: Fri, 02 Mar 2001 13:05:41 -0800
DP>
DP> Neal Young writes:
>>
>> 1) Is it possible to change the account a transaction is in?
>> For example, I'd like to move a transaction from
>> my "USA Bank" account to a subaccount "USA Bank:checks".
DP>
DP> Sure, just change the account the same way you entered it,
DP> by changing the account in the 'Transfer' field of the
DP> register.
DP>
DP>
>> 2) Is there an easy way to do this for multiple transactions
>> that match a pattern? For example, I'd like to move
>> all transactions in my "USA Bank" account that have "check"
>> in their payee to the subaccount "USA Bank:checks".
>>
>> I would be willing to use a guile script if possible.
>> Can I do this in the 1.5 (development) version?
DP>
DP> There is no easy way with the GUI other than to search
DP> for all the matching transactions in the 'Find' dialog
DP> and then move each one by hand.
DP>
DP> But if you're willing to write a guile script then you
DP> could definitely automate it, yes.
DP>
DP> dave