Results 1 to 4 of 4

Thread: Problem in module's relationship...

  1. #1
    rajesh22 is offline Senior Member
    Join Date
    Sep 2008
    Posts
    31

    Default Problem in module's relationship...

    Hi,

    I just created two modules through the module builder.
    I created a one-to-many relationship from one module to another module.
    It displaying a new field in my module .Now i needt to remove that field.
    Also i need to remove the relationship between those modules.
    What i have to do? Can anyone help?

  2. #2
    mikesolomon is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    UK
    Posts
    1,467

    Default Re: Problem in module's relationship...

    Quote Originally Posted by rajesh22
    Hi,

    I just created two modules through the module builder.
    I created a one-to-many relationship from one module to another module.
    It displaying a new field in my module .Now i needt to remove that field.
    Also i need to remove the relationship between those modules.
    What i have to do? Can anyone help?

    delete the relevant custom files
    they will be a file in

    custom/Extension/modules/<parent>/Ext/Layoutdefs
    custom/Extension/modules/<parent>/Ext/Vardefs
    custom/Extension/modules/<childt>/Ext/Vardefs

    Then do a repair

    in the database drop the table <parent>_<child>_c

    and in relationships table delete the realtionship

    That should do it

    and
    Mike Solomon
    Development Manager
    Ivy Ltd
    www.ivy.ltd.uk]www.ivy.ltd.uk

    php version 5.2.6
    MySql 5.1.59

  3. #3
    rajesh22 is offline Senior Member
    Join Date
    Sep 2008
    Posts
    31

    Default Re: Problem in module's relationship...

    Quote Originally Posted by mikesolomon
    delete the relevant custom files
    they will be a file in

    custom/Extension/modules/<parent>/Ext/Layoutdefs
    custom/Extension/modules/<parent>/Ext/Vardefs
    custom/Extension/modules/<childt>/Ext/Vardefs

    Then do a repair

    in the database drop the table <parent>_<child>_c

    and in relationships table delete the realtionship

    That should do it

    and
    Thank you verymuch!

  4. #4
    dkelly is offline Sugar Community Member
    Join Date
    May 2005
    Location
    London
    Posts
    77

    Default Re: Problem in module's relationship...

    Thanks, that helped me too. I added a relationship (using 5.1.0) which somehow created both a one-to-many and one-to-one relationship between Calls and Opportunities. A bug methinks!

    Sugar Team, surely you can make it possible to remove relationships from the studio?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Problem on Step 7 of Install
    By ChrisA2107 in forum Installation and Upgrade Help
    Replies: 2
    Last Post: 2007-08-20, 08:31 AM
  2. Replies: 7
    Last Post: 2006-06-06, 07:56 PM
  3. Relationship problem on a friday
    By sugarcare in forum Help
    Replies: 0
    Last Post: 2006-05-26, 09:45 PM
  4. Replies: 4
    Last Post: 2005-10-31, 03:25 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
  •