• How to inherit Primary Team from related (Parent) record via Logic Hook?

    Hello, My scenario is the following: 1. We have Teams defined by regions (Africa, Asia, Europe...etc.) 2. For each Teams added some users. 3. An Account created (which is located in Europe) and manually set up the Team for Europe. If I create a child…
  • Using after_relationship_add/delete in Users

    Hi guys, I was trying to use the after_relationship_add hook to catch when a Role or a Team is added to an User. I had no problem with Roles, but with Teams, I couldn't make it work. Here is an example of what I have: The logic_hooks.php file <?php $hook_version…