Model
BulkZeroLegacyStockItem
Magento\InventoryCatalog\Model\ResourceModel\BulkZeroLegacyStockItem
What it does
This class performs bulk updates to set inventory quantities to zero in the legacy CatalogInventory stock system.
Developers use this when migrating to the Multi-Source Inventory (MSI) system to clear out old stock data for a batch of products identified by their SKUs, ensuring the legacy stock tables don't conflict with the new inventory management system.
Public Methods
- execute()