Log in
Model

UpdateReservationsBySkus

Magento\InventorySales\Model\ResourceModel\UpdateReservationsBySkus

What it does

This class handles updating inventory reservation records when a product's SKU changes in Magento 2.

Developers use this when implementing SKU changes to ensure that existing inventory reservations (for pending orders) are updated to reference the new SKU value, maintaining data consistency across the inventory management system.

Public Methods

  • execute()