You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Deepak Dixit (Jira)" <ji...@apache.org> on 2023/02/21 05:08:00 UTC
[jira] [Commented] (OFBIZ-12765) Improvement to createPartyRelationship service
[ https://issues.apache.org/jira/browse/OFBIZ-12765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17691390#comment-17691390 ]
Deepak Dixit commented on OFBIZ-12765:
--------------------------------------
Instead of having logic in createPartyRelationship service, we can make it simple create service, service will simply create party relationship record, and at the business side we can implement checks.
> Improvement to createPartyRelationship service
> -----------------------------------------------
>
> Key: OFBIZ-12765
> URL: https://issues.apache.org/jira/browse/OFBIZ-12765
> Project: OFBiz
> Issue Type: Improvement
> Components: party
> Reporter: Chenghu Shan
> Assignee: Chenghu Shan
> Priority: Minor
>
> Currently, createPartyRelationship service does not allow the creation of a new PartyRelationship of the same parties until the thruDate has passed. This also disallows the creation new PartyRelationships of the same parties beyond that thruDate.
> This improvement checks for time interval conflicts and allows the creation of a different PartyRelationship of the same parties before the thruDate has passed.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)