Another problem with filters in extrafiles (Select from table)

The logic with which to make filters on the table of an extra field of type “Select from table”, is difficult for me :-((

In this case I want to have the selection of only the warehouses of the current entity, but, the string:

entrepot:ref:rowid::(entity:=:$conf->entity)

does not work (usual SQL error), how can I do it?

Thanks