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

CloudLink - Sales Transaction - Add Rounding 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

      Add Rounding Record (Financial)

      See: RadiantTransactionRecords.cs

      if (transaction.TranHeader.cash_rounded_total != 0)
                      {
                          // Add detail row for the rounded amount
                          salesRecord = new Sales(headerRecord); // clone the header record
                          salesRecord.RecordType = EnumUtils<SalesRecordType>.GetClassName(SalesRecordType.Financial);
                          salesRecord.RecordSubType = EnumUtils<FinancialRecordSubType>.GetClassName(FinancialRecordSubType.Rounding);
                          salesRecord.SubTypeDescription = salesRecord.RecordSubType;
                          salesRecord.PLUCode = salesRecord.RecordSubType;
                          salesRecord.PollCount = 1;
                          salesRecord.PollAmount = transaction.TranHeader.cash_rounded_total;
                          salesRecord.SequenceNo = 0;
                          salesList.AddSalesRecord(salesRecord);
                      }
      

        Attachments

        1. rounding_sm_2.PNG
          rounding_sm_2.PNG
          11 kB
        2. rounding_sm.PNG
          rounding_sm.PNG
          12 kB
        3. screenshot-1.png
          screenshot-1.png
          88 kB

          Issue Links

          There are no Sub-Tasks for this issue.

            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 - 8.5h Original Estimate - 8.5h
                  8.5h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 26h 50m
                  26h 50m

                    PagerDuty

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