-
Help me on the given Salesforce Trigger Scenario
Scenario 1.
1) Make two number fields on contact object Amount_X Amount_Y
2) Make one picklist field "Type" , values ('Positive', 'Negative')
3) Make two number fields on account Rollup_Amount_X Rollup_Amount_Y Rollup_Amount
4) Make one trigger on contact object, which will do following: --> Sum all child of contact's field "Amount_X" and store in parent account's "Rollup_Amount_X" Where Type is "Positive" --> Sum all child of contact's field "Amount_Y" and store in parent account's "Rollup_Amount_Y" Where Type is "Negative" --> Sum all child of contact's field "Amount_X" + "Amount_Y" and store in parent account's "Rollup_Amount"
5) Make trigger as bulk / Test class
Log In to reply.
Popular Salesforce Blogs
Salesforce CPQ Certified Specialists - All You Need To Know
Salesforce CPQ is a program developed for providing correct pricing for any product configuration scenarios as a selling tool for the businesses. It also allows…
Learn About Users Permissions and Access in Salesforce
1. User Permissions User permissions determine what tasks users can perform and what features users can access. For example, users with the “View Settings and…
How MuleSoft Can Help in Streamlining your Back Office Data? | Salesforce Guide
Using disparate applications across an enterprise creates a burden on IT teams. The implementation, maintenance, and monitoring of an increased number of applications and systems…
Popular Salesforce Videos
Custom Login Page Using Mulesoft | Salesforce Tutorial
In this video, you will learn how to create a custom login page using Mulesoft. Watch and learn. If you have any doubts do let…
Top 6 Products by Salesforce Marketing Cloud
Salesforce is largely regarded as the most influential Salesforce automation and cloud CRM vendor, having popularized the SaaS model and, in the process, disrupted the…
Getting started with salesforce
Salesforce is a customer relationship management solution that brings companies and customers together. It's one integrated CRM platform that gives all your departments — including…