magento / data-migration-tool

Magento Data Migration Tool
https://devdocs.magento.com/guides/v2.3/migration/bk-migration-guide.html
Open Software License 3.0
334 stars 200 forks source link

How to migrate inventory data from an other source document? #854

Open c3labs opened 3 years ago

c3labs commented 3 years ago

Hi community, Hi @victor-v-rad,

I successfully migrated data from magento 1.9.2 to 2.3.5 - but due to a multi ware house extension used in magento source i have to pull inventory data from a different table than 'cataloginventory_stock_item'. The table structure is very similar to the one used in 'cataloginventory_stock_item', plus there is the field 'website_id' in it!

I found two locations in the following files were 'cataloginventory_stock_item' is defined:

src/Migration/Step/Inventory/Delta.php | Line 83 and src/Migration/Step/Inventory/Model/SourceItem.php | Line 47

Is there a way to tell your migration tool to use my table instead, maybe per xml definition in map.xml or elsewhere... ?

m2-assistant[bot] commented 3 years ago

Hi @c3labs. Thank you for your report. To help us process this issue please make sure that you provided sufficient information.

Please, add a comment to assign the issue: @magento I am working on this