[
https://issues.apache.org/jira/browse/OFBIZ-5980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pierre Smits updated OFBIZ-5980:
--------------------------------
Description:
Currently it is only possible to delete a PartyRole record from a party.
Which leads to error messages, when that particular Partyrole record is
associated with records in other entities where the PartyRole entity is set as
a relation (through <relation rel-entity-name="PartyRole"> which is applied as
a foreign key relation in the underlying dbms )
is used as a foreign key in the entity-model/database and the user tries to
delete that role from the PartyRole list in the party component.
Examples of such related entities that are:
* entity-name="MarketingCampaignRole
* entity-name="BudgetRole
In order to avoid such, it is better to revoke the PartyRole record by setting
an expiration date (end date) on the record.
was:
Currently it only possible to delete a role.
Which can lead to potential error messages, when a particular role is
associated with records where the roleTypeId is used as a foreign key in the
entity-model/database and the user tries to delete that role from the list.
In order to avoid such, it is better to revoke the PartyRole record by setting
an expiration date (end date) on the record.
> Have the ability to revoke (expire) roles of a party
> ----------------------------------------------------
>
> Key: OFBIZ-5980
> URL: https://issues.apache.org/jira/browse/OFBIZ-5980
> Project: OFBiz
> Issue Type: Improvement
> Components: party
> Affects Versions: Trunk
> Reporter: Pierre Smits
> Assignee: Pierre Smits
> Priority: Major
> Labels: roles
> Fix For: Upcoming Branch
>
>
> Currently it is only possible to delete a PartyRole record from a party.
> Which leads to error messages, when that particular Partyrole record is
> associated with records in other entities where the PartyRole entity is set
> as a relation (through <relation rel-entity-name="PartyRole"> which is
> applied as a foreign key relation in the underlying dbms )
> is used as a foreign key in the entity-model/database and the user tries to
> delete that role from the PartyRole list in the party component.
> Examples of such related entities that are:
> * entity-name="MarketingCampaignRole
> * entity-name="BudgetRole
> In order to avoid such, it is better to revoke the PartyRole record by
> setting an expiration date (end date) on the record.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)