[GNC] Change account type by editing XML?

flywire flywire0 at gmail.com
Sat May 2 01:43:14 EDT 2020


The intent of my post was to report you can't reassign transactions between
Asset and Expenses accounts either using the process previously described.
Yes, the account in Asset was created by the import wizard.

It's nothing serious, went back to the previous file and imported again.


On Sat, May 2, 2020 at 3:27 PM David Carlson wrote:

> Please elaborate.  There are several ways to recover if such a mistake is
> noticed immediately.
>
> If you use the XML format:
>
> 1.  You did do a File > Save immediately before the import, right, so you
> could just abandon the import, re-open the data file and import again.
> 2.  If not, you could still abandon the current changes and open a back-up
> file from earlier.
> 3.  You could follow one of the GnuCash procedures outlined earlier in
> this thread to move the account with transactions to a different parent
> account if it is mistakenly imported under the incorrect parent account
> type.
> 4.  Was the account created by the import wizard?  That may change
> options, but the three procedures listed above should still work.  I
> believe GnuCash allows contra accounts as sub-accounts in the
> Asset/Liability types as well as Income/Expense types, but perhaps not
> mixing Asset and Income or Liability and Expense.  Where contra accounts
> are allowed, I think the types can simply be changed in the account edit
> dialog unless there are existing transactions.
>
> If you use a db format it may be a little more difficult depending on your
> back-up procedure.  I am not a db user, so I cannot speak from experience.
>


More information about the gnucash-user mailing list