Results 1 to 4 of 4

Thread: new module but...

  1. #1
    ldenckert is offline Junior Member
    Join Date
    Apr 2011
    Posts
    4

    Default converting leads to contacts missing in newly created module

    Hi

    i want to create a new module constisting of customized "lead" entities, which are then to be converted into "customers" (e.a. "accounts")

    i did create the leads but the function to convert them is missing. where and how do i implement this ?

    thanks in advance


    regards

    Lutz
    Last edited by ldenckert; 2011-05-03 at 11:23 AM. Reason: no response so far

  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: new module but...

    If you want to create a new Module which inherit from Person template, then you will need to create the Convert Lead function from the ground.
    Take a look at modules/Leads/metadata/detailviewdefs.php to understand how to render the button.
    Take a look at modules/Leads/controller.php to understand how to process the Convert Lead action.

    Regards
    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.

  3. #3
    ldenckert is offline Junior Member
    Join Date
    Apr 2011
    Posts
    4

    Default Re: new module but...

    Quote Originally Posted by andopes View Post
    If you want to create a new Module which inherit from Person template, then you will need to create the Convert Lead function from the ground.
    Take a look at modules/Leads/metadata/detailviewdefs.php to understand how to render the button.
    Take a look at modules/Leads/controller.php to understand how to process the Convert Lead action.

    Regards
    thanks,

    so i understand that in order to dodge the whole process of actually programming into the php-code of the new modules just to get the convert-lead-function, it might be easier to just edit and customize the leads that are already there to work like they should....

    option a: customize leads to reflect our business
    or
    option b: make new module and program / create the vonvert lead funkction accordingly.
    is that correct ?

    thanks in advance

  4. #4
    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: new module but...

    Yes, that is correct.
    If the built in Leads modules fits your needs you may want to customize it.

    Regards
    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)

Tags for this Thread

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
  •