New answers tagged record
2
votes
How can I limit the creation of new records to 1 record per parent record?
A completely declarative solution to this problem without Flows would be to create a rollup field on the parent that counts the number of child records you have and add a validation rule to the child ...
0
votes
How can I limit the creation of new records to 1 record per parent record?
EDITED BASED ON COMMENTS:
This is a overly simplistic and untested way, but I suspect you could create something that would work (though certainly not the most robust way) for this with a simple ...
1
vote
How can I limit the creation of new records to 1 record per parent record?
After some back-and-forth in the comments, the question here is how do I limit a parent record so that it can only have a single child record (of a particular child SObject) that has an "open&...
Top 50 recent answers are included
Related Tags
record × 224apex × 52
custom-object × 26
lightning-aura-components × 21
lightning-web-components × 21
trigger × 19
visualforce × 16
lightning × 16
visual-workflow × 15
salesforce-id × 12
update × 12
record-type × 10
soql × 8
delete × 8
sharing × 7
object × 7
create-records × 7
picklist × 6
lightning-experience × 5
query × 5
permissions × 5
map × 5
list × 5
account × 5
contact × 5