You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Daniel Kunkel (JIRA)" <ji...@apache.org> on 2006/08/10 15:08:14 UTC

[jira] Commented: (OFBIZ-149) Better describe complex party relationships

    [ http://issues.apache.org/jira/browse/OFBIZ-149?page=comments#action_12427203 ] 
            
Daniel Kunkel commented on OFBIZ-149:
-------------------------------------

Are all relationships bidirectional?

I would guess by the apparent definition of relationship that they are, but it gets me to brainstorming a bit...

The current relationship system has always seemed a bit clunky because there are two different ways of specifying data...

Abe is a employee of Bravo Inc    or Bravo Inc is a employer of Abe

If we ever want software to know and track a certain relationship, it seems like that relationship has to be searched for in two ways.

How would it work to create role_type pairs  (employee, employer) (customer, provider) (isp, website) etc. One of the role types could be dominant, say employee, customer, isp, and only that one would ever be stored in the database.

Furthermore, and getting back to your original question, creating these combinations would likely expose any one way relationships.



> Better describe complex party relationships
> -------------------------------------------
>
>                 Key: OFBIZ-149
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-149
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Improvement
>          Components: party
>            Reporter: Chris Howe
>         Attachments: PartyRelationship.patch
>
>
> Change to the party data model to support relationships where parties act in several capacities (roles) and allowing polynary relationships. 
> If someone could describe a situation where the direcition of the role matters (partyIdTo/partyIdFrom) and  where the roleType is insuficient to understand the direction I will try to come up with a solution.  I'm trying to understand if simply better role designations would alleviate ambiguity or if there is a real need to support direction.
> I began a discussion on this topic, there has yet to be any response
> http://mail-archives.apache.org/mod_mbox/incubator-ofbiz-dev/200608.mbox/%3c20060809155147.18528.qmail@web80615.mail.yahoo.com%3e

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira