• How to run crons from code

    Hello everyone! Someone knows if is possible run the crons from code? My case: I have a job that executes all days to respective hour, this job create a specific file with data of some module; but sometime the user could add wrong data to some records…
  • BeanFactory::getBean not returning existing record in SugarCRM custom code

    I have a SugarCRM integration. It has the following line in the code $beanToSync = BeanFactory::getBean($moduleToCheck, $beanToSync->id); In $moduleToCheck the module 'Leads' is passed and $beanToSync->id have an ID of an existing Lead in SUgarCRM…
  • Error when consuming external service.

    Hi We are currently modifying the url of a web service that is consumed from sugarcrm, the instance is an instance located in the cloud. This is an example of the code we implemented: curl_setopt_array($curl, array( CURLOPT_URL => ' http://pruebas…