Does anyone have an optimized way to filter Work Assignments by HR Organization Unit ancestors multiple levels up?
For instance, if I want to filter primary Work Assignments by the third level parent above the Work Assignment's HR Organization Unit I can use the filter below....
IsPrimary and HROrganizationUnit.ParentUnit.ParentUnit.ParentUnit = 123
This functions but is rather slow and resource intensive.
I'm wondering if anyone has any optimized solutions for traversing multiple levels of the HR Organization Unit tree.
Thanks!
Andy