Jump to content

Reset invoice number


raeyo

Recommended Posts

Hello,

 

I'm nearlly finished with testing the system and want to go live.

 

Is there a way to reset the invoicenumber back to "1"?

 

(I already deleted all test-invoices from the db - but the system still counts further...

 

thnx in advance

 

Carl

Link to comment
Share on other sites

I have not tested it (as we are on a live system!!) but

 

Setup -> General Settings -> Invoices

 

The bottom shows a box where you may enter a starting invoice number. Perhaps you could try that and see if it works.

 

I guess you could hack the database, but you need to be aware that the invoice number ties together a number of data fields, so if you change one, you need to change the rest in the other tables to keep the integrity of the database. Its probably not a good idea unless you know what you are doing!

 

The tables.fields you should alter (if you are confident) to the same are:

 

tblinvoices.invoicenum

tblinvoiceitems.invoiceid

tblaccounts.invoiceid

 

Trevor

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated