Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Account and Project, need help!

  1. #1
    Operator is offline Member
    Join Date
    Mar 2010
    Posts
    19

    Default Account and Project, need help!

    i want to assign my accounts to a project/projects,
    i've got about 5000 records to import and cannot add each account to an similar project.
    is it possible to add "many" accounts to one project and vice-versa?
    planning to manage my fair trades as projects.
    thanks

  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: Account and Project, need help!

    Yes, it is possible.
    Actually the relationship between Accounts and Projects is a Many to Many one.

    Kind 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
    Operator is offline Member
    Join Date
    Mar 2010
    Posts
    19

    Default Re: Account and Project, need help!

    thanks for quick answer.
    now i installed sugar crm 5.5.1 ce and customized it a bit,
    but how do assign these many accounts to the projects?
    could you please give me some hints or a short how-to?
    i'm getting bored of clicking in each project and add each account, seems to need years...
    thanks for help

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

    Default Re: Account and Project, need help!

    If you're familiar with sql I'd suggest going straight to the database. It'll save you thousands of clicks. It looks like you'll want the projects_accounts table to associate accounts to a project.

  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: Account and Project, need help!

    A good workaround for that is to:
    create an extended layoutdefs for Accounts:
    custom/Extension/modules/Accounts/Ext/Layoutdefs/layoutdefs.ext.php, create the folders and file if they don´t exist;
    Add this code:

    PHP Code:
    <?PHP
    $layout_defs
    ['Project']['subpanel_setup']['accounts'][top_buttons][0] = array('widget_class' => 'SubPanelTopSelectButton''mode'=>'MultiSelect');
    ?>
    Go to Admin -> Repair -> Rebuild Extensions

    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
    Operator is offline Member
    Join Date
    Mar 2010
    Posts
    19

    Default Re: Account and Project, need help!

    thanks for anwser,
    will try it tomorrow in the company, tried the whole day to manage it, the solution seems to be so easy.
    another question i've got:
    is it possible, when importing account records to assign them to projects via importing?
    didn't found the entry to select the needed project in the account importing formular.
    and is it possible when editing account records to assign the via click to a project?
    sorry for bad english, hope you could understand what i mean.
    thanks

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

    Default Re: Account and Project, need help!

    Andopes, has the multiselect been adjusted in 5.5.1? In the past, you were only able to select what was on the page. There wasn't a Select All option like there is on the List View. Is that there now because that would really make my life easier?

  8. #8
    Operator is offline Member
    Join Date
    Mar 2010
    Posts
    19

    Default Re: Account and Project, need help!

    did what you said,
    but where is the button or where should i click to "mass assign" them?
    what i've got to do??
    dont understand what these code does....

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

    Default Re: Account and Project, need help!

    In the Project go to the Accounts subpanel and click the "Select" button. Then you can check all checkboxes and select.

  10. #10
    Operator is offline Member
    Join Date
    Mar 2010
    Posts
    19

    Default Re: Account and Project, need help!

    thanks
    yeah see it and it works.
    but i had to add an new relationship, the old one didnt worked,
    so i created m:m accounts - project cause only project - accounts excited.
    now it works!!
    thanks a lot

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Assigning an Account Name to a Project
    By thomasaaron in forum Project Management
    Replies: 5
    Last Post: 2012-05-16, 04:31 PM
  2. How to associate Project with Account Name
    By thomasaaron in forum Help
    Replies: 1
    Last Post: 2008-10-22, 02:45 PM
  3. Account & Project Tasks
    By blackfire in forum General Discussion
    Replies: 0
    Last Post: 2006-05-23, 06:40 PM
  4. Replies: 3
    Last Post: 2005-12-29, 02:25 AM
  5. How attach a document to a project or an account
    By damien in forum General Discussion
    Replies: 4
    Last Post: 2005-09-20, 09:45 AM

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
  •