Results 1 to 4 of 4

Thread: Another Account search issue

  1. #1
    piccirm2 is offline Sugar Community Member
    Join Date
    Apr 2008
    Posts
    65

    Default Another Account search issue

    From the contact search form, if I try to pick up the parent account from the related account field the window popop to search account always return no items
    the address on the popup is the following
    127.0.0.1/sugarcrm/index.php?module=Accounts&action=Popup&mode=single &create=true&metadata=undefined

    any explanation of this ???
    Sugar CE 5.0.0c

  2. #2
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Another Account search issue

    Hi, piccirm2

    Probably it is because a sql error.

    If you understand programming edit the file include/ListView/ListViewData.php

    add a

    PHP Code:
    echo "<LI>$main_query"
    Just before it is searched into database, it is the its third place in file.
    Perhaps there are issue in metadata.
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  3. #3
    piccirm2 is offline Sugar Community Member
    Join Date
    Apr 2008
    Posts
    65

    Default Re: Another Account search issue

    Very usefutl hint !
    Many tks

    That's the result:
    the difference of the search query with respect to the query of the accouts list view is that a left join condition on Accounts is missing causing an sql error in the query so that no records are retrieved

    Now I have to understand why this happens ...

    I've also understood why in the Account basic seach form when I seach for name I get wrong results: because the field called name in the Studio during the editing of the search panel in the parent_name account !
    The question is: where these mapping between table column and sugar filed name is done in order to fix it ???

  4. #4
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Another Account search issue

    Hi.

    I just answered this question in your other thread.

    Best regards
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Custom search in Account Popup
    By jungler in forum Developer Help
    Replies: 0
    Last Post: 2008-04-14, 01:00 AM
  2. Replies: 0
    Last Post: 2004-11-03, 02:17 PM

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
  •