Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Department wise Salary Sum Calculation

Sanjeev-OFMFeb 1 2016 — edited Feb 1 2016

Hi Team,

I have a Question like I'm using the HR Sample Schema and want to calculate the Employess Salary sum based on the department using the groovy Expression but When I'm using the Expression EmployeesView1.sum('Salary') I can get the sum of All employees Salary and for the above Problem I Used DepartmentsView1.EmployeesView1.Sum('Salary') I'm getting the Error stating EmployeesView1 Not found, while having the EmployeesView ViewAccessor in Departments ViewObject seriously I bit confuse so please help with proper Groovy Expression for solving this problem.

Thanks

Sanjeev

This post has been answered by Ashish Awasthi on Feb 1 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 29 2016
Added on Feb 1 2016
6 comments
1,601 views