[GNC] Change account type by editing XML?

Adrien Monteleone adrien.monteleone at lusfiber.net
Sat May 2 02:59:48 EDT 2020


They are both debit balanced accounts. Moving the errant asset account to an expense type wouldn’t change the debit/credit (sign) of the changed account, and the other split could be left alone. (of course, it might be wrong also, but that is a bigger problem for the user)

So the incorrect entry might be:

Dr. Assets:Bad Account
  Cr. Assets:Cash

or

Dr. Assets:Bad Account
  Cr. Liabilities:Credit Card

The fixed versions would be:

Dr. Expenses:Correct Account
  Cr. Assets:Cash

or

Dr. Expenses:Correct Account
  Cr. Liabilities:Credit Card

The same would hold true if the errant account had all credit balances, they would just become ‘refunds/returns’ of expenses. This depends of course on the user getting the debits and credits right in the first place to model the real world event correctly. (just with one of the account types wrong)


Regards,
Adrien

> On May 2, 2020 w18d123, at 1:48 AM, D. <sunfish62 at yahoo.com> wrote:
> 
> Just fishing, but wouldn't the signs change if you moved an asset account, say, to expenses? How would/should GnuCash handle existing transactions in such a moved account?
> 
> David T.



More information about the gnucash-user mailing list