• Request Status are automate to change resolved to Closed

    Dear All, I want to customized Request Status are automate to change resolved to Closed in 14 days. Please suggest a change or customized in code . Thanks & Regards, Suraj Kumar
  • How to make a custom report

    Hello, I am new to SugarCRM, I want to know how we can generate a custom reports in which we can override export to word/pdf functionality as well. Please suggest any relatable guide. Thanks
  • Web Logic Hook not sending

    Hello All! I'm working on setting up some WebHooks from Sugar for the first time, but they don't seem to run. I've tested my external endpoint with postman successfully using identical settings without issue, so I can only assume that the webhook…
  • Relate Field is updated with Logic Hook according to log, but is not actually updated

    I'm trying to update the relate field in in bene_beneficiaries with what is in the relate field on the related accts_financial_accounts record. The log is showing that the values I want in the field are there both at the end of the before_save hook and…
  • Buttons not showing in Accounts DetailView when primary email is added

    Hello, I'm new in this and I have some strange issue which I can't reproduced why is happening. I have added LogicHook on after_retrieve to make some logic $hook_array [ 'after_retrieve' ][] = Array ( 3 , 'UpdateInfi' , 'custom/Extension/modules…
  • 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…
  • Prevent Deletion of module record and related module records

    We have a need to avoid accidental deletion of a module record based on some conditions. These conditions will probably be indicated by a custom field on the module which can be examined during the deletion process. I have 3 questions: 1 - Is the…
  • 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…
  • Account Name in Opportunities and Contacts module becomes empty and then again set by Logic Hook certain times

    We have Sugar Custom integrations with Outreach and other Apps. The Account Name in Opportunities module changes to empty value and then again set by a Logic Hook when some other record field is updated. Sometimes it happens even if nothing is updated…
  • Calculating Call Due Dates

    I posted this in a different thread, but this is a new formula issue I'm having I need help on. ifElse( equal($keycontact_c,true), addDays($last_call_date_c, ifElse(equal(related($calls,"call_type_c"),"Account Management Call"), 30, ifElse(equal(related…
  • Introduction to the Sugar Frameworks

    My latest post on the 4 Sugar Frameworks can be found at sugarcrm.substack.com/.../sugar-framework
  • Records last Modifications date automatic changes without updating records ?

    Hi All Please suggest , Records last Modifications date automatics changes without updating manual or api records ? any one have any idea why this is happen ? and where is it possible and why modification date changes without changes updating records…
  • Automate the status change of inbound emails

    By default, the "Email Status" of Inbound emails are set to "Unread". I'm hoping to get some ideas on how we can automate the status change when the following actions are taken: Change the status to "Read" when the assigned user goes to the detail…
  • API Bulk upload and logic hooks

    Dear all, I built a custom Module which should represent better our company structure in CRM. The repository of these data are in an external database. Out from there I built an API interface witch brings the data to CRM. I have experience on this,…
  • Process Definition not Triggered from $bean->save()

    Hi everyone. I am struggling to figure out why, but a process definition that uses the "Changes" method is not firing when a logic hook is using $bean->save(). The changes is a simple "No to Yes" but when saving the record it doesn't go into the processes…
  • Logic Hook Needed: Set Account Assigned User to a related Module everytime a record is saved/edited in that related module.

    Hello Devs, I would like to implmenet a Logic Hooks outside the BPM, which will be executed every time a record is saved in Module B. Module B is related to module A in a 1:n connection. So module A can have multiple records in module B. Module A…
  • 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.
  • getBeans() always returns the cached value even if asked not to

    I have a logic_hook, well a series of logic hooks really, that creates two RLIs, then updates those RLIs and then in another hook it tests those RLI to see if they are completed. The update is to set them to completed. I looked in the DB and they are…
  • I want to have alert notification on logic hook.

    I have gone through many questions and posts but i didn't find the solution for sugar 10.3 (Enterprise Edition) class save_customer { /* *$bean : *$event : *$arguments : */ function save_customer($bean, $event, $arguments) { //Check If Customer ID…
  • $bean->stored_fetched_row_c, logic hooks and relate fields

    Im trying to detect a change in a relationship through a logic hook but I cant seem to get the old value to compare it to the new. I have a serial number module which has a relationship to accounts Accounts -> one-to-many -> S_SerialNumber this…
  • how to create hook to retrieve a column and display on record view

    I am trying to create a hook that will retrieve the relevant column I want to display when selecting a relate field. By default this brings a back and stored the id in the custom table. I want to bring back a column related to this custom table …
  • Prevent execution of logic hooks of related module when we create record from subpanel.

    Hello, I have a module "Work Product" in which I have subpanels of 'Work Product Deliverable','Errors','Work Product Enrollment' and some other module. I have linked 1351 records of Error in Work Product and 6485 recors of Work Product Enrollment. As…
  • What are reason logic hooks would work for Admin but not regular users?

    I have recently started our CRM from scratch and created packages for all the customizations. We have gone to production and realized that the logic hooks are not being done when the user is not an admin. Please help..
1 2 3 4 5 »