data-migration-tool
data-migration-tool copied to clipboard
How to migrate inventory data from an other source document?
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... ?
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
- Join Magento Community Engineering Slack and ask your questions in #github channel.