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

Find/Create instance/holding/item upon piece creation and update assoc. title record

    XMLWordPrintable

    Details

    • Template:
    • Sprint:
      ACQ Sprint 88, ACQ Sprint 89
    • Story Points:
      3
    • Development Team:
      Thunderjet

      Description

      Overview

      Currently, if you want a title to be linked to an instance in inventory you need to select a pre-existing instance. Ideally this should work the same way as the POLine logic. If you're creating a title and an instanceId isn't provided, honor the "createInventory" settings and find/create one using the information provided. This happens when creating the first piece for that title. The title record is then updated with the resulting instanceId (if applicable).

      This only applies to the "manually add pieces" flow. See UIREC-47

      Acceptance Criteria

      • instances/holdings/items are conditionally created upon piece creation and the associated title record is updated with the resulting instanceId
      • the related POL and settings for "createInventory" are honored
      • defaults from order settings (loanType, instanceType, etc.) are used when creating instances for new titles
      • unit tests are updated
      • api tests are updated

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                aliaksandr_pautau Aliaksandr Pautau
                Reporter:
                cmcnally Craig McNally
                Tester Assignee:
                Aliaksandr Pautau Aliaksandr Pautau
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases