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

2022 R1 Sprint 5 Testing CLONE - DepartmentName "-N/A" Concatenation: CategoryName

    Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • SCRUM Team:
      Great White
    • Story Points:
      3
    • Work Type Classification:
      Sustaining

      Description

      Story

      As an admin, I would like BLANK or NA categories to be updated with a concatenation of N/A and the DEPARTMENT NAME from the same record

      Details

      This story is related to CFAMX-16700.

      In an effort to resolve errors triggered by a blank CategoryName field in the Sales Item Import, it was discovered that there is a relationship between the DepartmentName and CategoryName fields in that there has to be a valid CategoryName associated with the provided DepartmentName or the import will fail.

      The overall goal is to ensure that when CFA delivers a Sales Item Import file where the CategoryName is BLANK or some variant of "N/A" InFORM can successfully process this file by updating the data so that it is valid on insert and does not cause errors. Below is an example of the error that is triggered when there is no DepartmentName / CategoryName relationship:

      To fix this we need to take a few steps:

      1. Create and insert dummy CategoryName data for each existing DepartmentName. This should be a concatenation of the Department Name and "-N/A". The Sales Item Import will not successfully run without this relationship in place. Below is a list of all the Category Names in the expected concatenated format:
        1. Other-N/A
        2. Breakfast-N/A
        3. Breakfast Meals (w/o Drinks)-N/A
        4. Dessert-N/A
        5. Drink-N/A
        6. Entree-N/A
        7. Meals-N/A
        8. Outside Sales-N/A
        9. Party Trays-N/A
        10. Sides-N/A
        11. Value Sizes-N/A
        12. N/A-N/A
        13. Sample-N/A
        14. Non-Food-N/A
        15. Discounts & Giveaways-N/A
        16. Catering - Bulk Drinks-N/A
        17. Packaged Meals-N/A
      2. Update the SSIS so that when a CategoryName is BLANK or some variant of "N/A", we insert the concatenation of the DepartmentName value and "-N/A" into the CategoryName field.

      AC

      Confirm

      1. When the CategoryName field is BLANK, InFORM inserts a concatenation of the DepartmentName from the same record and "-N/A" into the CategoryName field.
      2. When the CategoryName field is N/A or NA, InFORM inserts a concatenation of the DepartmentName from the same record and "-N/A" into the CategoryName field.
        1. Example: Breakfast-N/A
      3. When the CategoryName field is not BLANK, NA. or N/A, InFORM does not change the CategoryName data for that record.
      4. When the CategoryName field is not BLANK, NA, or N/A, the existing functionality persists:
        1. The DepartmentName / CategoryName validation works correctly.
        2. When there is not error, the record is processed without issue.

        Attachments

          Issue Links

          1.
          Create Test Scripts QA Task Done Unassigned

          0%

          Original Estimate - 0.5h
          Time Not Required
          2.
          Review Test Scripts QA Task Done Unassigned

          0%

          Original Estimate - 0.5h
          Time Not Required
          3.
          Deploy QA Task Done Unassigned

          0%

          Original Estimate - 0.5h
          Time Not Required
          4.
          Execute Test Cases QA Task Done Unassigned

          0%

          Original Estimate - 0.5h
          Time Not Required
          5.
          Functional Review with QA Dev Task Done Unassigned

          0%

          Original Estimate - 0.5h
          Time Not Required
          6.
          DIT Dev Task Done Unassigned

          0%

          Original Estimate - 0.5h
          Time Not Required
          7.
          Design Review Dev Task Done Unassigned

          0%

          Original Estimate - 0.5h
          Time Not Required
          8.
          Story Documentation Dev Task Done Unassigned

          0%

          Original Estimate - 0.5h
          Time Not Required
          9.
          Testing in testing QA Task Done Unassigned

          100%

          Original Estimate - 16h
          Time Spent - 2h Time Not Required
          10.
          Testing in Staging QA Task Done Charles Wheeler

          100%

          Original Estimate - 16h
          Time Spent - 1h Time Not Required

            Activity

              People

              • Assignee:
                charles.wheeler Charles Wheeler
                Reporter:
                jason.powell Jason Powell
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 36h
                  36h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3h Time Not Required
                  3h

                    PagerDuty

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