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

CloudLink - Capture Transaction Discounts and Item Discounts within a Transaction

    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 4
    • SCRUM Team:
      Globogym Purple Cobras
    • Story Points:
      5
    • Work Type Classification:
      Sustaining

      Description

      We need to extract and then log any discounts that a transaction might contain.

      For ItemDiscounts we need to look at the "discounts" collection on the "orderline" contained in the "orderlines" collection.

      ItemDiscount can be identified by the eventId: 10108

      For "Transaction Discounts", we need to look at the "discounts" collection on the root of the Transaction

      TransactionDiscount can be identified by the eventId: 10104

      Once we identified this, we'll need to log a Financial type record, which then be either "TransactionDiscount" or "ItemDiscount".

      ItemDiscount will need to be linked to the Item (SequenceNo which leads to setting of the ParentId)

      Example of a Transaction with TransactionDiscount: 20210410008387220884-TransactionDiscount.json
      Example of a Transaction with ItemDiscount: 20210410008387220995-ItemDiscount.json

        Attachments

          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 - 22.5h Original Estimate - 22.5h
                  22.5h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40.25h
                  40.25h

                    PagerDuty

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