You need to sign in to do that
Don't have an account?
JAGJOT SINGH
Calculate sum of Amount field
I want to create a custom field that calculates the sum of all 'Amount' opportunity fields for same opportunity, so that I can bucket this field in my report. It seems that it cannot bucket if I just summarize the Amount field, so I'm assuming if I create a custom Amount Sum field, this would work.
So for one account, I have 3 same updated opportunities:
Bucket - Total Opportunities 3 or more : $500 - $1000
Org: John Smith
Amount: $100
Amount: $100
Amount: $400
>>New Sum Field: $600
How would I create this in apex class?
So for one account, I have 3 same updated opportunities:
Bucket - Total Opportunities 3 or more : $500 - $1000
Org: John Smith
Amount: $100
Amount: $100
Amount: $400
>>New Sum Field: $600
How would I create this in apex class?
Please use below code.
That above trigger definitely will hep you. Please choose my ans as the best ans.
Thanks,
Harshit Garg
All Answers
Please use below code.
That above trigger definitely will hep you. Please choose my ans as the best ans.
Thanks,
Harshit Garg
Thankew So Much Sir....
Jagjot Singh