Model
GetItemsToDeductFromShipment
Magento\InventoryShipping\Model\GetItemsToDeductFromShipment
What it does
This model extracts and prepares inventory items that need to be deducted from stock when a shipment is created.
Developers use this class in the Magento Multi-Source Inventory (MSI) system to determine which products and quantities should be removed from inventory sources during order fulfillment, handling both simple and complex product types like bundles and configurables.
Public Methods
- execute()