Details
-
Story
-
Status: Closed (View Workflow)
-
P2
-
Resolution: Done
-
None
-
-
Folijet Sprint 106
-
3
-
Folijet
Description
Purpose: Current Inventory HRID settings allow for 11 numbers, which may or may not be preceded by alpha prefixes. Current standard is to always pad the number with leading zeroes. Some libraries want the option to remove leading zeroes from Inventory HRIDs. In some cases, they want to continue the numbering structure from their previous system. In other cases, if a library does not use HRID prefixes, there is a risk that leading zeroes will be stripped accidentally by other systems or processes.
As a staff person working with Inventory records
I want to have an option to retain or remove the leading zeroes for HRIDs
So that I can customize the settings as needed for my library's needs
Scenarios
- Scenario 1
- Given the Settings/Inventory/Instances, Holdings, Items/HRID handling
- When viewing the details
- Then remove the stray hyphens appearing above the "Start with" field of each record type
- Scenario 2
- Given the Settings/Inventory/Instances, Holdings, Items/HRID handling
- When viewing the details
- Add a checkbox as follows
- Text: Remove leading zeroes from HRID
- Default to unchecked
- Scenario 3 [this is the current, default behavior]
- Given the new checkbox
- When unchecked (default)
- Then Display the HRID "Start with" as an 11-digit number, with its leading zeroes
- And when assigning new HRIDs, assign them as 11-digit numbers, with leading zeroes. Include the specified prefix, if there is one.
- Scenario 4
- Given the new checkbox
- When checked
- Then Display the HRID "Start with" as a number with no leading zeroes (e.g. if the tenant wants to start with 1, the it would be displayed as 1 instead of 00000000001; if the library wants to start with 500,000, it would be displayed as 500000 instead of 00000500000)
- And when assigning new HRIDs, assign them as numbers without leading zeroes. Include the specified prefix, if there is one.
- Scenario 5
- Ensure this story passes Accessibility testing
- Scenario 6
- Ensure automated testing coverage for this new code is 80% plus and confirm with screenshot
See attached screenshot
NOTES
- This will not affect any HRIDs previously assigned to Inventory records. It will only affect records created after the settings are updated.
- MOD story needed for scenario 3-4's logic
- Any migration script needed? No
TestRail: Results
Attachments
Issue Links
- defines
-
UXPROD-2614 NFR: Data Import (Batch Importer for Bib Acq) & PubSub R1 2021 Technical, NFR, & Misc bug work
-
- Closed
-
- relates to
-
MODINVSTOR-661 Allow generation of HRID values with and without leading zeroes
-
- Closed
-
-
MODQM-75 Investigate | MARC Authority record | Implement sequence number generation mechanism for HRIDs
-
- Closed
-
-
UIQM-73 Create MARC Authority settings page for MARC Authority record HRID handling
-
- Draft
-