In Progress

Write a small Salesforce Trigger


I want to create a roll-up summary field in my oppurtunities so I can add up the costs I have incurred on all the cases that have arisen that are associtated with a closed won oppurtunity.

I cannot create a roll up summary field unless cases are a child to oppurtunities.

So far i have been able to create a look up relationship between the two but that does not allow for a roll up summary field.


Cases are not supported by RUS fields.

We need to create a custom number field and make it Read Only. Then we would need to develop a trigger that would count all Cases related to the Account ID and populate the count into the number field, and add up all the case totals in to another readonly field that can be shown in Opportunities.

We need a small trigger script written to do this. Total the Case values attached to a particular account, then show the rolled up total in the opportunity/account tab.

RUS fields => Roll Up Summary Fields

Skills: Javascript,

See more: problem summary, write a summary, Roll up, custom cases, trigger javascript, javascript salesforce, tab count, javascript roll roll, summary write, 318, javascript problem solution, small account number, salesforce account, child relationship, write create account, salesforce develop, salesforce custom, tab show javascript, show values javascript, javascript total values, javascript totals, javascript number count, javascript count script, javascript count number, count number javascript

About the Employer:
( 12 reviews ) Oshawa, Canada

Project ID: #2647722

Awarded to:


Hi, Thanks for inviting me to quote on this project. I am [url removed, login to view] Certified Developer with more than 5 years of experience on [url removed, login to view] platform. I can take up this project and can turn around quickly More

$110 USD in 1 day
(4 Reviews)

10 freelancers are bidding on average $167 for this job


Hello, Please refer your Inbox for my experiences with Salesforce and more details. Thank you.

$150 USD in 5 days
(25 Reviews)

I am certified salesforce developer with 2+ years of experience

$200 USD in 2 days
(5 Reviews)

Respected Client, I have expertise and would love to work on this project. Please consider me for an interview as well. Thank you.

$200 USD in 3 days
(4 Reviews)

Salesforce certified administrator and consultant with 4 years plus expertise of successful [url removed, login to view] implementations for companies from diverse industries, sizes and geographic location, both remote and onsite. More

$140 USD in 1 day
(5 Reviews)

Send me details please.

$250 USD in 1 day
(12 Reviews)

Hi I have 3 years experience in salesforce.I Am certified developer.

$150 USD in 1 day
(0 Reviews)

Custom software development: w w w . The Administrator removed this message for containing contact details which breaches our Terms of Service . i o

$250 USD in 1 day
(0 Reviews)

Hi batsirai, My name is Andrew. I have been working as a Software Developer for more than 5 years. I have been doing [url removed, login to view] programming a bit more than a year. Now I'm trying to find a freelance project in S More

$101 USD in 3 days
(0 Reviews)

Hi, I am interested for your project, so please read private message once. Thanks.

$120 USD in 3 days
(0 Reviews)