You need to sign in to do that
Don't have an account?

Quote Sum Line Items
Hi @ All,
I have found this post:
https://developer.salesforce.com/forums/?id=906F000000096RJIAY
So, I want to try sum all "Quote Line Items" at my Visualforce Page.
I catch all items with "repeat" and have to try sum all items with the link below. I get following error-message:
My code at the visualforce-page look like this:
"Quantity" is the default-number-field from Quote.
Is someone able to help me?
Best,
Lisa
(Sorry for the bad english ;-) )
I have found this post:
https://developer.salesforce.com/forums/?id=906F000000096RJIAY
So, I want to try sum all "Quote Line Items" at my Visualforce Page.
I catch all items with "repeat" and have to try sum all items with the link below. I get following error-message:
Error: Incorrect parameter type for function 'not()'. Expected Boolean, received NumberI found no way to understand it....
My code at the visualforce-page look like this:
<apex:variable var="Sum" value="{!0}" /> <apex:repeat var="qli" value="{!QuoteLineItems}"> .... <apex:variable var="Sum" value="{!Sum+!qli.Quantity}" /> </apex:repeat>
"Quantity" is the default-number-field from Quote.
Is someone able to help me?
Best,
Lisa
(Sorry for the bad english ;-) )
I only need to use {!} once time at this point: tuns to:
Best,
Lisa