You need to sign in to do that
Don't have an account?
mustapha laouari 15
Sum() provides previous result instead of new one.
Hello everyone,
In QuoteLineItem, i have a custom field : Benefit
Into Quote i have a custom field : total Benefit which is the Sum(Benefit)
Everything fine !
Each time I make a change on QuoteLineItem, i fire a trigger (AFTER insert/Update) in charge to copy the Sum(Benefit) result into the Opportunity.
Problem is that on Opportunity I always have the Previous result of Sum(Benefit) ...
could you help please ?
Thanks you
In QuoteLineItem, i have a custom field : Benefit
Into Quote i have a custom field : total Benefit which is the Sum(Benefit)
Everything fine !
Each time I make a change on QuoteLineItem, i fire a trigger (AFTER insert/Update) in charge to copy the Sum(Benefit) result into the Opportunity.
Problem is that on Opportunity I always have the Previous result of Sum(Benefit) ...
could you help please ?
Thanks you
im not sure to understand what you mean...
Exatly the same result ;-(
No sense, i beleave the question is when is the Sum() calculated and stored ?