r17548 - gnucash/branches/2.2/src/import-export/aqbanking - [r17502] Treat AB_Job_StatusPending as a good status, do not ask the user to repeat.

Andreas Köhler andi5 at cvs.gnucash.org
Wed Sep 17 13:35:58 EDT 2008


Author: andi5
Date: 2008-09-17 13:35:57 -0400 (Wed, 17 Sep 2008)
New Revision: 17548
Trac: http://svn.gnucash.org/trac/changeset/17548

Modified:
   gnucash/branches/2.2/src/import-export/aqbanking/gnc-ab-transfer.c
Log:
[r17502] Treat AB_Job_StatusPending as a good status, do not ask the user to repeat.

According to Martin Preuss a lot of banks set the status of a
transaction job to pending, signifying that they accepted the job but
have not yet executed it.  This also means that we cannot detect whether
the account is actually overdrafted.

Instead, ignore the return value of AB_Banking_ExecuteJobs() (it will
almost always be 0) and only check the job's status against
AB_Job_StatusFinished and AB_Job_StatusPending.  If the status is
different, ask the user whether he wants to repeat, as usual.



More information about the gnucash-patches mailing list