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?
invoicemagento-2.1.7orderssales-order
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?
Best Answer
Please perform following.
You can do same for shipment and invoice tables
sequence_invoice_1
andsequence_shipment_1
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
Change the "9" to the desired padding
Example