CRM Open Source Business & Social CRM Software

Results 1 to 2 of 2

Thread: Generating a "transaction ID" for each opportunity

  1. #1
    dcoder54 is offline Junior Member
    Join Date
    Jul 2008
    Posts
    3

    Default Generating a "transaction ID" for each opportunity

    I am looking to generate an ID for each opportunity created. I have already created the field in Studio, but I am not sure where to go from here. I need the ID to comprised of the following: LM-0001, LM-0002,LM-003...

  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,261

    Default Re: Generating a "transaction ID" for each opportunity

    Hi dcoder54

    You can create a logic_hook before save into Opportunities module to fill in the custom field the next value.
    There are threads in the SugarForum and articles in the SugarWiki explaining how to create logic_hooks.

    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. Populate new Opportunity via external program
    By dholmes in forum Developer Help
    Replies: 5
    Last Post: 2007-09-18, 06:17 PM
  2. CarouselCRM Installation
    By StevenE in forum Installation and Upgrade Help
    Replies: 0
    Last Post: 2007-08-30, 09:16 AM
  3. Replies: 9
    Last Post: 2006-07-18, 09:41 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
  •