-
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 2
-
SCRUM Team:Globogym Purple Cobras
-
Story Points:3
-
Work Type Classification:Sustaining
Note: A transaction can have multiple payment records i.e. Split payments
Refer to code: RadiantTransactionRecords.cs -> GetSalesTransactionRecord
case (int)TransactionDetailType.Tender: recordType = EnumUtils<SalesRecordType>.GetClassName(SalesRecordType.Financial); recordSubType = EnumUtils<FinancialRecordSubType>.GetClassName(FinancialRecordSubType.Payment); subTypeDescription = transactionDetail.description.Trim(); pLUCode = GetTenderPLUCode(transactionDetail); pollCount = (pollCount == 0 ? 1 * transaction.OrderSign() : pollCount); // check if change info is provided to decide either use unit price or extended price for tender amount. TransactionExportTransactionTranDetail nextTransactionDetail = GetNextTransactionDetail(transaction, transactionDetail); if (nextTransactionDetail != null && nextTransactionDetail.event_id == (int)TransactionDetailType.CashChange) { pollAmount = -transactionDetail.extended_price * transaction.OrderSign(); } else { pollAmount = -transactionDetail.unit_price * transaction.OrderSign(); }
Equivalent tbSalesMain records:
- implements
-
CFAMX-14120 CloudLink - MVP
-
- Open
-
1.
|
Review Test Scripts |
![]() |
Done | Unassigned |
|
||||||||
2.
|
Deploy |
![]() |
Done | Unassigned |
|
||||||||
3.
|
Functional Review with QA |
![]() |
Done | Unassigned |
|
||||||||
4.
|
DIT |
![]() |
Done | Unassigned |
|
||||||||
5.
|
Design Review |
![]() |
Done | Unassigned |
|
||||||||
6.
|
Update 'Transaction' object so we can get the payment types |
![]() |
Done | Sree Surapaneni |
|
||||||||
7.
|
Create the corresponding SalesMainDetail record for the payments/tenders |
![]() |
Done | Sree Surapaneni |
|
||||||||
8.
|
Create Test Cases |
![]() |
Done | Gareth Leibbrandt (Inactive) |
|
||||||||
9.
|
Execute Test Cases |
![]() |
Done | Gareth Leibbrandt (Inactive) |
|