Results 1 to 4 of 4

Thread: opportunities_cstm and opportunities relationship

  1. #1
    skysolutions is offline Junior Member
    Join Date
    Sep 2005
    Posts
    4

    Question opportunities_cstm and opportunities relationship

    What is the relationship and the cardinality between those 2 tables (oportunities_cstm <--> opportunities) ?

    I saw that oportunities_cstm contains the custom fields.

    Thanks.

  2. #2
    fsamuels is offline Sugar Community Member
    Join Date
    Feb 2005
    Posts
    25

    Default Re: opportunities_cstm and opportunities relationship

    oportunities_cstm.id_c == opportunities.id

    There is only 1 opportunities_cstm per opportunities but only if there is custom data that has been stored. So the cardinality of oportunities_cstm.id_c <= opportunities.id

    That help?

  3. #3
    skysolutions is offline Junior Member
    Join Date
    Sep 2005
    Posts
    4

    Default Re: opportunities_cstm and opportunities relationship

    thanks!

    if I understand correct: each opportunities has 0 or 1 opportunities_cstm and each opportunities_cstm has ONLY 1 opportunities ?

    because when I check a report (which have fields from both tables) it brings NULL and blank values in the opportunities_cstm.offering_c field.
    Last edited by skysolutions; 2005-09-15 at 07:26 PM.

  4. #4
    fsamuels is offline Sugar Community Member
    Join Date
    Feb 2005
    Posts
    25

    Default Re: opportunities_cstm and opportunities relationship

    Yep, that is correct.

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
  •