After much frustration I seem to finally be moved into my Mac book.  So 
I finally turned back to playing with the aqbanking kmm_plugin.  I'm 
using it because (last I checked) the OFX plugin in KMM doesn't like my 
bank, while the aqbanking one does.  However, it seems transactions from 
my bank don't include the payee, just the memo.  Of course, KMM keys on 
payee.  So I submit the following patch to mymoneybanking.cpp:

*** mymoneybanking.orig    2008-04-09 15:18:29.000000000 -0700
--- mymoneybanking.cpp    2008-04-24 21:22:05.000000000 -0700
***************
*** 487,492 ****
--- 487,497 ----
      } // while
    }
    kt.m_strMemo = s;
+ 
+   //If the bank doesn't provide a defined "payee" use the memo instead.
+   if(kt.m_strPayee.isEmpty()) {
+     kt.m_strPayee += kt.m_strMemo;
+   }
 
    // date
    ti=AB_Transaction_GetDate(t);

If the Payee field is empty, automatically put the memo into it.  It's 
not much but it's working great for me.




-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Aqbanking-devel mailing list
Aqbanking-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/aqbanking-devel

Reply via email to