function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
AndyuxAndyux 

contact lookup filter on a custom object

I need to creeate a filter for contact lookup in a custom object. The custom object is related to the Opportunity object. So the filter should show contacts only in the account of the related opportunity.

The Opportunity is used to set the Master-Detail relationship:
Opportunity  Opportunity__c      Master-Detail (Opportunity)

Shouldnt i see the Opportunity fields if my lookup filters? i only see the current object fields.