Log in
Model

GetAssignedStockIdsBySku

Magento\InventorySalesAdminUi\Model\ResourceModel\GetAssignedStockIdsBySku

What it does

This class retrieves all stock IDs associated with a product SKU by first finding all source items for that SKU, then determining which stocks those sources are linked to.

Developers use this when they need to identify which inventory stocks contain a specific product, useful for inventory management operations and admin UI displays in multi-source inventory scenarios.

Public Methods

  • execute()