Results 1 to 4 of 4

Thread: Master Detail form

  1. #1
    nnarayanan is offline Member
    Join Date
    Nov 2008
    Posts
    13

    Default Master Detail form

    Hi

    Can some one describe me how to develop a master detail form using the Module Builder?

    Regards
    Narayanan

  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: Master Detail form

    Hi Narayanan

    Can you explain what is a Master Detail Form?
    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
    nnarayanan is offline Member
    Join Date
    Nov 2008
    Posts
    13

    Default Re: Master Detail form

    Hi,

    Sorry for not providing the details in my earlier question. Basically consider the following Employee Attendance.

    Assuming that we have two tables Employee Master and Attendance Details. The structure is as follows

    Employee Master
    ===============
    Employee ID --> Primary Key
    Employee Name
    Department Name
    Date of Join

    Attendance Details
    ================
    Employee id --> Foreign Key to Employee Master
    Date
    IsPresent --> Boolean if True then employee is present for that day or absent for that day.

    Now coming back to my layout of the form (Attendance Details Form)

    ---------------------------------------------------------------------------------------------------------------------------------------------------------
    MASTER

    Employee : <Combo Box to select the Employee> (On selecting the employee the below are displayed

    Department Name: <display> Date of Join <Display>

    ---------------------------------------------------------------------------------------------------------------------------------------------------------
    DETAILS

    Employee Attendance Details

    Date Present / Absent
    =========== ===============
    01-Nov-08 True <edit button> <delete button>
    02-Nov-08 True <edit button> <delete button>
    .......


    <add new Attendance button>
    ================================================== ===========================================
    if you look at the above layout basically I am trying to enter the Attendance details for an employee. Now when a employee is selected, the details like Department, Date of Join are displayed in the master layout and in the detail layout if the attendance table has any records for this employee then they will be listed out and each row will have a edit and delete button. Finally we will have add button to add new attendance for this employee. (The detail can be a editable grid)

    Is there any way I can achieve this in SugarCRM using Module Builder?

    Thanks for your help

    Regards
    Narayanan

  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: Master Detail form

    So you want to create a "Attendance Details" dynamic table into "Employee Master" EditView, right?
    It is possible but it take so much time.

    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.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Contact Detail History/Notes not working
    By MyISDept in forum Developer Help
    Replies: 2
    Last Post: 2008-10-29, 10:42 PM
  2. Replies: 0
    Last Post: 2008-08-05, 02:23 PM
  3. Please Help. Something wierd with form
    By sapogov in forum Help
    Replies: 7
    Last Post: 2008-04-16, 12:49 AM
  4. Replies: 5
    Last Post: 2007-06-14, 09:05 PM
  5. Form design trouble
    By sysadm01 in forum Help
    Replies: 1
    Last Post: 2007-04-12, 05:00 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
  •