This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Investment View

Tags: None
(comma "," separated)
eldrick
Registered Member
Posts
3
Karma
0

Investment View

Thu May 22, 2014 11:18 am
Hello, I am new to Linux and KMyMoney and at the moment am just feeing my way. The problem I have is that I cannot delete my accounts in the "Investment view" window when right clicking delete function is greyed out. Hope somebody can help. Maybe I am not in correct forum??
eldrick
zebulon
Registered Member
Posts
417
Karma
2
OS

Re: Investment View

Sat May 24, 2014 12:54 am
You have to delete all transactions in the investment account and all dependencies with other accounts first.

See KMM manual chapter 6, last section.
Deleting accounts

To delete an account, first remove all the transactions from that account in the ledger. Next, find the account in the accounts view and after right clicking on the entry to show the popup menu select Delete account... from the popup menu.

If you are unable to delete an account which looks like it has no transactions in it, check your filter. See Settings->Configure KMyMoney->General->Filter. Clear all filters. Set the start date to 1.1.1900 or so.

There may be transactions in your ledger that are not shown, for example, if you have inadvertently typed in the wrong year when making an entry so that an entry remains outside the opening date of KMyMoney. This appears beneath the ledger page as remaining funds.
eldrick
Registered Member
Posts
3
Karma
0

Re: Investment View  Topic is solved

Mon May 26, 2014 7:41 pm
Thanks zebulon have now sorted the problem
steffie
Registered Member
Posts
135
Karma
0
OS

Re: Investment View

Sun Jul 20, 2014 8:21 am
Hello

My query is not quite the same as the original Post here. I have an Investment account which i most certainly do NOT wish to delete [but i completely understand why i could not delete it now even if i wanted]. It has now become Zero balance, & will remain Zero forever more, as i rolled over the funds from it into an alternative investment. I certainly wish to retain this investment in KMM for historical records. However it is undesirable for this investment to continue being visible in my list of accounts on various tabs, including Home. It is simply undesirable clutter. When i have any zero-balance Savings accounts that i wish to hide [Close], i can simply achieve that via the right-click menu [regardless of them having many or no transactions, so long as the balance is zero]. Then, when my View setting is to NOT "Show All Accounts", said account becomes invisible. That is exactly what i desire for this zeroed Investment account, but the right-click option is greyed out for it. I then experimented by creating a dummy investment account, with no balance [& no transactions], which happily can be closed or opened at will, via right-click. Thus the impediment for me seems to be that my target Investment account, despite saying nil balance, does [correctly] have multiple transactions. Why does that not matter for a Savings account, but apparently matters for an Investment account?

Why is this? Is there no solution? [Pls don't suggest deleting all its entries; that's not helpful].

Thanks.
cristian.onet
KDE Developer
Posts
253
Karma
2
OS

Re: Investment View

Sun Jul 20, 2014 9:42 am
These are the conditions that are checked before closing an account (quoting from the code):
1. balance must be zero
2. all children must be already closed
3. there must be no unfinished schedule referencing the account
Nr. 3 could be relevant in your case.


cristian.onet, proud to be a member of KDE forums since 2008-Oct.
steffie
Registered Member
Posts
135
Karma
0
OS

Re: Investment View

Sun Jul 20, 2014 10:38 am
Thanks Cristian

Unfortunately both #1 & #3 are affirmative, ie, "Yes". I suspect that #2 is also Yes, but could you pls clarify "children" here?
cristian.onet
KDE Developer
Posts
253
Karma
2
OS

Re: Investment View

Sun Jul 20, 2014 11:16 am
I guess the children are the sub-accounts displayed in the accounts view. Maybe this thread can help you.


cristian.onet, proud to be a member of KDE forums since 2008-Oct.
steffie
Registered Member
Posts
135
Karma
0
OS

Re: Investment View

Mon Jul 21, 2014 1:50 pm
Thanks Cristian.

I have checked this zeroed Investment account yet again now, & can reconfirm that 100% of its "children" are to a Cash account that is also now zero ... & which happily can be closed to hide. I also reconfirmed that there are no active scheduled transactions associated with this Investment account. Despite this, the zeroed Investment account itself still refuses to be closed. This is perplexing ... but also pretty irritating.

Steffie.
cristian.onet
KDE Developer
Posts
253
Karma
2
OS

Re: Investment View

Tue Jul 22, 2014 12:51 pm
You could create an anonymous file from your file, check that the account still can't be closed and send it to the developers list so we can determine the reason why the account can't be closed.


cristian.onet, proud to be a member of KDE forums since 2008-Oct.
steffie
Registered Member
Posts
135
Karma
0
OS

Re: Investment View

Wed Jul 23, 2014 11:29 am
Thanks Cristian, that's a nice idea & offer. I've made the file, satisfied myself that it does indeed appear to be adequately anonymised, & also verified that this $0.000 Investment account still refuses to let me Close it [the option remains ghosted-out]. How do i actually *get* the file to the developers pls? It's ~4.4 MB [= much bigger than my actual "real" data file].
User avatar
Hei Ku
Registered Member
Posts
784
Karma
3
OS

Re: Investment View

Wed Jul 23, 2014 11:51 am
You can file a bug in bugs.kde.org and attach it in the bug, or you can compress the file and send it to kmymoney-devel@kde.org.


Hei Ku, proud to be a member of the KMyMoney Development Team since January-2008
steffie
Registered Member
Posts
135
Karma
0
OS

Re: Investment View

Wed Jul 23, 2014 12:16 pm
Thanks very much Hei Ku; i chose the second option, hence have externally emailed the zipped file.

Best wishes,
Steffie.
cristian.onet
KDE Developer
Posts
253
Karma
2
OS

Re: Investment View

Thu Jul 24, 2014 5:37 am
I checked your anonymous file. If 'A000495' is the investment account that you want to close (it has 0 balance) you need to close it's subaccount 'A000496' (the stock account) first, then the 'Close account' action will be enabled for 'A000495'.


cristian.onet, proud to be a member of KDE forums since 2008-Oct.
steffie
Registered Member
Posts
135
Karma
0
OS

Re: Investment View

Thu Jul 24, 2014 11:59 am
Hi & thank you, Cristian

I'm very sorry to have wasted your time, but very grateful for your help. I had not properly understood the KMM definition of a Child account, thus i had not recognised that in fact it was the ongoing presence of the stock account that was the cause of the main Investment account not being "Closable". As soon as i understood this oversight of mine tonight, when i read your msg, I was able to close the stock account & then voila immediately also close the main Investment account afterwards. I feel quite silly, but also good that with your nice help i have learned a useful lesson.

Many thanks!
Steffie.
cristian.onet
KDE Developer
Posts
253
Karma
2
OS

Re: Investment View

Thu Jul 24, 2014 12:07 pm
You're welcome :) .


cristian.onet, proud to be a member of KDE forums since 2008-Oct.


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]