Custom collection in the sales invoice grid Admin Magento 2
Magento CE 2.4
Join the custom table with sales invoice grid collection by overriding the core Magento class Magento\Sales\Model\ResourceModel\Order\Invoice\Grid\Collection to filter custom column ERP invoice number in the sales invoice grid
Note: The same code is working in Magento 2.3.x. We observed that the class
Magento\Sales\Model\ResourceModel\Order\Invoice\Grid\Collection removed from Magento 2.4.x.