Quantcast
Channel: SugarCRM – Ben Hamilton
Browsing latest articles
Browse All 26 View Live

How to change default of Inbound to Outbound for scheduling calls in SugarCRM

When scheduling a call, the default selection for the ‘Direction’ field is ‘Inbound’. Your team primarily performs outbound calls so you would like the default value to be changed.

View Article



Sugar Logic bug with a workaround for date fields

A client is recording the expiry dates of staff blue cards in their SugarCRM database. So I used the following sugar logic to show if the blue card has expired or not:...

View Article

MySQL – Counting how many rows have a particular value

Working on a SugarCRM dashboard today, and I needed to count how many records had one value and how many records had a second value. I then wanted to know what percentage the first value was of the...

View Article

SQL Query ORDER BY last_name, then first_name

This snippet of MySQL code shows how to concatenate two fields into one column, also shows how to reverse the concatenation and order by last name then first name.

View Article

Find Duplicate Contacts in SugarCRM

Find duplicate contact records, by contact name, in SugarCRM using MySQL.

View Article


How 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 Article

Allow 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 Article

Location 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 Article


Tracking 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 Article


When 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
Browsing latest articles
Browse All 26 View Live




Latest Images