Log in
Model

GetStockSourceLinksBySourceCode

Magento\InventorySalesAdminUi\Model\GetStockSourceLinksBySourceCode

What it does

This helper class retrieves all stock-source associations (links) for a given inventory source code.

Developers use this when they need to find which stocks are connected to a specific inventory source, such as when managing multi-source inventory or determining stock availability across different warehouses.

Public Methods

  • execute()