-
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
How to Connect Salesforce and Postman Using SOAP API
SOAP APIs are developed as the intermediate language. In simple words, we can say that if you built an app in different languages and you…
Grant Management System in Salesforce
Grant Management in Salesforce is a component of the non-profit-making Success Pack (NPSP), within which Salesforce grants 10 free licenses to any or all eligible…
Take Survey/Feedback using Login Flows
Introduction Logins flows is one of the cool features in Salesforce of which lot of people are not aware about. What it does is, when…
Popular Salesforce Videos
What is the Growth and Future of Salesforce Administrators In India
What is the Growth and Future of Salesforce Administrators In India? Listen to #shreysharma guiding and answering all of your queries.
How to Start a Process with Parameters on UiPath Robots from Salesforce Interface
How to start a process with parameters on UiPath Robots from the Salesforce interface. Watch this video and learn. Let us know in the comments…
Live Demo of Salesforce Industries
Watch the live demo to have a better understanding of Vlocity i.e Salesforce Industries. Let's have a glance at this extract from our latest webinar!…