-
One account record have one contact record,so when i'm creating the second record for same account it will show error message "you can't create more than one
One account record have one contact record,so when i'm creating the second record for same account it will show
error message "you can't create more than one record for same account record".How to write trigger code.
Log In to reply.
Popular Salesforce Blogs

How to insert sObjects records using Visualforce Remote Objects ?
Visualforce Remote Objects: Visualforce Remote Objects are proxy objects that enable basic DML operations on sObjects directly from JavaScript. Remote objects don't require @RemoteAction methods…

Basics of Aura | All You Need to Know
Hello Peeps! I’ve come a long way in my Salesforce journey. Recently I started studying Aura Components, which indeed is a very interesting thing to…

Salesforce CPQ Basics Overview
Let's move on to know something about Salesforce CPQ which is a native Salesforce app that helps the sales teams to close their deals faster and…
Popular Salesforce Videos
Prepopulate Field values in Salesforce Lightning Experience Using defaultFieldValues
Prepopulate Field values in Lightning Experience Using defaultFieldValues - Spring 20 This video demonstrates the following items: Set Record Type Id Using defaultFieldValues Enforce User…
How to Create an Automated File Import in Salesforce Marketing Cloud
Cameron Robert shows how to create an automation to import files from your FTP into Data Extensions in Salesforce Marketing Cloud. File Import Automations are…
Salesforce Marketing Cloud Connect Complete Setup in Lightning
Cameron Robert demonstrates a complete end-to-end setup of Marketing Cloud Connect in Lightning view. Marketing Cloud Connect creates an integration between Salesforce CRM and Salesforce…