ISTR many years back encountering this discrepancy (that is, GnuCash saying it 
was deleting transactions only to find them still there after). 

I chalked it up to GnuCash being GnuCash, and decided that deleting accounts 
with transactions in them was more confusing than stepping through an account 
and deleting each transaction before removing the account. 

In Basic view, one can delete a lot of entries very quickly, especially if you 
turn off the confirmation dialog for the current session. I've been known to 
delete several hundred transactions in this way in just a few minutes. That's 
not the answer for the original problem, but it's the reason I haven't ever 
given the issue much consideration over the years...

⁣David T. ​

On Sep 5, 2023, 4:35 PM, at 4:35 PM, "Maf. King" <m...@chilwell.net> wrote:
>On Tuesday, 5 September 2023 13:51:11 BST Stan Brown (using GC 4.14)
>wrote:
>> On 2023-09-04 21:28, Jediator wrote:
>> > Let's not to discuss whether it's a good idea or not to delete an
>> > account that contains transactions.  It's a valid user function in
>GC to
>> > delete a non-empty account. 
>> 
>> I've never done that myself, but from discussions I followed here in
>the
>> past, when you delete an account that has transactions, GC prompts
>you
>> to specify an account to move those transactions to. Did that not
>happen
>> for you?
>> 
>>  > If you follow the double-entry accounting
>> > 
>> > rule, the related transactions in other accounts should be deleted.
>> 
>> I beg to differ. Just deleting an account can't change the past.
>Those
>> transactions represent events that happened, and deleting the account
>> can't make them unhappen; they must continue to exist *somewhere*.
>Maybe
>> going to Imbalance is what happens if you don't give GC an account to
>> move them to?
>> 
>
>Hi,
>
>I just tried deleting an account.   As expected, I was presented with
>the 
>choice to "move transactions to..." or "Delete all transactions" (see 
>screenshot - this is GC 4.x, maybe the wording is different in v5)
>
>Deleting the transactions does not really seem to delete anything, the 
>transaction splits effectively moved to Imbalance-GBP.  
>
>One could argue that "splits" in the deleted account have been deleted,
>and 
>GC has auto-created new splits to the Imbalance account - I don't know
>what 
>the internal process is- but it "feels" to the end user like a move,
>not a 
>delete.
>
>Given a "transaction" is a collection of "at least 2 splits",  then I
>think I 
>agree with the OP, (whatever the validity of the reason for wanting to
>delete 
>an account), being told that "transactions" will be deleted and them
>still 
>existing seems a bug (maybe only in wording in the dialog box)
>
>Maf.
>
>------------------------------------------------------------------------
>
>_______________________________________________
>gnucash-user mailing list
>gnucash-user@gnucash.org
>To update your subscription preferences or to unsubscribe:
>https://lists.gnucash.org/mailman/listinfo/gnucash-user
>-----
>Please remember to CC this list on all your replies.
>You can do this by using Reply-To-List or Reply-All.
_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to