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

Create holding when receiving a piece and location is changed

    XMLWordPrintable

Details

    • ACQ Sprint 84, ACQ Sprint 85
    • 3
    • Thunderjet

    Description

      Overview

      UIREC-48 introduces the ability to select any location when receiving a piece. Based on the "create inventory" order settings we need to ensure that a holding exists for that location. Existing holdings for this piece remain unchanged.

      Example

      Given:

      • createInventory: instance, holding, item
      • a piece exists with location: "main"
        • instance, holding and item already exist for this piece.

      When the user changes the location upon receiving to "annex"

      • a new holding is created for the "annex" location under the instance for this piece
      • the item for this piece is "moved" to this new holding
      • the "main" holding remains in place.

      Acceptance Criteria

      • holdings are created as needed when changing the location of a piece as it's being received
      • the createInventory settings are honored
      • existing holdings remain unchanged
      • unit tests are updated
      • api tests are updated

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Andrei_Makaranka Andrei Makaranka
                cmcnally Craig McNally
                Craig McNally Craig McNally
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases