-
Type: Story
-
Status: Closed (View Workflow)
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: CFA 2019R1
-
Component/s: Imports
-
Labels:None
-
Sprint:CFAMX 2019R1 Sprint 1, CFAMX 2019R1 Sprint 2, CFAMX 2019R1 Sprint 3
-
SOW (Time Tracking) Project:44860
-
Work Type Classification:Sustaining
As an admin I want to be able to maintain the Suggested Item flag at the Inventory Item level so that I do not have to maintain it by entity
Business Reason
- When a new Inventory Item is created, a corresponding entity item is created for all entities. The Suggested Item flag is set for these entity items.
- The current behavior is to default the Is Suggested Item to be True
- When a store becomes a Suggested Order store, the result on this is that ALL items become suggested, for ALL vendors, including Produce and Local Vendors.
- The desire is to have ALL items default to False, by default, and then use the Inventory Entity Item Import to make specific items Suggestible for specific stores
- This will mean that items for Produce and Local vendors will not be suggested when creating an order
Notes
- Current functionality supports the Suggested Item flag at the Entity Item level
- IsSuggestedItemByHeadOffice (Updated and maintained by the Entity Item Import)
- IsSuggestedItem (Store level override maintained in Item Maintenance)
- The goal is to move the maintenance of the Suggested Item flag to be at the Inventory Item level, rather than the Entity Item. This will allow a user to make a universal change to the items configuration by changing one setting in InFORM
- https://inform.jatesting.cfahome.com/MMS_manage_wizards.aspx
- The logic to update the entity item import was implemented under INF-8821
Truth table from INF-8821 - Relating the the Suggested Item flag at the entity item
Truth Table, focused on I4 Import, not allowing null values for the new db column:
Scenario # | IsSuggestedItemByHeadOffice Before | IsSuggestedItem Before | I-4 Import | IsSuggestedItemByHeadOffice After | IsSuggestedItem After |
---|---|---|---|---|---|
1 | True | True | True | True | True |
2 | True | True | False* | False | False |
3 | False | False | True | True | True |
4 | False | False | False | False | False |
5 | True | False | True | True | False |
6 | True | False | False | False | False |
7 | False | True | (n/a) | ( n/a) | (n/a) |
- * User will not be able to override a value of False that is sent in the I-4
Acceptance Criteria
- Confirm that there is a new Suggested Item flag for the Inventory Item
- Confirm that when a new item is created the Suggested Item flag defaults to False
- Confirm when adding a new inventory item through the UI, that the corresponding Entity Items that are created, have the Suggested Item flag set represents that set for the Inventory Item
- Confirm that if the Suggested Flag is set to False for the Inventory Item, that the Suggested Item Flag of the Entity cannot be updated:
- Item Maintenance
- Wizard: https://inform.jatesting.cfahome.com/MMS_manage_wizards.aspx
- Set Restaurants > Store Item Properties
- Confirm that if the Suggested Flag is set to True for the Inventory Item, that the Suggested Item Flag of the Entity can be changed to False and Back to True:
- Item Maintenance
- Wizard: https://inform.jatesting.cfahome.com/MMS_manage_wizards.aspx
- Set Restaurants > Store Item Properties
- Confirm that when the value of the Suggested Item flag is changed at the Inventory Item level, the follow behaviors are exhibited for the Entity Items
- Inv Item - False to True
- All entity items are updated from False to True
- Inv Item - True to False
- All entity items are updated to False, for both the Head Office and Entity settings
- Inv Item - False to True
There are no Sub-Tasks for this issue.