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

Caner - Apply Rules - Create Vendor Entity Items

    Details

    • Sprint:
      CFAMX 2019R1 Sprint 5, CFAMX 2019R1 Sprint 6, CFAMX 2019R1 Hardening
    • SOW (Time Tracking) Project:
      44805
    • Work Type Classification:
      Sustaining

      Description

      As an admin user I want to Create Vendor Entity Items after I have created rules and clicked on Assign Rules so that the item can be ordered

      Notes

      • This story is to deal with the Creation of Vendor Entity Items (VEI)
      • Creation is based on an Include Rule being respected
      • Include rules can exist for either the zone and/or restaurant based rules
      • Restaurant rules are mutually exclusive, a Restaurant is either Included or Excluded
      • Exclude overrules Include
      • Restaurant rules override zone rules
      Scenario Zone 1 (Include) Zone 2 (Exclude) Entity Include Entity Exclude Results - (Using Caner's terminology) Action Comment
      1 0 0 0 1 Entity Excluded Delete VEI / Do nothing Restaurant rule is followed
      2 0 1 0 0 Entity Excluded Delete VEI / Do nothing Zone rule is followed
      3 0 1 0 1 Entity Excluded Delete VEI / Do nothing Restaurant rule overrides zone rule
      4 0 0 1 0 Entity Included Create/update VEI Restaurant rule is followed
      5 0 1 1 0 Entity Included Create/update VEI Restaurant rule overrides zone rule
      6 1 0 0 0 Entity Included Create/update VEI Zone rule is followed
      7 1 0 0 1 Entity Excluded Delete VEI / Do nothing Restaurant rule overrides zone rule
      8 1 1 0 0 Entity Excluded Delete VEI / Do nothing Exclude Zone rule overrides Include Zone rule
      9 1 1 0 1 Entity Excluded Delete VEI / Do nothing Restaurant rule overrides zone rules
      10 1 0 1 0 Entity Included Create/update VEI Restaurant rule overrides zone rule
      11 1 1 1 0 Entity Included Create/update VEI Restaurant rule overrides zone rules

      Acceptance Criteria

      1. Verify that when a VEI does not exist, and a rule is applied, that asserts that the Restaurant should be Included, the VEI is created
        • See scenarios above that assert that a Restaurant should be included
          • 4, 5, 6, 10, 11
      2. Verify that when a VEI does not exist, and a rule is applied, that asserts that the Restaurant should be Excluded, the VEI is NOT created
        • See scenarios above that assert that a Restaurant should be Excluded
          • 1, 2, 3, 7, 8, 9
      3. Note: In order to create a Vendor Entity Item the following must be true:
        • A Vendor Entity assignment exists (there will be a later story to maintain this)
        • A Vendor Zone is assigned to a Vendor - Without this, Vendor Items are not displayed on the Manage Vendor Item Assignment page

        Attachments

        1. image-2018-11-24-04-00-29-099.png
          123 kB
          Caner Saritac
        2. image-2018-11-24-04-01-24-890.png
          114 kB
          Caner Saritac

          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 - 96h
                  96h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 87h 14m Time Not Required
                  87h 14m

                    PagerDuty

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