Hi, (I guess this goes mainly to Benoit Gr�goire:)
I'm thinking about using the function gnc_import_select_account(char *account_online_id_value) from src/import-export/gnc-generic-import.h from HBCI. Different than what the OFX importer needs, I am *not* going to use it each time when transactions get imported -- at that time the HBCI code already knows Gnucash's Account that is to be used. Instead, I would need such a function when the HBCI code initially connects to the bank server and gets a list of accounts it is authorized to access. At this point in time I would need that function, so that for each mentioned account, Gnucash will ask the user "Your bank with bank code xy allows us to access the account yx. Which Gnucash account should correspond to that bank's account?" Now it's perfectly easy for me to compile one single online_id string; that's not a problem. What I consider a problem, however, is that I would like to give much more information to the user instead of showing him/her some "cryptic" string that I have compiled as online_id. Can we extend that function so that it takes two arguments: one online_id string that gets stored but not shown, and another account_name string that gets shown to the user? That would make this dialog really much more helpful. Besides, Benoit: you introduced the kvp-key "online_id" in gnc-generic-import.c, but IIRC every coder is supposed to document such a key in the file src/engine/kvp_doc.txt. Should I add that there, or are you going to do that? Also, in the other kvp keys for whatever reason people prefer to use the minus sign instead of underscores. Do you think it is still possible to switch to the key string "online-id"? I think that would fit in much nicer. Thanks for all your code, anyway. Christian _______________________________________________ gnucash-devel mailing list [EMAIL PROTECTED] http://www.gnucash.org/cgi-bin/mailman/listinfo/gnucash-devel
