Replace
Magento\InventoryImportExport\Model\Import\Command\Replace
What it does
This class handles the 'replace' import behavior for inventory source items in Magento 2's Multi-Source Inventory system.
When importing inventory data, it completely replaces existing source item records by first deleting them and then creating new ones with the imported data.
Developers would use this when they need to ensure imported inventory data completely overwrites existing stock records rather than updating or appending to them.
Public Methods
- execute()