> There is some scheme code that, eventually, is planned
> to handle these problems and replace the C code, but I don't
> think it is complete.
> 
> I believe you should have received the scheme code as part
> of the distribution, and that is where you should probably concentrate.

I'm currently at ALS; when I get back to Dallas tomorrow night I will
see about getting the latest patches of what I have for  QIF import
diffed against CVS, and see about submitting it to Rob and the patch
mailing list.

Several major aspects of incompleteness:
a) It is possible that the handling of currency amounts is incomplete.
Send me a sample of UK or German QIF data, and that should be downright
*trivial* to fix.

b) Translation table to turn the input categories into GnuCash Accounts.
Essentially, we need to have an association list (or some equivalent;
alists are well understood so I'll exposit using them) that provides
(define translation-table 
(("[QIF Cash Account]" . #Ref-To-GnuCash-Cash-Account)
 ("Salary Income" . #Ref-to-GC-Salary)))

This then allows us to determine the linkage to a GnuCash account given
QIF category.

This is a "that's not hard to implement" thing; I've got it about
half done.

The part that's *not* done is to take:
1) Guesses (based on substring matching and the like, which *does*
work),
2) Queries of the user (by generating dialog boxes giving you a
choice of the "best guesses"), which I've done *nothing* with yet,
and
3) Construct the final translation table based on a) and b).  I've
got a function to manage this; 'tis a trivial thing to implement.

c) The "big" thing, that I've not yet had success with...

Creating Gnucash Accounts and Transactions.

The sample code I sent out Wednesday is what I've tried so far; it may
need some gnc.gwp code that sits only on my PC at home, but that's merely
wrapping standard GnuCash engine calls, so there's nothing there that
wouldn't be simple to drop into gnc.gwp...

c) is what I've had *no* success with; I have tried adding both
accounts and transactions, and while the return codes seem OK on
the Guile side of things, they don't appear to get linked with the
data structures that the engine is working with.

--
Gnucash Developer's List 
To unsubscribe send empty email to: [EMAIL PROTECTED]

Reply via email to