Results 1 to 3 of 3

Thread: Really BASIC module and data table info

  1. #1
    mcichelli is offline Sugar Community Member
    Join Date
    Jun 2006
    Posts
    81

    Default Really BASIC module and data table info

    Is there any documentation available that explains how modules are organized? Which PHP file do I examine to see what's going on with the Accounts Edit function, for example?

    Where are the custom field definitions held? This is my most urgent request at the moment,

    I've very recently downloaded and installed V 4.2.0 for Windows from the SugarCRM website.

  2. #2
    Proware's Avatar
    Proware is offline A Prolific Poster
    Join Date
    Mar 2006
    Location
    Sydney Australia
    Posts
    310

    Default Re: Really BASIC module and data table info

    I too would like some basic table info.

    I am writing an import routine and ould like a simple explaination. For example, importing contacts - which tables to update. Importing calls - which tables to update, which key fields are linked across the tables, which fields are mandatory? I dont want to see the Bad Data error ever again!

    I think I have worked some of this out but each time I get to a new kind of import, I have to satart again,
    Cheers

    David Younger
    TSM - The Service Manager
    http://www.theservicemanager.com


    Operating system type and version: Windows 2003 Server
    » Sugar Suite version 4.5.1e Professional
    » Webserver type and version Microsoft-IIS/6.0
    » PHP version 5.2.6
    » MySQL server version 5.0.51a

  3. #3
    mcichelli is offline Sugar Community Member
    Join Date
    Jun 2006
    Posts
    81

    Default Re: Really BASIC module and data table info

    Here I am replying to my own post. But, I have learned a lot over the past few months, and in case anyone else is still where I was when I first posted this:

    Using phpMyAdmin, I can see and/or print out the structure of any of the tables. I can also browse through the current contents of any of the tables - using SQL commands to search for particular records.

    I spent some time just browsing through the structure of each table. Much of the organization becomes clear when you do this. For example, the table accounts_cstm contains the data for the custom fields you have designed - one record in accounts_cstm for each record in accounts. There is also a contacts_cstm. Those are the only "modules" for which I have, as yet, defined custom fields.

    Then, there is a table called calls_contacts which contains pairs of call_id's and contact_id's, etc.

    The phpMyAdmin structure listings also include a description of the indices in use for each table.

    I am also using an editor called PHP Designer 2007 - Professional (available for $69 from http://www.mpsoftware.dk/ Actually, I just visited the website and they are running a sale - $49 right now. With this editor I can edit any of the php and html files (among others). I also can search for strings across any group of the files - this has been very useful in finding out where a particular variable is defined and/or used.

    I am still trying to figure out how the whole system "works" - but I'm getting good at pattern recognition and seeing where I might have to tweak something. Since I installed 4.5.0, there are fewer things I need to tweak outside of the Studio.

    Some installer/developer organized documentation would be nice - but that requires someone to volunteer to write it. So, in the meantime, we all just share our bits of knowledge.

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
  •