Hendrik Boom <[EMAIL PROTECTED]> writes:
> Some kind of scripting seems appropriate. But maybe I should just
> use a Perl script befire importing?
Having some kind of hooks would probably be nice in there, but I
haven't thought about it enough to know what would be most useful. It
seems like you might want a way to create "filters", and a way to
attach them to different input sources.
Just thinking out loud here, and presuming a lot of things that don't
exist:
(define (my:filter-swap-memo/desc qif-imported-data)
(let* ((qd qif-imported-data)
(old-memo (assq-ref qd 'memo)))
(assq-set! qd 'memo (assq-ref qif-imported-data 'description))
(assq-set! qd 'description old-memo)
qd))
(gnc:add-qif-import-filter 'megacorp-visa
my:filter-swap-memo-transaction)
or something. Having a flexible infrastructure for the "incoming
matching" process would be good too.
There will almost certainly be cases where you can make the matching
process much more accurate given some knowledge about your particular
sources.
--
Rob Browning <[EMAIL PROTECTED]> PGP=E80E0D04F521A094 532B97F5D64E3930