-
Type: Story
-
Status: Closed (View Workflow)
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: CFA 2020R1
-
Component/s: Exports
-
Labels:
-
Sprint:CFAMX 2020R1 Sprint 1
-
Story Points:2
-
SOW (Time Tracking) Project:44918
-
Work Type Classification:Sustaining
As a third party system receiving the PMix file I want the Refund Count to to populated for only one record relating to each item so that I don't have to parse out the results
Notes
- Currently the RefundCount is populated for each instance of a particular item, for example:
<ProductMixDetailInfo> <ItemEntryDate>2019-06-15</ItemEntryDate> <ItemID>10020</ItemID> <ItemSalesSource>POS</ItemSalesSource> <ItemDescription>Hash Browns</ItemDescription> <UnitPrice>1.09</UnitPrice> <SoldCount>39</SoldCount> <WasteCount>0</WasteCount> <PromotionalCount>1</PromotionalCount> <SampledCount>0</SampledCount> <RefundCount>1</RefundCount> <--- </ProductMixDetailInfo> <ProductMixDetailInfo> <ItemEntryDate>2019-06-15</ItemEntryDate> <ItemID>10020</ItemID> <ItemSalesSource>POS</ItemSalesSource> <ItemDescription>Hash Browns</ItemDescription> <UnitPrice>0</UnitPrice> <SoldCount>273</SoldCount> <WasteCount>0</WasteCount> <PromotionalCount>1</PromotionalCount> <SampledCount>0</SampledCount> <RefundCount>1</RefundCount> <--- </ProductMixDetailInfo>
- In this case, it looks like a refund was performed against each instance of the item, when in fact only one refund was performed against the item
- Make a change to associate the refund to the instance of the item first in the group that has the highest UnitPrice, resulting in:
<ProductMixDetailInfo> <ItemEntryDate>2019-06-15</ItemEntryDate> <ItemID>10020</ItemID> <ItemSalesSource>POS</ItemSalesSource> <ItemDescription>Hash Browns</ItemDescription> <UnitPrice>1.09</UnitPrice> <SoldCount>39</SoldCount> <WasteCount>0</WasteCount> <PromotionalCount>1</PromotionalCount> <SampledCount>0</SampledCount> <RefundCount>1</RefundCount> <--- </ProductMixDetailInfo> <ProductMixDetailInfo> <ItemEntryDate>2019-06-15</ItemEntryDate> <ItemID>10020</ItemID> <ItemSalesSource>POS</ItemSalesSource> <ItemDescription>Hash Browns</ItemDescription> <UnitPrice>0</UnitPrice> <SoldCount>273</SoldCount> <WasteCount>0</WasteCount> <PromotionalCount>1</PromotionalCount> <SampledCount>0</SampledCount> <RefundCount>0</RefundCount> <--- </ProductMixDetailInfo>
- It is possible that the instance with the highest Unit Price is repeated, as below:
- Sample file, showing the duplicate condition that exists today ProductMix_01899_20190615 (3).xml
Acceptance Criteria
- Confirm when a refund count is included in the PMix, and there are multiple instances of an item, the RefundCount is only shown for the record that has the highest Unit Price, the other records should show a refund count of zero
- Confirm when a refund count is included in the PMix, and there are multiple instances of an item with the same Unit Price, the RefundCount is shown against the first record that has the highest Unit Price, the other records should show a refund count of zero
Confirm when a refund count is included in the PMix, and there are multiple instances of an item with the same Unit Price and same Sold Count, the RefundCount is only shown for the record that has the highest Unit Price and highest PromotionalCount, the other records should show a refund count of zero- Confirm when an item is included in the Pmix and it does not have an associated Refund, the records should show a refund count of zero
- implements
-
CFAMX-5952 Change PMIX Export to Send One Refund Count Value
- Closed
1.
|
Review Test Scripts | Done | Soma Dixon (Inactive) |
|
|||||||||
2.
|
Deploy | Done | Soma Dixon (Inactive) |
|
|||||||||
3.
|
Functional Review with QA | Done | Sree Surapaneni |
|
|||||||||
4.
|
DIT | Done | Sree Surapaneni |
|
|||||||||
5.
|
Rewrite the Refunds section to avoid duplicate data | Done | Sree Surapaneni |
|
|||||||||
6.
|
Create Test Cases | Done | Charles Wheeler |
|
|||||||||
7.
|
Deploy | Done | Soma Dixon (Inactive) |
|
|||||||||
8.
|
Execute Test Cases | Done | Charles Wheeler |
|