Details
-
Story
-
Status: Closed (View Workflow)
-
P3
-
Resolution: Done
-
None
-
Volaris Sprint 120
-
8
-
Volaris
Description
Purpose/Overview:
INN-Reach central servers attempt to match records based on one of three III-defined algorithms which rely on a number of fields in the contributed MARC Bib records. In most cases, these fields are standard and and may be dealt with as they exist in SRS in FOLIO. However, one field where the standard FOLIO handling may interfere with INN-Reach mapping is the MARC 001 field. In FOLIO, the standard behavior is to modify the 001 on import to be the Instance HRID and move the existing 001 to an 035 field with an (optionally) 003-indicated prefix and clear the 003 field. In many instances, it may be necessary to "reverse" this for records that are contributed to the INN-Reach central server.
Requirements/Scope:
- Provide an API endpoint that responds to GET requests
- When provided with an Inventory Instance ID and a central server configuration ID, retrieve the instance record
- Determine if the record has an associate SRS MARC record
- Skip records without underlying SRS MARC
- Return a message that indicates no underlying MARC available
- Retrieve underlying MARC record from SRS
- Retrieve transformation configuration settings from record contribution settings for the provided central server configuration ID (
MODINREACH-50) - Find relevant identifiers in the [index-]order specified in the retrieved configuration
- If the identifier value begins with a prefix value from the "ignore prefix" list for the identifier, discard the identifier
- Repeat step 7 until the first valid identifier or there are no more matching identifiers
- Update MARC 001 field to the first valid identifier value, stripping any alpha prefix (if indicated by match field options settings for the identifier type)
- Strip MARC fields or subfields indicated for exclusion in transformation configuration settings ("strip fields or subfields")
- Strip all 9xx MARC fields
- If no valid identifiers are found, leave the existing 001 value
- Return processed record in MARC21 format
- Logical permissions:
- Retrieve transformed record
Approach:
Acceptance criteria:
- AC: When provided with an Instance identifier for an Instance record with source=MARC, the backend can retrieve the record and its underlying MARC record from Inventory/SRS
- AC: If the match field configuration indicates, the backend is able to find the first valid configured instance identifier and place it in the MARC 001 field in place of the Instance HRID (or other value)
- AC: If no instance identifier meets the specified criteria, the original 001 value is left in place
- AC: All 9xx fields are removed from transformed MARC records
- AC: All MARC fields or subfields indicated for exclusion in the transformation configuration settings are excluded from the transformed MARC record
- AC: Backend returns MARC21 and resulting payload can be opened in an external MARC editor
TestRail: Results
Attachments
Issue Links
- defines
-
UXPROD-3218 Create Record Contribution of Inventory Records ("Bibs" and "Items") to INN-Reach Central Server | Kiwi R3 2021 | MVP - Initial contribution
-
- Closed
-
- is blocked by
-
MODINREACH-57 Spike: Record Contribution: Retrieve and Transform MARC-backed Inventory Instance for Contribution to Central Server
-
- Closed
-
- relates to
-
MODINREACH-279 Record contribution process fails when Modify MARC 001 field check-box is deactivated
-
- Closed
-
- mentioned in
-
Page Loading...