You need to sign in to do that
Don't have an account?
Flauradel Consumido
Roll up for Opportunity
I have a custom object "Commission", and Opportunity has a lookup to the custom object. Each "Commission" could have a handful of Opportunities related to it. Need a basic trigger that grabs the total of the Opportunity Amounts attached to the commission and updates a currency field on the Commission record record.
Have you tried to do this ? Do you need complete code or If you have some code then please post your code here to get early and quick responses.
Thanks,
Kapil Kaushik
Try the below code
I need to roll up:
From Object: Opportunity
Field: Amount
Where to roll up:
Object: Commission
Field: Total_Amount__c