Add required field asterisks & validation action to Order field mapping profile

CSP Rejection Details

None

CSP Request Details

None

CSP Approved

None

Description

Purpose: To indicate required fields on the Order field mapping profile. Since the field mapping profile will always being creating Orders (not updating them), then some Order and Order line required fields can also be required in the field mapping profile. However some fields are only required in specific circumstances. For those, a separate story with an information icon and mouse-over test will be used (UIDATIMP-1266)

As a staff person working with Order field mapping profiles
I want to see which fields are required
So that I can ensure that they have a mapping or a default value, so that Order creation is less likely to fail

Scenarios

  1. Scenario 1

    • Given Settings/Data import/Field mapping profiles

    • When the FOLIO record type = Order

    • Then indicate the following fields are required by adding a red asterisk after the field label on the Create/Edit screen

      • Order fields

        • Vendor

        • Order type

      • Order line fields

        • Title

        • Acquisition method

        • Order format

        • Receiving workflow

        • Currency

  2. Scenario 2

    • Given the required fields on the Order field mapping profile Create/Edit screen

    • When a user creates or edits a profile without all required fields being filled with a mapping or default value

    • And presses the Save button

    • Then disallow the save, and place the cursor at the first required field that has not been filled in (the same behavior used when Profile name, Incoming record type, or FOLIO record type is not filled in)

  3. Scenario 3

    • Ensure automated testing coverage for this new code is 80% plus and confirm with screenshot

Environment

None

Potential Workaround

None

Attachments

1

defines

relates to

Checklist

hide

TestRail: Results

Activity

Show:

Ann-Marie BreauxNovember 28, 2022 at 7:33 AM

Hi and all looks good on Snapshot and TestRail. Closing this issue

Maksym IshchenkoNovember 24, 2022 at 1:41 PM

Hello  

Task verified on FOLIO Snapshot1. All required fields are present and user can't save profile without any required field. 

Screencast:

cc:  

Ann-Marie BreauxNovember 14, 2022 at 5:27 AM

Reminder for when testing this issue

  • Check the number fields to make sure they accept MARC mappings, and default numbers, and else

  • Check that the max POL default field shows a value

  • Check the true/false checkbox fields

    • Mapping of 970$a

    • Mapping of 970$a; else "true"

    • Mapping of 970$a; else 970$b; else "true"

    • Mapping of 970$a; else 970$b; else "false"

  • Add mapping details for FAT that will check all the fields (mapped value, default value, else logic)
     

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Folijet

Fix versions

Release

Orchid (R1 2023)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created September 21, 2022 at 8:34 AM
Updated March 15, 2023 at 6:23 AM
Resolved November 28, 2022 at 7:33 AM
TestRail: Cases
TestRail: Runs