You need to sign in to do that
Don't have an account?
prashanth murukonda
What is ONE to ONE Relationship?
Can anyone please tell me how to do One to One Relationship?
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
Salesforce allows One to many and Many to many Relationships .But you can establish a one to one relationship by follwing steps
This way every master Object will only have one record of the other object associated, hence one to one relationship is established.
Please let me know if this helps!
Thanks,
Apoorv
Create a master detail relationship between two objects and create a roll up summary field on parent object to get the count of child records. Create a validation rule on child object and check the roll up count of parent record is greater than 1 or not. If so then throw an error message on child object.
This will prevent insertion of more than one child records to be associated with the parent record.
Thanks,
Priyanka S