data-migration-tool icon indicating copy to clipboard operation
data-migration-tool copied to clipboard

Add setting to specify next increment Id increase from 1 to specific number?

Open cscd98 opened this issue 7 years ago • 3 comments

I would like to control the next increment Id generated by data migration tool. The current setup works well, but I have a project that requires a gap between M1 and M2 increment Ids, as the original M1 will continue to process some orders.

Preconditions

  1. Magento 1.14.4.0
  2. Magento 2.3.0
  3. PHP 7.2.16
  4. MySQL 5.7.25

Steps to reproduce

  1. Convert data from Magento 1 to Magento 2
  2. Next increment Id is last increment on Magento PLUS 1

e.g. in M1: 308774316 in M2: 308774317

Expected result

  1. Add setting to allow next increment to be: last increment + config setting in settings.xml (e.g. 1, or any number of choosing).

e.g. in M1: 308774316 in M2: 308874316 (using setting of 100000)

Actual result

  1. 308774317

Additional notes

cscd98 avatar Mar 14 '19 14:03 cscd98

Hi @craigcarnell and thank you for reporting this improvement request. Internal ticket MAGETWO-72343 to implement it

victor-v-rad avatar Mar 14 '19 17:03 victor-v-rad

@victor-v-rad Any updates on this ticket please?

cscd98 avatar Apr 11 '19 15:04 cscd98

The ticket is in queue for development, but the tool is open source and you can make a great contribution for all Magento community.

victor-v-rad avatar Apr 11 '19 15:04 victor-v-rad