Jump to content

Deleted invoice accidently now keeps skipping that number


matt4

Recommended Posts

Is there a way to stop the system from skipping a invoice number?

 

I deleted invoice number 15 and now it's opening on number 16. This isn't good and will send my accountant crazy. Please can someone assist?

 

Sorry its vague been trying for ages.

 

Thanks,

Link to comment
Share on other sites

It looks like the invoice numbers are automatically incremented in mysql, so you should be able to use the ALTER TABLE command to change the auto increment value you wish in phpMyAdmin.

 

Something like:

 

ALTER TABLE tblinvoices AUTO_INCREMENT = 15

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