-
Salesforce Lookup Trigger similar to Roll Up Summary in Master-Detail
You have 2 objects, obj A and obj B such that parent object contains the sum of records of child object. How you will do it in case of master-detail and in case of lookup relationship.
In master detail we can use Roll Up summary field and in case of Lookup we need to write trigger for this. Can somebody please provide the trigger for this.
Log In to reply.
Popular Salesforce Blogs

4 Customer Centric Approaches for Small and Medium Sized Businesses | Salesforce
Good businesses think of customer satisfaction but great businesses think of customer delight. The customer experience (CX) is one of the key differentiators for any…

Salesforce Development Model: A Comprehensive Guide
Salesforce development is unique and it differs from the traditional development of the application. The key difference between custom application development and Salesforce development is…

Triggers in Salesforce - All You Need to Know
Trigger A trigger is a piece of code that runs before and after a record in the force.com database is inserted, updated, or deleted. Triggers…
Popular Salesforce Videos
Salesforce Advanced Code Searcher | Productivity Hack
By using the advanced quick find you can get your code a few clicks shorter. Also, you can search any string your code. Using this…
How Link Cartridge Development Can Your Business Storefront | Salesforce Link Cartridge
LINK Cartridge is a container for packaging and deploying program code and data, it’s structured in folders and subfolders for maximum efficiency.
How to Reference Custom Metadata Types to Optimize Salesforce Account Records Using Salesforce Flow
Watch this video to learn how to reference custom metadata types to optimize Salesforce Account Records Using Salesforce Flow Salesforce Account Region Allocation using custom…