Changing starting invoice number
Pablo Francesca
rshgeneral at yahoo.com
Thu Feb 18 06:36:15 EST 2010
That worked. There was no need to recompress. Just open the new gnucash file and save it, and gnucash will compress it automatically.
Thanks, Hail to the King.
--- On Thu, 2/18/10, Maf. King <maf at chilwell.net> wrote:
From: Maf. King <maf at chilwell.net>
Subject: Re: Changing starting invoice number
To: gnucash-user at gnucash.org
Date: Thursday, February 18, 2010, 2:57 AM
On Thursday 18 February 2010 00:26:20 Pablo Francesca wrote:
> I would like to change my starting invoice number. I remember reading
> about this before, but I can't seem to find the information anymore. When
> I try to edit the xml file for my gnucash 2.2.9, I first decompressed it
> using Jzip, then edited it with Notepad+++. Near the beginning of the file
> in the counters section, I found a value of 123 under Invoices and I
> changed it to 2126. Then I saved and recompressed the file and changed the
> file extension. When I tried to open it with gnucash I get the dreaded
> cannot parse file message.
>
> When I create a new invoice currently, the invoice number is 000124, so
> I'm pretty sure this is the correct area to edit. I would like the
> invoice number to start at 002126.
>
> What did I miss?
Hi,
What you describe sounds correct to me.
this is from my data file, about 50 lines in:
<slot:key>gncInvoice</slot:key>
<slot:value type="integer">10018</slot:value>
I know that I altered the invoice number sequence recently - the number stored
is that of the last invoice created.
Maybe don't recompress the data file once you have done the edit? (GC is happy
with plain XML)
Maybe notepad+++ causes an issue with Unix->Windows CR/LF or charset
encoding - try a different text editor?
HTH,
Maf.
-----Inline Attachment Follows-----
_______________________________________________
gnucash-user mailing list
gnucash-user at gnucash.org
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.
More information about the gnucash-user
mailing list