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

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

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Priority: P3
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 11.0.0
    • Labels:
      None
    • Template:
    • Sprint:
      ACQ Sprint 89
    • Story Points:
      1
    • Development Team:
      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

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

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases