Results 1 to 3 of 3

Thread: Getting "Account Name" to display in Lead report

  1. #1
    yizzung is offline Member
    Join Date
    Nov 2008
    Posts
    17

    Default Getting "Account Name" to display in Lead report

    Seems like pretty basic functionality for CRM but I can't seem to figure this out. Whenever I include 'account name' in a lead report I get something like this:

    Error executing query Query Failed:SELECT leads.id primaryid ,leads.converted leads_converted ,leads.date_entered leads_date_entered ,leads.lead_source leads_lead_source ,leads.status leads_status ,leads_cstm.ce_download_c leads_cstm_ce_download_c ,leads_cstm.web_activity_c leads_cstm_web_activity_c ,CONCAT(CONCAT(IFNULL(leads.first_name,''),' '),leads.last_name) leads_full_name ,accounts_leads.account_name accounts_leads_account_name FROM leads LEFT JOIN leads_cstm leads_cstm ON leads.id = leads_cstm.id_c WHERE (1=1) AND leads.deleted=0 LIMIT 0,100::MySQL error 1054: Unknown column 'accounts_leads.account_name' in 'field list'

    I obviously can't select records from a related table because these are leads that have not yet been converted (so there is no related Account table yet).

    This is very, very basic functionality. All I want is a lead report that includes the names of the companies. Can this not be done in sugar? (We're on enterprise, 5.1.0b, if that matters.)

  2. #2
    sugarcane is offline Sugar Community Member
    Join Date
    Apr 2005
    Location
    Chicago, IL
    Posts
    1,207

    Default Re: Getting "Account Name" to display in Lead report

    Hello yizzung,

    this was a known bug for 5.10b, #26006. You can view it here. Because you have the Ent version of Sugar, you should be able to log a case with Sugar support. Ask them if they have a patch fix for this bug that they can apply to your instance. If not, they will probably suggest that you upgrade to a more recent version where this problem is fixed.
    Intelestream has a great deal of experience hosting and customizing the SugarCRM application. Our company is made up by former employees of SugarCRM, and together we have over 50 years of experience working with the application. To learn more about us, please visit our website at www.intelestream.net or contact us directly at 800-391-4055 or by email at info@intelestream.net

  3. #3
    yizzung is offline Member
    Join Date
    Nov 2008
    Posts
    17

    Default Re: Getting "Account Name" to display in Lead report

    Great! Thank you so much. I've been scratching my head on this one for some time now...

    Cheers

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Adding "Account" info in the "Add invitees" search result list
    By george_bbch in forum General Discussion
    Replies: 1
    Last Post: 2011-09-29, 04:37 PM
  2. Force account name to be "LastName, FirstName" of its Lead
    By ralcazar1 in forum Developer Help
    Replies: 2
    Last Post: 2009-03-06, 05:21 PM
  3. Global search not finding a Lead "Account"
    By dgilroybs8 in forum Help
    Replies: 2
    Last Post: 2008-12-25, 09:03 PM
  4. Replies: 1
    Last Post: 2008-11-25, 07:05 PM
  5. Replies: 0
    Last Post: 2006-06-26, 09:32 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •