Find Duplicate Contacts in SugarCRM
Find duplicate contact records, by contact name, in SugarCRM using MySQL.
View ArticleHow to backup SugarCRM from the command line
From the linux command line, these commands let you backup and restore a SugarCRM database. Firstly, for a proper back up of SugarCRM you’ll need two files, one containing the application files, one...
View ArticleAllow a Checkbox to be Mass Update-able in SugarCRM
Here’s how to enable a checkbox to be updated enmasse. First create a new extvardef.php file containing the following: Then put that file into at the following location...
View ArticleLocation of the SugarCRM log file
By default it’s in the same base folder as the SugarCRM application files. But on occasion we’ll move it. Quickly find it’s location by looking in the config.php file. The two relevant lines are:...
View ArticleTracking down long running queries in SQL
I’ve had a client whose Linux Server (CentOS) gradually gets slower and slower, then falls over. By logging into the MySQL command line, we were able to see that there were some long running queries...
View ArticleWhen SugarCRM Case Closed
Using the cases.date_modified is not the same as the date a case is closed, as the case may have been modified after it was closed. Thus, the query below will return the date the case was transitioned...
View Article