When a filter is implemented on a lookup field, users may find that they are unable to locate related records via the lookup dialog search when they create a new record, despite records existing and matching the filter criteria. The same lookup search returns the expected records when editing an already-saved record.
When creating the Quote record, users are unable to locate the Case records via the filtered lookup. However, if the user clicks "Show all results" to remove the filter, the expected results are returned. Alternatively, if the user inputs a matching case number into the lookup field on the Quote edit page (without searching), the record saves successfully and the lookup filter works correctly when editing the existing record.
If a lookup filter's criteria use a Master-Detail (M-D) relationship field, the lookup filter does not work during record creation. This behavior is by design and is a known limitation of lookup field filters.
Only fields with a Data Type of Lookup (not Master-Detail) can be used to establish lookup filter criteria that correctly reference related object records during record creation.
In the example above, the Quote object is in a Master-Detail relationship with Opportunity. Because of this, the lookup filter does not have the ability to span the Quote-to-Opportunity relationship at the time of record creation. If the Quote-to-Opportunity relationship field were of type Lookup instead of Master-Detail, the filter logic would correctly span the relationship path.
Consider one of the following workarounds:
Considerations for Lookup Filters
Expected results not available in a lookup search when you use lookup filters
Standard and Enhanced Lookups in Salesforce Classic
000383698

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.