...
Sequence number generation mechanism for authority local files
Intro
This page a result of the investigation of organizing Hrid generation for MARC authority records in data-import. A generator needs to follow the requirements listed below:
- supports a consistent sequence
- honors what the user enters in Starts with field via Settings > MARC authority > Authorities > HRID handling
- honors what the user enters in prefix field via Settings > quickMARC > Authorities > HRID handling
- honors the HRID character limit of 21 [10 character limit for prefix, followed by up to 11 digits]
Approach
There is a similar approach that works already in the mod-inventory-storage. It generates Hrid numbers for Instances, Holdings, and Item records, and can be configured from UI (Settings → Inventory → Hrid handling);
Select local authority file on the UI
...