lock records

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zerosix
    Member
    • Jan 2024
    • 45

    lock records

    I have an entity B linked to a Entity A (one A have many B), in A I have an attribute "Locked" (yes/no), what i want to do is if Locked=yes B(s) can not be removed from the relationpanel
  • yuri
    Member
    • Mar 2014
    • 8471

    #2
    Maybe beforeUnlink record hook: https://docs.espocrm.com/development...kclassnamelist
    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


    • zerosix
      zerosix commented
      Editing a comment
      thank you yuri, a hint please to do it with beforeUnlink
Working...