I have a tree view of Employees Supervised that looks some like this...
Code: Select all
Employees Supervised by <<LoggedInEmployee>>
Mickey
Donald
Goofy
Pluto
Dewie
Louie
Minnie
Daisy
Hewie
This display and operates just fine.
I also have a record operation for each branch that takes me to that employee's main form. This works fine too.
I would like to have another record operation that runs a process for the employee branch selected that does a few things.
So, I create a process that has the Employee BO as the input. I want to find all EmployeeReview records associated with the employee selected and then show them in a query or do an update operation on them.
The question is how do I structure the Find Operation in the process?
I have tried the following:
FIND EmployeeReview WHERE EmployeeReview.Employee=Employee
DISPLAY EmployeeReviews
and
FIND EmployeeReview WHERE EmployeeReview.Employee=ThisEmployee
DISPLAY EmployeeReviews
In both cases I get the EmployeeReviews assigned to me, not the Employee on the selected tree branch.
I must be missing something in how this works, but I am not sure what.