This forum has been archived. All content is frozen. Please use KDE Discuss instead.

qif importer statement balance ignored?

Tags: None
(comma "," separated)
salzrat
Registered Member
Posts
34
Karma
0
Hi,

I love kmm's ability to run filters on qif imports, and especially the "#" extension for unique transfers. Thus I'm able to convert my bank's downloaded csv statements into qifs and import them nicely. Compared to ofx, this gives me the advantage that the csv download of my bank has more information (additional text memos not present in ofx), and I can preprocess it to automatically detect transfers to other accounts (credit card for example).

Now I would also like to add the statement account balance. However, when I try to use that feature, kmm always says that no account balance was found in the imported statement. I've for example put this at the beginning of the file:

Code: Select all
!Account
NMyaccountname
/23.07.2012
$2000
^


I've looked into the code of the qif importer and there is actually some functionality to handle this. What could be wrong?

Thanks!
User avatar
ipwizard
KDE Developer
Posts
1359
Karma
6
OS
I also looked at the code and figured, that this part is only active in case you import a new account. It does not add in case you import a QIF statement into an existing account. For this to work, the relevant data must be put into the MyMoneyStatement object (namely the m_closingBalance and m_dateEnd members) which is later processed by MyMoneyStatementReader. In case you (or anyone else) gets this working: patches are welcome and added to the repository.


ipwizard, proud to be a member of the KMyMoney forum since its beginning. :-D
openSuSE Leap 15.4 64bit, KF5
salzrat
Registered Member
Posts
34
Karma
0
I fear that's currently beyond me (I have no build system installed, and the statement-reader logic is not easy to deduce for an outsider...)

Maybe somebody could give this a try?

Thanks!
svetter
Registered Member
Posts
1
Karma
0
If someone is still interested:

I created a patch and submitted a request to the bugtracker.
https://bugs.kde.org/show_bug.cgi?id=337405
User avatar
Hei Ku
Registered Member
Posts
784
Karma
3
OS
Thanks for the patch


Hei Ku, proud to be a member of the KMyMoney Development Team since January-2008


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], q.ignora, watchstar