change starting order numers after migration

I migrated sales orders and the EAV-store for the increment id’s.  After this I did a test order in the new environment. The system gives the order number 1000000001 and for other store 20000001. I read that the eav-entity-store is not working anymore in magento 2. Now it works with sequence_order_1 and so on.
I looked in the database , but the sequence_order_1  and 2, 3 are all empty. How can I change the numbering for orders, invoices and this for the different stores?
Albert

2 answers

Profile photo of Mall Staff 115660.00 $tone February 3, 2017
Public

Hi Albert,

The system gives the order number 1000000001 and for other store 20000001

Yeah, that is default working rule of the Magento2 core. You could follow this post:
http://devdocs.magento.com/guides/v2.1/migration/migration-migrate-additional.html

The numbers of Orders, Invoices, Shipments, Credit Memos and RMA migrate as is. But after migration and switching to Magento 2 the numeration for newly created sales entities will be different.

FYI,
Mall.
 

#1
Profile photo of Mall Staff 115660.00 $tone February 3, 2017
Public

Hi Albert,

I read the article. The only thing to read there is that the newly created orders numbers are differently. I need the solution for this issue.

As I explained in my first reply that it is working rules of the Magento 2 core. To change the numbering for orders, invoices … for the different stores, I am afraid such customisation is beyond scope of our tool.
To get the checkout work fine, please open and resave each Store view (this step is needed for M2 to automatically generate sales-related meta data tables)

Regards,
Mall.

#2

Please login or Register to Submit Answer

Written By

Comments