-
Type: Story
-
Status: Closed (View Workflow)
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Sprint:2022.R1 New Features Sprint 4, 2022.R1 New Features Sprint 5
-
SCRUM Team:Brotherhood of Mutants
-
Story Points:3
-
Work Type Classification:Sustaining
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:
- 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:
- Other-N/A
- Breakfast-N/A
- Breakfast Meals (w/o Drinks)-N/A
- Dessert-N/A
- Drink-N/A
- Entree-N/A
- Meals-N/A
- Outside Sales-N/A
- Party Trays-N/A
- Sides-N/A
- Value Sizes-N/A
- N/A-N/A
- Sample-N/A
- Non-Food-N/A
- Discounts & Giveaways-N/A
- Catering - Bulk Drinks-N/A
- Packaged Meals-N/A
- 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
- When the CategoryName field is BLANK, InFORM inserts a concatenation of the DepartmentName from the same record and "-N/A" into the CategoryName field.
- 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.
- Example: Breakfast-N/A
- When the CategoryName field is not BLANK, NA. or N/A, InFORM does not change the CategoryName data for that record.
- When the CategoryName field is not BLANK, NA, or N/A, the existing functionality persists:
- The DepartmentName / CategoryName validation works correctly.
- When there is not error, the record is processed without issue.
- blocks
-
CFAMX-17827 Sales Item Import is Failing When CategoryName is N/A or NA
- Done
- implements
-
CFAMX-15452 INF-12300 - Remove Category Name dependency
- In Development
- is blocked by
-
CFAMX-17827 Sales Item Import is Failing When CategoryName is N/A or NA
- Done
- Is Clone Of
-
CFAMX-17800 2022 R1 Sprint 5 Testing CLONE - DepartmentName "-N/A" Concatenation: CategoryName
- Closed
- is related to
-
CFAMX-16700 Update Sales Item Category to NA When Blank From Import
- Closed
1.
|
Create Test Scripts | Done | Tristan Strong |
|
||||||||||
2.
|
Review Test Scripts | Done | Tristan Strong |
|
||||||||||
3.
|
Deploy | Done | Tristan Strong |
|
||||||||||
4.
|
Execute Test Cases | Done | Tristan Strong |
|
||||||||||
5.
|
Functional Review with QA | Done | Colin Wyatt-Goodall |
|
||||||||||
6.
|
DIT | Done | Colin Wyatt-Goodall |
|
||||||||||
7.
|
Design Review | Done | Colin Wyatt-Goodall |
|
||||||||||
8.
|
Story Documentation | Done | Colin Wyatt-Goodall |
|
||||||||||
9.
|
Schema to add the NA categories | Done | Colin Wyatt-Goodall |
|
||||||||||
10.
|
Update SSIS package to determine NA Category name | Done | Colin Wyatt-Goodall |
|
||||||||||
11.
|
Dev Testing | Done | Colin Wyatt-Goodall |
|