Since there are more than two ways suggested, I was highlighting the pitfall
-- if delete route was used instead of simply changing its parent -- that it
does not delete all transactions that are present in the latter account before
reassigning the transactions from the former account to latter one.
Re-parenting is the preferred method.

I would say that you might be able to tell if the account was empty or not
afterwards is to retain the GNC log file that gets created that would capture
that event or you put some sort of marker in the account that it was empty
would be two ways I think it can be accomplished if it was necessary. But that
is not a strait forward built-in functionality that I believe you are
referring to.


------------------------------

Message: 2
Date: Thu, 19 Jan 2023 15:50:48 -0500
From: Michael or Penny Novack <stepbystepf...@comcast.net>
To: gnucash-user@gnucash.org
Subject: Re: [GNC] How to move a transaction with splits from one
top-level account to another - take 2
Message-ID: <d1f006aa-1d10-c433-328d-1b5e9e9f9...@comcast.net>
Content-Type: text/plain; charset=UTF-8; format=flowed

On 1/19/2023 12:44 PM, Kalpesh Patel wrote:
> Just to add a bit of clarification to this, if you do decide to go with the
> delete route, transactions that are in the former account are merged into
> latter one.
>
Uh .... if your intent is to MOVE an account to a? different place in
the CoA, simply change its parent. Same if you want a different name for
the account, just rename it. In either of those situations, you are not
intending to alter any transactions, so why touch them.

Yes, delete will work IF the destination account is empty. But moving by
delete is a MERGE operation (merge the transactions in the account being
deleted with the transactions already in the destination account.
However, how would you demonstrate afterword's that it had been empty?

Michael D Novack


------------------------------

_______________________________________________
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