Order field mapping profile: Fix the View UI for Fund value % and Currency

Description

Overview: If an Order field mapping profile is created with a fund code section, the user sees $ next to the value, no matter which currency was selected, and whether % or currency was selected.

Current workaround: None

Steps to Reproduce:

  1. Log into FOLIO-snapshot-load as diku_admin

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

  3. Create and save the following field mapping profile

    • Name: Order field mapping: Check fund value type field

    • Incoming record type: MARC Bibliographic

    • FOLIO record type: Order

    • Purchase order status: "Pending"

    • Vendor: look up and assign GOBI

    • Title: 245$a

    • Acquisition method: Select any value from the dropdown list

    • Order format: Select "Physical resource" from the dropdown list

    • Receiving workflow: Select "Synchronized" from the dropdown list

    • Physical unit price: "20"

    • Quantity physical: "1"

    • Currency: Select "EUR" from the dropdown list

    • Fund distribution

      • Click "Add fund distribution"

      • Fund: Select "African History (AFRICAHIST)" from the dropdown list

      • Expense class: Select "Electronic (Elec)" from the dropdown list

      • Value: "100"

      • Type: %

  4. Once saved, view the fund Value field in the field mapping view screen (problem 1)

  5. Edit the field mapping profile and change the Fund distribution value type from % to currency

  6. Save the edited field mapping profile

  7. View the fund Value field in the View screen (problem 2)

Expected Results:

  • Problem 1: Should show "100"%

  • Problem 2: Should show "100"[euro sign]

Actual Results:

  • Problem 1: Shows "100"$

  • Problem 2: Shows "100"$

See attached video

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

2

Checklist

hide

TestRail: Results

Activity

Show:

Ann-Marie BreauxApril 3, 2023 at 5:18 AM

Hi and Looks good on Bugfest - thanks for fixing and for checking!

Maksym IshchenkoMarch 31, 2023 at 4:29 PM

Hello  

Ticket verified on bugfest env, all works as expected. Agreed with the to close this ticket.

Maksym IshchenkoMarch 31, 2023 at 10:19 AM

The fix has been deployed to the Orchid bugfest env, moving Jira to "in bugfix review".

Ann-Marie BreauxMarch 30, 2023 at 3:13 PM
Edited

Hi Looks good on Snapshot - thank you! Moving to Awaiting release

Maksym IshchenkoMarch 29, 2023 at 9:04 AM

Hello  

Ticket verified on snapshot env. Fund type is now displayed proper values in it. Moving ticket to "In review" column

Screencast:

cc:  

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Folijet

Fix versions

Release

Orchid (R1 2023) Bug Fix

RCA Group

Implementation coding issue

Affected releases

Orchid (R1 2023)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created March 7, 2023 at 4:39 PM
Updated July 18, 2023 at 11:31 AM
Resolved March 30, 2023 at 3:13 PM
TestRail: Cases
TestRail: Runs