![]() Registered Member ![]()
|
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:
I've looked into the code of the qif importer and there is actually some functionality to handle this. What could be wrong? Thanks! |
![]() KDE Developer ![]()
|
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.
![]() openSuSE Leap 15.4 64bit, KF5 |
![]() Registered Member ![]()
|
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! |
![]() Registered Member ![]()
|
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 |
![]() Registered Member ![]()
|
Thanks for the patch
Hei Ku, proud to be a member of the KMyMoney Development Team since January-2008
|
Registered users: bartoloni, Bing [Bot], Google [Bot], q.ignora, watchstar