Results 1 to 3 of 3

Thread: Why cant two 'Flex related' fields be in the same module?

  1. #1
    franquero is offline Senior Member
    Join Date
    Jan 2010
    Posts
    39

    Question Why cant two 'Flex related' fields be in the same module?

    Hello, in a previous thread I wondered how to create a relate field associated to a dropdown item. Matthew told me about Flex relalated fileds.

    I hadīnt see that option, because I was customizing the module calls. As I have read in the forum:
    Quote Originally Posted by jyim View Post
    Just to clarify, the Flex Relate option for custom fields appears only for modules that do not already have a default parent_id field.

    The modules that contain parent_id fields by default are Accounts, Calls, Meetings, Notes and Tasks.

    Once you create a Flex Relate field for any of the other modules, and this creates a parent type field in the fields_meta_data table, the Flex Relate option will no longer be available for new custom fields for that module.
    My question is: Why cant two 'Flex related' fields be in the same module? I guess there is a logical reason for that, but iIm not able to figure it out.

    Would be possible to allow a second Flex relate field with some PHP-MYSQL modifications?

    Thanks in advance.

  2. #2
    SugarDev.net is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    1,401

    Default Re: Why cant two 'Flex related' fields be in the same module?

    Because 'parent_id' is hardcoded in the SugarBean, causing the limitation.
    Developers go here
    Businesses go there (Dutch)

    Modules:
    SugarDev.net Developer Tools | Config | Dutch Language Pack
    "Nothing gets fixed unless there is a bug"

  3. #3
    franquero is offline Senior Member
    Join Date
    Jan 2010
    Posts
    39

    Thumbs up Re: Why cant two 'Flex related' fields be in the same module?

    Thank you for the answer.

    The best.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. flex related feild
    By khall in forum Developer Help
    Replies: 3
    Last Post: 2009-11-10, 04:34 AM
  2. Simple module related to Accounts showing Account fields?
    By jaymcd0626 in forum Developer Help
    Replies: 3
    Last Post: 2009-01-21, 05:01 AM
  3. Replies: 0
    Last Post: 2008-07-31, 10:27 AM
  4. Replies: 7
    Last Post: 2006-02-15, 12:17 AM

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
  •