Model
DecrementQtyForLegacyStock
Magento\InventoryCatalog\Model\ResourceModel\DecrementQtyForLegacyStock
What it does
This class synchronizes inventory quantity decrements from the MSI (Multi-Source Inventory) system back to Magento's legacy single-source stock management system.
Developers use this to ensure backward compatibility when products are ordered or their quantities are reduced, updating the old cataloginventory_stock_item table to reflect changes made in the new MSI system for the default source.
Public Methods
- execute()