Uploaded image for project: 'CFA MX '
  1. CFA MX
  2. CFAMX-14666

CloudLink - Sales Transaction - Add Checksum Record (Financial)

    Details

    • 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

      Description

      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);
                      }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Gareth.Leibbrandt Gareth Leibbrandt (Inactive)
                Reporter:
                brent.jacobz Brent Jacobz (Inactive)
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 12.5h
                  12.5h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 8h 5m Time Not Required
                  8h 5m

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.