Bug 398133 - Allow saving investment transaction without brokerage account if net amount is zero
Summary: Allow saving investment transaction without brokerage account if net amount i...
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 5.0.1
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-01 18:17 UTC by Richard Theisen
Modified: 2019-01-26 19:15 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 5.0.3
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Theisen 2018-09-01 18:17:17 UTC
Need the ability to create activity types on the Ledgers panel for investments. I have IRA accounts which I have done inter-fund transfers to balance out my holdings. Currently, I need to "Sell shares", put the funds into a dummy account, the "Buy Shares" using funds from the dummy account. The activity types I was looking at are:
     Sell Interfund Transfer
     Buy Interfund Transfer
For the Sell Interfund Transfer, the "Account" field could be one or more investments within the account. For the Buy Interfund Transfer, the account is from the interfund transfer sell.
Comment 1 Richard Theisen 2018-09-01 18:25:54 UTC
For got to request an additional type.
   Sell - Fees
This activity type is to handle mutual fund account fees. There is no money transferred--only a reduction in shares.
Comment 2 Thomas Baumgart 2018-09-02 08:14:09 UTC
(In reply to Richard Theisen from comment #1)

I added a small change on https://phabricator.kde.org/D15215 that supports the mutual fund account fee case. Affects on reporting have to be checked. I can't do that and don't want to add it without knowledge about the reporting.

The interfund transfer is still unhandled.
Comment 3 Jack 2018-09-02 14:15:53 UTC
For fees paid by selling shares, I have an account which does this, and I just enter a plain sell transaction, with an explicit fee of the exact amount of the sale.  I don't really understand what change is needed to allow this, unless it is just a way of needing to enter less data - you still need to enter the amount of the fee and either price per share or number of shares.
Comment 4 Richard Theisen 2018-09-02 19:59:28 UTC
Hello,
  Jack, the fees I'm talking about are not related to selling the mutual fund shares. I fees I'm talking about are yearly maintenance fees. The mutual fund company automatically sells a certain amount of shares in December for those fees. When I document these transactions, I'm required to include an account that received the funds from "selling" those shares. No money was transferred. I had to create a dummy account to "receive" the funds generated by selling the shares for the fees. Or should I be using the "Remove Shares" activity value? 

  The "Sells Shares - Fees" could then be used for reporting purposes. For example, a report listing the totals for:
    Buying, Reinvested Dividends, interest/dividends, Selling, Fees, net amount

Thank you,
  Richard
Comment 5 Jack 2018-09-02 20:07:09 UTC
When you enter an amount on the fees line, you can use any category you want.  You can easily create a category for exactly that purpose.  If the fees equal the proceeds, you don't need an associated brokerage account (I don't think I ever did, but I believe Thomas has just made a change to assure that is the case.)  Yes, you could use a different transaction type, but you can also report based on categories.  Perhaps it is just a different way of looking at the same thing.

Also note - the whole development team is aware there are major enhancements needed for handling investments.  Unfortunately, many of them will take significant changes to the underpinnings of how KMM deals with investments, so it is not likely to be addressed in the near future, other than fixes that can be done within the existing framework (and there  are likely to be several of those in 5.0.2)
Comment 6 Thomas Baumgart 2019-01-21 15:48:11 UTC
I am still waiting for some feedback on the modification mentioned in comment #2
Comment 7 Richard Theisen 2019-01-22 04:22:50 UTC
Hello,
   I'm running ver 5.0.0. I like your solution of using the Fees section to track the selling of share to cover the transaction. If the transaction amount and the fees amount are the same, then no account should be required. I tried using the fees section and removing the Account name, I was not able to save the transaction.

I would still prefer to have a "Sell shares -- fees" activity. This would just make it easier to determine why those shares were sold without have to look at the actual transaction. 

Has the above modification been implemented in 5.0.1 or 5.0.2?

Sorry for the delay in providing you a response earlier. 


Richard
Comment 8 Jack 2019-01-25 23:19:37 UTC
If that Phabricator review (see comment #2) is committed (I just made a minor comment) then should this be closed, or changed to a wishlist for the new transaction type?
Comment 9 Thomas Baumgart 2019-01-26 13:22:47 UTC
Git commit 139aa5ea4c15e43cafae7bb924f3aaf1d3fa7b7b by Thomas Baumgart.
Committed on 26/01/2019 at 13:24.
Pushed by tbaumgart into branch '5.0'.

Support sell w/o asset account

Summary:
Allow a sell operation that reduces the number of shares to pay fees.
This is to handle mutual fund account fees. There is no money
transferred -- only a reduction in shares.

Test Plan: I have tested entry and retrieval of the transaction. What needs to be tested how this change affects reporting. I can't do that.

Reviewers: ostroffjh

Differential Revision: https://phabricator.kde.org/D15215

M  +19   -7    kmymoney/dialogs/investactivities.cpp
M  +6    -5    kmymoney/dialogs/investtransactioneditor.cpp
M  +1    -1    kmymoney/dialogs/investtransactioneditor.h

https://commits.kde.org/kmymoney/139aa5ea4c15e43cafae7bb924f3aaf1d3fa7b7b