How to avoid a “Gotcha!” in the Salesforce Relationships
Handling Salesforce matchmaking is a little distinctive from antique relational databases formations, however, Salesforce have higher devices getting building personalized research matchmaking, and more than some body can adjust quickly to the SOQL model. As with any other system, regardless of if, you can find “gotchas” to look at getting when creating Sales team dating. I ran for the one among these “gotchas” recently. I needed a look relationships from our personalized target with the simple Device dining table, Product2. Nothing wrong, proper? Produce the look field on the personalized dining table, there it is.
They Tossed a mistake. But As to the reasons?
We developed the matchmaking using a search industry and selected “Do not let removal of your browse record which is element of a great lookup matchmaking.” (we.e., hold the equipment if this have one boy ideas). Sadly, Sales force cannot help save the field. Whenever i attempted to help save the data, We acquired that it error message:
You can’t carry out yet another Learn-Detail dating on an existing customized object in the event that details currently occur. You ought to basic create a browse matchmaking, populate the new lookup occupation having research throughout info, following alter the dating style of to understand-Outline.”
This new mistake content failed to make sense. This is a browse, maybe not a master-detail, and because the latest personalized object are brand-the fresh, it failed to keep one information. I attempted once more making sure it actually was a look. Same results.
To review the basic principles, Sales team includes standard “stuff,” analogous to help you database dining tables, out of the field. Continue reading How to avoid a “Gotcha!” in the Salesforce Relationships →