BulkSourceAssign
Magento\InventoryCatalog\Model\BulkSourceAssign
What it does
This class handles bulk assignment of inventory sources to multiple products in Magento 2's Multi-Source Inventory (MSI) system.
Developers use this when they need to assign one or more inventory sources to multiple product SKUs at once, such as during bulk inventory setup or when adding new warehouses.
It validates the assignment, performs the database operations, and triggers reindexing to update inventory data.
Public Methods
- execute()