Results 1 to 6 of 6

Thread: Problem with Product Subpanel

  1. #1
    thalia is offline Member
    Join Date
    Jul 2008
    Posts
    9

    Default Problem with Product Subpanel

    Hi,

    I created a custom field in the Product Module called 'Name of Product' The field type is 'Related' and have selected the Product Catalog as the 'module.'

    I would like this to be visible in the Account Module, so that when I click into the Account, I can see the list of products the client/account have purchased.

    To do this in Studio, I selected the Account Module, clicked Subpanels, chose Products and then dragged my custom field (Name of Product) into the default list. Clicked Save and Deploy and then clicked into an account. I can see the Name of Product Heading, but no products are listed under this heading.

    I am using Sugar version 5.2.0.

    Any assistance would be much appreciated.

    Thanks,

    Thalia
    Last edited by thalia; 2009-07-08 at 10:13 AM.

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

    Default Re: Problem with Product Subpanel

    Hi Thalia,

    are you using SugarCRM Pro or Ent? If so, then any products that were purchased would appear under the Products subpanel for the account. You could always click and drag the submodule so that it is the first one under the account Detail view. This way, you do not need to customize anything, and the products are easy to view.
    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
    thalia is offline Member
    Join Date
    Jul 2008
    Posts
    9

    Default Re: Problem with Product Subpanel

    Hello,

    Thank you for your response. We are using Sugar Professional. I have attached a screen shot to show you what it looks like. I tried dragging the product subpanel to the top, but it didn't make a difference. As you can see, there is not a list of products (even though I have added two products)

    Cheers,

    Thalia
    Attached Images Attached Images  

  4. #4
    crmbalah is offline A Prolific Poster
    Join Date
    Mar 2009
    Location
    chennai
    Posts
    418

    Default Re: Problem with Product Subpanel

    HI
    try to check your database the field values is saved or not.. if the value is saved, check your subpanel related files.

  5. #5
    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: Problem with Product Subpanel

    Quote Originally Posted by thalia View Post
    Hello,

    Thank you for your response. We are using Sugar Professional. I have attached a screen shot to show you what it looks like. I tried dragging the product subpanel to the top, but it didn't make a difference. As you can see, there is not a list of products (even though I have added two products)

    Cheers,

    Thalia
    Edit the file modules/DynamicFields/DynamicField.php and add this piece of code


    PHP Code:
                $fh fopen('log.txt''w');
                
    fwrite($fh$query);
                
    fclose($fh); 
    just before the line
    PHP Code:
                $queryInsert .= " ) VALUES $values )"
    Save the file, edit an existing product and set another Name of Product, save the record and open the file log.txt

    Let us know the sql query saved into the file.
    Try to run this query on your database manager.

    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.

  6. #6
    thalia is offline Member
    Join Date
    Jul 2008
    Posts
    9

    Default Re: Problem with Product Subpanel

    Thank you so much. I will test this and let you know.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 2008-11-27, 12:28 AM
  2. Getting product template from product
    By marcusakre in forum Developer Help
    Replies: 0
    Last Post: 2008-10-01, 11:50 AM
  3. Product Catalog custom fields -> Product
    By chausmann in forum Help
    Replies: 0
    Last Post: 2008-09-26, 06:18 PM
  4. Replies: 4
    Last Post: 2008-03-18, 02:47 PM
  5. subpanel problem
    By anamikakhadwal in forum General Discussion
    Replies: 11
    Last Post: 2007-12-06, 12:25 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
  •