amend transactions programmatically
Derek Atkins
warlord at MIT.EDU
Thu May 1 18:49:50 EDT 2008
hi,
Tarlika Elisabeth Schmitz <gnucash at numerixtechnology.de> writes:
> On Tue, 29 Apr 2008 17:18:42 -0400
> Derek Atkins <warlord at MIT.EDU> wrote:
>
>> Hi,
>>
>> Quoting Tarlika Elisabeth Schmitz <gnucash at numerixtechnology.de>:
>>
>> > I have hundreds of split transactions, which I would like to
>> > "unsplit":
>> >
>> > 1 split transaction: net interest + tax = gross interest
>> >
>> > =>
>> >
>> > 1 debit gross interest
>> > 2 credit tax
>
>> > I have looked at the XML data file. One should be able to do the
>> > change programmatically. The only problem I can see is the id
>> > string.
>>
>> You could write a small program to do it, either in C or Scheme,
>> using the GnuCash API. The pseudo-code would look something like:
>>
>
> What do I need to download? Is there any API documentation or a small
> example C program?
The C API docs are at http://cvs.gnucash.org/docs/HEAD/
You dont need to download anything special, but you will need access
to the gnucash development headers.
> That will take me back to my good old C days 20 years ago!
:)
> TES
-derek
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord at MIT.EDU PGP key available
More information about the gnucash-user
mailing list