function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Pavan789456Pavan789456 

Is there a way when a parent and child can have a same value for a unique Text field.

Hello Gurus,

 

Is there a way in salesforce where in we can have a parent and child account same for a unique text field.

 

Your help is appreciated in advance.

 

Thanks,

Rahul_sgRahul_sg

No, since both records are of same type(Account).

 

If the custom field is unique then you cannot have 2 records with same value in that field.

sandeep@Salesforcesandeep@Salesforce

not in same field because both object are of same type so you can store value on two fields.