[Kmymoney-devel] [kmymoney4] [Bug 341562] When importing a QIF file containing an intinc transaction, the interest income gets imported into the ledger as a fee, and the checking account is debited instead of being credited.

allan agander93 at gmail.com
Fri Dec 5 19:18:50 UTC 2014


https://bugs.kde.org/show_bug.cgi?id=341562

--- Comment #2 from allan <agander93 at gmail.com> ---
Apologies - missed line off.
if (statementTransactionUnderImport.m_strInterestCategory.isEmpty()) 
  s1.setAccountId(d->interestId(thisaccount));
else {//  Ensure category sub-accounts are dealt with properly
  if (statementTransactionUnderImport.m_amount.isPositive())
   
s1.setAccountId(d->interestId(statementTransactionUnderImport.m_strInterestCategory));
  else
   
s1.setAccountId(d->expenseId(statementTransactionUnderImport.m_strInterestCategory));
}

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list