[Kmymoney-devel] [kmymoney4] [Bug 339774] New: OFX download results in negative dividend

george at wildturkeyranch.net george at wildturkeyranch.net
Wed Oct 8 00:20:26 UTC 2014


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

            Bug ID: 339774
           Summary: OFX download results in negative dividend
           Product: kmymoney4
           Version: git master
          Platform: Fedora RPMs
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kmymoney-devel at kde.org
          Reporter: george at wildturkeyranch.net

After an OFX download I am trying to reconcile a Brokerage account.  
I am finding that in some cases dividend transactions are being entered with
the wrong sign.  What is strange is that only some of the transactions are
affected.
For this transaction:
          <INCOME>
            <INVTRAN>
              <FITID>14656805818901220140707
              <DTTRADE>20140707000000.000[-4:EDT]
              <MEMO>DIVIDEND RECEIVED
            </INVTRAN>
            <SECID>
              <UNIQUEID>132061300
              <UNIQUEIDTYPE>CUSIP
            </SECID>
            <INCOMETYPE>DIV
            <TOTAL>+00000000000034.5800
            <SUBACCTSEC>CASH
            <SUBACCTFUND>CASH
            <CURRENCY>
              <CURRATE>1.00
              <CURSYM>USD
            </CURRENCY>
          </INCOME>
the result is correct, but for these:
         <INCOME>
            <INVTRAN>
              <FITID>14656805820001320140718
              <DTTRADE>20140718000000.000[-4:EDT]
              <MEMO>DIVIDEND RECEIVED
            </INVTRAN>
            <SECID>
              <UNIQUEID>780287108
              <UNIQUEIDTYPE>CUSIP
            </SECID>
            <INCOMETYPE>DIV
            <TOTAL>+00000000000021.0000
            <SUBACCTSEC>CASH
            <SUBACCTFUND>CASH
            <CURRENCY>
              <CURRATE>1.00
              <CURSYM>USD
            </CURRENCY>
          </INCOME>
          <INCOME>
            <INVTRAN>
              <FITID>14656805821301220140731
              <DTTRADE>20140731000000.000[-4:EDT]
              <MEMO>DIVIDEND RECEIVED
            </INVTRAN>
            <SECID>
              <UNIQUEID>316067107
              <UNIQUEIDTYPE>CUSIP
            </SECID>
            <INCOMETYPE>DIV
            <TOTAL>+00000000000000.0600
            <SUBACCTSEC>CASH
            <SUBACCTFUND>CASH
            <CURRENCY>
              <CURRATE>1.00
              <CURSYM>USD
            </CURRENCY>
          </INCOME>
the result is negative.  I will attach a screen snapshot of one of the failing
tranactions.  I also notice that most dividend transactions on "Fidelity Cash
Reserves" turn out correct.



Reproducible: Always

Steps to Reproduce:
1. to reproduce I deleted the transaction and then did the OFX download again.
2.
3.

Actual Results:  
The same as shown in the screen snapshot.

Expected Results:  
A positive amount should have been entered.

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


More information about the KMyMoney-devel mailing list