Results 1 to 3 of 3

Thread: ID number in My SQL

  1. #1
    Danielg42 is offline Sugar Community Member
    Join Date
    Jun 2006
    Location
    Orange County, CA
    Posts
    187

    Default ID number in My SQL

    Hi, I'm in the process of creating a php script that syncronises my one database with the sugar database.
    Because of the need to run the script regularly, I am attempting to do everything through My SQL and PHP.
    When I look at the "accounts" table in the sugarcrm database, there is an "id" number/letters for every account.
    They look like this.
    Code:
    19636ead-5126-d8e7-742a-44e340df363c
    e14e705b-5693-717d-2609-44e3409a30b1
    53b00dc3-12c8-8c60-fa1a-44e340e91a48
    Is this number random? I've changed the number to several different values (in the same format) and Sugar doesn't seem to care, however, I'd like to be sure of this befor I actually try to write the random number generator into the script.

  2. #2
    elRey is offline Sugar Community Member
    Join Date
    Sep 2006
    Posts
    80

    Default Re: ID number in My SQL

    look in \sugarcrm\include\utils.php for
    Code:
    function create_guid()

  3. #3
    Danielg42 is offline Sugar Community Member
    Join Date
    Jun 2006
    Location
    Orange County, CA
    Posts
    187

    Default Re: ID number in My SQL

    Great!
    Thanks a lot.

Thread Information

Users Browsing this Thread

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

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
  •