Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-5980

Have the ability to revoke (expire) roles of a party

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • Trunk, Upcoming Branch
    • None
    • party
    • Bug Crush Event - 21/2/2015

    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 ).

      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.

      Attachments

        Issue Links

          Activity

            People

              pierresmits Pierre Smits
              pierresmits Pierre Smits
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: