-
How to apply uniqueness on Junction object in Salesforce?
Hii All,
I have a junction object C of A and B.
I found out that I can create multiple entries of A and B in Object C - this is wrong, as in my case, each combination of A and B should appear only once in Junction object C. The second time, someone will try to enter A and B as a new entry in C - it should fail.
How can I enforce this?
Log In to reply.
Popular Salesforce Blogs
The Only Guide You Will Ever Need for Customer Self-service | Salesforce Guide
What makes the customer experience great? How well do you interact with your customers? The empathy that you show toward them Timely response to their…
Salesforce Editions Comparison: Choosing the Right Edition for Your Business
A Detailed Walkthrough of Salesforce Editions Comparison Salesforce offers multiple CRM editions like Essentials, Professional, Enterprise, and Unlimited – each of these Salesforce editions are…
TriggerFactory in Salesforce Apex | The Developer Guide
Trigger structures in Apex are something clever. We as a whole realize we need them, we as a whole realize that it is best practice…
Popular Salesforce Videos
Escalation Rule in Salesforce
In this video, Shrey is not only teaching but also demonstrating Escalation Rule in Salesforce. 1. What are Escalation Rules in Salesforce? 2. What is…
APIs and Integration for the Salesforce Platform
Watch this session to learn how you can integrate with the Salesforce Platform. We'll demonstrate features, APIs, and techniques for integrating with Salesforce Core, Heroku,…
Top 5 Features Salesforce Winter Release '21
Even though we're in the middle of one of the strangest summers in our lives, we can rely on one constant: releases from Salesforce. It's…