Results 1 to 4 of 4

Thread: Multiple relations on activities

  1. #1
    xpi
    xpi is offline Junior Member
    Join Date
    Jul 2008
    Posts
    2

    Default Multiple relations on activities

    I'm trying to produce the following situation in SugarCRM:

    We have Projects, to which 1-n Accounts are assigned. An activity in a project is mostly related to one of this accounts. Until now, I could not find a possibility to link an activity to a project as well as to a related Account.

    The same is also valid for history entries and other entities: only one 'related to'-relation can be defined. What about artifacts related to multiple entities?

    Any Ideas or solutions on how to achieve this?
    Needless to say that I'm relatively new to sugar, so any hint on the subject is highly 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: Multiple relations on activities

    Hi, xpi.

    I'm not sure I understood your needs, let me see:

    A Project can be related to more then one Account.
    You want to relate a new Activity to a Project and after that choose one of its Accounts to relate to the just created Activity.
    Is it right?

    Let me know if I got the big picture, then I'm sure I can help you.

    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.

  3. #3
    xpi
    xpi is offline Junior Member
    Join Date
    Jul 2008
    Posts
    2

    Default Re: Multiple relations on activities

    Hi, andopes

    Yes, exactly. The goal is to get an activity which is related to a project and to one of its accounts.

  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: Multiple relations on activities

    Ok, xpi.

    What is the desired workflow?

    Create a new Activity under an Account or under a Project?

    If you want to create an Activity under an Account you can create a custom view.edit for all the Activity modules. This view will auto fill the Project related to that Account.
    Remember you have to create a custom field relate to Project into all Activity modules.

    If you want to create an Activity under a Project and after that select one of its Accounts you also need to create the view.edit into all Activity modules, but the implementation will not be pretty easy because you will need to create a custom controller for each Activity module and customCode for the project relate field.

    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.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Removing Activities Tab at the Top
    By rps1984 in forum Help
    Replies: 12
    Last Post: 2008-04-10, 10:24 AM
  2. Replies: 3
    Last Post: 2007-06-18, 10:06 PM
  3. Replies: 0
    Last Post: 2007-06-16, 02:20 PM
  4. Add multiple activities to clients
    By fasta in forum Feature Requests
    Replies: 2
    Last Post: 2007-01-19, 07:22 PM
  5. Add multiple activities to clients
    By fasta in forum Help
    Replies: 1
    Last Post: 2007-01-18, 07:16 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
  •