Your editor screen has a datasource which is linked to database record currently being shown. You can reference it in collection datasources like this:
select o from sales$Order o where o.customer.id = :ds$customersDs.id
The :ds$clause points to another datasource on the page. When the other data source changes (it points to a different record) then the SQL is run again and the options in your list will be updated.
Thanks both tips are working correctly.
In my case this datesource attach to optionsDatasource parameter.
I’d like attach the same query in browse which open from LookupPickerField. How can I do it ?
Ok but I think rather about way How I can avoid to create datasource ones for optionsDatasource second for browse window in open action. In my case
I can use e.g