I am using Magento-2.1.7 and I want to change order, invoice and shipment number from 10000001 to 20000000.
How can I do this?
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
Please perform following.
You can do same for shipment and invoice tables
EDIT To change digits length.
Change The Sequence To change the order number padding edit Sequence.php (I believe there is a better way via a di.xml)
Edit this line
const DEFAULT_PATTERN = "%s%'.09d%s";
Change the "9" to the desired padding
const DEFAULT_PATTERN = "%s%'.08d%s";