-
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
-
There are no Sub-Tasks for this issue.