Skip to Main Content

APEX

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!

HOW - to make calculations on Apex?

2639601Apr 1 2014 — edited Apr 2 2014

I have 2 tables: A and B. A is linked to B with 1:m relationship.

Table A stores quote information - name, address, total cost of building quote.

Table B stores the list of services for a particular quote (linked to table A) - such as quote service (bathroom, kitchen, roof), cost of service, etc

There is a way to calculate the total cost of the "cost of service" column in table B, by editing "report attributes" and ticking sum.

But how would I get that sum (for cost of each service on table B for a particular quote) to show in the form field "total price" on table A??

Surely there must be a way to link them together.

Do I have to do it outside Apex, on SQL?

Newbie.

Here is photo to help you understand

 photo oraclesumcal.png

I think some sql calculation (maybe pl/sql) is needed in the source box. Maybe I should do it on sql first. I need advice on how to do this.

 photo oraclesumcal2.png

This post has been answered by DannyD on Apr 2 2014
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 30 2014
Added on Apr 1 2014
9 comments
1,740 views