Results 1 to 8 of 8

Thread: How can I remove Type from MASS UPDATE?

  1. #1
    rafael.menezes is offline Sugar Community Member
    Join Date
    Sep 2006
    Posts
    20

    Default How can I remove Type from MASS UPDATE?

    Hi all,
    how can I remove type field from MASS UPDATE in Account module?

    Thanks,
    Rafael Menezes.

  2. #2
    ruchida's Avatar
    ruchida is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Feb 2005
    Location
    Japan
    Posts
    1,375

    Default Re: How can I remove Type from MASS UPDATE?

    Edit modules/Accounts/vardefs.php and insert 'massupdate' => false in the account_type array.
    PHP Code:
       'account_type' => 
      array (
        
    'name' => 'account_type',
        
    'vname' => 'LBL_TYPE',
        
    'type' => 'enum',
        
    'options' => 'account_type_dom',
        
    'len'=>25,
        
    'comment' => 'The account is of this type',
        
    'massupdate' => false,
      ), 
    Ryuhei Uchida
    Help Forum Moderator
    Calendar 2.0
    http://blogs.itmedia.co.jp/ruchida/

  3. #3
    rafael.menezes is offline Sugar Community Member
    Join Date
    Sep 2006
    Posts
    20

    Default Re: How can I remove Type from MASS UPDATE?

    Thanks a lot.
    Working perfectly.

  4. #4
    pcg
    pcg is offline Member
    Join Date
    Jul 2008
    Posts
    15

    Default Re: How can I remove Type from MASS UPDATE?

    Has this changed in version 5? I can't find the account_type field in Accounts\vardefs.php
    Edit: I've just done a search of the whole SugarCRM folder and sub-folders and I can't find any files containing the text 'account_type'. Am I missing a file? Has it changed name?
    Has anyone here modified the vardefs entry for this field recently (i.e. version 5)?
    Last edited by pcg; 2008-09-03 at 10:31 AM.

  5. #5
    nikidinsey is offline Sugar Community Member
    Join Date
    Jan 2008
    Posts
    22

    Default Re: How can I remove Type from MASS UPDATE?

    Hi,

    Check this thread from last week - I was having the same issue

    http://www.sugarcrm.com/forums/showt...rdefs+accounts

    Cheers

    Niks

  6. #6
    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 can I remove Type from MASS UPDATE?

    Hi all

    Instead of editing the modules/Accounts/vardefs.php create an extended vardefs for Accounts (custom/Extension/modules/Accounts/Ext/Vardefs/vardefs.ext.php)
    Redefine only the massupdate attribute for the account_type
    After that you need to Rebuild Extension.

    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.

  7. #7
    nikidinsey is offline Sugar Community Member
    Join Date
    Jan 2008
    Posts
    22

    Default Re: How can I remove Type from MASS UPDATE?

    that's exactly what you said to me in the referenced thread from last week andopes hehe

    Thanks for your continuing help, you really are a sugar hero

  8. #8
    pcg
    pcg is offline Member
    Join Date
    Jul 2008
    Posts
    15

    Default Re: How can I remove Type from MASS UPDATE?

    Thanks nikidinsey and andopes - that worked!

Thread Information

Users Browsing this Thread

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

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
  •