This discussion is archived
0 Replies Latest reply: Nov 20, 2012 1:27 AM by 702995 RSS

VO Transient Attr. how to refresh master in dependency of a filter in child

702995 Newbie
Currently Being Moderated
Hello @all,

i have 2 VO, for example DepartmentView and EmpoyeesView. They use a reference via a View Link.

DepartmentView -> EmpDeptFkLink -> EmployeesView

Now i want to calculate the salary of all employees for one department. So i created an transient attribute in DepartmentView: SalarySum (Expression: EmployeesView.sum("Salary")).

That works fine, but when i filter some Employees, then the attribute in DepartmentView doesn´t refresh. The SalarySum is always for the whole department, but should be only for the filtered Employees.

JDeveloper Version is 11.1.1.5.0.


Thx + Regards

Gregor

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points