Check duplicates by custom field

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • oraculo1
    Junior Member
    • Feb 2021
    • 21

    Check duplicates by custom field

    Hi,
    I've added a field named CIF in contact entity. The idea is that i need when one contact is created with, per example, CIF A00000000, if another user try to create another contacto with the same CIF, display an alert. I've seen it works when the name is equal, but it's a bit confused, because many people can have same name and surnames.

    Thanks,
  • victor
    Active Community Member
    • Aug 2022
    • 727

    #2
    In Administration > Entity Manager > Contact > Edit > Duplicate check fields add your CIF field and you will have the desired functionality.

    Click image for larger version

Name:	image.png
Views:	119
Size:	42.3 KB
ID:	110138

    Comment

    • oraculo1
      Junior Member
      • Feb 2021
      • 21

      #3
      Hi victor,

      I haven't last options. Is version 6.1

      Comment

      • yuri
        Member
        • Mar 2014
        • 8440

        #4
        There was a lot of new features added since 6.1 which was released almost 4 years ago.
        If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

        Comment

        • oraculo1
          Junior Member
          • Feb 2021
          • 21

          #5
          Yes, but when i try to update from 6.1, upgrades without problems since 7.3.4. From 7.3.4 to 7.4.x gives error 500 and a lo tof troubles

          Comment

        • oraculo1
          Junior Member
          • Feb 2021
          • 21

          #6
          Yes, upgrade problems was only a comment. About check duplicates in minor versions, thre's a topic https://forum.espocrm.com/forum/gene...icate-checking but i don't understand how add the desired field in the code of the php

          Comment

          Working...