Details
-
Story
-
Status: Closed (View Workflow)
-
P3
-
Resolution: Done
-
None
-
-
ACQ Sprint 55, ACQ Sprint 56
-
5
-
Thunderjet
Description
Purpose: Need a record in inventory linked to orders to understand what we currently have on order. Item records will also be important to Receiving and Checkin functions.
High-Level Requirements:
- One Item Record needs to be created in inventory per unit of physical/electronic quantity identified in the order record (full details are in
MODORDERS-117). - Items need to be created within the Holding record that their unit of quantity has been associated with via the "Location" accordion on the PO Line.
This is a link to the document that maps order data fileds to item record data fields. https://docs.google.com/spreadsheets/d/1kdYx63J0KoqR3-LUHuPAzERgj8WE0OQ08rzuCaJaHWs/edit#gid=952741439 - Item records are created upon order transition to Open status
- the UUID of the po_line should be set in the purchaseOrderLineIdentifier field in the item record (refer to
MODINVSTOR-245for more details).
Data mapping between inventory (mod-inventory-storage) and acquisitions schemas based on following resources (to be used to create item in the inventory storage):
- Required Elements Inventory Beta - Metadata Elements
- Inventory Beta - Metadata Elements
- mod-inventory-storage - item.json
- Some clarification provided in
MODORDERS-69
Inventory schema property | Inventory property type | Value to be used |
---|---|---|
holdingsRecordId | string | Created or retrieved prior to item creation |
status | object with only one property name of "string" type without "enum" | "on order" based on row #48 from Inventory Beta - Metadata Elements |
materialTypeId | string Note: according to Resource_Format_MaterialType.xlsx complex object might be introduced at some point |
po_line.details.material_types which is array of the string id's. The first one will be used and the rest ignored |
permanentLoanTypeId | string | Loan types are available as reference-data: loan-types. This is required by the item.json schema (which contradicts to the information from Inventory Beta - Metadata Elements). The "Can circulate" loan type will be used |
purchaseOrderLineIdentifier |
string | po_line.id |
Acceptance Criteria:
- unit tests are updated (additional mocks required)
- api tests are updated (additional test assertions and cleanup required)
- item records are created as described above.
TestRail: Results
Attachments
Issue Links
- blocks
-
MODORDERS-117 Business Logic: e-Resources, 'Create Item' Flag
-
- Closed
-
- has to be done before
-
MODORDERS-100 Create Piece Records in Orders Storage for items quantity ordered on Order Placement
-
- Closed
-
-
MODORDERS-103 Implement receiving flow for physical-only
-
- Closed
-
-
MODORDERS-162 Implement receiving flow for E-only
-
- Closed
-
-
MODORDERS-163 Implement receiving flow for P/E mix
-
- Closed
-
-
MODORDERS-164 Implement receiving flow for Other
-
- Closed
-
- is blocked by
-
MODORDERS-66 Create Holding Record in inventory for titles ordered that are not currently represented in inventory by a Holding
-
- Closed
-
-
MODORDERS-69 Create Instance Record in inventory for items ordered that are not currently represented in inventory
-
- Closed
-
- is duplicated by
-
MODORDERS-68 Ability to create an Item Record in inventory for electronic items ordered not currently represented in inventory by an Item record
-
- Closed
-
- relates to
-
MODINVSTOR-245 Add PO line ID to Item schema for referencing PO Lines in Orders.
-
- Closed
-
-
MODORDERS-110 Cleanup inventory records when an order is Deleted
-
- Closed
-
-
MODORDSTOR-69 Need the ability to specify materialType for physical and eresource
-
- Closed
-
-
UIOR-120 Purchase Order Line - Material Type
-
- Closed
-
-
MODORDERS-149 Create Item Record in inventory - add PO Line identifier to item record
-
- Closed
-
-
UIIN-40 Integration with Acquisition system. Design and Analysis.
-
- Closed
-
-
UXPROD-686 Create Item Record in inventory for physical items ordered that are not currently represented in inventory by an Item
-
- Closed
-
-
UXPROD-765 Create New Purchase Order
-
- Closed
-
- requires
-
MODORDERS-121 Create Instance Record in inventory when Order status is changed to 'Open'
-
- Closed
-