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

Can't Remove Payee

Tags: None
(comma "," separated)
jmadero
Registered Member
Posts
55
Karma
0

Can't Remove Payee

Sun Nov 13, 2011 11:17 pm
Hi All,

Trying to clean my records up but am getting this error when trying to remove my payee:

Cannot remove payee that is still referenced to a transaction thrown in /home/joel/Downloads/kmymoney-4.6.1/kmymoney/mymoney/storage/mymoneyseqaccessmgr.cpp:215


There are no transactions for this payee so not sure why I can't delete the payee. Actually happening for two different payees. Tried renaming and deleting and that didn't work. Thanks
User avatar
ipwizard
KDE Developer
Posts
1359
Karma
6
OS

Re: Can't Remove Payee

Mon Nov 14, 2011 6:18 am
Which version of KMyMoney is this? A few more questions:

a) Are there any transactions shown in the transaction list of the payee?
b) Do you have any matched transactions which are not yet accepted?


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

Re: Can't Remove Payee

Wed Nov 16, 2011 5:21 pm
I'm running the latest release, installed from source just a few days ago.

I have no matched transactions at all, nothing shows up in the transaction list of the payee.
ludwigk
Registered Member
Posts
2
Karma
0

Re: Can't Remove Payee

Tue Apr 14, 2015 2:46 am
Bumping this old unanswered thread because I’m having the same problem, can’t delete several payees although they have no transactions. How can I find out where they are being referenced?

KMyMoney 4.7.1, using KDE development platform 4.14.3
ludwigk
Registered Member
Posts
2
Karma
0

Re: Can't Remove Payee

Tue Apr 14, 2015 8:10 am
Further investigation: Digging into the XML shows that the ghost payees all seem to be referenced by auto-matched transactions that I manually changed the payee of. The original payee still exists in the transaction record, but the transaction doesn’t show it in KMM.

Here’s an example. P000016 is legit, but I think the reference to P000028 should have been deleted when I changed the payee.

Code: Select all
  <TRANSACTION postdate="2015-02-02" commodity="USD" memo="" id="T000000000000000050" entrydate="2015-01-27">
   <SPLITS>
    <SPLIT payee="P000016" reconcileflag="0" shares="150/1" reconciledate="" action="" bankid="" account="A000023"         number="1177" value="150/1" memo="CHECK 1177" id="S0001">
     <TAG id="G000003"/>
    </SPLIT>
    <SPLIT payee="P000016" reconcileflag="2" shares="-150/1" reconciledate="" action="" bankid="ID 20321"                  account="A000001" number="1177" value="-150/1" memo="CHECK 1177&#xa;CHECK 1177 Trace # 991003702 02" id="S0002">
     <TAG id="G000003"/>
     <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;2015-02-02&quot; commodity=&quot;USD&quot; memo=&quot;CHECK 1177 Trace # 991003702 02&quot; id=&quot;&quot; entrydate=&quot;2015-02-07&quot;>&#xa;  &amp;lt;SPLITS>&#xa;   &amp;lt;SPLIT payee=&quot;P000028&quot; reconcileflag=&quot;0&quot; shares=&quot;-150/1&quot; reconciledate=&quot;&quot; action=&quot;&quot; bankid=&quot;ID 20321&quot; account=&quot;A000001&quot; number=&quot;&quot; value=&quot;-150/1&quot; memo=&quot;CHECK 1177 Trace # 991003702 02&quot; id=&quot;      S0001&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;"/>
      <PAIR key="kmm-orig-memo" value="CHECK 1177"/>
      <PAIR key="kmm-orig-postdate" value="2015-01-30"/>
     </KEYVALUEPAIRS>
    </SPLIT>
   </SPLITS>
  </TRANSACTION>
cristian.onet
KDE Developer
Posts
253
Karma
2
OS

Re: Can't Remove Payee

Tue Apr 14, 2015 8:49 am
Nice investigation, it seems that the payee in the match information does not get updated when deleting a payee, this sounds like a bug to me.


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]