Results 1 to 2 of 2

Thread: Lead Convert Multi Select

  1. #1
    yachtinteract is offline Junior Member
    Join Date
    May 2007
    Posts
    3

    Question Lead Convert Multi Select

    Hi,

    We have an ieeus in Sugar CRM Pro. When you convert a lead to a contact that has a multi select field it does not take over the multiple values.

    On the convert screen it simply gives you a single drop down with the default value.

    Anyone know how to fix this?

    Thanks,

    Jonathan

  2. #2
    lougaou's Avatar
    lougaou is offline Sugar Community Member
    Join Date
    Mar 2007
    Location
    Lyon - France
    Posts
    236

    Default Re: Lead Convert Multi Select

    Try that it should fix the pb:

    In file modules/DynamicFields/DynamicField.php
    In function function save($isUpdate){

    Change
    PHP Code:
    if($field['type'] == 'multienum'){
                        if(isset(
    $_POST[$name])) {
                            
    $this->bean->$name is_array($_POST[$name]) ? implode('^,^',$_POST[$name]) : $_POST[$name];
                        } else {
                            
    $this->bean->$name '';
                        } 
                    } 
    to
    PHP Code:
    if($field['type'] == 'multienum'){
                        if(isset(
    $_POST[$name])) {
                            
    $this->bean->$name is_array($_POST[$name]) ? implode('^,^',$_POST[$name]) : $_POST[$name];
                        
    //BOF SYNOLIA
                        
    } elseif(isset($_POST[$this->module.$name])){
                            
    $this->bean->$name $_POST[$this->module.$name];
                        
    //EOF SYNOLIA
                        
    } else {
                            
    $this->bean->$name '';
                        } 
                    } 
    --------------------
    Xavier Rigal

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 22
    Last Post: 2011-04-19, 02:26 PM
  2. Replies: 1
    Last Post: 2007-08-09, 10:21 AM
  3. From lead to order
    By george_bbch in forum Feature Requests
    Replies: 0
    Last Post: 2006-09-26, 02:02 PM
  4. Serious issue with sugarcrm 3.5.1.c
    By wp.rauchholz in forum Help
    Replies: 17
    Last Post: 2005-12-01, 07:22 AM
  5. Propogate Lead fields to Opportunity During convert
    By jwcc in forum General Discussion
    Replies: 0
    Last Post: 2005-05-30, 10:12 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
  •