[Kmymoney-devel] [Bug 285761] QIF import for credit card account and deposit account not working properly

allan agander93 at gmail.com
Sat Nov 5 16:51:01 UTC 2011


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





--- Comment #7 from allan <agander93 gmail com>  2011-11-05 16:51:00 ---
(In reply to comment #3)
> Actually I am interested in importing data to an existing account. The "Steps
> to Reproduce" was just an example but maybe not a good one, sorry for the
> confusion.
> 
> My old script created QIF files with the following header:
> 
> !Type:Bank
> CX
> POpening Balance
> L[name of the account]
> 
> This was working fine with all type of accounts and kmymoney 0.8.9 (Debian
> Lenny). The data are imported to the existing accounts as expected.
> 
> The script is still working for giro accounts in newer kmymoney versions. But
> it does not work with other accounts like credit card or deposit accounts. A
> new account is created instead with the same name.
> 
> Then I checked the QIF specification and found out that using !Type:Bank is not
> the right thing to do for all accounts, so I updated my script to use
> !Type:CCard for credit card accounts, but it was still not working.
> Unfortunately I am not sure anymore if I tested it with kmymoney 4.5.3 or only
> with 3.98.1. As exports always showing !Type:Bank I was assuming that the type
> is ignored by kmymoney and it's not worth to play around with it.
> 
> Basically you confirmed now that the type is important which is good to know!
> Let me try it again with !Type:CCard for a credit card account and kmymoney
> 4.5.3.
> 
> What type do I need to use for a deposit account?
> 

I'm pretty sure you can use !Type:Bank for that.


> PS.: If the type is important then yes I agree, the export should use the
> correct type of the account and not a static one configured on a QIF profile.
> 
> PPS.: Just as a feedback, I am not very happy with the date auto-detection
> feature for QIF imports because if there are only a few entries in the QIF file
> with dates like 12.10.2011 or 05.11.2011 then the auto-detection fails and I
> have to select each time the date format manually.

Can you think of a way for KMM to deduce the correct format in such
cases, bearing in mind it will not know the country of origin of the
file.  With more items, the date format can be determined correctly.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list