-
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
We need to add a Financial CheckSum record, based on the logic in RadiantTransactionRecords.cs, we'll need something like:
if (transaction.TranHeader.event_id != (short)TransactionType.OperatorStatus && transaction.TranHeader.event_id != (short)TransactionType.ClockIn && transaction.TranHeader.event_id != (short)TransactionType.ClockOut && transaction.TranHeader.event_id != (short)TransactionType.MealEnd && transaction.TranHeader.event_id != (short)TransactionType.MealStart && transaction.TranHeader.event_id != (short)TransactionType.BreakEnd && transaction.TranHeader.event_id != (short)TransactionType.BreakStart) { salesRecord = new Sales(headerRecord); // clone the header record salesRecord.RecordType = EnumUtils<SalesRecordType>.GetClassName(SalesRecordType.Financial); salesRecord.RecordSubType = EnumUtils<FinancialRecordSubType>.GetClassName(FinancialRecordSubType.Checksum); salesRecord.SubTypeDescription = salesRecord.RecordSubType; salesRecord.PLUCode = salesRecord.RecordSubType; salesRecord.PollCount = 1; salesRecord.PollAmount = transaction.TranHeader.debit_total; salesRecord.SequenceNo = 0; salesList.AddSalesRecord(salesRecord); }
- implements
-
CFAMX-14120 CloudLink - MVP
- Open
There are no Sub-Tasks for this issue.