I have a lookup filter on a lookup field from one Custom Object to another; both objects are within a managed package.
Let's assume we have one Object A, with a lookup field lookup__c and another Object B with record types: simple and advanced.
In the lookup filter on lookup__c I select "B : Record Type" "equals" "value" and then select "simple" using the spyglass icon.
Am I right that, despite saying that it is using the Record Type name for this filter under the hood salesforce is using the Record Type ID? In which case when this package is released into an org, the record type ID will be different and the lookup filter will no longer function?
What is the best way to get around this issue? Should I base the filter on the developer name? Or is there a better way?
Thanks!