Model
SetDataToLegacyCatalogInventory
Magento\InventoryCatalog\Model\SourceItemsSaveSynchronization\SetDataToLegacyCatalogInventory
What it does
This class synchronizes inventory data from the new Multi-Source Inventory (MSI) system to Magento's legacy CatalogInventory tables.
Developers use this during source item save operations to ensure backward compatibility, keeping the old stock tables updated with quantity and in-stock status when inventory changes occur in the MSI system.
Public Methods
- execute()