Results 1 to 5 of 5

Thread: how do I set the quote number to start at say 3000 ?

  1. #1
    rtetlow is offline Sugar Community Member
    Join Date
    Oct 2008
    Location
    FL, PA, DE, CA
    Posts
    16

    Default how do I set the quote number to start at say 3000 ?

    when I enter a quote (or case or anything) the sequence starts at 1. I also need to import quotes and cases from another system that have already a pre-defined number. But in each case its <3000. So ideally I want to be able to import these and set the number fields so that I can still maintain an audit between our old and new system. I also need to start the sequences from 3000.

    wondering how to do that - since I cannot find it in the UI and when I try to import - it seems to use its own sequence.

    I am running the on-demand version 5.1.0 - sugar prof. thanks in advance.

  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: how do I set the quote number to start at say 3000 ?

    Hi rtetlow


    I searched in the sugarcrm code and it seems there is no way to set an auto_increment default value other than 1, but you can do this directly in database table:

    For MySQL: ALTER TABLE tbl AUTO_INCREMENT = 100;
    I just filed a new bug requesting this feature.

    Bug # 25332

    Best 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
    rtetlow is offline Sugar Community Member
    Join Date
    Oct 2008
    Location
    FL, PA, DE, CA
    Posts
    16

    Default Re: how do I set the quote number to start at say 3000 ?

    Quote Originally Posted by andopes
    Hi rtetlow


    I searched in the sugarcrm code and it seems there is no way to set an auto_increment default value other than 1, but you can do this directly in database table:

    For MySQL: ALTER TABLE tbl AUTO_INCREMENT = 100;
    I just filed a new bug requesting this feature.

    Bug # 25332

    Best regards
    thanks for your help here - but remember I do not have the community version. I have the on-demand version and there seems to be no way to access the tables - at least from what I can see. Specifically, I have sugarcrm professional (commercial on-demand) version.

  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: how do I set the quote number to start at say 3000 ?

    Quote Originally Posted by rtetlow
    thanks for your help here - but remember I do not have the community version. I have the on-demand version and there seems to be no way to access the tables - at least from what I can see. Specifically, I have sugarcrm professional (commercial on-demand) version.
    Hi rtetlow

    So I believe you can ask Sugar to set it for you.

    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.

  5. #5
    rtetlow is offline Sugar Community Member
    Join Date
    Oct 2008
    Location
    FL, PA, DE, CA
    Posts
    16

    Default Re: how do I set the quote number to start at say 3000 ?

    Quote Originally Posted by andopes
    Hi rtetlow

    So I believe you can ask Sugar to set it for you.

    cheers
    good point - never thought of that. Im so used to being able to do it in the interface. But that only resolves one of the issues - it still doesnt resolve my data migration issue since I already have case numbers in my old system. The only workaround I can think is to import into a text field or something the old case number - but thats very messy IMO. Especially when I have to do it for customer numbers, lead numbers and a host of other things.

    Thanks.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Mysql - MSSql
    By Proware in forum Help
    Replies: 15
    Last Post: 2009-10-05, 01:27 PM
  2. Replies: 4
    Last Post: 2008-05-29, 07:52 AM
  3. Problem Specifying a Start Number for Quotes
    By chad.hutchins in forum Help
    Replies: 1
    Last Post: 2007-12-12, 04:02 PM
  4. how to set the leads per page number in sugar
    By kazu182 in forum Developer Help
    Replies: 8
    Last Post: 2007-01-18, 12:17 AM
  5. Upgrade from Open Source to Professional
    By Sohonet in forum General Discussion
    Replies: 1
    Last Post: 2006-06-12, 09:23 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
  •