investment import - new security dialog

Christian Stimming stimming at tuhh.de
Wed Jan 25 08:19:31 EST 2006


Thanks for reporting this. Please submit such an observation as bugs 
into bugzilla, as otherwise they might get forgotten too easily.

http://bugzilla.gnome.org/enter_bug.cgi?product=GnuCash

In this concrete case, I think the mapping from the OFX fields to the 
gnucash data fields happen in src/import-export/ofx/gnc-ofx-import.c in 
function ofx_proc_security_cb(); if you're brave enough, you can 
experiment a bit by yourself how to change that mapping so that your 
file seems to be imported correctly. But please keep in mind that this 
might also be a bug in your OFX file or in the external libofx.

As for your other message: If you talk about "import", please always add 
the kind of import (QIF, OFX, HBCI?). I guess you mean ofx import. In 
that case, the name of the new account is built in the same file as 
above but in function ofx_proc_account_cb(), where it says 
account_description=g_strdup_printf(...). You can experiment for 
yourself whether you find a better solution here.

In any case, if you want to ensure such problem reports don't get lost 
here on the mailing list, you should rather report them into bugzilla.

(By the way if you've got a running gnucash installation and you only 
changed something in the import-export/ofx directory, it is sufficient 
to run "make install" in that directory.)

Christian

David Reiser schrieb:
> If I import via ofx a stock purchase of a new security, gnucash asks  me 
> to pick a commodity for the item. If I click the 'New' button, a  new 
> commodity creation dialog appears in which the field labels  appear in 
> the order:
> 
> Full Name
> Symbol/abbreviation
> Type
> CUSIP
> Fraction
> 
> but the proposed data appear in the order:
> 
> Symbol
> CUSIP
> Type
> Full Name
> Fraction
> 
> making me move stuff around in order to complete the commodity  definition.
> -- 
> David Reiser
> dbreiser at earthlink.net
> Mac 10.4.4, gcc 4.0.1, svn 12976
> 
> 
> 
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
> 



More information about the gnucash-devel mailing list