• Link a Lead record to a Project record using logic hook

    I have created a one-to-many relationship between Project and Lead records. (called 'project_leads_1' in Studio) I would like it so that when a new Lead record is created that meets certain criteria (last name = '@Incoming Email Sales Lead'), the Lead…
  • What is the right way to copy a bean

    Hi , what is the right way to create a bean from another existing bean ? in other words, how to duplicate bean in sugar in PHP. i want to keep relationship too.
  • logic hooks on EmailAddress relationships not working?

    I need to trigger a process when an Email Address is added or removed from a Contact. I was hoping to leverage the after_relationship_add/after_relationship_delete on Contacts: function EmailAddressChanged ( $bean , $event , $arguments ) { if ( $arguments…
  • How to avoid chasing red herrings in logic hook relations?

    Hello all, I am a web developer who is learning sugarcrm at my new workplace. I have a fair understanding of the MVC workflow as well as SQL and programming. My question is as follows: How do you determine the correct relationship to use with the SugarCRM…
  • SugarCRM 7.6  Dashlet Graphs related to contact being viewed, how?

    Hi, In a bit of a pickle; i know dash-lets can be used across different modules including custom modules. however i cant figure out how to get the dash-let graphs/lists to target the modules relationship. For example, i want to track a contacts statistics…