This has been done before but cannot get it to work.....
I have a BO called Employee.
That BO has a Peer Many of Employees called Friends. pm_Friends (type Employee)
When as an Employee I want to add New Friends, I can do it by Add Reference or PICK Query.
Either way I only want to see Employees that are not already in my Employee.pm_Friends reference attribute.
So assuming the Employee in question is in Context as This Employee (or LoggedInEmployee) I expected this to work
FIND Employee WHERE COUNT Employee WHERE(Employee IN ThisEmployee.pm_Friends )=0
Or
FIND Employee WHERE COUNT Employee WHERE(Employee IN LoggedInEmployee.pm_Friends)=0
Neither works....
Am I missing something?
I have tried all manner of CONTAINS, EXISTS, NOT (EXISITS) etc .... no go.
Any ideas would be appreciated.