-
Type:
Story
-
Status: Closed (View Workflow)
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:
-
Sprint:2021.R5 CloudLink Sprint 4
-
SCRUM Team:Globogym Purple Cobras
-
Story Points:5
-
Work Type Classification:Sustaining
We need to extract and then log any discounts that a transaction might contain.
For ItemDiscounts we need to look at the "discounts" collection on the "orderline" contained in the "orderlines" collection.
ItemDiscount can be identified by the eventId: 10108
For "Transaction Discounts", we need to look at the "discounts" collection on the root of the Transaction
TransactionDiscount can be identified by the eventId: 10104
Once we identified this, we'll need to log a Financial type record, which then be either "TransactionDiscount" or "ItemDiscount".
ItemDiscount will need to be linked to the Item (SequenceNo which leads to setting of the ParentId)
Example of a Transaction with TransactionDiscount: 20210410008387220884-TransactionDiscount.json
Example of a Transaction with ItemDiscount: 20210410008387220995-ItemDiscount.json
- implements
-
CFAMX-14120 CloudLink - MVP
-
- Open
-
1.
|
Review Test Scripts |
![]() |
Done | Unassigned |
|
||||||||
2.
|
Deploy |
![]() |
Done | Unassigned |
|
||||||||
3.
|
Functional Review with QA |
![]() |
Done | Francois Steenkamp (Inactive) |
|
||||||||
4.
|
DIT |
![]() |
Done | Francois Steenkamp (Inactive) |
|
||||||||
5.
|
Design Review |
![]() |
Done | Francois Steenkamp (Inactive) |
|
||||||||
6.
|
Capture Transaction Discount |
![]() |
Done | Francois Steenkamp (Inactive) |
|
||||||||
7.
|
Capture Item Discount |
![]() |
Done | Francois Steenkamp (Inactive) |
|
||||||||
8.
|
Create Test Cases |
![]() |
Done | Gareth Leibbrandt (Inactive) |
|
||||||||
9.
|
Execute test cases |
![]() |
Done | Gareth Leibbrandt (Inactive) |
|