Log in
Model

GetSourceCodesBySkus

Magento\Inventory\Model\ResourceModel\GetSourceCodesBySkus

What it does

This class retrieves a distinct list of source codes associated with given product SKUs from the inventory system.

Developers would use this when they need to identify which inventory sources stock particular products, such as when determining fulfillment options or managing multi-source inventory allocations.

Public Methods

  • execute()