-
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
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.
- Clones
-
CFAMX-17236 DepartmentName "-N/A" Concatenation: CategoryName
- Closed
- implements
-
CFAMX-15452 INF-12300 - Remove Category Name dependency
- In Development
- is related to
-
CFAMX-16700 Update Sales Item Category to NA When Blank From Import
- Closed
1.
|
Create Test Scripts | Done | Unassigned |
|
|||||||||
2.
|
Review Test Scripts | Done | Unassigned |
|
|||||||||
3.
|
Deploy | Done | Unassigned |
|
|||||||||
4.
|
Execute Test Cases | Done | Unassigned |
|
|||||||||
5.
|
Functional Review with QA | Done | Unassigned |
|
|||||||||
6.
|
DIT | Done | Unassigned |
|
|||||||||
7.
|
Design Review | Done | Unassigned |
|
|||||||||
8.
|
Story Documentation | Done | Unassigned |
|
|||||||||
9.
|
Testing in testing | Done | Unassigned |
|
|||||||||
10.
|
Testing in Staging | Done | Charles Wheeler |
|