Uploaded image for project: 'CFA MX '
  1. CFA MX
  2. CFAMX-3714

Order Guide - When Rule is deleted Rerun rules engine

    Details

    • Sprint:
      CFAMX 2019R3 Sprint 4, CFAMX 2019R3 Sprint 5, CFAMX 2019R3 Hardening
    • SCRUM Team:
      Brotherhood of Mutants
    • SOW (Time Tracking) Project:
      44918
    • Work Type Classification:
      Sustaining

      Description

      As an above store user I want items to be unassigned for all stores when all rules have been deleted in the Order Guide so that the item is no longer available

      Notes

      • This story applies to a specific scenario
      • An item has no rules
      • A user assigns a rule to that item, and Applies the Rules
      • The item is now assigned to X stores
      • Some time later, a user deletes this rule (there are no other rules in place for this item)
      • The users expectation is that the item is no longer available at any stores using the InFORM Order Guide (as there are no rules configured for the item)
      • What happens is, the item remains assigned to the stores
      • The workaround is to use the End Date for the rule, rather than deleting the rule
      • However, we allow deleting of the rule, so should support this scenario

      Acceptance Criteria

      1. Confirm when an include rule is deleted from an item, and that item has no active rules attached to it, that the item is no longer assigned to any stores that are configured to use the InFORM Order Guide
      2. Confirm when an include rule is deleted from an item, and that item has active rules associated to it, that the item assignment is per the configured rule(s)

      Developer Note
      - When deleting an exclude rule, the vendor entity items' discontinue dates will be set by any remaining rules. If there are no remaining rules, the items will have a discontinue date of today (the day the exclude rule was deleted and applied). This could result in a situation where the discontinue date is before the introduction date. Regardless, the item will be discontinued until another rule is created for it.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                will.englefield Will Englefield (Inactive)
                Reporter:
                will.englefield Will Englefield (Inactive)
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 35h 40m Original Estimate - 35h 40m
                  35h 40m
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 45h 25m
                  45h 25m

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.