[jira] [Commented] (OFBIZ-5959) Add lifespan fields to PartyRole

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-5959) Add lifespan fields to PartyRole

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-5959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14275197#comment-14275197 ]

Jacques Le Roux commented on OFBIZ-5959:
----------------------------------------

Currently this seems indeed limited, though those field are clearly present in PartyRole (DMR book Vol1 p.34). So I wonder why it was not used. Maybe they were simply moved to "specific relationships" like Agreement, AgreementEmploymentAppl, Employment, PartyBenefit, PayHistory and UnemploymentClaim entities which have them.

PartyRelationship also, but it seems indeed that we are not missing anything and we need to add from and thru dates there if we want to expire a relationship on a party roles expiration. This still needs more thoughts and checks on my side...


> 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
>         Attachments: OFBIZ-5959-PartyRoleLifeSpan.patch
>
>
> 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)