What's the safest approach to change the next starting numbers for order, invoice, and shipment on a live site?
Magento – Custom Order, Invoice, and Shipping Starting Numbers
custominvoiceordersshipping
custominvoiceordersshipping
What's the safest approach to change the next starting numbers for order, invoice, and shipment on a live site?
Best Answer
If I want to continue using Magento's default increment type and just want to change the next increment number, this is what I use.
Be sure to only use increment numbers that are larger then ones already used!
This SQL should take care of not accidentially setting an increment ID that was used already.
If a larger increment then
next_increment
already was used, it simply sets the last increment number for all three entity types to be the same.