Results 1 to 3 of 3

Thread: How To convert a contact in a user

  1. #1
    bjq67 is offline Junior Member
    Join Date
    Feb 2006
    Posts
    2

    Default How To convert a contact in a user

    Hi,

    One of me conctact become a employee of our company. How I can Import all activities, meetings... or convert his contact status in to a user status ?

    SugarCRM 5.1

  2. #2
    crmsiva's Avatar
    crmsiva is offline A Sugar Hero
    Join Date
    Jan 2009
    Location
    Chennai, India
    Posts
    1,130

    Default Re: How To convert a contact in a user

    Hi

    There is no facility available in the existing system to do this. You can directly do it in database or write a php script to do so.

  3. #3
    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 convert a contact in a user

    Quote Originally Posted by bjq67 View Post
    Hi,

    One of me conctact become a employee of our company. How I can Import all activities, meetings... or convert his contact status in to a user status ?

    SugarCRM 5.1
    Hi bjq67

    You can create a button on Contacts DetailView just like the "Convert Lead" button on Leads DetailView. Have a look at the script modules/Leads/metadata/detailviewdefs.php
    The action of the new button should be a script to be developed, which will create a new user based on Contacts information.
    Use the function clone_history to copy the activities records from the contact to user.

    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. How to convert all leads to contact
    By littleboy0 in forum Help
    Replies: 2
    Last Post: 2009-04-16, 12:09 PM
  2. How do I convert a contact back to a lead?
    By rmapply in forum General Discussion
    Replies: 5
    Last Post: 2008-03-31, 05:15 PM
  3. Convert Lead to Contact
    By noppann in forum General Discussion
    Replies: 4
    Last Post: 2007-12-10, 06:53 PM
  4. Convert Contact to Lead?
    By macscr in forum Help
    Replies: 3
    Last Post: 2005-11-02, 04:42 PM
  5. Replies: 1
    Last Post: 2005-02-16, 09:18 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
  •