Results 1 to 2 of 2

Thread: How to set auto selecting account

  1. #1
    lijunxiong is offline Member
    Join Date
    Jun 2009
    Location
    London
    Posts
    18

    Default How to set auto selecting account

    Hello,

    When creating contacts or opportunities in Account's detailed view, the ''Account Name'' column in the sub panel is being auto filled. This is very convenient.

    However when we go to certain opportunity of any account, the ''Account Name'' column is empty when we create contact in the opportunity sub panel. Thus we need to click ''select'' and search the account name from pop up window, this is very time exhausting.

    Is it possible to set the ''account name'' column to be auto filled up when we create new contact in opportunity sub panel which belongs to certain account?

    Many thanks for you help
    Jun
    Last edited by lijunxiong; 2009-08-06 at 08:33 AM.

  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: How to set auto selecting account

    Hi Jun

    To continue creating a Contact through Contact Quick Create you should need to modify the "Create New" button on Contacts subpanel to pass the account_id and account_name data to Quick Create.
    If you don't worry about open the Contacts Full Form you need to create a custom controller for Contacts, implement the method action_editview and fill in account_id and account_name fields.

    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. Auto-filling a field after select
    By metalheadz in forum Developer Help
    Replies: 10
    Last Post: 2009-07-21, 11:43 AM
  2. auto relate project opportunity account
    By eddor1614 in forum Help
    Replies: 11
    Last Post: 2008-09-26, 05:44 PM
  3. 5.0.0a with IMAP account: auto-purge?
    By bluefox112 in forum Help
    Replies: 0
    Last Post: 2008-01-17, 09:22 PM
  4. Replies: 4
    Last Post: 2007-09-10, 02:14 PM
  5. Replies: 1
    Last Post: 2006-12-04, 01:34 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
  •