In my Contact entity when i creating new record with existing firstname and lastname, iam getting "record already exists" message. How can i remove the duplicate check with name? Please help me to resolve the issue. Thanks in advance.
Announcement
Collapse
No announcement yet.
How to remove default name duplication check while creating a record in an entity?
Collapse
X
-
Hi, for the Contact you can refer to this post and delete the relevant lines.
I am new to espocrm, I would like to know if espocrm has duplicate checking function for email or phone for existing contact/lead/account database or when
If you want to create a new Duplicate check see this documentations (it also help you understand how the Duplication code is coded so you can delete or comments out the right code without breaking your Contact entity)
Looking at the code, you want to pay attention to this area:
protected function getDuplicateWhereClause(Entity $entity)
Comment