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

Can not close accounts

Tags: None
(comma "," separated)
User avatar
toitoinebzh
Registered Member
Posts
40
Karma
0

Can not close accounts

Tue Feb 18, 2020 4:32 pm
Hi

I have two accounts I closed last year and I can not close them in KMY and I do not know why.

Balance is equal to zero and no scheduled transactions are related to these accounts

Any idea ???
lesturner
Registered Member
Posts
21
Karma
0

Re: Can not close accounts

Tue Feb 18, 2020 8:57 pm
You need to provide a bit more information such as what system you're running KMyMoney on, etc,
Do you get any error messages?
I've had some problems in the past caused by dates of transactions, being out of range of the date of the account.
User avatar
ipwizard
KDE Developer
Posts
1359
Karma
6
OS

Re: Can not close accounts

Wed Feb 19, 2020 6:24 am
The type of account you try to close is also important.


ipwizard, proud to be a member of the KMyMoney forum since its beginning. :-D
openSuSE Leap 15.4 64bit, KF5
User avatar
toitoinebzh
Registered Member
Posts
40
Karma
0

Re: Can not close accounts

Wed Feb 19, 2020 4:27 pm
Hi

I am running Kmymoney 5.0.1-2 installed via apt on xubuntu 18.04.4.

No error message, the option to close the account is just disabled.

These accounts are Investment accounts, I have been able to close their associated brokerage accounts.

I hope I answered your question
User avatar
ipwizard
KDE Developer
Posts
1359
Karma
6
OS

Re: Can not close accounts

Wed Feb 19, 2020 5:10 pm
Yes, it does. 5.0.1 is rather old. If your distro does not support newer versions, you can try to run the AppImage version of KMyMoney. I suspect the cause of your problem to be a rounding issue in your data. It might be a bit tricky to find out, but we were successful in a similar situation. Please check this forum entry and see if that your cause is similar and the solution works for you as well.


ipwizard, proud to be a member of the KMyMoney forum since its beginning. :-D
openSuSE Leap 15.4 64bit, KF5
User avatar
toitoinebzh
Registered Member
Posts
40
Karma
0

Re: Can not close accounts

Sat Feb 29, 2020 8:30 pm
Hi

