[Kmymoney-devel] [kmymoney4] [Bug 351874] New: QIF import of investment buys and sells mishandles commissions

Jeff jeffjl.kde at outlook.com
Thu Aug 27 21:20:58 UTC 2015


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

            Bug ID: 351874
           Summary: QIF import of investment buys and sells mishandles
                    commissions
           Product: kmymoney4
           Version: 4.7.2
          Platform: MS Windows
                OS: MS Windows
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kmymoney-devel at kde.org
          Reporter: jeffjl.kde at outlook.com

When importing a QIF file from Quicken 2013, investment buys and sells that
have a commission are imported with the commission applied three times.  The
KMM ledger knows something is wrong because it marks every transaction in both
the "brokerage" and the investment accounts with warning triangles about
missing assignment for the commission times 2. The price and value in the
ledger are correct until you edit the transaction, at which time the extra
commissions are added, making the overall transaction wrong (not matching the
QIF file numbers), but the warning triangle goes away.

I have a fix that I will be posting to the review board.  I developed the fix
using KMM 4.7.2 because I could not get the 'gitHEAD' version to build on
Windows. But the patch file will be against gitHEAD.

Reproducible: Always

Steps to Reproduce:
1. Import a QIF file with investment trades with a commission
2.
3.

Actual Results:  
The commission is added 3 times to the transaction. KMM shows warnings on every
transaction.

Expected Results:  
The commission should only count one time and KMM should not have warnings.

Here's a simple QIF example that exhibits the problem (notice the transaction
date is really old):

!Option:AutoSwitch
!Account
NFidelity Brokerage
TPort
^
NFidelity Brokerage (Brokerage)
TChecking
^
!Type:Security
NApple Computer
SAAPL
TStock
^
!Account
NFidelity Brokerage
TInvst
^
!Type:Invst
D7/27/81
NBuy
YApple Computer
I25.375
Q100
C
U2,567.50
T2,567.50
O30.00
^

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


More information about the KMyMoney-devel mailing list