Reply to topic

The "Delete account" menu is grayed out.

User avatar urustu
Registered Member
Posts
6
Karma
0
OS
Hello,

Ubuntu 12.04LTS I try KMyMoney and I imported QIF files from MS Money.
I have accounts with no operations that I want to delete.
The "Delete account" menu is grayed out.
How to delete your account?
User avatar Hei Ku
Moderator
Posts
649
Karma
2
OS
Check if there are any schedules that link to the account.


Hei Ku, proud to be a member of the KMyMoney Development Team since January-2008
User avatar urustu
Registered Member
Posts
6
Karma
0
OS
No, there is not schedules that link to the account.
User avatar Hei Ku
Moderator
Posts
649
Karma
2
OS
And no transactions of any kind? What type of account is it?


Hei Ku, proud to be a member of the KMyMoney Development Team since January-2008
User avatar urustu
Registered Member
Posts
6
Karma
0
OS
All transactions have been deleted.
The type of account is "Checks" but whatever the type I can not delete this account.
User avatar mkae
Registered Member
Posts
77
Karma
0
OS
It would be advisable to strip down the KMM file in question and anonymize it before you send it to one of the developers or post it to KDE's bugzilla.
User avatar urustu
Registered Member
Posts
6
Karma
0
OS
The data is very sensitive, I prefer that you give me the procedure to find out what is wrong.
At worst I will try an export and an import.

