Results 1 to 4 of 4

Thread: Reset cases number

  1. #1
    ddallago is offline Junior Member
    Join Date
    May 2006
    Posts
    3

    Default Reset cases number

    Can I reset cases number? Because every year I want to start again from number 1.
    Thanks to all can give me an help.

  2. #2
    kpit's Avatar
    kpit is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Dec 2005
    Location
    Memphis, TN
    Posts
    996

    Default Re: Reset cases number

    what about the cases from the prior year that may have not closed yet? do they carry over to the next year? There would be a serious consistancy problem with that method.
    Cheers,

    Max W. Blackmer, Jr.

    Blog
    Phone: +1 (901) 672-2694



  3. #3
    rymfiltre is offline Sugar Community Member
    Join Date
    May 2008
    Posts
    14

    Smile Re: Reset cases number

    Hi
    i don't know if you had solve your problem but i give you my solution and you will use it if needed
    in phpmyadmin or any other mysql client and execute the request "ALTER table "your table name AUTO_INCREMENT=0"
    that is all :-)

  4. #4
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Reset cases number

    In addition to Max's comments...resetting it to zero means you have to move the older records from the table as the number has to be unique.

    If you already have records 1 - 100, then reset the auto increment without getting rid of those records first, you won't be able to enter a new record because the new record #1 will conflict with the already existing record #1 from before the reset.
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Sugar/Mambo - portal cases invisible in Sugar
    By mshallop in forum Web Self Service Portal
    Replies: 5
    Last Post: 2007-02-14, 03:10 PM
  2. Disapearing cases
    By Couchman in forum Help
    Replies: 2
    Last Post: 2006-11-01, 07:07 PM
  3. Replies: 23
    Last Post: 2006-08-30, 05:32 PM
  4. Sorting by a Custom Field in Cases (OS)
    By neonz2005 in forum Help
    Replies: 1
    Last Post: 2005-08-26, 01:41 PM
  5. REQ: tracking number
    By Jeroen in forum General Discussion
    Replies: 3
    Last Post: 2005-03-31, 12:30 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
  •