• 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…
  • Can I connect to an external DataBase to get data in a LogicHook or Scheduler?

    Hello Everyone! I have a question, exist some form to stablish a connection with an external DataBase from a LogicHooc or Scheduler? I need get data from an external DataBase to insert in a module and I need make this in a Scheduler. Regards…
  • How to manipulate directories and files on the new SugarCRM version.

    Hello everyone! Previously on my codes, I working with the local files and local directories using some like this: $function['mkdir'] = mkdir; $function['fopen'] = fopen; $function['unlink'] = unlink; ... $function['mkdir'](<new_directory_path>…
  • MailerFactory damage the attached files

    Hi Everyone! I have a problem with a code, I have a logichook that sends an email with files attached, but some days ago the customer reported an issue... the files arrive damage to the inbox email. I'm using the 'MailFactory::getSystemDefaultMailer…