Especially since I noticed errors in the text import operations of my QIF files produced by MS Money. I need to understand what happened before coming to speak here.
User avatar mkae
Registered Member
Posts
77
Karma
0
OS
Try "File/Save As/Anonymous Files" and check whether the resulting XML still contains anything sensitive.
User avatar urustu
Registered Member
Posts
6
Karma
0
OS
Here are the relevant lines :

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE KMYMONEY-FILE>
<KMYMONEY-FILE>
...
<ACCOUNTS count="421">
<ACCOUNT currency="FRF" description="" parentaccount="" opened="" number="" lastmodified="" type="9" id="AStd::Asset" lastreconciled="" institution="" name="Actif">
<SUBACCOUNTS>
<SUBACCOUNT id="A000001"/>
<SUBACCOUNT id="A000013"/>
<SUBACCOUNT id="A000051"/>
<SUBACCOUNT id="A000125"/>
<SUBACCOUNT id="A000169"/>
<SUBACCOUNT id="A000199"/>
<SUBACCOUNT id="A000205"/>
<SUBACCOUNT id="A000210"/>
<SUBACCOUNT id="A000227"/>
<SUBACCOUNT id="A000229"/>
<SUBACCOUNT id="A000230"/>
<SUBACCOUNT id="A000307"/>
<SUBACCOUNT id="A000320"/>
<SUBACCOUNT id="A000334"/>
<SUBACCOUNT id="A000335"/>
</SUBACCOUNTS>
<KEYVALUEPAIRS>
<PAIR key="lastStatementDate" value=""/>
</KEYVALUEPAIRS>
</ACCOUNT>
...
<ACCOUNT currency="FRF" description="" parentaccount="AStd::Asset" opened="2013-05-04" number="" lastmodified="2013-05-04" type="1" id="A000199" lastreconciled="" institution="" name="***A SUPPRIMER !!!***">
<KEYVALUEPAIRS>
<PAIR key="lastStatementDate" value=""/>
<PAIR key="mm-closed" value="yes"/>
</KEYVALUEPAIRS>
</ACCOUNT>
...
</ACCOUNTS>
<TRANSACTIONS count="6628">
...
<TRANSACTION postdate="1999-02-17" commodity="FRF" memo="" id="T000000000000001396" entrydate="2013-05-04">
<SPLITS>
<SPLIT payee="P000009" reconcileflag="2" shares="-500/1" reconciledate="" action="" bankid="1999-02-17-01be82d-1" account="A000013" number="" value="-500/1" memo="" id="S0001"/>
<SPLIT payee="P000009" reconcileflag="2" shares="500/1" reconciledate="" action="" bankid="1999-02-17-196f70d-1" account="A000001" number="" value="500/1" memo="" id="S0002">
<KEYVALUEPAIRS>
<PAIR key="kmm-match-split" value="S0001"/>
<PAIR key="kmm-matched-tx" value="&amp;lt;!DOCTYPE MATCH>&#xa;&amp;lt;CONTAINER>&#xa; &amp;lt;TRANSACTION postdate=&quot;1999-02-17&quot; commodity=&quot;FRF&quot; memo=&quot;&quot; id=&quot;&quot; entrydate=&quot;2013-05-04&quot;>&#xa; &amp;lt;SPLITS>&#xa; &amp;lt;SPLIT payee=&quot;P000215&quot; reconcileflag=&quot;2&quot; shares=&quot;500/1&quot; reconciledate=&quot;&quot; action=&quot;&quot; bankid=&quot;1999-02-17-196f70d-1&quot; account=&quot;A000001&quot; number=&quot;&quot; value=&quot;500/1&quot; memo=&quot;&quot; id=&quot;S0001&quot;/>&#xa; &amp;lt;SPLIT payee=&quot;P000215&quot; reconcileflag=&quot;2&quot; shares=&quot;-500/1&quot; reconciledate=&quot;&quot; action=&quot;&quot; bankid=&quot;&quot; account=&quot;A000199&quot; number=&quot;&quot; value=&quot;-500/1&quot; memo=&quot;&quot; id=&quot;S0002&quot;/>&#xa; &amp;lt;/SPLITS>&#xa; &amp;lt;KEYVALUEPAIRS>&#xa; &amp;lt;PAIR key=&quot;Imported&quot; value=&quot;true&quot;/>&#xa; &amp;lt;/KEYVALUEPAIRS>&#xa; &amp;lt;/TRANSACTION>&#xa;&amp;lt;/CONTAINER>&#xa;"/>
</KEYVALUEPAIRS>
</SPLIT>
</SPLITS>
<KEYVALUEPAIRS>
<PAIR key="Imported" value="true"/>
</KEYVALUEPAIRS>
</TRANSACTION>
...
<TRANSACTION postdate="1999-04-18" commodity="FRF" memo="" id="T000000000000001480" entrydate="2013-05-04">
<SPLITS>
<SPLIT payee="P000218" reconcileflag="2" shares="260/1" reconciledate="" action="" bankid="1999-04-18-5aad9dd-1" account="A000125" number="" value="260/1" memo="" id="S0001"/>
<SPLIT payee="P000218" reconcileflag="2" shares="-260/1" reconciledate="" action="" bankid="1999-04-18-2943d4d-1" account="A000001" number="" value="-260/1" memo="" id="S0002">
<KEYVALUEPAIRS>
<PAIR key="kmm-match-split" value="S0001"/>
<PAIR key="kmm-matched-tx" value="&amp;lt;!DOCTYPE MATCH>&#xa;&amp;lt;CONTAINER>&#xa; &amp;lt;TRANSACTION postdate=&quot;1999-04-18&quot; commodity=&quot;FRF&quot; memo=&quot;&quot; id=&quot;&quot; entrydate=&quot;2013-05-04&quot;>&#xa; &amp;lt;SPLITS>&#xa; &amp;lt;SPLIT payee=&quot;P000218&quot; reconcileflag=&quot;2&quot; shares=&quot;-260/1&quot; reconciledate=&quot;&quot; action=&quot;&quot; bankid=&quot;1999-04-18-2943d4d-1&quot; account=&quot;A000001&quot; number=&quot;&quot; value=&quot;-260/1&quot; memo=&quot;&quot; id=&quot;S0001&quot;/>&#xa; &amp;lt;SPLIT payee=&quot;P000218&quot; reconcileflag=&quot;2&quot; shares=&quot;260/1&quot; reconciledate=&quot;&quot; action=&quot;&quot; bankid=&quot;&quot; account=&quot;A000199&quot; number=&quot;&quot; value=&quot;260/1&quot; memo=&quot;&quot; id=&quot;S0002&quot;/>&#xa; &amp;lt;/SPLITS>&#xa; &amp;lt;KEYVALUEPAIRS>&#xa; &amp;lt;PAIR key=&quot;Imported&quot; value=&quot;true&quot;/>&#xa; &amp;lt;/KEYVALUEPAIRS>&#xa; &amp;lt;/TRANSACTION>&#xa;&amp;lt;/CONTAINER>&#xa;"/>
</KEYVALUEPAIRS>
</SPLIT>
</SPLITS>
<KEYVALUEPAIRS>
<PAIR key="Imported" value="true"/>
</KEYVALUEPAIRS>
</TRANSACTION>
...
</TRANSACTIONS>
...
</KMYMONEY-FILE>
User avatar urustu
Registered Member
Posts
6
Karma
0
OS
So I go into the account id="A000001" at the dates indicated (1999-02-17 and 1999-04-18) and I found the green operations.
I deleted the mapping and I did a little cleaning.
I was able to delete the account.
Important: You must remove the account is closed on time cleaning.
Thank you. ;)

 
Reply to topic

Bookmarks



Who is online

Registered users: Alexa [Bot], Baidu [Spider], Bing [Bot], bshah, cylverbak, dehnhardt, Exabot [Bot], ggael, Google [Bot], HmpfCBR, ivan, ken300, koriun, Majestic-12 [Bot], nezumi, ooker, oskaras, paulus3005, rulet111, Schoelje, TheraHedwig, Tuukka, valoriez, VulpesVulpes, Yahoo [Bot]