Log in
Model

BulkSourceAssign

Magento\InventoryCatalog\Model\ResourceModel\BulkSourceAssign

What it does

This class handles bulk assignment of inventory sources to multiple products by SKU.

Developers use it when they need to assign one or more inventory sources to multiple products at once, such as during inventory setup or when adding a new warehouse.

It creates source item records with zero quantity and out-of-stock status for each valid product-source combination.

Public Methods

  • execute()