Hi all,
I try to setup a simple HR applications with companys, offices and employees. So the companys have employees and offices and the employees work in specific offices. I built all the relationships and forms with builder plugin and everything works fine. I do edit the offices and employees within tabs of the company. But when i want to select the specific offices for the employees they work in, I get them all (of all companys) and not only of the company they work in. So I need a filter / dynamic scope which accepts the "office_id" the current employee object provides, but i just do not get it, how to use scopes dynamically.
Thanks for your help :)
Stefan