Details
-
Story
-
Status: Closed (View Workflow)
-
P3
-
Resolution: Done
-
None
-
None
-
-
Concorde - Sprint 91
-
2
-
Concorde
Description
Purpose
FOLIO inventory storage instance contains fields that are represented by keys and those will need to be replaced by their values when generating MARC bib record on the fly.
This user story covers instanceFormatId – the value used to populate 337$a and 338 $a comes from the "name" field in instanceFormat Since this is an array in instance.json so if there are multiple elements each one will have a separate 337/8 $a field.
The data stored in the name field will need to be split at the "--" into two values. The first part should go into 337 $a and the second part into 338 $a. For example:
{ "id": "cb96199a-21fb-4f11-b003-99291d8c9752", "name": "microform -- microfilm roll", "code": "hj", "source": "rdacarrier", "metadata": { "createdDate": "2020-05-29T03:37:57.601+0000", "updatedDate": "2020-05-29T03:37:57.601+0000" } }
will generate:
337 $a microform
338 $a microfilm roll
In both fields both indicators are blank.
Acceptance criteria
- The generated record is short-lived and generated each time it is requested
- The record is saved in .mrc file and contains 337$a and 338$a field populated with the correct data. If multiple formats are present in the inventory instance record, then there are multiple 337 $a/ 338 $a entries
- Both indicators are set to blank
- Unit tests are written
- API tests are written
Note: For the MARC record indicator value check: https://docs.google.com/spreadsheets/d/11lGBiPoetHuC3u-onVVLN4Mj5KtVHqJaQe4RqCxgGzo/edit#gid=1410366280 "Concorde - Instance to MARC 2019" tab
TestRail: Results
Attachments
Issue Links
- defines
-
UXPROD-2459 Generating MARC bibliographic record from Inventory Instance - additional fields
-
- Closed
-