Thank you for your help.
I downloaded and executed KMyMoney-5.0.8-3e5ed4d-x86_64.AppImage and the result is the same, I can not close these accounts >:(

I started to read your link but I do not feel comfortable with that right now
lesturner
Registered Member
Posts
21
Karma
0

Re: Can not close accounts

Sun Mar 01, 2020 8:12 am
Have you checked any scheduled transactions to / from the account? If there are any remove them.
Also check that no transaction dates fall outside the account start date and if they do alter the start date to include these.
These are easy to check but can give you problems.
User avatar
toitoinebzh
Registered Member
Posts
40
Karma
0

Re: Can not close accounts

Sat Mar 21, 2020 5:43 pm
Have you checked any scheduled transactions to / from the account? If there are any remove them.


checked

Also check that no transaction dates fall outside the account start date and if they do alter the start date to include these.


checked too

The last option seems to be a rounding issue, I have not been able to solve it with the last version of kmm
User avatar
toitoinebzh
Registered Member
Posts
40
Karma
0

Re: Can not close accounts

Mon Jul 13, 2020 1:44 pm
Hi ;D

I tried to use getsplitpart to understand why I can not close two Investment accounts. >:D

Here is an example, for this account called PEA

Code: Select all
<ACCOUNT currency="EUR" lastreconciled="" opened="2013-01-01" institution="I000001" parentaccount="A000005" type="7" id="A000088" name="Plan Epargne Action (PEA) - 29/10/2012" number="" description="" lastmodified="">
<SUBACCOUNTS>
<SUBACCOUNT id="A000143"/>
<SUBACCOUNT id="A000149"/>
<SUBACCOUNT id="A000150"/>
<SUBACCOUNT id="A000153"/>
</SUBACCOUNTS>
<KEYVALUEPAIRS>
<PAIR key="IBAN" value=""/>
<PAIR key="lastReconciledBalance" value="0/1"/>
<PAIR key="statementBalance" value="0/1"/>
<PAIR key="statementDate" value="2013-01-31"/>
</KEYVALUEPAIRS>
</ACCOUNT>


I can look at every transaction, everything look OK, if I sum the number of shares, it is equal to zero as expected, so I do not understand why I can not close this account :'( .
As said before, I have the same result with the appimage version of kmymoney.

Code: Select all
antoine@Talos:~/Bureau$ zcat 'MesComptes - Banque.kmy' | ./getsplitpart.pl --acc=A000143 --field=shares
transactionId;splitId;shares;amount
T000000000000000499;;16/1;16
T000000000000000688;;14/1;14
T000000000000000696;;0/1;0
T000000000000000719;;16/1;16
T000000000000000795;;15/1;15
T000000000000000841;;0/1;0
T000000000000000891;;16/1;16
T000000000000000954;;-14/1;-14
T000000000000001017;;-13/1;-13
T000000000000001104;;0/1;0
T000000000000001201;;16/1;16
T000000000000001308;;0/1;0
T000000000000001383;;16/1;16
T000000000000001433;;18/1;18
T000000000000001636;;17/1;17
T000000000000001656;;17/1;17
T000000000000001689;;0/1;0
T000000000000001911;;0/1;0
T000000000000002099;;-14/1;-14
T000000000000002100;;-14/1;-14
T000000000000002149;;-14/1;-14
T000000000000002150;;-14/1;-14
T000000000000002152;;-14/1;-14
T000000000000002153;;-14/1;-14
T000000000000002154;;-14/1;-14
T000000000000002155;;-14/1;-14
T000000000000002160;;-14/1;-14
T000000000000002161;;-8/1;-8
antoine@Talos:~/Bureau$ zcat 'MesComptes - Banque.kmy' | ./getsplitpart.pl --acc=A000149 --field=shares
transactionId;splitId;shares;amount
T000000000000000536;;4/1;4
T000000000000000601;;4/1;4
T000000000000000673;;-8/1;-8
antoine@Talos:~/Bureau$ zcat 'MesComptes - Banque.kmy' | ./getsplitpart.pl --acc=A000150 --field=shares
transactionId;splitId;shares;amount
T000000000000000572;;172/1;172
T000000000000000950;;-172/1;-172
antoine@Talos:~/Bureau$ zcat 'MesComptes - Banque.kmy' | ./getsplitpart.pl --acc=A000153 --field=shares
transactionId;splitId;shares;amount
T000000000000000720;;47/1;47
T000000000000000742;;45/1;45
T000000000000000771;;44/1;44
T000000000000000842;;44/1;44
T000000000000000951;;-39/1;-39
T000000000000001016;;-36/1;-36
T000000000000001434;;45/1;45
T000000000000001864;;-37/1;-37
T000000000000001917;;-35/1;-35
T000000000000002025;;-34/1;-34
T000000000000002068;;-44/1;-44
antoine@Talos:~/Bureau$
User avatar
toitoinebzh
Registered Member
Posts
40
Karma
0

Re: Can not close accounts

Sat Oct 31, 2020 4:03 pm
Any idea to solve this issue ?
User avatar
ipwizard
KDE Developer
Posts
1359
Karma
6
OS

Re: Can not close accounts  Topic is solved

Sat Oct 31, 2020 5:18 pm
Did you try closing the sub-accounts first? The investment account itself cannot be closed if any of the sub-accounts is still open.

Sorry for not answering any sooner: I have missed the last entry.


ipwizard, proud to be a member of the KMyMoney forum since its beginning. :-D
openSuSE Leap 15.4 64bit, KF5
User avatar
toitoinebzh
Registered Member
Posts
40
Karma
0

Re: Can not close accounts

Sat Oct 31, 2020 5:36 pm
\o/ Solved

I did not think about closing securities previously used in the investment account.

What would happen if I try to use these securities in an other investment account ? They won't be available ? Would it be possible to add them as detailed in https://docs.kde.org/stable5/en/extrage ... ents.reuse ?
User avatar
ipwizard
KDE Developer
Posts
1359
Karma
6
OS

Re: Can not close accounts

Sat Oct 31, 2020 6:24 pm
You only close the account where the transaction of the security are handled. This has no effect on the security itself which can be re-used. I have not validated that, but am pretty sure that this will work.


ipwizard, proud to be a member of the KMyMoney forum since its beginning. :-D
openSuSE Leap 15.4 64bit, KF5


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]