Instance Statistical code and Nature of content do not import

Description

Overview: Statistical code and Nature of content field mapping are not working for the Instance. Statistical code is working for Holdings and Item

Current workaround: Manually add stat code and nature of content to imported instances (OK for a very small load, not workable for a large load)

Steps to Reproduce:

  1. Log into FOLIO-snapshot-load as diku_admin

  2. Go to Settings/Data Import

  3. Create a field mapping profile

    • Name: Test instance statistical code

    • Incoming record type: MARC Bib

    • Existing FOLIO record type: Instance

    • Catalog date: ###TODAY###

    • Statistical code

      • Action: Add these to existing

      • Pick 1 of the statistical codes from the dropdown menu

    • Nature of content

      • Action: Add these to existing

      • Pick 1 of the statistical codes from the dropdown menu

  4. Create an action profile

    • Name: Create instance with statistical code

    • Action: Create

    • FOLIO record type: Instance

    • Link the above field mapping profile to this action profile

  5. Create a job profile

    • Name: Test instance statistical code

    • Accepted record type: MARC Bib

    • No match

    • Action: Create instance with statistical code

  6. Go to Data Import and upload the attached MARC file (or any small MARC file)

  7. Select the "Create instance with stat code" job profile and import the file

  8. Once import is complete, go to Inventory and view one of the newly-created instances

Expected Results: Instance should have the stat code and nature of content that was selected in the field mapping profile

Actual Results: It doesn't. Note that this works fine for holdings and items, so I'm not sure what is different or wrong for instances.

Additional Information: The same issue reveals and with "Nature of content" field for Instance. See attached MARC file and video

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

2

Checklist

hide

TestRail: Results

Activity

Show:

Ann-Marie Breaux September 28, 2020 at 6:58 AM

Hi Tested on folio-snapshot-load, and all looks good, for both the statistical code and nature of content! Closing this ticket

Volodymyr Rohach September 24, 2020 at 5:08 PM

Hello everyone! It seems like there is the same issue with "Nature Of Content". So I will update the description of this issue and fix both of them.
CC:

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Folijet

Fix versions

Release

Q3 2020

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created August 25, 2020 at 4:47 AM
Updated March 28, 2022 at 7:57 AM
Resolved September 28, 2020 at 6:58 AM
TestRail: Cases
TestRail: Runs