Uploaded image for project: 'mod-orders'
  1. mod-orders
  2. MODORDERS-193

Sum total quantity on PO retrieval

    XMLWordPrintable

Details

    • Story
    • Status: Closed (View Workflow)
    • P3
    • Resolution: Done
    • None
    • 4.0.0
    • None
    • ACQ Sprint 59
    • 1
    • Thunderjet

    Description

      Overview:
      The ui-orders module displays a "total units" field which is the total sum of physical and electronic quantities across all associated poLines. This information should be calculated and returned from mod-orders when an order is retrieved.

      • purchaseOrder.totalItems = sum(poLines[].cost.physicalQuantity) + sum(poLines[].cost.electronicQuantity)
      • Calculated upon purchaseOrder retrieval
      • NOTE: the name of this field is somewhat misleading. Whether or not item records have been created in inventory is irrelevant in this context.

      See UIOR-141.

      Acceptance Criteria:

      • The calculation is performed as described above
      • Unit and API tests have been updated

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                siarhei_hrabko Siarhei Hrabko
                cmcnally Craig McNally
                Siarhei Hrabko Siarhei Hrabko
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases