Bulk transaction move

farleykj farleykj at gmail.com
Fri Dec 26 01:24:27 EST 2014


Something like this might be possible if you:
(1) Turn off file compression in the preferences.
(2) Save a copy of your data file under another name.
(3) Edit the resulting XML codes to swap the accounts. This kind of a tricky
thing, because the account IDs used in the file are extremely long unique
identifiers. You'll have to figure out the two you want to swap and be
extremely careful about the transactions being changed. Personally, I
wouldn't want to do something like this unless I was using Emacs or a
similar powerful macro-capable editor.

If it was me, I'd likely (and I have) put in some music and do all those
transactions one at a time. The trouble with fiddling with this stuff is:
(a) How in the world do you know, once you're done, that you got *all* the
transactions? If your account balances don't match up when you read in the
altered file, how do you find which ones were missed?
(b) As previously mentioned, it's an "unsupported" thing. It could cause
Gnucash to crash when you attempt to read the modified file in, etc. And if
you corrupt the file due to some mistaken action, it'll be a real chore to
find the error, or you'll have to start again from the beginning.

In the end, I guess it depends on how comfortable you are editing XML code.
Good luck.



-----
Ken Farley
--
View this message in context: http://gnucash.1415818.n4.nabble.com/Bulk-transaction-move-tp4674561p4674645.html
Sent from the GnuCash - User mailing list archive at Nabble.com.


More information about the gnucash-user mailing list