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

new action expire for service engine entity-auto

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Implemented
    • Affects Version/s: Trunk
    • Fix Version/s: 16.11.01
    • Component/s: framework
    • Labels:
      None
    • Sprint:
      Community Day 1 - 2016

      Description

      Relate to the thread http://ofbiz.135035.n4.nabble.com/entity-auto-and-cancel-operation-td4676929.html on the dev mailing list, I load the patch to manage the action expire.

      When you call expire on a entity :

      • if a date field is present on service attribute, OFBiz try to expire it with the given value or with now date
      • else try to expire thruDate field
      • else try to expire *ThruDate or thru*Date field

      The patch contains the new action, a code refactoring to separate each action on dedicate function and unit test associate.

      1. OFBIZ-6892.patch
        46 kB
        Nicolas Malin

        Activity

        Hide
        soledad Nicolas Malin added a comment -

        Done on trunk at revision 1735737.

        I didn't load the case with a status change, I will see on second step

        Show
        soledad Nicolas Malin added a comment - Done on trunk at revision 1735737. I didn't load the case with a status change, I will see on second step

          People

          • Assignee:
            soledad Nicolas Malin
            Reporter:
            soledad Nicolas Malin
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development

                Agile