0 Replies Latest reply: Nov 20, 2012 3:27 AM by 702995 RSS

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

    702995
      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