Results 1 to 2 of 2

Thread: Problem with Custom Module When Update Relationship by Subpanel

  1. #1
    PanJun is offline Sugar Community Member
    Join Date
    Nov 2008
    Location
    Shanghai
    Posts
    50

    Default Problem with Custom Module When Update Relationship by Subpanel

    Hi,

    I have a custom module which is many-to-one account.
    When I edit the record by subpanel and assign another account to it. The relationships are not changed. Still keep the previous account.
    This only happened on custom module, I checked all out-of-the-box modules, all works.

    Any one can help?

  2. #2
    rafael.q.g@hotmail.com's Avatar
    rafael.q.g@hotmail.com is offline Sugar Community Member
    Join Date
    Jun 2011
    Location
    Florianópolis - Brazil
    Posts
    782

    Default Re: Problem with Custom Module When Update Relationship by Subpanel

    Please take a look into the table which stores this relationship.
    Maybe the current relationship are not been deleted.
    What could be done is to program a logic_hook to identify the new selected account it, and then manage the relationships by coding.
    Rafael Queiroz Gonçalves
    Advanced OMG UML Certified Professional
    Sun Certified Enterprise Architect for the Java Platform
    Sun Certified Programmer for the Java 2 Platform
    IBM Certified Advanced Application Developer - Lotus Notes and Domino
    IBM Certified Application Developer - IBM WebSphere Portlet Factory
    Computer Science Mastering / UFSC - PPGCC

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Relationship problem in custom module
    By sowjanya_m in forum Developer Help
    Replies: 0
    Last Post: 2011-04-19, 08:25 AM
  2. Custom Module Subpanel Relationship
    By jskov in forum Help
    Replies: 6
    Last Post: 2010-11-15, 09:06 PM
  3. Replies: 3
    Last Post: 2009-07-11, 07:45 AM
  4. Replies: 6
    Last Post: 2008-06-17, 06:32 AM
  5. Replies: 2
    Last Post: 2008-04-17, 07:29 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
  •