How delta sales migration works

We just started delta migration for sales using command line
php -f bin/ubdatamigration run --step=7 --mode=update;
But we see it is too long and it does Sales Rule migration.
 
Can you explain sales migration process , how it works does it start again ?

3 answers

Profile photo of Mall Staff 184060.00 $tone September 16, 2019
Public

Hi there,

Can you explain sales migration process , how it works does it start again ?

If you run the step #7 with the ‘update’ mode (--mode=update), it will scan all sales rules data in your M1 database and update all newly added and changed sales rule data. This is the work flow of our migration on Sales rules data section migration. 
 
For specific sales rules, there’re no clue to detect the changes of sales rules in M1. That’s why the delta phase still need to scan the whole M1 sales rules data section.
 
Whereas, for Sales orders, sales quote, sales payment .., when you run delta migration with the ‘update’ mode, our migration tool can detect the difference in M1 after the first migration, so it helps to migrate only the modified & newly added data.

Regards,
Mall.

#1
Profile photo of Mag M 790.00 $tone September 20, 2019
Public

2019/09/20 10:23:14 [info] [ub_data_migration] Model class has not mapping in condition of promotion rule(salesrule/catalogrule): enterprise_customersegment/segment_condition_segment

what data from m1 we can delete to reolve that ?

#2
Profile photo of Mall Staff 184060.00 $tone September 23, 2019
Public

Hi there,
I am sorry for my late reply since we’ve just been back to work from our weekend. 

what data from m1 we can delete to reolve that ?

You can run the following SQL in your M1 database to seek for the data records which relate to the issue you mentioned:

SELECT * FROM `salesrule` WHERE `conditions_serialized` LIKE '%enterprise_customersegment%' OR `actions_serialized` LIKE '%enterprise_customersegment%';

+ And then, you should delete those data records. Once done, you can continue with data migration in the step #7.

Regards,
Mall.

#3

Please login or Register to Submit Answer

Written By

Comments