Log in
Model

GetSourceSelectionResultFromInvoice

Magento\InventoryShipping\Model\GetSourceSelectionResultFromInvoice

What it does

This model determines which inventory sources should fulfill virtual and downloadable products when creating an invoice.

Developers use this class during the invoicing process to automatically select the appropriate warehouse or source location for virtual products, which don't require physical shipping but still need inventory allocation.

Public Methods

  • execute()