Uploaded image for project: 'mod-orders-storage'
  1. mod-orders-storage
  2. MODORDSTOR-151

Support "title" and "package" order lines with packagePoLIne

    XMLWordPrintable

Details

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

    Description

      Overview

      There's a new requirement that we support the ability for a poLine to represent a single title, that's part of a package represented by another POL. So something like:

      1000-1 - package
      1000-2 - title that's part of the 1000-1 package
      1000-3 - title that's part of the 1000-1 package

      MODORDSTOR-136 adds the fields needed to do this to the poLine and title schemas. This story follows that by updating the related business logic.

      Approach

      upon title creation:

      if(thePOL.packagPoLineId != null) { // We have a link to a packagePOL
          packagePOL = getPOL(thePOL.packagePoLineId)
          title.packageName = packagePOL.titleOrPackage
      }
      

      Also within scope of this story: Upon title creation copy over information from POL -> Title for new fields added in MODORDSTOR-136 (poLineNumber, receivingNote, expectedReceiptDate)

      Acceptance Criteria

      • Business logic is updated as described above
      • unit tests are updated

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Andrei_Makaranka Andrei Makaranka
                yauheni_kuzmianok Yauheni Kuzmianok
                Andrei Makaranka Andrei Makaranka
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases