Results 1 to 2 of 2

Thread: Custom Query

  1. #1
    dvelguru is offline Senior Member
    Join Date
    Nov 2009
    Posts
    42

    Default Custom Query

    Maybe you can add a custom method to Sugar 5.5 that will allow developers to create custom queries.

    Such as a query to retrieve leads -> email addresses which can be accomplished by connecting to DB externally using:

    PHP Code:
    SELECT FROM leads JOIN email_addr_bean_rel ON leads.id email_addr_bean_rel.bean_id JOIN email_addresses ON email_addresses.id email_addr_bean_rel.email_address_id WHERE email_addresses.email_address 'boogie@hofstra.edu' 
    So to keep users in Sugar, which is something I would love to do, creating a custom query will be golden. There are too many limitations to get_entry_list query => ...

    I've tried multiple times to get access to leads.email1 however, it is a no go with method get_entry_list. Please update me if I am wrong.

    Thanx

  2. #2
    eggsurplus's Avatar
    eggsurplus is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Minnesota
    Posts
    2,343

    Default Re: Custom Query

    If you want to do something like that inside of Sugar check out ZuckerReports.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Custom query for list view in custom module
    By precar in forum Developer Help
    Replies: 3
    Last Post: 2009-06-15, 04:01 AM
  2. Custom on custom query view....
    By mcnudox in forum Developer Help
    Replies: 1
    Last Post: 2009-03-29, 03:25 PM
  3. Custom query on custom view (List)
    By jasv in forum Developer Help
    Replies: 4
    Last Post: 2009-02-09, 10:36 AM
  4. CUSTOM QUERY with button in pop-up???
    By ezcurrax in forum Help
    Replies: 1
    Last Post: 2008-06-04, 03:01 PM
  5. Custom query in Custom Dashboard module
    By tbivans in forum Developer Help
    Replies: 11
    Last Post: 2007-03-05, 07:18 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
  •