Salesforce Fact #383 | Issue while using current record audit fields in lookup filters
We should not use audit fields of the current record in lookup filter criteria. Since, the audit fields are populated once the record is created, using them in lookup filters will cause issues during creation of the record. As the record is not created yet, the filter won't be able to fetch any data.
In this example, we want to put a filter that the users can select the account records which are created by them i.e. the created by Id of account and contact record would be same. Although this filter would work for existing records, it won't get any data during creation of a new contact.
Attached is the screenshot.
Comments
Post a Comment