Log in
Model

DeleteShipmentSource

Magento\InventoryShipping\Model\ResourceModel\ShipmentSource\DeleteShipmentSource

What it does

This class handles the deletion of shipment source records from the inventory_shipment_source database table.

Developers would use this when a shipment is cancelled or removed from the system, ensuring that the associated inventory source allocation data is cleaned up properly.

It's part of Magento's Multi-Source Inventory (MSI) functionality for managing shipments across different warehouse sources.

Public Methods

  • execute()