close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Incrementing Unit Sales Number

Thread began 3/21/2010 1:10 pm by msjj000 | Last modified 3/25/2010 12:28 pm by Jimmy Wu | 1567 views | 3 replies |

msjj000Beta Tester

Incrementing Unit Sales Number

Hi WA,

I know I can change the starting sale # by accessing it via the Database admin.

is there a way to set the starting invoice number or at least the incrementing it?

Thanks, Mark.

Sign in to reply to this post

Jimmy Wu

I'm not sure what you're getting at with the invoice number. Do you mean the order number?

What is the purpose for increasing the invoice/order number for a certain sale?

Sign in to reply to this post

msjj000Beta Tester

Hi Jimmy,

Rather thanthe order number starting at 1, then 2 then 3 etc can you have the first order increment so that the first order is 1 then the second sale/order number 11 the third 21 and the fourth 31?

Mark.

Sign in to reply to this post

Jimmy Wu

The order id is an autoincremented field in the database, so it will increment the id automatically. You can set the autoincrement increment amount for the database like this:
replication-options-master.html#sysvar_auto_increment_increment

You would need to make the call:
SET @@auto_increment_increment=10;

This will change the auto_increment_increment for all tables though, so other tables that have auto_increment set on a column will also increment by 10.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...