Results 1 to 3 of 3

Thread: ID of Lead converted to Contact

  1. #1
    sgharp is offline Sugar Community Member
    Join Date
    Apr 2009
    Posts
    24

    Default ID of Lead converted to Contact

    HI All,

    After a lead is converted to a contact, how can I link the original lead record to the new contact record in a SQL join? The contact records' ID # doesn't seem to be the same as the original lead ID # and I'm not finding a linking reference field.

    TIA

  2. #2
    chrislynch8's Avatar
    chrislynch8 is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Cork, Ireland
    Posts
    747

    Default Re: ID of Lead converted to Contact

    This happens automatically.

    In my Instance when I convert a lead to a contact the following appears once complete.

    I click into the Lead and above the button in the detail is a little window that says "Converted Contact with a link to the contact"
    In the Contact then the lead appears in the Leads Subpanel.

    If this is not happening for you check your logs for any errors?

    Rgds
    Chris
    Linkedin Profile:Chris Lynch

    FDC IT Solutions
    FDC House
    Wellington Road
    Cork
    Ireland

  3. #3
    sgharp is offline Sugar Community Member
    Join Date
    Apr 2009
    Posts
    24

    Default Re: ID of Lead converted to Contact

    I think you misunderstand my problem. I'm writing an external program in C# that accesses the SugarCRM database to extract data into an Excel spreadsheet. I'm trying to put together a SQL query which will join the original Lead record to the newly created Contact, Account, whatever record. I'm not working within the SugarCRM interface but dealing with the database directly.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How to remove the Lead when converted into Contact?
    By Karin58 in forum Developer Help
    Replies: 10
    Last Post: 2012-01-04, 04:27 PM
  2. Target converted to lead
    By houlejo in forum Marketing/Campaign Management
    Replies: 4
    Last Post: 2009-08-12, 06:28 PM
  3. Replies: 0
    Last Post: 2008-05-19, 05:41 PM
  4. Replies: 2
    Last Post: 2007-04-25, 09:09 AM
  5. Migrating Converted Lead notes
    By pramodhc in forum Help
    Replies: 1
    Last Post: 2007-01-12, 09:02 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
  •