[
https://issues.apache.org/jira/browse/OFBIZ-5959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14282260#comment-14282260 ]
Scott Gray commented on OFBIZ-5959:
-----------------------------------
Yeah maybe have a discussion before creating a huge number of tickets.
PartyRelationship is intended for the type of use case you're looking at here. PartyRole very rarely makes sense to use for just about anything because it provides no context for the role. It's already been overused in OFBiz as a lazy way of saying the Party has a given role in relation to the company using OFBiz (i.e. an implied role). It is much better IMO to use context specific entities for defining roles such as PartyRelationship, OrderRole, AgreementRole, etc.
I can't really even think of a reason why PartyRole exists as all.
> Add lifespan fields to PartyRole
> --------------------------------
>
> Key: OFBIZ-5959
> URL:
https://issues.apache.org/jira/browse/OFBIZ-5959> Project: OFBiz
> Issue Type: Improvement
> Components: party
> Affects Versions: Trunk
> Reporter: Pierre Smits
> Labels: role, roles
>
> Currently the assignments of roles to parties are boolean (there or not there).
> However, these role assignments also have a lifespan. This can be achieved by adding fromDate and thruDate fields.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)