Order field mapping profile: Show the fund and code when default fund is selected

Description

NOTE: If separate Jiras needed to update the Create/Edit screen and the View screen, please clone this Jira and adjust the titles of both Jiras

Overview: For the Order field mapping profile's Fund field, when displaying the values in the dropdown list or in the field mapping field, the fund codes do not display - only the fund names. This applies to the Create/Edit screen and the View screen for the Order field mapping profile.

Current workaround: None (users will just need to be able to translate between the fund codes delivered in MARC records and the fund names in the mappings, but that is not a show-stopper)

Steps to Reproduce:

  1. Log into FOLIO-snapshot-load as diku_admin

  2. Go to Settings/Data import/Field mapping profiles

  3. Start to create a new field mapping profile

    • FOLIO record type: Order

    • In the POL Fund distribution section, click "Add fund distribution"

    • Click on the Accepted values for the "Fund ID" field

  4. View the list

  5. Select a value from the list

  6. View the data in the Fund ID field

Expected Results:

  • Dropdown list should show Fund name (fund code), e.g. African History (AFRICAHIST)

  • Mapping field should show "Fund name (fund code)", e.g. "African History (AFRICAHIST)"

  • NOTES:

    • Fund code is put in parentheses

    • Fund code follows the fund name

    • Fund name and (fund code) are separated by a space

Actual Results:

  • Dropdown list only shows Fund name, e.g. African History

  • Mapping field only show "Fund name", e.g. "African History"

When testing the field value (no actual import, just the field mapping UI), test with:

1. Only a fund selected from the list , e.g. "African History (AFRICAHIST)"
2. MARC mapping: else (fund selected from list), e.g. 981$a; else "African History (AFRICAHIST)"

Additional Information: See attached video

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

1

Checklist

hide

TestRail: Results

Activity

Show:

Ann-Marie Breaux February 13, 2023 at 8:17 AM

Hi Tested on Snapshot, and all looks good - thank you!

I created test https://foliotest.testrail.io/index.php?/cases/view/376975 that tests 4 versions of fund and expense class mappings. Once you review it, please set it to Critical path, and then this Jira can be closed. Thank you!

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Folijet

Fix versions

Release

Orchid (R1 2023)

RCA Group

Incomplete/missing requirements

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created February 2, 2023 at 8:25 AM
Updated February 24, 2023 at 12:16 PM
Resolved February 13, 2023 at 3:08 PM
TestRail: Cases
TestRail: Runs