During my recent projects, I came across few issues related to lookup v/s master-detail relationships. Ideally Master-Detail relationships are best when the detail side of the relationship cannot exist without the master record. The additional benefits are: 1. Record level security is controlled by the parent (OWD). 2. When the parent record is deleted, the […]
APEX
Writing your first APEX trigger (with a test class as well!)
If you are new to programming on the awesome Salesforce platform, you might have come across the need to write Triggers. Initially, most folks have trouble understanding how triggers work. So why don’t we write a simple APEX trigger and see how triggers work in Salesforce. A trigger is basically a piece of code that […]