You need to sign in to do that
Don't have an account?
Bpositive
Calculation Query
I am new to Apex developement. I have a page where there are three lookups.
I want to extract price of each lookup selected, multiply by quantity which I enter and add all of them to get Total cost.
Please help me on how can I achieve this.
Thank you
~VK
All Answers
The answer depends a bit on where you're trying to do this. On a record detail page, or a visualforce page. If all 3 lookups and the quantity field are fields on your object, you could make a forumla field with the name Total cost, without the need to write any code.
If you're working on a visualforce page, you may need to give us more info if you want a specific answer to your case.
Thank you very much. Appreciated. I figured out how to do it.
~VK