Results 1 to 4 of 4

Thread: Sugar SOAP request for selecting across modules

  1. #1
    openatrix is offline Member
    Join Date
    Jul 2009
    Posts
    18

    Default Sugar SOAP request for selecting across modules

    Hi,

    Does Sugar SOAP support selecting records across 2 or more modules. For example
    what is the equivalent of the following in SOAP:

    select accounts.name, cases.name, cases.status
    from accounts, cases
    where accounts.id = cases.account_id

    search_by_modules does not join the modules. It simply sends back ids of all the matched
    records for the requested modules.

    Thanks

    sc

  2. #2
    crmsiva's Avatar
    crmsiva is offline A Sugar Hero
    Join Date
    Jan 2009
    Location
    Chennai, India
    Posts
    1,130

    Default Re: Sugar SOAP request for selecting across modules

    Hi

    There is no such facility available as of now. But it is possible by adding code to the existing soap.

  3. #3
    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: Sugar SOAP request for selecting across modules

    Actually you can retrieve these data looking at Cases modules through SOAP.
    You can get the account name when looking for a Case.

    Cheers
    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.

  4. #4
    openatrix is offline Member
    Join Date
    Jul 2009
    Posts
    18

    Default Re: Sugar SOAP request for selecting across modules

    Thank you for responding to my query. I agree if it's basic info like account.name then you could use Cases module itself in SOAP Get_results_list query. However if you are looking to get more than that then you would need to do code changes at the server side.

    I just hope the next major upgrade to Web Services API will address all these issues.

    sc

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. SOAP request doesn't update email1 field
    By spiderglobe in forum Developer Help
    Replies: 3
    Last Post: 2011-09-20, 11:40 AM
  2. HTTP authentication : SOAP Request
    By nileema in forum Developer Help
    Replies: 1
    Last Post: 2009-06-09, 01:17 PM
  3. SugarCRM SOAP session for every request
    By bathi741 in forum Developer Help
    Replies: 2
    Last Post: 2008-12-12, 03:51 PM
  4. How do i do a simple SOAP request in PHP5?
    By ztolley in forum Developer Help
    Replies: 2
    Last Post: 2008-04-15, 12:22 PM
  5. Error selecting modules from menu
    By mongonv in forum Installation and Upgrade Help
    Replies: 1
    Last Post: 2008-02-06, 02:51 PM

Tags for this Thread

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
  •