How to apply different popupdefs for selecting line items in quotes and invoices


Line items can be added to Quotes and Invoices by selecting a product from a Product popupview, but both actions load the same popup window.

How can I set different columns/search params for each version of the popup?

For example, when selecting the products for quotes i’d like to show all columns, but when selecting products for invoices limit that to two columns, and add different search criteria to the popup window.

Thank you