-
Type: Story
-
Status: Closed (View Workflow)
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: CFA 2019R1
-
Component/s: Adjustments, Exports
-
Labels:
-
Sprint:CFAMX 2019R1 Sprint 5, CFAMX 2019R1 Sprint 6
-
SOW (Time Tracking) Project:44862
-
Work Type Classification:Sustaining
As a supply chain user, I would like to know if the adjustment entry was made on the Point of Sale (POS) or in InFORM so that I can better understand how users are recording adjustments
Use Case
The current issue is supply chain has no insight on if an adjustment was performed on the Point of Sale or in InFORM (after the fact). Adding the source will provide detail on where the adjustment was created.
Notes
HotSchedules will add a “Source” field to the Adjustment Export. This field will indicate if the adjustment was performed on the POS or in InFORM. This field will provide a way to track metrics on if the adjustment was performed on the Point of Sale or in InFORM. The only values that can be passed in the file will be either "InFORM" or "POS"
The tables used
tbtransactionstockadjust
tbtransactionwaste
The following will be implemented with this change:
• Include source type
• Update XML Export
• Update WebService - InventoryAdjustmentRESTExport.cs (reference INF-1743)
Current Inventory Adjustment File
<?xml version="1.0" encoding="UTF-8"?>
<Root><tbResults>
<StoreNumber>00440</StoreNumber>
<ItemCode>9741</ItemCode>
<Reason>Waste</Reason>
<ApplyDate>6/16/2018 3:35:43 PM</ApplyDate>
<Quantity>0.48672</Quantity>
<Unit>One Pouch</Unit>
<Type>Waste</Type>
<IsDirty>False</IsDirty>
</tbResults></Root>
<?xml version="1.0" encoding="UTF-8"?>
<Root><tbResults>
<StoreNumber>00440</StoreNumber>
<ItemCode>9741</ItemCode>
<Reason>Waste</Reason>
<ApplyDate>6/16/2018 3:35:43 PM</ApplyDate>
<Quantity>0.48672</Quantity>
<Unit>One Pouch</Unit>
<Type>Waste</Type>
<IsDirty>False</IsDirty>
<Source>POS</Source> <--- New Source field added
</tbResults></Root>
Acceptance Criteria
- Confirm the InventoryAdjustment XML contains a new field called “Source”.
- Confirm values populated in this source field match the database values.
- Those transactions originating from the POS will have Source = POS
- Those transactions entered directly into InFORM will have Source = InFORM
- Confirm the Inventory Adjustment Export always includes the source for Menu Item Waste Items.
- Confirm the Inventory Adjustment Export always includes the source for Inventory Item Waste Items.
- Confirm the Inventory Adjustment Export always includes the source for Sample Items.
Confirm the Inventory Adjustment Export always includes the source for Giveaway Items.(This is not possible as the data entered on the POS is not processed by InFORM, in the form of an Adjustment - INF-2101)- Confirm that the Confluence documentation for the Inventory Adjustment Export is updated
- Confirm the WebService still triggers an output file after changes are made and that the changes are contained in the resulting call
- Confirm that the Swagger endpoint is updating to reflect this change:
- url: http://testapi.inform.jatesting.cfahome.com/swagger/ui/index
- Host file entry: 67.220.109.77 testapi.inform.jatesting.cfahome.com
- User/pw = test / 1234
- implements
-
CFAMX-986 SO - Adjustment Export - Add entry source (POS/InFORM) - INF-8274
- Done
1.
|
Update XML node | Done | Kevin Reid (Inactive) |
|
||||||||
2.
|
Update Webservice | Done | Kevin Reid (Inactive) |
|
||||||||
3.
|
Documentation | Done | Kevin Reid (Inactive) |
|
||||||||
4.
|
QA - Create Test Cases | Done | Gareth Leibbrandt (Inactive) |
|
||||||||
5.
|
QA - Hand Over/ Review | Done | Gareth Leibbrandt (Inactive) |
|
||||||||
6.
|
QA - Execute Test Cases | Done | Gareth Leibbrandt (Inactive) |
|