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

How to migrate inventory data from an other source document?

Open c3labs opened this issue 5 years ago • 1 comments

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... ?

c3labs avatar Oct 19 '20 19:10 c3labs

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


m2-assistant[bot] avatar Oct 19 '20 19:10 m2-assistant[bot]