ofxdirectconnect in aqbanking3 branch

Andreas Köhler andi5.py at gmx.net
Sun Jul 20 06:49:01 EDT 2008


Hi David,

On Mi, 2008-07-09 at 16:02 -0400, David Reiser wrote:
> I don't think this is a bank issue. If I run the aqbanking3 wizard and  
> Get Accounts, the bank will send whatever it uses for the accountID.  
> As long as I complete the gnucash Online Banking Setup wizard  
> completely (Apply at the final dialog), the gnucash data file is  
> updated so the hbci slot agrees with whatever the bank sent as the  
> accountID. Subsequent ofxdirectconnect sessions use that accountID,  
> and the bank responds with the same accountID in the ofx data  
> response. And gnucash complains: gnc_ab_gettrans: No accountinfo  
> result for this account
> 
> I can change the error from No accountinfo to gnucash reporting that  
> there are no transactions in the time period by
> 
> Index: src/import-export/aqbanking/gnc-ab-gettrans.c
> ===================================================================
> --- src/import-export/aqbanking/gnc-ab-gettrans.c	(revision 17266)
> +++ src/import-export/aqbanking/gnc-ab-gettrans.c	(working copy)
> @@ -192,7 +192,7 @@
>       }
> 
>       /* Lookup account in context */
> -    acc_info = AB_ImExporterContext_FindAccountInfo(
> +    acc_info = AB_ImExporterContext_GetAccountInfo(
>           context, gnc_ab_get_account_bankcode(gnc_acc),
>           gnc_ab_get_account_accountid(gnc_acc));
>       if (!acc_info) {
> 
> 
> So it looks like credit card connections might have been hit by the  
> lack of a bankcode (it appears that GetAccountInfo just wraps  
> FindAccountInfo to protect against missing BankCode or accountNumber  
> entries).

I think we cannot use that patch, because GetAccountInfo() will not
import your transactions either, but only report an empty txn list.

> There is still a problem, because the ofx data clearly contain  
> transactions that should be imported, and gnucash is oblivious.

Does r17347 change anything for you?

Ciao,
-- andi5

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20080720/05054f41/attachment.bin 


More information about the gnucash-devel mailing list