Results 1 to 6 of 6

Thread: Creating a new Module (with subpanel) to have a notes

  1. #1
    nabberuk is offline Sugar Community Member
    Join Date
    Oct 2011
    Posts
    18

    Default Creating a new Module (with subpanel) to have a notes

    Hi,

    I'm trying to figure the following out. I'd like a to have a License sub-panel in the accounts section. This subpanel will contain notes relation only to that account.

    I've created a new module (using module builder), created a relationship between License and notes (one to many) and then between License and Accounts (many to one).

    I now have the subpanel appearing with a notes like function. I now have two problems;

    Firstly when i go to create a new note, i have to tell it which account.

    Secondly, when i've created a note i can see it in all accounts.

    Any help would be appreciated!

  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: Creating a new Module (with subpanel) to have a notes

    Please, clarify your questions as detailed as you can.

    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.

  3. #3
    nabberuk is offline Sugar Community Member
    Join Date
    Oct 2011
    Posts
    18

    Default Re: Creating a new Module (with subpanel) to have a notes

    Each account will have a sub-panel called Licenses, this sub-panel will have a list of notes for only that account.

    Does this help anymore?

    thanks

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

    Default Re: Creating a new Module (with subpanel) to have a notes

    Looks like you have a good start. With issue #2 if it is showing notes from other accounts make sure the custom subpanel function you have in Accounts is filtering on the account. If you're still having issues there please post the SQL you are using for that.

    For issue #1 you'll need to send over the default value by creating your own subpanel create widget. Found an old post of mine that should help you get on your way. http://www.sugarcrm.com/forums/f6/pa...-create-43774/

  5. #5
    nabberuk is offline Sugar Community Member
    Join Date
    Oct 2011
    Posts
    18

    Default Re: Creating a new Module (with subpanel) to have a notes

    Quote Originally Posted by eggsurplus View Post
    Looks like you have a good start. With issue #2 if it is showing notes from other accounts make sure the custom subpanel function you have in Accounts is filtering on the account. If you're still having issues there please post the SQL you are using for that.

    For issue #1 you'll need to send over the default value by creating your own subpanel create widget. Found an old post of mine that should help you get on your way. http://www.sugarcrm.com/forums/f6/pa...-create-43774/
    All of the things i've done so far have been using the front end, i.e i haven't edited any source files. With issue #1 i presume you can only do this with editing the source. which i'm fine with, it's just getting my head around what's stored where.

    i'll try and look it up, thanks for your reply.

    nathan

  6. #6
    nabberuk is offline Sugar Community Member
    Join Date
    Oct 2011
    Posts
    18

    Default Re: Creating a new Module (with subpanel) to have a notes

    Would love there to be a few more comments on the source!!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 3
    Last Post: 2011-03-30, 04:59 AM
  2. Replies: 0
    Last Post: 2010-05-14, 11:38 AM
  3. Add Notes to a new module subpanel tab
    By franquero in forum Help
    Replies: 3
    Last Post: 2010-05-09, 10:18 PM
  4. Creating notes in subpanel - Custom Module
    By ash in forum Developer Help
    Replies: 4
    Last Post: 2009-06-04, 06:53 PM
  5. Error creating notes
    By florent in forum Help
    Replies: 0
    Last Post: 2005-03-09, 12:31 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
  •