Results 1 to 2 of 2

Thread: cstm TABLE and fields where is the data stored?

  1. #1
    casqldba is offline Junior Member
    Join Date
    Aug 2007
    Posts
    2

    Question cstm TABLE and fields where is the data stored?

    I understand that all custom fields are stored in a custom table (i.e. opportunities_cstm) I did the migration step in studio to move the custom fields to the module so that they show to all users. But I have a question. If the custom fields are not in the opportunities table how does the associated data stored in the custom fields/table stay in sync. I saw one ID field in the custom table but I don't see how that gets associated with the oppportunities table. Am I missing a step? I don't think I need to manually move the fields to the table. But I want to make sure all the data is one place. I also want it to carry over the same data stored in the custom fields to other modules. I shouldn't need to create the same custom fields in each module that I want it to appear; it wouldnt be in sync.I want to be able to report on one table. Thanks in advance.

  2. #2
    eggsurplus's Avatar
    eggsurplus is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Minnesota
    Posts
    2,343

    Default Re: cstm TABLE and fields where is the data stored?

    Custom fields pertain only to that module that it's created for. So a custom field for opportunities would be in opportunities_cstm. An accounts custom field would pull from a separate table (accounts_cstm). The id_c field in the _cstm tables link directly to the id field of the associated table. So id_c in opportunities_cstm is the same value as it's id counterpart in opportunities.

    Hope that makes sense.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Saving and updating custom fields data
    By jones70 in forum Developer Help
    Replies: 2
    Last Post: 2011-10-05, 06:10 AM
  2. HELP - Act import (field mapping)
    By smelamed in forum Help
    Replies: 32
    Last Post: 2010-12-15, 05:39 PM
  3. Replies: 1
    Last Post: 2007-03-20, 01:28 PM
  4. Replies: 3
    Last Post: 2007-02-05, 09:43 PM
  5. Replies: 3
    Last Post: 2006-07-12, 03:32 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
  •