From 61e7784491ea7ed115220f77ef4369c39437973c Mon Sep 17 00:00:00 2001 From: Andrew Nugged Date: Sun, 28 Aug 2022 02:23:05 +0300 Subject: [PATCH] Bug 20447: MARC Holdings support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Enable by setting "SummaryHoldings" option to "Use". Smaller notes to task parts (batch rebuild script): --- Includes misc/batchRebuildHoldingsTables.pl: a batch rebuild script for holdings table which can be used to update the columns in the holdings table from the MARC record using the rules in the framework. In practice this will only be required if the koha link field is changed in the framework. --- End of smaller notes Sponsored-by: The National Library of Finland Co-authored-by: Joonas Kylmälä Co-authored-by: Andrew Nugged Signed-off-by: Martin Renvoize Signed-off-by: Nick Clemens --- C4/Biblio.pm | 60 +- C4/ImportBatch.pm | 28 +- C4/Items.pm | 11 +- C4/Search.pm | 10 + C4/XSLT.pm | 52 +- Koha/Acquisition/Order.pm | 4 + Koha/Biblio.pm | 54 + Koha/Exporter/Record.pm | 2 + Koha/Holding.pm | 450 + Koha/Holdings.pm | 148 + Koha/Holdings/Metadata.pm | 99 + Koha/Holdings/Metadatas.pm | 58 + Koha/Item.pm | 48 + Koha/OAI/Server/ListBase.pm | 7 +- Koha/OAI/Server/Repository.pm | 1 + Koha/Objects.pm | 18 + Koha/Schema/Result/Biblio.pm | 15 + Koha/Schema/Result/Branch.pm | 15 + Koha/Schema/Result/Deleteditem.pm | 13 +- Koha/Schema/Result/Holding.pm | 262 + Koha/Schema/Result/HoldingsMetadata.pm | 140 + Koha/Schema/Result/Item.pm | 30 + Koha/Template/Plugin/Holdings.pm | 116 + Koha/UI/Form/Builder/Item.pm | 37 + acqui/basket.pl | 7 +- admin/marc_subfields_structure.pl | 5 + api/v1/swagger/definitions/item.yaml | 5 + catalogue/detail.pl | 7 + catalogue/showmarc.pl | 8 +- cataloguing/addholding.pl | 706 ++ cataloguing/additem.pl | 3 + cataloguing/merge.pl | 4 +- .../marc21_field_008_holdings.pl | 114 + .../value_builder/marc21_leader_holdings.pl | 80 + .../bug_20447-add_holdings_tables.perl | 690 ++ .../mandatory/marc21_framework_DEFAULT.yml | 10050 +++++++++++++++- installer/data/mysql/kohastructure.sql | 56 +- .../data/mysql/mandatory/auth_val_cat.sql | 1 + installer/data/mysql/mandatory/sysprefs.sql | 1 + .../intranet-tmpl/prog/css/addholding.css | 398 + .../prog/en/includes/cat-toolbar.inc | 4 + .../prog/en/modules/acqui/basket.tt | 4 + .../prog/en/modules/acqui/neworderempty.tt | 4 + .../prog/en/modules/admin/biblio_framework.tt | 3 +- .../admin/preferences/cataloguing.pref | 7 + .../prog/en/modules/catalogue/detail.tt | 74 +- .../prog/en/modules/catalogue/moredetail.tt | 2 + .../prog/en/modules/catalogue/results.tt | 14 + .../prog/en/modules/cataloguing/addholding.tt | 877 ++ .../marc21_field_008_holdings.tt | 194 + .../value_builder/marc21_leader_holdings.tt | 105 + .../prog/en/modules/tools/viewlog.tt | 2 + koha-tmpl/intranet-tmpl/prog/js/additem.js | 3 + .../bootstrap/en/modules/opac-detail.tt | 28 + .../en/xslt/MARC21slim2OPACResults.xsl | 21 +- misc/batchRebuildHoldingsTables.pl | 65 + t/db_dependent/FrameworkPlugin.t | 3 +- t/db_dependent/Koha/Biblio.t | 24 +- t/db_dependent/Koha/Holding.t | 224 + t/db_dependent/Koha/Holdings.t | 113 + t/db_dependent/Koha/Item.t | 24 +- t/db_dependent/Koha/SearchEngine/Indexer.t | 19 +- t/lib/TestBuilder.pm | 26 +- tools/stage-marc-import.pl | 2 +- 64 files changed, 15579 insertions(+), 76 deletions(-) create mode 100644 Koha/Holding.pm create mode 100644 Koha/Holdings.pm create mode 100644 Koha/Holdings/Metadata.pm create mode 100644 Koha/Holdings/Metadatas.pm create mode 100644 Koha/Schema/Result/Holding.pm create mode 100644 Koha/Schema/Result/HoldingsMetadata.pm create mode 100644 Koha/Template/Plugin/Holdings.pm create mode 100755 cataloguing/addholding.pl create mode 100755 cataloguing/value_builder/marc21_field_008_holdings.pl create mode 100755 cataloguing/value_builder/marc21_leader_holdings.pl create mode 100644 installer/data/mysql/atomicupdate/bug_20447-add_holdings_tables.perl create mode 100644 koha-tmpl/intranet-tmpl/prog/css/addholding.css create mode 100644 koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addholding.tt create mode 100644 koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_008_holdings.tt create mode 100644 koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_leader_holdings.tt create mode 100755 misc/batchRebuildHoldingsTables.pl create mode 100755 t/db_dependent/Koha/Holding.t create mode 100755 t/db_dependent/Koha/Holdings.t diff --git a/C4/Biblio.pm b/C4/Biblio.pm index d1c5d76cee..17da27a092 100644 --- a/C4/Biblio.pm +++ b/C4/Biblio.pm @@ -108,6 +108,7 @@ use Koha::Authority::Types; use Koha::Acquisition::Currencies; use Koha::BackgroundJob::BatchUpdateBiblioHoldsQueue; use Koha::Biblio::Metadatas; +use Koha::Holdings; use Koha::Holds; use Koha::ItemTypes; use Koha::MarcOverlayRules; @@ -508,6 +509,25 @@ sub DelBiblio { $error .= "This Biblio has items attached, please delete them first before deleting this biblio "; } + # Check for attached holdings records + my $holdings = $biblio->holdings; + if ($holdings->count > 0) { + if (C4::Context->preference('SummaryHoldings')) { + # Fix this to use a status the template can understand + $error .= "This Biblio has holdings records attached, please delete them first before deleting this biblio "; + } + else { + # Summary holdings disabled, so just delete any existing holdings records. Use + # holdings record's delete method to mark the records deleted. Note that as long + # as biblios are deleted from the biblio table, the foreign key will cause the + # holdings records to be deleted as well, but this will allow things to work + # better in the future when biblios are no longer moved to another table. + while (my $holding = $holdings->next) { + $holding->delete; + } + } + } + return $error if $error; # We delete any existing holds @@ -1485,6 +1505,23 @@ sub GetAuthorisedValueDesc { return $source ? $source->{description} : q||; } + #---- holdings + if ( $tagslib->{$tag}->{$subfield}->{'authorised_value'} eq "holdings" ) { + my $holding = Koha::Holdings->find( $value ); + if ( $holding ) { + my @parts; + + push @parts, $value; + push @parts, $holding->holdingbranch() if $holding->holdingbranch(); + push @parts, $holding->location() if $holding->location(); + push @parts, $holding->ccode() if $holding->ccode(); + push @parts, $holding->callnumber() if $holding->callnumber(); + + return join(' ', @parts); + } + return q||; + } + #---- "true" authorized value $category = $tagslib->{$tag}->{$subfield}->{'authorised_value'}; } @@ -2487,14 +2524,15 @@ sub ModZebra { =head2 EmbedItemsInMarcBiblio EmbedItemsInMarcBiblio({ - marc_record => $marc, - biblionumber => $biblionumber, - item_numbers => $itemnumbers, - opac => $opac }); + marc_record => $marc, + biblionumber => $biblionumber, + item_numbers => $itemnumbers, + opac => $opac, + skip_holdings => 1 }); Given a MARC::Record object containing a bib record, modify it to include the items attached to it as 9XX -per the bib's MARC framework. +per the bib's MARC framework and any holdings location information. if $itemnumbers is defined, only specified itemnumbers are embedded. If $opac is true, then opac-relevant suppressions are included. @@ -2502,11 +2540,15 @@ If $opac is true, then opac-relevant suppressions are included. If opac filtering will be done, borcat should be passed to properly override if necessary. +If $skip_holdings is set, it overrides the default of embedding basic +location information from holdings records if summary holdings are +enabled. + =cut sub EmbedItemsInMarcBiblio { my ($params) = @_; - my ($marc, $biblionumber, $itemnumbers, $opac, $borcat); + my ($marc, $biblionumber, $itemnumbers, $opac, $borcat, $skip_holdings); $marc = $params->{marc_record}; if ( !$marc ) { carp 'EmbedItemsInMarcBiblio: No MARC record passed'; @@ -2516,9 +2558,15 @@ sub EmbedItemsInMarcBiblio { $itemnumbers = $params->{item_numbers}; $opac = $params->{opac}; $borcat = $params->{borcat} // q{}; + $skip_holdings = $params->{skip_holdings} // 0; $itemnumbers = [] unless defined $itemnumbers; + if ( !$skip_holdings && C4::Context->preference('SummaryHoldings') && !@$itemnumbers ) { + my $holdings_fields = Koha::Holdings->get_embeddable_marc_fields({ biblionumber => $biblionumber }); + $marc->append_fields(@$holdings_fields) if ( @$holdings_fields ); + } + my $frameworkcode = GetFrameworkCode($biblionumber); _strip_item_fields($marc, $frameworkcode); diff --git a/C4/ImportBatch.pm b/C4/ImportBatch.pm index 31fed5ef00..b87c6c015d 100644 --- a/C4/ImportBatch.pm +++ b/C4/ImportBatch.pm @@ -1537,13 +1537,24 @@ sub RecordsFromISO2709File { open my $fh, '<', $input_file or die "$0: cannot open input file $input_file: $!\n"; my @marc_records; + my $count = 0; $/ = "\035"; while (<$fh>) { s/^\s+//; s/\s+$//; next unless $_; # skip if record has only whitespace, as might occur # if file includes newlines between each MARC record + ++$count; my ($marc_record, $charset_guessed, $char_errors) = MarcToUTF8Record($_, $marc_type, $encoding); + # Ignore holdings records + if ($record_type eq 'biblio' && $marc_type eq 'MARC21') { + my $leader = $marc_record->leader(); + if ($leader =~ /^.{6}[uvxy]/) { + push @errors, "Ignoring record $count (holdings record)"; + next; + } + } + push @marc_records, $marc_record; if ($charset_guessed ne $encoding) { push @errors, @@ -1568,15 +1579,28 @@ Returns two array refs. =cut sub RecordsFromMARCXMLFile { - my ( $filename, $encoding ) = @_; + my ( $filename, $record_type, $encoding ) = @_; + + my $marcflavour = C4::Context->preference('marcflavour'); my $batch = MARC::File::XML->in( $filename ); my ( @marcRecords, @errors, $record ); + my $count = 0; do { + ++$count; eval { $record = $batch->next( $encoding ); }; if ($@) { push @errors, $@; } - push @marcRecords, $record if $record; + # Ignore holdings records + my $valid = 1; + if ($record && $record_type eq 'biblio' && $marcflavour eq 'MARC21') { + my $leader = $record->leader(); + if ($leader =~ /^.{6}[uvxy]/) { + push @errors, "Ignoring record $count (holdings record)"; + $valid = 0; + } + } + push @marcRecords, $record if $record && $valid; } while( $record ); return (\@errors, \@marcRecords); } diff --git a/C4/Items.pm b/C4/Items.pm index 9808fadd1f..49a3ba2c99 100644 --- a/C4/Items.pm +++ b/C4/Items.pm @@ -65,6 +65,7 @@ use Koha::DateUtils qw( dt_from_string output_pref ); use Koha::Database; use Koha::Biblioitems; +use Koha::Holdings; use Koha::Items; use Koha::ItemTypes; use Koha::SearchEngine; @@ -1767,9 +1768,15 @@ sub PrepareItemrecordDisplay { } $defaultvalue = $default_source; - - #---- "true" authorised value + } elsif ( $subfield->{authorised_value} eq "holdings" && $bibnum ) { + push @authorised_values, "" unless ( $subfield->{mandatory} ); + my $holdings = Koha::Holdings->search({ biblionumber => $bibnum, deleted_on => undef }, { order_by => ['holdingbranch'] }); + while (my $holding = $holdings->next()) { + push @authorised_values, $holding->holding_id; + $authorised_lib{$holding->holding_id} = $holding->holding_id . ' ' . $holding->holdingbranch . ' ' . $holding->location . ' ' . $holding->ccode . ' ' . $holding->callnumber; + } } else { + #---- "true" authorised value $authorised_values_sth->execute( $subfield->{authorised_value}, $branch_limit ? $branch_limit : () diff --git a/C4/Search.pm b/C4/Search.pm index 3ed70a791b..a55c888ed2 100644 --- a/C4/Search.pm +++ b/C4/Search.pm @@ -27,6 +27,7 @@ use C4::XSLT qw( XSLTParse4Display ); use C4::Reserves qw( GetReserveStatus ); use C4::Charset qw( SetUTF8Flag ); use Koha::AuthorisedValues; +use Koha::Holdings; use Koha::ItemTypes; use Koha::Libraries; use Koha::Logger; @@ -1791,6 +1792,7 @@ sub searchResults { my $maxitems_pref = C4::Context->preference('maxItemsinSearchResults'); my $maxitems = $maxitems_pref ? $maxitems_pref - 1 : 1; my @hiddenitems; # hidden itemnumbers based on OpacHiddenItems syspref + my $summary_holdings; # loop through every item foreach my $field (@fields) { @@ -1974,6 +1976,13 @@ sub searchResults { push @available_items_loop, $available_items->{$key} } + # Fetch summary holdings + if (C4::Context->preference('SummaryHoldings')) { + # Fetch Koha::Holdings directly to avoid having to fetch the Koha::Biblio object just for this. + # TODO: Make this use Koha::Biblio->holdings if the Biblio object gets used here also for other purposes + $summary_holdings = Koha::Holdings->search({ biblionumber => $oldbiblio->{biblionumber}, deleted_on => undef }); + } + # XSLT processing of some stuff # we fetched the sysprefs already before the loop through all retrieved record! if (!$scan) { @@ -2031,6 +2040,7 @@ sub searchResults { $oldbiblio->{recalledcount} = $item_recalled_count; $oldbiblio->{orderedcount} = $ordered_count; $oldbiblio->{notforloancount} = $notforloan_count; + $oldbiblio->{summary_holdings} = $summary_holdings; if (C4::Context->preference("AlternateHoldingsField") && $items_count == 0) { my $fieldspec = C4::Context->preference("AlternateHoldingsField"); diff --git a/C4/XSLT.pm b/C4/XSLT.pm index 0fb7be0d6c..d96dedb923 100644 --- a/C4/XSLT.pm +++ b/C4/XSLT.pm @@ -31,6 +31,7 @@ use Koha::ItemTypes; use Koha::XSLT::Base; use Koha::Libraries; use Koha::Recalls; +use Koha::Holdings; my $engine; #XSLT Handler object my %authval_per_framework; @@ -157,6 +158,12 @@ sub _get_best_default_xslt_filename { return $xslfilename; } +=head2 get_xslt_sysprefs + +Returns XML for system preferences. + +=cut + sub get_xslt_sysprefs { my $sysxml = "\n"; foreach my $syspref ( qw/ hidelostitems OPACURLOpenInNewWindow @@ -260,10 +267,14 @@ sub XSLTParse4Display { # grab the XML, run it through our stylesheet, push it out to the browser my $record = transformMARCXML4XSLT($biblionumber, $orig_record); my $itemsxml; + my $holdingsxml; if ( $xslsyspref eq "OPACXSLTDetailsDisplay" || $xslsyspref eq "XSLTDetailsDisplay" || $xslsyspref eq "XSLTResultsDisplay" ) { - $itemsxml = ""; #We don't use XSLT for items display on these pages + # We don't use XSLT for items or holdings display on these pages + $itemsxml = ""; + $holdingsxml = ""; } else { $itemsxml = buildKohaItemsNamespace($biblionumber, $hidden_items, $items_rs); + $holdingsxml = buildKohaHoldingsNamespace($biblionumber); } my $xmlrecord = $record->as_xml(C4::Context->preference('marcflavour')); @@ -293,7 +304,7 @@ sub XSLTParse4Display { $varxml .= "\n"; my $sysxml = get_xslt_sysprefs(); - $xmlrecord =~ s/\<\/record\>/$itemsxml$sysxml$varxml\<\/record\>/; + $xmlrecord =~ s/\<\/record\>/$itemsxml$holdingsxml$sysxml$varxml\<\/record\>/; if ($fixamps) { # We need to correct the ampersand entities that Zebra outputs $xmlrecord =~ s/\&amp;/\&/g; $xmlrecord =~ s/\&\;lt\;/\<\;/g; @@ -435,6 +446,43 @@ sub buildKohaItemsNamespace { return $xml; } +=head2 buildKohaHoldingsNamespace + +Returns XML for holdings records. +Is only used in this module currently. + +=cut + +sub buildKohaHoldingsNamespace { + my ($biblionumber) = @_; + + my $holdings = Koha::Holdings->search({ biblionumber => $biblionumber, deleted_on => undef }); + + my $shelflocations = + { map { $_->{authorised_value} => $_->{opac_description} } Koha::AuthorisedValues->get_descriptions_by_koha_field( { frameworkcode => 'HLD', kohafield => 'holdings.location' } ) }; + + my %branches = map { $_->branchcode => $_->branchname } Koha::Libraries->search({}, { order_by => 'branchname' })->as_list(); + + my $location = ""; + my $ccode = ""; + my $xml = ''; + while (my $holding = $holdings->next()) { + my $holdingbranch = $holding->holdingbranch ? C4::Koha::xml_escape($branches{$holding->holdingbranch}) : ''; + my $location = $holding->location ? C4::Koha::xml_escape($shelflocations->{$holding->location} || $holding->location) : ''; + my $callnumber = C4::Koha::xml_escape($holding->callnumber); + my $suppress = C4::Koha::xml_escape($holding->suppress || '0'); + $xml .= + "" + . "$holdingbranch" + . "$location" + . "$callnumber" + . "$suppress" + . ""; + } + $xml = "$xml"; + return $xml; +} + =head2 engine Returns reference to XSLT handler object. diff --git a/Koha/Acquisition/Order.pm b/Koha/Acquisition/Order.pm index 214d7fe69c..0ff19bd90d 100644 --- a/Koha/Acquisition/Order.pm +++ b/Koha/Acquisition/Order.pm @@ -146,6 +146,7 @@ sub cancel { )->count == 0 and $biblio->subscriptions->count == 0 and $biblio->items->count == 0 + and (!C4::Context->preference('SummaryHoldings') or $biblio->holdings->count == 0) ) { @@ -169,6 +170,9 @@ sub cancel { elsif ( $biblio->subscriptions->count > 0 ) { $message = 'error_delbiblio_subscriptions'; } + elsif ( C4::Context->preference('SummaryHoldings') && $biblio->holdings->count > 0 ) { + $message = 'error_delbiblio_holdings'; + } else { # $biblio->items->count > 0 $message = 'error_delbiblio_items'; } diff --git a/Koha/Biblio.pm b/Koha/Biblio.pm index 1fc0a57c26..cd7040314f 100644 --- a/Koha/Biblio.pm +++ b/Koha/Biblio.pm @@ -36,6 +36,7 @@ use Koha::Biblio::Metadatas; use Koha::Biblioitems; use Koha::Checkouts; use Koha::CirculationRules; +use Koha::Holdings; use Koha::Item::Transfer::Limits; use Koha::Items; use Koha::Libraries; @@ -625,6 +626,22 @@ sub subscriptions { return $self->{_subscriptions}; } +=head3 holdings + +my $holdings = $self->holdings + +Returns the related (non-deleted) Koha::Holdings objects. + +=cut + +sub holdings { + my ($self) = @_; + + $self->{_holdings} ||= Koha::Holdings->search({ biblionumber => $self->biblionumber(), deleted_on => undef }); + + return $self->{_holdings}; +} + =head3 has_items_waiting_or_intransit my $itemsWaitingOrInTransit = $biblio->has_items_waiting_or_intransit @@ -1290,6 +1307,43 @@ sub can_be_recalled { return @items; } +=head3 adopt_holdings_from_biblio + +$biblio->adopt_holdings_from_biblio($from_biblio); + +Move holdings and item records from the given biblio to this one. + +=cut + +sub adopt_holdings_from_biblio { + my ( $self, $from_biblio ) = @_; + + my $schema = Koha::Database->new()->schema(); + + $schema->storage->txn_begin; + + # Move holdings records. This will also move any items attached to the holdings. + my $holdings = $from_biblio->holdings; + while (my $holding = $holdings->next()) { + $holding->move_to_biblio($self, { skip_record_index => 1 }); + } + # Move any items not already moved. + my $items = $from_biblio->items; + if ($items) { + while (my $item = $items->next()) { + $item->move_to_biblio($self, { skip_record_index => 1 }); + } + } + if ($items || $holdings) { + my $indexer = Koha::SearchEngine::Indexer->new({ index => $Koha::SearchEngine::BIBLIOS_INDEX }); + $indexer->index_records( $self->biblionumber, "specialUpdate", "biblioserver" ); + $indexer->index_records( $from_biblio->biblionumber, "specialUpdate", "biblioserver" ); + } + + $schema->storage->txn_commit; +} + + =head2 Internal methods =head3 type diff --git a/Koha/Exporter/Record.pm b/Koha/Exporter/Record.pm index 05cfe3e2a7..2135f2e7f8 100644 --- a/Koha/Exporter/Record.pm +++ b/Koha/Exporter/Record.pm @@ -11,6 +11,8 @@ use Koha::CsvProfiles; use Koha::Logger; use List::Util qw( all any ); +use Koha::Holdings; + sub _get_record_for_export { my ($params) = @_; my $record_type = $params->{record_type}; diff --git a/Koha/Holding.pm b/Koha/Holding.pm new file mode 100644 index 0000000000..b497c871ce --- /dev/null +++ b/Koha/Holding.pm @@ -0,0 +1,450 @@ +package Koha::Holding; + +# Copyright ByWater Solutions 2014 +# Copyright 2017-2020 University of Helsinki (The National Library Of Finland) +# +# This file is part of Koha. +# +# Koha is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# Koha is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Koha; if not, see . + +use Modern::Perl; + +use Carp; + +use C4::Charset qw( SetUTF8Flag ); +use C4::Log qw( logaction ); + +use Koha::Biblio; +use Koha::Database; +use Koha::DateUtils qw(dt_from_string); +use Koha::Holdings::Metadatas; +use Koha::Items; + +use base qw(Koha::Object); + +=head1 NAME + +Koha::Holding - Koha Holding Object class + +=head1 API + +=head2 Class Methods + +=cut + +=head3 biblio + + my $biblio = $holding->biblio(); + +Returns the holding biblio for this record. + +=cut + +sub biblio { + my ($self) = @_; + + my $biblio = $self->_result->biblionumber(); + return unless $biblio; + return Koha::Biblio->_new_from_dbic($biblio); +} + +=head3 holding_branch + +my $branch = $hold->holding_branch(); + +Returns the holding branch for this record. + +=cut + +sub holding_branch { + my ($self) = @_; + + my $branch = $self->_result->holdingbranch(); + return unless $branch; + return Koha::Library->_new_from_dbic($branch); +} + +=head3 metadata + +my $metadata = $holding->metadata(); + +Returns a Koha::Holding::Metadata object + +=cut + +sub metadata { + my ($self) = @_; + + my $metadata = $self->_result()->metadata(); + return unless $metadata; + return Koha::Holdings::Metadata->_new_from_dbic($metadata); +} + +=head3 set_marc + +$holding->set_marc({ record => $record }); + +Updates the MARC format metadata from a Marc::Record. +Does not store the results in the database. + +If passed an undefined record will log the error. + +Returns $self + +=cut + +sub set_marc { + my ($self, $params) = @_; + + if (!defined $params->{record}) { + carp('set_marc called with undefined record'); + return $self; + } + + # Clone record as it gets modified + my $record = $params->{record}->clone(); + SetUTF8Flag($record); + my $encoding = C4::Context->preference('marcflavour'); + if ($encoding eq 'MARC21' || $encoding eq 'UNIMARC') { + # YY MM DD HH MM SS (update year and month) + my @a = (localtime) [5,4,3,2,1,0]; $a[0] += 1900; $a[1]++; + my $f005 = $record->field('005'); + $f005->update(sprintf('%4d%02d%02d%02d%02d%04.1f', @a)) if $f005; + } + + $self->{_marcxml} = $record->as_xml_record($encoding); + my $fields = $self->marc_to_koha_fields({ record => $record }); + delete $fields->{holding_id}; + # Filter the columns since we have e.g. public_note that's not stored in the database + my $columns = [$self->_result()->result_source()->columns()]; + my $db_fields = {}; + foreach my $key (keys %{$fields}) { + if (grep {/^$key$/} @{$columns}) { + $db_fields->{$key} = $fields->{$key}; + } + } + $self->set($db_fields); + + return $self; +} + +=head3 items + +my $items = $holding->items(); + +Returns the related Koha::Items object for this record. + +=cut + +sub items { + my ($self) = @_; + + my $items_rs = $self->_result->items; + return Koha::Items->_new_from_dbic($items_rs); +} + +=head3 store + + $holding->store([$params]); + +Saves the holdings record. + +$params can take an optional 'skip_record_index' parameter. +If set, the reindexing process will not happen (index_records is not called). +This is useful for batch processes where the biblio record is reindexed at the end. + +Returns: + $self if the store was a success + undef if the store failed + +=cut + +sub store { + my ($self, $params) = @_; + + $params //= {}; + + my $action = $self->holding_id() ? 'MODIFY' : 'ADD'; + + $self->datecreated(dt_from_string('', 'sql')) unless $self->datecreated(); + + my $schema = Koha::Database->new()->schema(); + # Use a transaction only if AutoCommit is enabled - otherwise handled outside of this sub + my $guard = C4::Context->dbh->{AutoCommit} ? $schema->txn_scope_guard() : undef; + + my $result = $self->SUPER::store(); + + return unless $result; + + # Create or update the metadata record + my $marcflavour = C4::Context->preference('marcflavour'); + my $marc_record = $self->{_marcxml} + ? MARC::Record::new_from_xml($self->{_marcxml}, 'utf-8', $marcflavour) + : $self->metadata()->record(); + my $old_marc = $marc_record->as_formatted; + + $self->_update_marc_ids($marc_record); + + my $metadata = { + holding_id => $self->holding_id(), + format => 'marcxml', + schema => $marcflavour, + metadata => $marc_record->as_xml_record($marcflavour), + }; + Koha::Holdings::Metadatas->update_or_create($metadata); + $guard->commit() if defined $guard; + + # request that bib be reindexed so that any holdings-derived fields are updated + unless ( $params->{skip_record_index} ) { + my $indexer = Koha::SearchEngine::Indexer->new({ index => $Koha::SearchEngine::BIBLIOS_INDEX }); + $indexer->index_records( $self->biblionumber, "specialUpdate", "biblioserver" ); + } + + if (C4::Context->preference('CataloguingLog')) { + logaction('CATALOGUING', $action, $self->holding_id(), $action eq 'ADD' ? 'holding' : "holding BEFORE=>$old_marc"); + } + + return $self; +} + +=head3 delete + + $holding->delete(); + +Marks the holdings record deleted. + +Returns: + 1 if the deletion was a success + 0 if the deletion failed + -1 if the object was never in storage + +=cut + +sub delete { + my ($self) = @_; + + return -1 unless $self->_result()->in_storage(); + + if ($self->items()->count()) { + return 0; + } + + my $schema = Koha::Database->new()->schema(); + # Use a transaction only if AutoCommit is enabled - otherwise handled outside of this sub + my $guard = C4::Context->dbh->{AutoCommit} ? $schema->txn_scope_guard() : undef; + + my $now = dt_from_string('', 'sql'); + $self->deleted_on($now)->store(); + Koha::Holdings::Metadatas->find({ holding_id => $self->holding_id() })->update({ deleted_on => $now }); + + $guard->commit() if defined $guard; + + logaction('CATALOGUING', 'DELETE', $self->holding_id(), 'holding') if C4::Context->preference('CataloguingLog'); + + return 1; +} + +=head3 move_to_biblio + + $holding->move_to_biblio($to_biblio[, $params]); + +Move the holdings record and any of its related records to another biblio. + +The final optional parameter, C<$params>, is expected to contain the +'skip_record_index' key, which is relayed down to Koha::Holding->store. +There it prevents calling index_records, which takes most of the +time in batch adds/deletes. The caller must take care of calling +index_records separately. + +$params: + skip_record_index => 1|0 + +=cut + +sub move_to_biblio { + my ( $self, $to_biblio, $params ) = @_; + + $params //= {}; + + my $old_biblionumber = $self->biblionumber; + my $biblionumber = $to_biblio->biblionumber; + + # Own biblionumber + $self->set({ + biblionumber => $biblionumber, + })->store({ skip_record_index => 1 }); + + # Items + my $items => $self->items; + if ($items) { + while (my $item = $items->next()) { + $item->move_to_biblio($to_biblio, { skip_record_index => 1 }); + } + } + + # Request that bib be reindexed unless skip_record_index is set + if (!$params->{skip_record_index}) { + my $indexer = Koha::SearchEngine::Indexer->new({ index => $Koha::SearchEngine::BIBLIOS_INDEX }); + $indexer->index_records( $old_biblionumber, "specialUpdate", "biblioserver" ); + $indexer->index_records( $self->biblionumber, "specialUpdate", "biblioserver" ); + } +} + +=head3 type + +=cut + +sub _type { + return 'Holding'; +} + +=head2 marc_to_koha_fields + + $result = Koha::Holding->marc_to_koha_fields({ record => $record }) + +Extract data from a MARC::Record holdings record into a hashref representing +Koha holdings fields. + +If passed an undefined record will log the error and return an empty +hash_ref. + +=cut + +sub marc_to_koha_fields { + my ($class, $params) = @_; + + my $result = {}; + if (!defined $params->{record}) { + carp('marc_to_koha_fields called with undefined record'); + return $result; + } + my $record = $params->{record}; + + # The next call uses the HLD framework since it is AUTHORITATIVE + # for all Koha to MARC mappings for holdings. + my $mss = C4::Biblio::GetMarcSubfieldStructure('HLD', { unsafe => 1 }); # Do not change framework + foreach my $kohafield (keys %{ $mss }) { + my ($table, $column) = split /[.]/, $kohafield, 2; + next unless $table eq 'holdings' && $mss->{$kohafield}; + + if ( $column eq 'callnumber' && C4::Context->preference('itemcallnumber') ) { + + my @CN_prefs_mapping; + foreach my $itemcn_pref (split(/,/,C4::Context->preference('itemcallnumber'))){ + my $CNtag = substr( $itemcn_pref, 0, 3 ); + my @CNsubfields = split('',substr( $itemcn_pref, 3 )); + @CNsubfields = ('') unless @CNsubfields; + foreach my $CNsubfield (@CNsubfields) { + push @CN_prefs_mapping, { tagfield => $CNtag, tagsubfield => $CNsubfield }; + } + } + @{$mss->{$kohafield}} = @CN_prefs_mapping if @CN_prefs_mapping; + } + + my @values; + foreach my $field (@{$mss->{$kohafield}}) { + my $tag = $field->{tagfield}; + my $sub = $field->{tagsubfield}; + foreach my $fld ($record->field($tag)) { + if( $sub eq '@' || $fld->is_control_field ) { + push @values, $fld->data; + } else { + push @values, $fld->subfield($sub); + } + } + } + $result->{$column} = scalar(@values) ? join(' ', @values) : undef; + # Note: here separation of field values done just by space, i.e. no special + # separator char between - as requested by customers (librarians noted they + # using this merged field for quick copy-pasting, and more: if extra chars, + # that confuses patrons: they read roman numbers with extra separators wrongly) + } + + # convert suppress field to boolean + $result->{'suppress'} = $result->{'suppress'} ? 1 : 0; + + return $result; +} + +=head3 get_marc_field_mapping + + ($field, $subfield) = Koha::Holding->get_marc_field_mapping({ field => $kohafield }); + @fields = Koha::Holding->get_marc_field_mapping({ field => $kohafield }); + $field = Koha::Holding->get_marc_field_mapping({ field => $kohafield }); + + Returns the MARC fields & subfields mapped to $kohafield. + Uses the HLD framework that is considered as authoritative. + + In list context all mappings are returned; there can be multiple + mappings. Note that in the above example you could miss a second + mapping in the first call. + In scalar context only the field tag of the first mapping is returned. + +=cut + +sub get_marc_field_mapping { + my ($class, $params) = @_; + + return unless $params->{field}; + + # The next call uses the HLD framework since it is AUTHORITATIVE + # for all Koha to MARC mappings for holdings. + my $mss = C4::Biblio::GetMarcSubfieldStructure('HLD', { unsafe => 1 }); # Do not change framework + my @retval; + foreach (@{ $mss->{$params->{field}} }) { + push @retval, $_->{tagfield}, $_->{tagsubfield}; + } + return wantarray ? @retval : ( @retval ? $retval[0] : undef ); +} + +=head2 Internal methods + +=head3 _update_marc_ids + + $self->_update_marc_ids($record); + +Internal function to add or update holding_id, biblionumber and biblioitemnumber to +the MARC record. + +=cut + +sub _update_marc_ids { + my ($self, $record) = @_; + + my ($holding_tag, $holding_subfield) = $self->get_marc_field_mapping({ field => 'holdings.holding_id' }); + die qq{No holding_id tag for framework "HLD"} unless $holding_tag; + if ($holding_tag < 10) { + C4::Biblio::UpsertMarcControlField($record, $holding_tag, $self->holding_id); + } else { + C4::Biblio::UpsertMarcSubfield($record, $holding_tag, $holding_subfield, $self->holding_id); + } + + my ($biblio_tag, $biblio_subfield) = $self->get_marc_field_mapping({ field => 'biblio.biblionumber' }); + die qq{No biblionumber tag for framework "HLD"} unless $biblio_tag; + if ($biblio_tag < 10) { + C4::Biblio::UpsertMarcControlField($record, $biblio_tag, $self->biblionumber); + } else { + C4::Biblio::UpsertMarcSubfield($record, $biblio_tag, $biblio_subfield, $self->biblionumber); + } +} + + +=head1 AUTHOR + +Kyle M Hall +Ere Maijala + +=cut + +1; diff --git a/Koha/Holdings.pm b/Koha/Holdings.pm new file mode 100644 index 0000000000..e47fc4be0d --- /dev/null +++ b/Koha/Holdings.pm @@ -0,0 +1,148 @@ +package Koha::Holdings; + +# Copyright ByWater Solutions 2015 +# Copyright 2017-2020 University of Helsinki (The National Library Of Finland) +# +# This file is part of Koha. +# +# Koha is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# Koha is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Koha; if not, see . + +use Modern::Perl; + +use Carp; + +use C4::Biblio; +use C4::Charset qw( SetMarcUnicodeFlag ); +use C4::Context; + +use Koha::Holding; + +use base qw(Koha::Objects); + +=head1 NAME + +Koha::Holdings - Koha Holdings object set class + +=head1 API + +=head2 Class Methods + +=cut + +=head3 type + +=cut + +sub _type { + return 'Holding'; +} + +=head3 object_class + +=cut + +sub object_class { + return 'Koha::Holding'; +} + +=head3 get_embeddable_marc_fields + + my @marc_fields = Koha::Holding->get_embeddable_marc_fields({biblionumber => $biblionumber}); + +Returns an array of MARC::Record objects of the holdings for the biblio. + +=cut + +sub get_embeddable_marc_fields { + my ($class, $params) = @_; + + my @holdings_fields; + if (not defined $params->{biblionumber}) { + carp('get_embeddable_marc_fields called with undefined biblionumber'); + return \@holdings_fields; + } + + my ($holdingstag, $holdingssubfield) = Koha::Holding->get_marc_field_mapping({ field => 'holdings.holdingbranch' }); + my $holdings = $class->search({ + biblionumber => $params->{biblionumber}, + ($params->{holding_id} ? (holding_id => $params->{holding_id}) : ()), + deleted_on => undef })->unblessed(); + foreach my $holding (@$holdings) { + my $mungedholding = { + map { + defined($holding->{$_}) && $holding->{$_} ne '' ? ("holdings.$_" => $holding->{$_}) : () + } keys %{ $holding } + }; + my $marc = $class->_holding_to_marc($mungedholding); + push @holdings_fields, $marc->field($holdingstag); + } + return \@holdings_fields; +} + +=head2 _holding_to_marc + + $record = $class->_holding_to_marc($hash) + +This function builds partial MARC::Record from holdings hash entries. +This function is called when embedding holdings into a biblio record. + +=cut + +sub _holding_to_marc { + my ($class, $hash, $params) = @_; + + my $record = MARC::Record->new(); + SetMarcUnicodeFlag($record, C4::Context->preference('marcflavour')); + + # The next call uses the HLD framework since it is AUTHORITATIVE + # for all Koha to MARC mappings for holdings. + my $mss = C4::Biblio::GetMarcSubfieldStructure('HLD', { unsafe => 1 }); # do not change framewok + my $tag_hr = {}; + while (my ($kohafield, $value) = each %$hash) { + foreach my $fld (@{$mss->{$kohafield}}) { + my $tagfield = $fld->{tagfield}; + my $tagsubfield = $fld->{tagsubfield}; + next if !$tagfield; + my @values = $params->{no_split} + ? ( $value ) + : split(/\s?\|\s?/, $value, -1); + foreach my $value (@values) { + next if $value eq ''; + $tag_hr->{$tagfield} //= []; + push @{$tag_hr->{$tagfield}}, [($tagsubfield, $value)]; + } + } + } + foreach my $tag (sort keys %$tag_hr) { + my @sfl = @{$tag_hr->{$tag}}; + @sfl = sort { $a->[0] cmp $b->[0]; } @sfl; + @sfl = map { @{$_}; } @sfl; + # Special care for control fields: remove the subfield indication @ + # and do not insert indicators. + my @ind = $tag < 10 ? () : ( " ", " " ); + @sfl = grep { $_ ne '@' } @sfl if $tag < 10; + $record->insert_fields_ordered(MARC::Field->new($tag, @ind, @sfl)); + } + return $record; +} + + +=head1 AUTHOR + +Kyle M Hall +Ere Maijala + +=cut + +1; diff --git a/Koha/Holdings/Metadata.pm b/Koha/Holdings/Metadata.pm new file mode 100644 index 0000000000..92923baebb --- /dev/null +++ b/Koha/Holdings/Metadata.pm @@ -0,0 +1,99 @@ +package Koha::Holdings::Metadata; + +# This file is part of Koha. +# +# Koha is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# Koha is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Koha; if not, see . + +use Modern::Perl; + +use Carp; + +use Koha::Database; + +use base qw(Koha::Object); + +=head1 NAME + +Koha::Holdings::Metadata - Koha Holdings Metadata Object class + +=head1 API + +=head2 Class methods + +=cut + +=head3 record + +my $record = $metadata->record; + +Returns an object representing the metadata record. The expected record type +corresponds to this table: + + ------------------------------- + | format | object type | + ------------------------------- + | marcxml | MARC::Record | + ------------------------------- + +=head4 Error handling + +=over + +=item If an unsupported format is found, it throws a I exception. + +=item If it fails to create the record object, it throws a I exception. + +=back + +=cut + +sub record { + my ($self) = @_; + + my $record; + + if ($self->format eq 'marcxml') { + $record = eval { MARC::Record::new_from_xml( $self->metadata, 'utf-8', $self->schema ); }; + unless ($record) { + Koha::Exceptions::Metadata::Invalid->throw( + id => $self->id, + format => $self->format, + schema => $self->schema + ); + } + } else { + Koha::Exceptions::Metadata->throw( + 'Koha::Holdings::Metadata->record called on unhandled format: ' . $self->format ); + } + + return $record; +} + +=head2 Internal methods + +=head3 _type + +=cut + +sub _type { + return 'HoldingsMetadata'; +} + +=head1 AUTHOR + +Ere Maijala ere.maijala@helsinki.fi + +=cut + +1; diff --git a/Koha/Holdings/Metadatas.pm b/Koha/Holdings/Metadatas.pm new file mode 100644 index 0000000000..523ccb998f --- /dev/null +++ b/Koha/Holdings/Metadatas.pm @@ -0,0 +1,58 @@ +package Koha::Holdings::Metadatas; + +# This file is part of Koha. +# +# Koha is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# Koha is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Koha; if not, see . + +use Modern::Perl; + +use Carp; + +use Koha::Database; + +use Koha::Holdings::Metadata; + +use base qw(Koha::Objects); + +=head1 NAME + +Koha::Holdings::Metadatas - Koha Holdings Metadata Object set class + +=head1 API + +=head2 Internal methods + +=head3 _type + +=cut + +sub _type { + return 'HoldingsMetadata'; +} + +=head3 object_class + +=cut + +sub object_class { + return 'Koha::Holdings::Metadata'; +} + +=head1 AUTHOR + +Ere Maijala ere.maijala@helsinki.fi + +=cut + +1; diff --git a/Koha/Item.pm b/Koha/Item.pm index 09cb4ca814..fdf43bf4f8 100644 --- a/Koha/Item.pm +++ b/Koha/Item.pm @@ -34,6 +34,7 @@ use Koha::BackgroundJob::BatchUpdateBiblioHoldsQueue; use Koha::Checkouts; use Koha::CirculationRules; use Koha::CoverImages; +use Koha::Holdings; use Koha::SearchEngine::Indexer; use Koha::Exceptions::Item::Transfer; use Koha::Item::Transfer::Limits; @@ -397,6 +398,21 @@ sub biblioitem { return Koha::Biblioitem->_new_from_dbic( $biblioitem_rs ); } +=head3 holding + +my $holding = $item->holding; + +Return the holdings record of this item + +=cut + +sub holding { + my ( $self ) = @_; + my $holding_rs = $self->_result->holding; + return unless $holding_rs; + return Koha::Holding->_new_from_dbic( $holding_rs ); +} + =head3 checkout my $checkout = $item->checkout; @@ -1397,6 +1413,38 @@ sub move_to_biblio { my $from_biblionumber = $self->biblionumber; my $to_biblionumber = $to_biblio->biblionumber; + # Own holdings record + my $holding = $self->holding; + # Check if our holdings record is already linked to the target biblio + if ($holding && $holding->biblionumber != $to_biblionumber) { + # Check if there's a suitable holdings record in the new biblio. + # This is not perfect, but at least we try. + my $candidates = Koha::Holdings->search( + { + biblionumber => $to_biblionumber, + frameworkcode => $holding->frameworkcode(), + holdingbranch => $holding->holdingbranch(), + location => $holding->location(), + callnumber => $holding->callnumber(), + suppress => $holding->suppress(), + deleted_on => undef + } + ); + my $newHolding = $candidates->next(); + if (!$newHolding) { + # No existing holdings record, make a copy of the old one. + $newHolding = Koha::Holding->new({ + biblionumber => $to_biblionumber, + frameworkcode => $holding->frameworkcode() + }); + $newHolding->set_marc({ record => $holding->metadata()->record() }); + $newHolding->store(); + } + $self->set({ + holding_id => $newHolding->holding_id() + }); + } + # Own biblionumber and biblioitemnumber $self->set({ biblionumber => $to_biblionumber, diff --git a/Koha/OAI/Server/ListBase.pm b/Koha/OAI/Server/ListBase.pm index 283f1b3334..a92d8d09db 100644 --- a/Koha/OAI/Server/ListBase.pm +++ b/Koha/OAI/Server/ListBase.pm @@ -97,9 +97,12 @@ sub GetRecords { (SELECT DISTINCT(biblionumber) FROM deleteditems main JOIN biblio USING (biblionumber) WHERE $where $order_limit) UNION + (SELECT DISTINCT(biblionumber) FROM holdings main WHERE $where $order_limit) + UNION (SELECT DISTINCT(biblionumber) FROM items main WHERE $where $order_limit)"; push @bind_params, @part_bind_params; push @bind_params, @part_bind_params; + push @bind_params, @part_bind_params; $sql = "SELECT biblionumber FROM ($sql) main $order_limit"; $ts_sql = " @@ -110,6 +113,8 @@ sub GetRecords { SELECT timestamp FROM deleteditems WHERE biblionumber = ? UNION SELECT timestamp FROM items WHERE biblionumber = ? + UNION + SELECT timestamp FROM holdings WHERE biblionumber = ? ) bi "; } else { @@ -145,7 +150,7 @@ sub GetRecords { } my @params = ($biblionumber); if ( $include_items && !$deleted ) { - push @params, $deleted ? ( $biblionumber ) : ( $biblionumber, $biblionumber ); + push @params, $deleted ? ( $biblionumber, $biblionumber ) : ( $biblionumber, $biblionumber, $biblionumber ); } $ts_sth->execute( @params ) || die( 'Could not execute statement: ' . $ts_sth->errstr ); diff --git a/Koha/OAI/Server/Repository.pm b/Koha/OAI/Server/Repository.pm index d6e5c2ae59..f15e46356c 100644 --- a/Koha/OAI/Server/Repository.pm +++ b/Koha/OAI/Server/Repository.pm @@ -95,6 +95,7 @@ mode. A configuration file koha-oai.conf can look like that: xsl_file: /usr/local/koha/koha-tmpl/intranet-tmpl/xslt/UNIMARCslim2OAIDC.xsl Note the 'include_items' parameter which is the only mean to return item-level info. +If summary holdings are enabled, 'include_items' includes their location information too. =cut diff --git a/Koha/Objects.pm b/Koha/Objects.pm index 133d0cb08e..5fb7398b77 100644 --- a/Koha/Objects.pm +++ b/Koha/Objects.pm @@ -102,6 +102,24 @@ sub find { return $object; } +=head3 Koha::Objects->update_or_create(); + +my $object = Koha::Objects->update_or_create( $attrs ); + +=cut + +sub update_or_create { + my ( $self, $params ) = @_; + + my $result = $self->_resultset->update_or_create($params); + + return unless $result; + + my $object = $self->object_class->_new_from_dbic($result); + + return $object; +} + =head3 Koha::Objects->find_or_create(); my $object = Koha::Objects->find_or_create( $attrs ); diff --git a/Koha/Schema/Result/Biblio.pm b/Koha/Schema/Result/Biblio.pm index ddae29b069..ffc2a6bcb8 100644 --- a/Koha/Schema/Result/Biblio.pm +++ b/Koha/Schema/Result/Biblio.pm @@ -315,6 +315,21 @@ __PACKAGE__->has_many( { cascade_copy => 0, cascade_delete => 0 }, ); +=head2 holdings + +Type: has_many + +Related object: L + +=cut + +__PACKAGE__->has_many( + "holdings", + "Koha::Schema::Result::Holding", + { "foreign.biblionumber" => "self.biblionumber" }, + { cascade_copy => 0, cascade_delete => 0 }, +); + =head2 items Type: has_many diff --git a/Koha/Schema/Result/Branch.pm b/Koha/Schema/Result/Branch.pm index b2a59b2cbf..b65a3a686d 100644 --- a/Koha/Schema/Result/Branch.pm +++ b/Koha/Schema/Result/Branch.pm @@ -656,6 +656,21 @@ __PACKAGE__->has_many( { cascade_copy => 0, cascade_delete => 0 }, ); +=head2 holdings + +Type: has_many + +Related object: L + +=cut + +__PACKAGE__->has_many( + "holdings", + "Koha::Schema::Result::Holding", + { "foreign.holdingbranch" => "self.branchcode" }, + { cascade_copy => 0, cascade_delete => 0 }, +); + =head2 illrequests Type: has_many diff --git a/Koha/Schema/Result/Deleteditem.pm b/Koha/Schema/Result/Deleteditem.pm index 12c8900c5a..04fef557d9 100644 --- a/Koha/Schema/Result/Deleteditem.pm +++ b/Koha/Schema/Result/Deleteditem.pm @@ -370,6 +370,13 @@ inventory number (MARC21 952$i) Exclude this item from local holds priority +=head2 holding_id + + data_type: 'integer' + is_nullable: 1 + +foreign key from holdings table used to link this item to the right holdings record + =cut __PACKAGE__->add_columns( @@ -480,6 +487,8 @@ __PACKAGE__->add_columns( { data_type => "varchar", is_nullable => 1, size => 32 }, "exclude_from_local_holds_priority", { data_type => "tinyint", is_nullable => 1 }, + "holding_id", + { data_type => "integer", is_nullable => 1 }, ); =head1 PRIMARY KEY @@ -495,8 +504,8 @@ __PACKAGE__->add_columns( __PACKAGE__->set_primary_key("itemnumber"); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ytND0t16cwo9dseU+JZSGQ +# Created by DBIx::Class::Schema::Loader v0.07048 @ 2021-01-24 12:34:57 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:HDZPRz/I5vlIgkw/c44QcA __PACKAGE__->add_columns( '+exclude_from_local_holds_priority' => { is_boolean => 1 }, diff --git a/Koha/Schema/Result/Holding.pm b/Koha/Schema/Result/Holding.pm new file mode 100644 index 0000000000..aa22f7a14a --- /dev/null +++ b/Koha/Schema/Result/Holding.pm @@ -0,0 +1,262 @@ +use utf8; +package Koha::Schema::Result::Holding; + +# Created by DBIx::Class::Schema::Loader +# DO NOT MODIFY THE FIRST PART OF THIS FILE + +=head1 NAME + +Koha::Schema::Result::Holding + +=cut + +use strict; +use warnings; + +use base 'DBIx::Class::Core'; + +=head1 TABLE: C + +=cut + +__PACKAGE__->table("holdings"); + +=head1 ACCESSORS + +=head2 holding_id + + data_type: 'integer' + is_auto_increment: 1 + is_nullable: 0 + +unique identifier assigned to each holdings record + +=head2 biblionumber + + data_type: 'integer' + default_value: 0 + is_foreign_key: 1 + is_nullable: 0 + +foreign key from biblio table used to link this record to the right bib record + +=head2 frameworkcode + + data_type: 'varchar' + default_value: (empty string) + is_nullable: 0 + size: 4 + +foreign key from the biblio_framework table to identify which framework was used in cataloging this record + +=head2 holdingbranch + + data_type: 'varchar' + is_foreign_key: 1 + is_nullable: 1 + size: 10 + +foreign key from the branches table for the library that owns this record (MARC21 852$a) + +=head2 location + + data_type: 'varchar' + is_nullable: 1 + size: 80 + +authorized value for the shelving location for this record (MARC21 852$b) + +=head2 ccode + + data_type: 'varchar' + is_nullable: 1 + size: 80 + +authorized value for the collection code associated with this item (MARC21 852$g) + +=head2 callnumber + + data_type: 'varchar' + is_nullable: 1 + size: 255 + +call number (852$h+$i in MARC21) + +=head2 suppress + + data_type: 'tinyint' + default_value: 0 + is_nullable: 0 + +Boolean indicating whether the record is suppressed in OPAC + +=head2 timestamp + + data_type: 'timestamp' + datetime_undef_if_invalid: 1 + default_value: current_timestamp + is_nullable: 0 + +date and time this record was last touched + +=head2 datecreated + + data_type: 'date' + datetime_undef_if_invalid: 1 + is_nullable: 0 + +the date this record was added to Koha + +=head2 deleted_on + + data_type: 'datetime' + datetime_undef_if_invalid: 1 + is_nullable: 1 + +the date this record was deleted + +=cut + +__PACKAGE__->add_columns( + "holding_id", + { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, + "biblionumber", + { + data_type => "integer", + default_value => 0, + is_foreign_key => 1, + is_nullable => 0, + }, + "frameworkcode", + { data_type => "varchar", default_value => "", is_nullable => 0, size => 4 }, + "holdingbranch", + { data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 10 }, + "location", + { data_type => "varchar", is_nullable => 1, size => 80 }, + "ccode", + { data_type => "varchar", is_nullable => 1, size => 80 }, + "callnumber", + { data_type => "varchar", is_nullable => 1, size => 255 }, + "suppress", + { data_type => "tinyint", default_value => 0, is_nullable => 0 }, + "timestamp", + { + data_type => "timestamp", + datetime_undef_if_invalid => 1, + default_value => \"current_timestamp", + is_nullable => 0, + }, + "datecreated", + { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 0 }, + "deleted_on", + { + data_type => "datetime", + datetime_undef_if_invalid => 1, + is_nullable => 1, + }, +); + +=head1 PRIMARY KEY + +=over 4 + +=item * L + +=back + +=cut + +__PACKAGE__->set_primary_key("holding_id"); + +=head1 RELATIONS + +=head2 biblionumber + +Type: belongs_to + +Related object: L + +=cut + +__PACKAGE__->belongs_to( + "biblionumber", + "Koha::Schema::Result::Biblio", + { biblionumber => "biblionumber" }, + { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, +); + +=head2 holdingbranch + +Type: belongs_to + +Related object: L + +=cut + +__PACKAGE__->belongs_to( + "holdingbranch", + "Koha::Schema::Result::Branch", + { branchcode => "holdingbranch" }, + { + is_deferrable => 1, + join_type => "LEFT", + on_delete => "RESTRICT", + on_update => "CASCADE", + }, +); + +=head2 holdings_metadatas + +Type: has_many + +Related object: L + +=cut + +__PACKAGE__->has_many( + "holdings_metadatas", + "Koha::Schema::Result::HoldingsMetadata", + { "foreign.holding_id" => "self.holding_id" }, + { cascade_copy => 0, cascade_delete => 0 }, +); + +=head2 items + +Type: has_many + +Related object: L + +=cut + +__PACKAGE__->has_many( + "items", + "Koha::Schema::Result::Item", + { "foreign.holding_id" => "self.holding_id" }, + { cascade_copy => 0, cascade_delete => 0 }, +); + + +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-03-19 12:18:01 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Q9Pn2fbd7/xNx7heNn/n5Q + +=head2 metadata + +This relationship makes it possible to use metadata as a prefetch table: + +my $holdings = Koha::Holdings->search({}, {prefetch => 'metadata'}); +my $metadata = $holdings->next()->metadata(); + +=cut + +__PACKAGE__->has_one( + "metadata", + "Koha::Schema::Result::HoldingsMetadata", + { "foreign.holding_id" => "self.holding_id" }, + { cascade_copy => 0, cascade_delete => 0 }, +); + +__PACKAGE__->add_columns( + '+suppress' => { is_boolean => 1 }, +); + +1; diff --git a/Koha/Schema/Result/HoldingsMetadata.pm b/Koha/Schema/Result/HoldingsMetadata.pm new file mode 100644 index 0000000000..07446bbfdc --- /dev/null +++ b/Koha/Schema/Result/HoldingsMetadata.pm @@ -0,0 +1,140 @@ +use utf8; +package Koha::Schema::Result::HoldingsMetadata; + +# Created by DBIx::Class::Schema::Loader +# DO NOT MODIFY THE FIRST PART OF THIS FILE + +=head1 NAME + +Koha::Schema::Result::HoldingsMetadata + +=cut + +use strict; +use warnings; + +use base 'DBIx::Class::Core'; + +=head1 TABLE: C + +=cut + +__PACKAGE__->table("holdings_metadata"); + +=head1 ACCESSORS + +=head2 id + + data_type: 'integer' + is_auto_increment: 1 + is_nullable: 0 + +=head2 holding_id + + data_type: 'integer' + is_foreign_key: 1 + is_nullable: 0 + +=head2 format + + data_type: 'varchar' + is_nullable: 0 + size: 16 + +=head2 schema + + data_type: 'varchar' + is_nullable: 0 + size: 16 + +=head2 metadata + + data_type: 'longtext' + is_nullable: 0 + +=head2 deleted_on + + data_type: 'datetime' + datetime_undef_if_invalid: 1 + is_nullable: 1 + +the date this record was deleted + +=cut + +__PACKAGE__->add_columns( + "id", + { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, + "holding_id", + { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, + "format", + { data_type => "varchar", is_nullable => 0, size => 16 }, + "schema", + { data_type => "varchar", is_nullable => 0, size => 16 }, + "metadata", + { data_type => "longtext", is_nullable => 0 }, + "deleted_on", + { + data_type => "datetime", + datetime_undef_if_invalid => 1, + is_nullable => 1, + }, +); + +=head1 PRIMARY KEY + +=over 4 + +=item * L + +=back + +=cut + +__PACKAGE__->set_primary_key("id"); + +=head1 UNIQUE CONSTRAINTS + +=head2 C + +=over 4 + +=item * L + +=item * L + +=item * L + +=back + +=cut + +__PACKAGE__->add_unique_constraint( + "holdings_metadata_uniq_key", + ["holding_id", "format", "schema"], +); + +=head1 RELATIONS + +=head2 holding + +Type: belongs_to + +Related object: L + +=cut + +__PACKAGE__->belongs_to( + "holding", + "Koha::Schema::Result::Holding", + { holding_id => "holding_id" }, + { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, +); + + +# Created by DBIx::Class::Schema::Loader v0.07048 @ 2021-01-24 12:34:57 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:msXxqOTn5rKZf188+KFk8g + + +# You can replace this text with custom code or comments, and it will be preserved on regeneration +1; diff --git a/Koha/Schema/Result/Item.pm b/Koha/Schema/Result/Item.pm index ce96288737..7052b28c2e 100644 --- a/Koha/Schema/Result/Item.pm +++ b/Koha/Schema/Result/Item.pm @@ -374,6 +374,14 @@ inventory number (MARC21 952$i) Exclude this item from local holds priority +=head2 holding_id + + data_type: 'integer' + is_foreign_key: 1 + is_nullable: 1 + +foreign key from holdings table used to link this item to the right holdings record + =cut __PACKAGE__->add_columns( @@ -494,6 +502,8 @@ __PACKAGE__->add_columns( { data_type => "varchar", is_nullable => 1, size => 32 }, "exclude_from_local_holds_priority", { data_type => "tinyint", is_nullable => 1 }, + "holding_id", + { data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, ); =head1 PRIMARY KEY @@ -674,6 +684,26 @@ __PACKAGE__->might_have( { cascade_copy => 0, cascade_delete => 0 }, ); +=head2 holding + +Type: belongs_to + +Related object: L + +=cut + +__PACKAGE__->belongs_to( + "holding", + "Koha::Schema::Result::Holding", + { holding_id => "holding_id" }, + { + is_deferrable => 1, + join_type => "LEFT", + on_delete => "CASCADE", + on_update => "CASCADE", + }, +); + =head2 holdingbranch Type: belongs_to diff --git a/Koha/Template/Plugin/Holdings.pm b/Koha/Template/Plugin/Holdings.pm new file mode 100644 index 0000000000..d4948b2f36 --- /dev/null +++ b/Koha/Template/Plugin/Holdings.pm @@ -0,0 +1,116 @@ +package Koha::Template::Plugin::Holdings; + +# Copyright ByWater Solutions 2012 +# Copyright BibLibre 2014 +# Copyright 2017-2019 University of Helsinki (The National Library Of Finland) + +# This file is part of Koha. +# +# Koha is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# Koha is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Koha; if not, see . + +use Modern::Perl; + +use Template::Plugin; +use base qw( Template::Plugin ); + +use C4::Context; + +use Koha::Holdings; + +=head1 NAME + +Koha::Template::Plugin::Holdings - TT Plugin for holdings + +=head1 SYNOPSIS + +[% USE Holdings %] + +[% Holdings.GetLocation(holding) | html %] + +=head1 ROUTINES + +=head2 GetLocation + +Get a location string for a holdings record + + [% Holdings.GetLocation(holding) | html %] + +=cut + +sub GetLocation { + my ($self, $holding) = @_; + my $opac = shift || 0; + + if (!$holding) { + return ''; + } + + if (ref($holding) ne 'Koha::Holding') { + $holding = Koha::Holdings->find($holding); + if (!$holding) { + return ''; + } + } + + my @parts; + + if ($opac) { + if (my $branch = $holding->holding_branch()) { + push @parts, $branch->branchname(); + } + if ($holding->location()) { + my $av = Koha::AuthorisedValues->search({ category => 'LOC', authorised_value => $holding->location() }); + push @parts, $av->next()->opac_description() if $av->count; + } + push @parts, $holding->callnumber() if $holding->callnumber(); + return join(' - ', @parts); + } + + push @parts, $holding->holding_id(); + push @parts, $holding->holdingbranch() if $holding->holdingbranch(); + push @parts, $holding->location() if $holding->location(); + push @parts, $holding->ccode() if $holding->ccode(); + push @parts, $holding->callnumber() if $holding->callnumber(); + return join(' ', @parts); +} + +=head2 GetDetails + +Get the Koha fields for a holdings record + + [% details = Holdings.GetDetails(holding) %] + +=cut + +sub GetDetails { + my ($self, $holding) = @_; + my $opac = shift || 0; + + if (!$holding) { + return ''; + } + + if (ref($holding) ne 'Koha::Holding') { + $holding = Koha::Holdings->find($holding); + if (!$holding) { + return ''; + } + } + + my $holding_marc = $holding->metadata()->record(); + + return Koha::Holding->marc_to_koha_fields({ record => $holding_marc }); +} + +1; diff --git a/Koha/UI/Form/Builder/Item.pm b/Koha/UI/Form/Builder/Item.pm index 59274aecb0..b6d35f0636 100644 --- a/Koha/UI/Form/Builder/Item.pm +++ b/Koha/UI/Form/Builder/Item.pm @@ -24,6 +24,7 @@ use C4::ClassSource qw( GetClassSources ); use Koha::DateUtils qw( dt_from_string ); use Koha::Libraries; +use Koha::Holdings; =head1 NAME @@ -84,6 +85,7 @@ sub generate_subfield_form { my $branch_limit = $params->{branch_limit}; my $default_branches_empty = $params->{default_branches_empty}; my $readonly = $params->{readonly}; + my $holding_id = $params->{holding_id}; my $item = $self->{item}; my $subfield = $tagslib->{$tag}{$subfieldtag}; @@ -247,6 +249,32 @@ sub generate_subfield_form { #---- "true" authorised value } + elsif ( $subfield->{authorised_value} eq "holdings" ) { + push @authorised_values, "" unless ( $subfield->{mandatory} ); + my $holdings = Koha::Holdings->search({ biblionumber => $biblionumber, deleted_on => undef }, { order_by => ['holdingbranch'] }); + while (my $holding = $holdings->next()) { + push @authorised_values, $holding->holding_id; + + # Rare, but potentual UX issue: because all rendered in single string without + # delimters, in case of empty (or undef) $holding-> methods results below, user + # might be confused with "to which next value belongs", for example, one record has: + # holdingbranch = ‘MN’ + # location = undef + # and the other has: + # holdingbranch = '' + # location = ‘MN’ + # the user will get two selects for "MN" which will look the same, + # so the user won't be able to distinguisgh. + + $authorised_lib{$holding->holding_id} = $holding->holding_id + . ' ' . ($holding->holdingbranch // '') + . ' ' . ($holding->location // '') + . ' ' . ($holding->ccode // '') + . ' ' . ($holding->callnumber // ''); + } + my $input = CGI->new; + $value = $input->param('holding_id') unless ($value); + } else { push @authorised_values, qq{}; my $av = GetAuthorisedValues( $subfield->{authorised_value} ); @@ -476,6 +504,7 @@ sub edit_form { my $branch_limit = $params->{branch_limit}; my $default_branches_empty = $params->{default_branches_empty}; my $ignore_invisible_subfields = $params->{ignore_invisible_subfields} || 0; + my $holding_id = $params->{holding_id}; my $libraries = Koha::Libraries->search( {}, { order_by => ['branchname'] } )->unblessed; @@ -493,6 +522,14 @@ sub edit_form { my $biblionumber = $self->{biblionumber}; my $frameworkcode = $biblionumber ? GetFrameworkCode($biblionumber) : q{}; my $marc_record = $biblionumber ? GetMarcBiblio( { biblionumber => $biblionumber } ) : undef; + + # Overlay/add holdings defaults: + if ( C4::Context->preference('SummaryHoldings') && $holding_id ) { + my $holdings_fields = Koha::Holdings->get_embeddable_marc_fields({ biblionumber => $biblionumber, holding_id => $holding_id }); + $marc_record->append_fields(@$holdings_fields) if @$holdings_fields; + } + + my @subfields; my $tagslib = GetMarcStructure( 1, $frameworkcode ); foreach my $tag ( keys %{$tagslib} ) { diff --git a/acqui/basket.pl b/acqui/basket.pl index c028dc0219..5e296da4ab 100755 --- a/acqui/basket.pl +++ b/acqui/basket.pl @@ -147,6 +147,7 @@ if ( $op eq 'delete_confirm' ) { countbiblio => $biblio->active_orders->count, itemcount => $biblio->items->count, subscriptions => $biblio->subscriptions->count, + holdingscount => C4::Context->preference('SummaryHoldings') ? $biblio->holdings->count : 0, }; } } @@ -480,9 +481,10 @@ sub get_order_infos { my $order = Koha::Acquisition::Orders->find($ordernumber); # FIXME We should certainly do that at the beginning of this sub my $items = $order->items; my $itemholds = $biblio->holds->search({ itemnumber => { -in => [ $items->get_column('itemnumber') ] } })->count; + my $holdingscount = C4::Context->preference('SummaryHoldings') ? $biblio->holdings->count : 0; - # if the biblio is not in other orders and if there is no items elsewhere and no subscriptions and no holds we can then show the link "Delete order and Biblio" see bug 5680 - $line{can_del_bib} = 1 if $countbiblio <= 1 && $itemcount == $items->count && !($cnt_subscriptions) && !($holds_count); + # if the biblio is not in other orders and if there is no items elsewhere and no subscriptions and no holds and no holdings we can then show the link "Delete order and Biblio" see bug 5680 + $line{can_del_bib} = 1 if $countbiblio <= 1 && $itemcount == $items->count && !($cnt_subscriptions) && !($holds_count) && !($holdingscount); $line{items} = $itemcount - $items->count; $line{left_item} = 1 if $line{items} >= 1; $line{left_biblio} = 1 if $countbiblio > 1; @@ -494,6 +496,7 @@ sub get_order_infos { $line{holds} = $holds_count; $line{holds_on_order} = $itemholds?$itemholds:$holds_count if $line{left_holds_on_order}; $line{order_object} = $order; + $line{holdings} = $holdingscount; } diff --git a/admin/marc_subfields_structure.pl b/admin/marc_subfields_structure.pl index a492e5c568..d839373049 100755 --- a/admin/marc_subfields_structure.pl +++ b/admin/marc_subfields_structure.pl @@ -92,6 +92,11 @@ if ( $op eq 'add_form' ) { while ( ( my $field ) = $sth2->fetchrow_array ) { push @kohafields, "items." . $field; } + $sth2 = $dbh->prepare("SHOW COLUMNS from holdings"); + $sth2->execute; + while ( ( my $field ) = $sth2->fetchrow_array ) { + push @kohafields, "holdings." . $field; + } # build authorised value list $sth2->finish; diff --git a/api/v1/swagger/definitions/item.yaml b/api/v1/swagger/definitions/item.yaml index 8b00c96c88..5596d40f83 100644 --- a/api/v1/swagger/definitions/item.yaml +++ b/api/v1/swagger/definitions/item.yaml @@ -7,6 +7,11 @@ properties: biblio_id: type: integer description: Internal identifier for the parent bibliographic record + holding_id: + type: + - integer + - "null" + description: Internal identifier for the parent holdings record external_id: type: - string diff --git a/catalogue/detail.pl b/catalogue/detail.pl index ae26f33740..9f2138daac 100755 --- a/catalogue/detail.pl +++ b/catalogue/detail.pl @@ -244,6 +244,12 @@ $template->param( }), ); +# Summary holdings +my $summary_holdings; +if (C4::Context->preference('SummaryHoldings')) { + $summary_holdings = $biblio->holdings; +} + # Get acquisition details if ( C4::Context->preference('AcquisitionDetails') ) { my $orders = Koha::Acquisition::Orders->search( @@ -481,6 +487,7 @@ $template->param( analytics_flag => $analytics_flag, C4::Search::enabled_staff_search_views, materials => $materials_flag, + summary_holdings => $summary_holdings, ); if (C4::Context->preference("AlternateHoldingsField") && scalar @items == 0) { diff --git a/catalogue/showmarc.pl b/catalogue/showmarc.pl index 8292bfe746..6fa7ec7ef4 100755 --- a/catalogue/showmarc.pl +++ b/catalogue/showmarc.pl @@ -33,6 +33,7 @@ use C4::Auth qw( get_template_and_user ); use C4::Biblio qw( GetMarcBiblio GetXmlBiblio ); use C4::ImportBatch qw( GetRecordFromImportBiblio ); use C4::XSLT; +use Koha::Holdings; my $input= CGI->new; my ( $template, $loggedinuser, $cookie ) = get_template_and_user( @@ -47,9 +48,12 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( my $biblionumber= $input->param('id'); my $importid= $input->param('importid'); my $view= $input->param('viewas')||''; +my $holding_id = $input->param('holding_id') // ''; my $record; -if ($importid) { +if ($holding_id) { + $record = Koha::Holdings->find($holding_id)->metadata()->record(); +} elsif ($importid) { $record = C4::ImportBatch::GetRecordFromImportBiblio( $importid, 'embed_items' ); } else { @@ -61,7 +65,7 @@ if(!ref $record) { } if($view eq 'card' || $view eq 'html') { - my $xml = $importid ? $record->as_xml(): GetXmlBiblio($biblionumber); + my $xml = $record->as_xml(); my $xsl; if ( $view eq 'card' ){ $xsl = C4::Context->preference('marcflavour') eq 'UNIMARC' diff --git a/cataloguing/addholding.pl b/cataloguing/addholding.pl new file mode 100755 index 0000000000..2526c11ce7 --- /dev/null +++ b/cataloguing/addholding.pl @@ -0,0 +1,706 @@ +#!/usr/bin/perl + + +# Copyright 2000-2002 Katipo Communications +# Copyright 2004-2010 BibLibre +# Copyright 2017-2019 University of Helsinki (The National Library Of Finland) +# +# This file is part of Koha. +# +# Koha is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# Koha is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Koha; if not, see . + +use Modern::Perl; + +use CGI q(-utf8); +use C4::Output qw( output_html_with_http_headers output_and_exit ); +use C4::Auth qw( get_template_and_user haspermission ); +use C4::Biblio + qw( GetMarcFromKohaField GetMarcStructure GetUsedMarcStructure TransformHtmlToMarc ); +use C4::Context; +use MARC::Record; +use C4::ClassSource qw( GetClassSources ); +use Koha::Biblios; +use Koha::BiblioFrameworks; +use Koha::DateUtils qw( dt_from_string ); + +use Koha::ItemTypes; +use Koha::Libraries; +use Koha::Holdings; + +use Date::Calc qw(Today); +use MARC::File::USMARC; +use MARC::File::XML; +use URI::Escape qw( uri_escape_utf8 ); + +if ( C4::Context->preference('marcflavour') eq 'UNIMARC' ) { + MARC::File::XML->default_record_format('UNIMARC'); +} + +our($tagslib,$authorised_values_sth,$is_a_modif,$usedTagsLib,$mandatory_z3950); + +=head1 FUNCTIONS + +=head2 build_authorized_values_list + +=cut + +sub build_authorized_values_list { + my ( $tag, $subfield, $value, $dbh, $authorised_values_sth,$index_tag,$index_subfield ) = @_; + + my @authorised_values; + my %authorised_lib; + + # builds list, depending on authorised value... + + #---- branch + if ( $tagslib->{$tag}->{$subfield}->{'authorised_value'} eq "branches" ) { + my $libraries = Koha::Libraries->search_filtered({}, {order_by => ['branchname']}); + while ( my $l = $libraries->next ) { + push @authorised_values, $l->branchcode; + $authorised_lib{$l->branchcode} = $l->branchname; + } + } + elsif ( $tagslib->{$tag}->{$subfield}->{authorised_value} eq "LOC" ) { + push @authorised_values, ""; + + my $branch_limit = C4::Context->userenv ? C4::Context->userenv->{"branch"} : ""; + my $avs = Koha::AuthorisedValues->search_with_library_limits( + { + category => $tagslib->{$tag}->{$subfield}->{authorised_value}, + }, + { + order_by => [ 'category', 'lib', 'lib_opac' ], + }, + $branch_limit + ); + + while ( my $av = $avs->next ) { + push @authorised_values, $av->authorised_value; + $authorised_lib{$av->authorised_value} = $av->lib; + } + } + elsif ( $tagslib->{$tag}->{$subfield}->{authorised_value} eq "cn_source" ) { + push @authorised_values, ""; + + my $class_sources = GetClassSources(); + + my $default_source = C4::Context->preference("DefaultClassificationSource"); + + foreach my $class_source (sort keys %$class_sources) { + next unless $class_sources->{$class_source}->{'used'} or + ($value and $class_source eq $value) or + ($class_source eq $default_source); + push @authorised_values, $class_source; + $authorised_lib{$class_source} = $class_sources->{$class_source}->{'description'}; + } + $value = $default_source unless $value; + } + else { + my $branch_limit = C4::Context->userenv ? C4::Context->userenv->{"branch"} : ""; + $authorised_values_sth->execute( + $tagslib->{$tag}->{$subfield}->{authorised_value}, + $branch_limit ? $branch_limit : (), + ); + + push @authorised_values, ""; + + while ( my ( $value, $lib ) = $authorised_values_sth->fetchrow_array ) { + push @authorised_values, $value; + $authorised_lib{$value} = $lib; + } + } + $authorised_values_sth->finish; + return { + type => 'select', + id => "tag_".$tag."_subfield_".$subfield."_".$index_tag."_".$index_subfield, + name => "tag_".$tag."_subfield_".$subfield."_".$index_tag."_".$index_subfield, + default => $value, + values => \@authorised_values, + labels => \%authorised_lib, + }; + +} + +=head2 CreateKey + + Create a random value to set it into the input name + +=cut + +sub CreateKey { + return int(rand(1000000)); +} + +=head2 create_input + + builds the entry for a subfield. + +=cut + +sub create_input { + my ( $tag, $subfield, $value, $index_tag, $tabloop, $rec, $authorised_values_sth,$cgi ) = @_; + + my $index_subfield = CreateKey(); # create a specific key for each subfield + + # if there is no value provided but a default value in parameters, get it + if ( $value eq '' ) { + $value = $tagslib->{$tag}->{$subfield}->{defaultvalue} // q{}; + + # get today date & replace <>, <>, <>, <
> if provided in the default value + my $today_dt = dt_from_string; + my $year = $today_dt->strftime('%Y'); + my $shortyear = $today_dt->strftime('%y'); + my $month = $today_dt->strftime('%m'); + my $day = $today_dt->strftime('%d'); + $value =~ s/<>/$year/g; + $value =~ s/<>/$shortyear/g; + $value =~ s/<>/$month/g; + $value =~ s/<
>/$day/g; + # And <> with surname (?) + my $username=(C4::Context->userenv?C4::Context->userenv->{'surname'}:"superlibrarian"); + $value=~s/<>/$username/g; + + } + my $dbh = C4::Context->dbh; + + # map '@' as "subfield" label for fixed fields + # to something that's allowed in a div id. + my $id_subfield = $subfield; + $id_subfield = "00" if $id_subfield eq "@"; + + my %subfield_data = ( + tag => $tag, + subfield => $id_subfield, + marc_lib => $tagslib->{$tag}->{$subfield}->{lib}, + tag_mandatory => $tagslib->{$tag}->{mandatory}, + mandatory => $tagslib->{$tag}->{$subfield}->{mandatory}, + important => $tagslib->{$tag}->{$subfield}->{important}, + repeatable => $tagslib->{$tag}->{$subfield}->{repeatable}, + kohafield => $tagslib->{$tag}->{$subfield}->{kohafield}, + index => $index_tag, + id => "tag_".$tag."_subfield_".$id_subfield."_".$index_tag."_".$index_subfield, + value => $value, + maxlength => $tagslib->{$tag}->{$subfield}->{maxlength}, + random => CreateKey(), + ); + + if(exists $mandatory_z3950->{$tag.$subfield}){ + $subfield_data{z3950_mandatory} = $mandatory_z3950->{$tag.$subfield}; + } + # Subfield is hidden depending of hidden and mandatory flag, and is always + # shown if it contains anything or if its field is mandatory or important. + my $tdef = $tagslib->{$tag}; + $subfield_data{visibility} = "display:none;" + if $tdef->{$subfield}->{hidden} % 2 == 1 && + $value eq '' && + !$tdef->{$subfield}->{mandatory} && + !$tdef->{mandatory} && + !$tdef->{$subfield}->{important} && + !$tdef->{important}; + # expand all subfields of 773 if there is a host item provided in the input + $subfield_data{visibility} ="" if ($tag eq 773 and $cgi->param('hostitemnumber')); + + # it's an authorised field + if ( $tagslib->{$tag}->{$subfield}->{authorised_value} ) { + $subfield_data{marc_value} = + build_authorized_values_list( $tag, $subfield, $value, $dbh, + $authorised_values_sth,$index_tag,$index_subfield ); + + # it's a subfield $9 linking to an authority record - see bug 2206 + } + elsif ($subfield eq "9" and + exists($tagslib->{$tag}->{'a'}->{authtypecode}) and + defined($tagslib->{$tag}->{'a'}->{authtypecode}) and + $tagslib->{$tag}->{'a'}->{authtypecode} ne '') { + + $subfield_data{marc_value} = { + type => 'text', + id => $subfield_data{id}, + name => $subfield_data{id}, + value => $value, + size => 5, + maxlength => $subfield_data{maxlength}, + readonly => 1, + }; + + # it's a thesaurus / authority field + } + elsif ( $tagslib->{$tag}->{$subfield}->{authtypecode} ) { + # when authorities auto-creation is allowed, do not set readonly + my $is_readonly = !C4::Context->preference("BiblioAddsAuthorities"); + + $subfield_data{marc_value} = { + type => 'text', + id => $subfield_data{id}, + name => $subfield_data{id}, + value => $value, + size => 67, + maxlength => $subfield_data{maxlength}, + readonly => ($is_readonly) ? 1 : 0, + authtype => $tagslib->{$tag}->{$subfield}->{authtypecode}, + }; + + # it's a plugin field + } elsif ( $tagslib->{$tag}->{$subfield}->{'value_builder'} ) { + require Koha::FrameworkPlugin; + my $plugin = Koha::FrameworkPlugin->new( { + name => $tagslib->{$tag}->{$subfield}->{'value_builder'}, + }); + my $pars= { dbh => $dbh, record => $rec, tagslib => $tagslib, + id => $subfield_data{id}, tabloop => $tabloop }; + $plugin->build( $pars ); + if( !$plugin->errstr ) { + $subfield_data{marc_value} = { + type => 'text_complex', + id => $subfield_data{id}, + name => $subfield_data{id}, + value => $value, + size => 67, + maxlength => $subfield_data{maxlength}, + javascript => $plugin->javascript, + plugin => $plugin->name, + noclick => $plugin->noclick, + }; + } else { + warn $plugin->errstr; + # supply default input form + $subfield_data{marc_value} = { + type => 'text', + id => $subfield_data{id}, + name => $subfield_data{id}, + value => $value, + size => 67, + maxlength => $subfield_data{maxlength}, + readonly => 0, + }; + } + + # it's an hidden field + } elsif ( $tag eq '' ) { + $subfield_data{marc_value} = { + type => 'hidden', + id => $subfield_data{id}, + name => $subfield_data{id}, + value => $value, + size => 67, + maxlength => $subfield_data{maxlength}, + }; + + } + else { + # it's a standard field + if ( + length($value) > 100 + or + ( C4::Context->preference("marcflavour") eq "UNIMARC" && $tag >= 300 + and $tag < 400 && $subfield eq 'a' ) + or ( $tag >= 500 + and $tag < 600 + && C4::Context->preference("marcflavour") eq "MARC21" ) + ) + { + $subfield_data{marc_value} = { + type => 'textarea', + id => $subfield_data{id}, + name => $subfield_data{id}, + value => $value, + }; + + } + else { + $subfield_data{marc_value} = { + type => 'text', + id => $subfield_data{id}, + name => $subfield_data{id}, + value => $value, + size => 67, + maxlength => $subfield_data{maxlength}, + readonly => 0, + }; + + } + } + $subfield_data{'index_subfield'} = $index_subfield; + return \%subfield_data; +} + + +=head2 format_indicator + +Translate indicator value for output form - specifically, map +indicator = ' ' to ''. This is for the convenience of a cataloger +using a mouse to select an indicator input. + +=cut + +sub format_indicator { + my $ind_value = shift; + return '' if not defined $ind_value; + return '' if $ind_value eq ' '; + return $ind_value; +} + +sub build_tabs { + my ( $template, $record, $dbh, $encoding,$input ) = @_; + + # fill arrays + my @loop_data = (); + my $tag; + + my $branch_limit = C4::Context->userenv ? C4::Context->userenv->{"branch"} : ""; + my $query = "SELECT authorised_value, lib + FROM authorised_values"; + $query .= qq{ LEFT JOIN authorised_values_branches ON ( id = av_id )} if $branch_limit; + $query .= " WHERE category = ?"; + $query .= " AND ( branchcode = ? OR branchcode IS NULL )" if $branch_limit; + $query .= " ORDER BY lib, lib_opac"; + my $authorised_values_sth = $dbh->prepare( $query ); + + # in this array, we will push all the 10 tabs + # to avoid having 10 tabs in the template : they will all be in the same BIG_LOOP + my @BIG_LOOP; + my %seen; + my @tab_data; # all tags to display + + my $max_num_tab=-1; + my ( $itemtag, $itemsubfield ) = GetMarcFromKohaField( "items.itemnumber" ); + foreach my $used ( @$usedTagsLib ){ + push @tab_data,$used->{tagfield} if not $seen{$used->{tagfield}}; + $seen{$used->{tagfield}}++; + if ( $used->{tab} > -1 + && $used->{tab} >= $max_num_tab + && $used->{tagfield} ne $itemtag ) + { + $max_num_tab = $used->{tab}; + } + } + if($max_num_tab >= 9){ + $max_num_tab = 9; + } + # loop through each tab 0 through 9 + for ( my $tabloop = 0 ; $tabloop <= $max_num_tab ; $tabloop++ ) { + my @loop_data = (); #innerloop in the template. + my $i = 0; + foreach my $tag (sort @tab_data) { + $i++; + next if ! $tag; + my ($indicator1, $indicator2); + my $index_tag = CreateKey; + + # if MARC::Record is not empty =>use it as master loop, then add missing subfields that should be in the tab. + # if MARC::Record is empty => use tab as master loop. + if ( $record ne -1 && ( $record->field($tag) || $tag eq '000' ) ) { + my @fields; + if ( $tag ne '000' ) { + @fields = $record->field($tag); + } + else { + push @fields, $record->leader(); # if tag == 000 + } + # loop through each field + foreach my $field (@fields) { + + my @subfields_data; + if ( $tag < 10 ) { + my ( $value, $subfield ); + if ( $tag ne '000' ) { + $value = $field->data(); + $subfield = "@"; + } + else { + $value = $field; + $subfield = '@'; + } + next if ( $tagslib->{$tag}->{$subfield}->{tab} ne $tabloop ); + next + if ( $tagslib->{$tag}->{$subfield}->{kohafield} eq + 'biblio.biblionumber' ); + push( + @subfields_data, + &create_input( + $tag, $subfield, $value, $index_tag, $tabloop, $record, + $authorised_values_sth,$input + ) + ); + } + else { + my @subfields = $field->subfields(); + foreach my $subfieldcount ( 0 .. $#subfields ) { + my $subfield = $subfields[$subfieldcount][0]; + my $value = $subfields[$subfieldcount][1]; + next if ( length $subfield != 1 ); + next if ( $tagslib->{$tag}->{$subfield}->{tab} ne $tabloop ); + push( + @subfields_data, + &create_input( + $tag, $subfield, $value, $index_tag, $tabloop, + $record, $authorised_values_sth,$input + ) + ); + } + } + + # now, loop again to add parameter subfield that are not in the MARC::Record + foreach my $subfield ( keys %{ $tagslib->{$tag} } ) + { + next if ( length $subfield != 1 ); + next if ( defined $tagslib->{$tag}->{$subfield}->{tab} and + $tagslib->{$tag}->{$subfield}->{tab} ne $tabloop ); + next if ( $tag < 10 ); + next + if ( ( $tagslib->{$tag}->{$subfield}->{hidden} <= -4 ) + or ( $tagslib->{$tag}->{$subfield}->{hidden} >= 5 ) ) + and not ( $subfield eq "9" and + exists($tagslib->{$tag}->{'a'}->{authtypecode}) and + defined($tagslib->{$tag}->{'a'}->{authtypecode}) and + $tagslib->{$tag}->{'a'}->{authtypecode} ne "" + ) + ; #check for visibility flag + # if subfield is $9 in a field whose $a is authority-controlled, + # always include in the form regardless of the hidden setting - bug 2206 + next if ( defined( $field->subfield($subfield) ) ); + push( + @subfields_data, + &create_input( + $tag, $subfield, '', $index_tag, $tabloop, $record, + $authorised_values_sth,$input + ) + ); + } + if ( $#subfields_data >= 0 ) { + # build the tag entry. + # note that the random() field is mandatory. Otherwise, on repeated fields, you'll + # have twice the same "name" value, and cgi->param() will return only one, making + # all subfields to be merged in a single field. + my %tag_data = ( + tag => $tag, + index => $index_tag, + tag_lib => $tagslib->{$tag}->{lib}, + repeatable => $tagslib->{$tag}->{repeatable}, + mandatory => $tagslib->{$tag}->{mandatory}, + important => $tagslib->{$tag}->{important}, + subfield_loop => \@subfields_data, + fixedfield => $tag < 10?1:0, + random => CreateKey, + ); + if ($tag >= 10){ # no indicator for 00x tags + $tag_data{indicator1} = format_indicator($field->indicator(1)), + $tag_data{indicator2} = format_indicator($field->indicator(2)), + } + push( @loop_data, \%tag_data ); + } + } # foreach $field end + + # if breeding is empty + } + else { + my @subfields_data; + foreach my $subfield ( + sort { $a->{display_order} <=> $b->{display_order} || $a->{subfield} cmp $b->{subfield} } + grep { ref($_) && %$_ } # Not a subfield (values for "important", "lib", "mandatory", etc.) or empty + values %{ $tagslib->{$tag} } ) + { + next + if ( ( $subfield->{hidden} <= -4 ) + or ( $subfield->{hidden} >= 5 ) ) + and not ( $subfield->{subfield} eq "9" and + exists($tagslib->{$tag}->{'a'}->{authtypecode}) and + defined($tagslib->{$tag}->{'a'}->{authtypecode}) and + $tagslib->{$tag}->{'a'}->{authtypecode} ne "" + ) + ; #check for visibility flag + # if subfield is $9 in a field whose $a is authority-controlled, + # always include in the form regardless of the hidden setting - bug 2206 + next + if ( $subfield->{tab} ne $tabloop ); + push( + @subfields_data, + &create_input( + $tag, $subfield->{subfield}, '', $index_tag, $tabloop, $record, + $authorised_values_sth,$input + ) + ); + } + if ( $#subfields_data >= 0 ) { + my %tag_data = ( + tag => $tag, + index => $index_tag, + tag_lib => $tagslib->{$tag}->{lib}, + repeatable => $tagslib->{$tag}->{repeatable}, + mandatory => $tagslib->{$tag}->{mandatory}, + important => $tagslib->{$tag}->{important}, + indicator1 => ( $indicator1 || $tagslib->{$tag}->{ind1_defaultvalue} ), #if not set, try to load the default value + indicator2 => ( $indicator2 || $tagslib->{$tag}->{ind2_defaultvalue} ), #use short-circuit operator for efficiency + subfield_loop => \@subfields_data, + tagfirstsubfield => $subfields_data[0], + fixedfield => $tag < 10?1:0, + ); + + push @loop_data, \%tag_data ; + } + } + } + if ( $#loop_data >= 0 ) { + push @BIG_LOOP, { + number => $tabloop, + innerloop => \@loop_data, + }; + } + } + $authorised_values_sth->finish; + $template->param( BIG_LOOP => \@BIG_LOOP ); +} + +########################## +# MAIN +########################## +my $input = CGI->new; +my $error = $input->param('error'); +my $biblionumber = $input->param('biblionumber'); +my $holding_id = $input->param('holding_id'); # if holding_id exists, it's a modification, not a new holding. +my $op = $input->param('op') // q{}; +my $mode = $input->param('mode') // q{}; +my $frameworkcode = $input->param('frameworkcode'); +my $redirect = $input->param('redirect'); +my $searchid = $input->param('searchid') // ""; +my $userflags = 'edit_items'; +my $changed_framework = $input->param('changed_framework') // q{}; + +my ($template, $loggedinuser, $cookie) = get_template_and_user( + { + template_name => "cataloguing/addholding.tt", + query => $input, + type => "intranet", + flagsrequired => { editcatalogue => $userflags }, + } +); + +my $record = $holding_id ? Koha::Holdings->find($holding_id) : Koha::Holding->new(); + +$frameworkcode = $record->frameworkcode if $holding_id && $record; +$frameworkcode = 'HLD' if not $frameworkcode or $frameworkcode eq ''; + +# TODO: support in advanced editor? +#if ( $op ne "delete" && C4::Context->preference('EnableAdvancedCatalogingEditor') && C4::Auth::haspermission(C4::Context->userenv->{id},{'editcatalogue'=>'advanced_editor'}) && $input->cookie( 'catalogue_editor_' . $loggedinuser ) eq 'advanced' ) { +# print $input->redirect( '/cgi-bin/koha/cataloguing/editor.pl#catalog/' . $biblionumber . '/holdings/' . ( $holding_id ? $holding_id : '' ) ); +# exit; +#} + +# ++ Global +$tagslib = &GetMarcStructure( 1, $frameworkcode ); +$usedTagsLib = &GetUsedMarcStructure( $frameworkcode ); +# -- Global + +my ( $biblionumbertagfield, $biblionumbertagsubfield ) = + &GetMarcFromKohaField( "biblio.biblionumber" ); + +if ($op eq 'add') { + $template->param( + biblionumberdata => $biblionumber, + ); + # Convert HTML input to MARC + my @params = $input->multi_param(); + my $marc = TransformHtmlToMarc( $input, 1 ); + + $record->frameworkcode($frameworkcode); + $record->biblionumber($biblionumber); + $record->set_marc({ record => $marc }); + $record->store(); + + $holding_id = $record->holding_id; + + if ($redirect eq 'items' || ($mode ne 'popup' && $redirect ne 'view' && $redirect ne 'just_save')) { + print $input->redirect("/cgi-bin/koha/catalogue/detail.pl?biblionumber=$biblionumber&searchid=$searchid"); + exit; + } elsif ($holding_id && $redirect eq 'view') { + print $input->redirect("/cgi-bin/koha/catalogue/detail.pl?biblionumber=$biblionumber&searchid=$searchid"); + exit; + } elsif ($redirect eq 'just_save') { + my $tab = $input->param('current_tab'); + print $input->redirect("/cgi-bin/koha/cataloguing/addholding.pl?biblionumber=$biblionumber&holding_id=$holding_id&frameworkcode=$frameworkcode&tab=$tab&searchid=$searchid"); + } else { + $template->param( + biblionumber => $biblionumber, + holding_id => $holding_id, + done => 1, + popup => $mode, + ); + output_html_with_http_headers($input, $cookie, $template->output); + exit; + } +} elsif ($op eq 'delete') { + if ($record->items()->count()) { + $template->param( + error_items_exist => 1 + ); + } elsif (!$record->delete()) { + $template->param( + error_delete_failed => 1 + ); + } else { + print $input->redirect("/cgi-bin/koha/catalogue/detail.pl?biblionumber=$biblionumber&searchid=$searchid"); + exit; + } +} + +#---------------------------------------------------------------------------- +# If we're in a duplication case, we have to clear the holding_id +# as we'll save the holding as a new one. +$template->param( + holding_iddata => $holding_id, + op => $op, +); +if ($op eq 'duplicate') { + $holding_id = ''; +} + +my $marc; +if ($changed_framework eq 'changed') { + $marc = TransformHtmlToMarc($input, 1); +} else { + my $metadata = $record->metadata(); + $marc = $metadata ? $metadata->record() : -1; +} + +if (!$biblionumber) { + # we must have a holdings record if we don't have a biblionumber + $biblionumber = $record->biblionumber; +} +my $biblio = Koha::Biblios->find($biblionumber); + +output_and_exit( $input, $cookie, $template, 'unknown_biblio') + unless $biblio; + +build_tabs($template, $marc, C4::Context->dbh, '', $input); +$template->param( + holding_id => $holding_id, + biblionumber => $biblionumber, + biblionumbertagfield => $biblionumbertagfield, + biblionumbertagsubfield => $biblionumbertagsubfield, + title => $biblio->title, + author => $biblio->author +); + +my @frameworks = Koha::BiblioFrameworks->search({}, { order_by => ['frameworktext'] })->as_list(); +$template->param( + frameworks => \@frameworks, + popup => $mode, + frameworkcode => $frameworkcode, + itemtype => $frameworkcode, + borrowernumber => $loggedinuser, + tab => scalar $input->param('tab') +); +$template->{'VARS'}->{'searchid'} = $searchid; + +output_html_with_http_headers($input, $cookie, $template->output); diff --git a/cataloguing/additem.pl b/cataloguing/additem.pl index e8a64c1015..b2d25d9636 100755 --- a/cataloguing/additem.pl +++ b/cataloguing/additem.pl @@ -103,6 +103,8 @@ my $fa_branch = $input->param('branch'); my $fa_stickyduedate = $input->param('stickyduedate'); my $fa_duedatespec = $input->param('duedatespec'); +my $holding_id = $input->param('holding_id') // ''; + our $frameworkcode = &GetFrameworkCode($biblionumber); # Defining which userflag is needing according to the framework currently used @@ -598,6 +600,7 @@ my $subfields = ? ( ignore_invisible_subfields => 1 ) : () ), + holding_id => $holding_id, } ); diff --git a/cataloguing/merge.pl b/cataloguing/merge.pl index fca94ca4d5..e46aaad75a 100755 --- a/cataloguing/merge.pl +++ b/cataloguing/merge.pl @@ -96,7 +96,7 @@ if ($merge) { my $biblio = Koha::Biblios->find($ref_biblionumber); foreach my $biblionumber (@biblionumbers) { my $from_biblio = Koha::Biblios->find($biblionumber); - $from_biblio->items->move_to_biblio($biblio); + $biblio->adopt_holdings_from_biblio($from_biblio); $from_biblio->article_requests->update({ biblionumber => $ref_biblionumber }, { no_triggers => 1 }); } @@ -161,7 +161,7 @@ if ($merge) { # Moving suggestions $sth_suggestions->execute($ref_biblionumber, $biblionumber); - # Moving orders (orders linked to items of frombiblio have already been moved by move_to_biblio) + # Moving orders (orders linked to items of frombiblio have already been moved by adopt_holdings_from_biblio) my @allorders = GetOrdersByBiblionumber($biblionumber); foreach my $myorder (@allorders) { $myorder->{'biblionumber'} = $ref_biblionumber; diff --git a/cataloguing/value_builder/marc21_field_008_holdings.pl b/cataloguing/value_builder/marc21_field_008_holdings.pl new file mode 100755 index 0000000000..8e28dd9d6e --- /dev/null +++ b/cataloguing/value_builder/marc21_field_008_holdings.pl @@ -0,0 +1,114 @@ +#!/usr/bin/perl + +# Copyright 2000-2002 Katipo Communications +# Copyright 2017-2018 University of Helsinki (The National Library Of Finland) +# +# This file is part of Koha. +# +# Koha is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# Koha is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Koha; if not, see . + +use Modern::Perl; +use C4::Auth qw( get_template_and_user ); +use CGI qw ( -utf8 ); +use C4::Context; + +use C4::Output qw( output_html_with_http_headers ); + +use XML::LibXML; +use Koha::Util::FrameworkPlugin qw|date_entered|; + +my $builder = sub { + my ( $params ) = @_; + + my $lang = C4::Context->preference('DefaultLanguageField008' ); + $lang = "eng" unless $lang; + $lang = pack("A3", $lang); + + my $function_name = $params->{id}; + my $dateentered = date_entered(); + my $res = " + +"; + + return $res; +}; + +my $launcher = sub { + my ( $params ) = @_; + my $input = $params->{cgi}; + my $index= $input->param('index'); + my $result= $input->param('result'); + + my $lang = C4::Context->preference('DefaultLanguageField008' ); + $lang = "eng" unless $lang; + $lang = pack("A3", $lang); + + my ($template, $loggedinuser, $cookie) + = get_template_and_user({template_name => "cataloguing/value_builder/marc21_field_008_holdings.tt", + query => $input, + type => "intranet", + flagsrequired => {editcatalogue => '*'}, + debug => 1, + }); + my $dateentered = date_entered(); + $result = $dateentered . '0u 0 0 uu' . $lang . '0' . $dateentered unless $result; + my @f; + for(0,6..8,12..17,20..22,25,26) { + my $len = 1; + if ($_ == 0 || $_ == 26) { + $len = 6; + } elsif ($_ == 8) { + $len = 4; + } elsif ($_ == 17 || $_ == 22) { + $len = 3; + } + $f[$_]=substr($result,$_,$len); + } + $template->param(index => $index); + + $f[0]= $dateentered if !$f[0] || $f[0]=~/\s/; + $template->param(f1 => $f[0]); + + for(6..8,12..17,20..22,25,26) { + $template->param( + "f$_" => $f[$_], + "f$_".($f[$_] eq '|'? 'pipe': $f[$_]) => $f[$_], + ); + } + output_html_with_http_headers $input, $cookie, $template->output; +}; + +return { builder => $builder, launcher => $launcher }; diff --git a/cataloguing/value_builder/marc21_leader_holdings.pl b/cataloguing/value_builder/marc21_leader_holdings.pl new file mode 100755 index 0000000000..959a163c72 --- /dev/null +++ b/cataloguing/value_builder/marc21_leader_holdings.pl @@ -0,0 +1,80 @@ +#!/usr/bin/perl + +# Copyright 2000-2002 Katipo Communications +# Copyright 2017-2018 University of Helsinki (The National Library Of Finland) +# +# This file is part of Koha. +# +# Koha is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# Koha is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Koha; if not, see . + +use Modern::Perl; +use CGI qw ( -utf8 ); + +use C4::Auth qw( get_template_and_user ); +use C4::Context; +use C4::Output qw( output_html_with_http_headers ); + +my $builder = sub { + my ( $params ) = @_; + my $function_name = $params->{id}; + my $res = " + +"; + + return $res; +}; + +my $launcher = sub { + my ( $params ) = @_; + my $input = $params->{cgi}; + my $index = $input->param('index'); + my $result = $input->param('result'); + + my $dbh = C4::Context->dbh; + + my ( $template, $loggedinuser, $cookie ) = get_template_and_user( + { template_name => "cataloguing/value_builder/marc21_leader_holdings.tt", + query => $input, + type => "intranet", + flagsrequired => { editcatalogue => '*' }, + debug => 1, + } + ); + $result = " nu a22 ui 4500" unless $result; + my $f5 = substr( $result, 5, 1 ); + my $f6 = substr( $result, 6, 1 ); + my $f17 = substr( $result, 17, 1 ); + my $f18 = substr( $result, 18, 1 ); + $template->param( + index => $index, + "f5$f5" => 1, + "f6$f6" => 1, + "f17$f17" => 1, + "f18$f18" => 1, + ); + output_html_with_http_headers $input, $cookie, $template->output; +}; + +return { builder => $builder, launcher => $launcher }; diff --git a/installer/data/mysql/atomicupdate/bug_20447-add_holdings_tables.perl b/installer/data/mysql/atomicupdate/bug_20447-add_holdings_tables.perl new file mode 100644 index 0000000000..d2e48caf8c --- /dev/null +++ b/installer/data/mysql/atomicupdate/bug_20447-add_holdings_tables.perl @@ -0,0 +1,690 @@ +$DBversion = 'XXX'; # will be replaced by the RM +if( CheckVersion( $DBversion ) ) { + if( !TableExists( 'holdings' ) ) { + $dbh->do(q{ + CREATE TABLE `holdings` ( -- table that stores summary holdings information + `holding_id` int(11) NOT NULL auto_increment, -- unique identifier assigned to each holdings record + `biblionumber` int(11) NOT NULL default 0, -- foreign key from biblio table used to link this record to the right bib record + `frameworkcode` varchar(4) NOT NULL default '', -- foreign key from the biblio_framework table to identify which framework was used in cataloging this record + `holdingbranch` varchar(10) default NULL, -- foreign key from the branches table for the library that owns this record (MARC21 852$a) + `location` varchar(80) default NULL, -- authorized value for the shelving location for this record (MARC21 852$b) + `ccode` varchar(80) default NULL, -- authorized value for the collection code associated with this item (MARC21 852$g) + `callnumber` varchar(255) default NULL, -- call number (852$h+$k+$l+$m in MARC21) + `suppress` tinyint(1) NOT NULL DEFAULT 0, -- Boolean indicating whether the record is suppressed in OPAC + `timestamp` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, -- date and time this record was last touched + `datecreated` DATE NOT NULL, -- the date this record was added to Koha + `deleted_on` DATETIME DEFAULT NULL, -- the date this record was deleted + PRIMARY KEY (`holding_id`), + KEY `hldnoidx` (`holding_id`), + KEY `hldbibnoidx` (`biblionumber`), + CONSTRAINT `holdings_ibfk_1` FOREIGN KEY (`biblionumber`) REFERENCES `biblio` (`biblionumber`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `holdings_ibfk_2` FOREIGN KEY (`holdingbranch`) REFERENCES `branches` (`branchcode`) ON UPDATE CASCADE + ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + }); + } + if( !TableExists( 'holdings_metadata' ) ) { + $dbh->do(q{ + CREATE TABLE `holdings_metadata` ( + `id` INT(11) NOT NULL AUTO_INCREMENT, + `holding_id` INT(11) NOT NULL, + `format` VARCHAR(16) NOT NULL, + `schema` VARCHAR(16) NOT NULL, + `metadata` LONGTEXT NOT NULL, + `deleted_on` DATETIME DEFAULT NULL, -- the date this record was deleted + PRIMARY KEY(id), + UNIQUE KEY `holdings_metadata_uniq_key` (`holding_id`,`format`,`schema`), + KEY `hldnoidx` (`holding_id`), + CONSTRAINT `holdings_metadata_fk_1` FOREIGN KEY (`holding_id`) REFERENCES `holdings` (`holding_id`) ON DELETE CASCADE ON UPDATE CASCADE + ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + }); + } + + if( !column_exists( 'items', 'holding_id' ) ) { + $dbh->do(q{ + ALTER TABLE `items` ADD COLUMN `holding_id` int(11) default NULL; + }); + $dbh->do(q{ + ALTER TABLE `items` ADD CONSTRAINT `items_ibfk_5` FOREIGN KEY (`holding_id`) REFERENCES `holdings` (`holding_id`) ON DELETE CASCADE ON UPDATE CASCADE; + }); + $dbh->do(q{ + ALTER TABLE `items` ADD KEY `hldid_idx` (`holding_id`); + }); + + $dbh->do(q{ + ALTER TABLE `deleteditems` ADD COLUMN `holding_id` int(11) default NULL; + }); + } + + $dbh->do(q{ + INSERT IGNORE INTO authorised_value_categories( category_name ) VALUES ('holdings'); + }); + + $dbh->do(q{ + INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES + ('SummaryHoldings', '0', NULL, 'If ON, enables support for holdings records.', 'YesNo'); + }); + + $dbh->do(q{ + INSERT IGNORE INTO `biblio_framework` VALUES ('HLD', 'Default holdings framework'); + }); + + if (C4::Context->preference("marcflavour") eq 'MARC21') { + + # items.holding_id in the default framework + $dbh->do(q{ + INSERT IGNORE INTO `marc_subfield_structure` (`tagfield`, `tagsubfield`, `liblibrarian`, `libopac`, `repeatable`, `mandatory`, `kohafield`, `tab`, `authorised_value`, `authtypecode`, `value_builder`, `isurl`, `hidden`, `frameworkcode`, `seealso`, `link`, `defaultvalue`) VALUES + ('952', 'k', 'Holdings record', 'Holdings record', 0, 0, 'items.holding_id', 10, 'holdings', '', '', NULL, -1, '', '', '', NULL); + }); + + # items.holding_id in the ACQ framework + # add only if ACQ framework exists: + my $sth = $dbh->prepare("SELECT COUNT(1) FROM `biblio_framework` WHERE frameworkcode = 'ACQ'"); + $sth->execute; + my ($value) = $sth->fetchrow; + if($value == 1) { + $dbh->do(q{ + INSERT IGNORE INTO `marc_subfield_structure` (`tagfield`, `tagsubfield`, `liblibrarian`, `libopac`, `repeatable`, `mandatory`, `kohafield`, `tab`, `authorised_value`, `authtypecode`, `value_builder`, `isurl`, `hidden`, `frameworkcode`, `seealso`, `link`, `defaultvalue`) VALUES + ('952', 'k', 'Holdings record', 'Holdings record', 0, 0, 'items.holding_id', 10, 'holdings', '', '', NULL, -1, 'ACQ', '', '', NULL); + }); + } + else { + + } + + # Holdings framework + $dbh->do(q{ + INSERT IGNORE INTO `marc_tag_structure` (`tagfield`, `liblibrarian`, `libopac`, `repeatable`, `mandatory`, `authorised_value`, `frameworkcode`) VALUES + ('000', 'LEADER', 'LEADER', 0, 1, '', 'HLD'), + ('001', 'CONTROL NUMBER', 'CONTROL NUMBER', 0, 0, '', 'HLD'), + ('003', 'CONTROL NUMBER IDENTIFIER', 'CONTROL NUMBER IDENTIFIER', 0, 1, '', 'HLD'), + ('004', 'CONTROL NUMBER FOR RELATED BIBLIOGRAPHIC RECORD', 'CONTROL NUMBER FOR RELATED BIBLIOGRAPHIC RECORD', 0, 0, '', 'HLD'), + ('005', 'DATE AND TIME OF LATEST TRANSACTION', 'DATE AND TIME OF LATEST TRANSACTION', 0, 1, '', 'HLD'), + ('006', 'FIXED-LENGTH DATA ELEMENTS--ADDITIONAL MATERIAL CHARACTERISTICS', 'FIXED-LENGTH DATA ELEMENTS--ADDITIONAL MATERIAL CHARACTERISTICS', 1, 0, '', 'HLD'), + ('007', 'PHYSICAL DESCRIPTION FIXED FIELD--GENERAL INFORMATION', 'PHYSICAL DESCRIPTION FIXED FIELD--GENERAL INFORMATION', 1, 0, '', 'HLD'), + ('008', 'FIXED-LENGTH DATA ELEMENTS--GENERAL INFORMATION', 'FIXED-LENGTH DATA ELEMENTS--GENERAL INFORMATION', 0, 1, '', 'HLD'), + ('010', 'LIBRARY OF CONGRESS CONTROL NUMBER', 'LIBRARY OF CONGRESS CONTROL NUMBER', 0, 0, '', 'HLD'), + ('014', 'LINKAGE NUMBER', 'LINKAGE NUMBER', 1, 0, '', 'HLD'), + ('016', 'NATIONAL BIBLIOGRAPHIC AGENCY CONTROL NUMBER', 'NATIONAL BIBLIOGRAPHIC AGENCY CONTROL NUMBER', 1, 0, '', 'HLD'), + ('017', 'COPYRIGHT OR LEGAL DEPOSIT NUMBER', 'COPYRIGHT OR LEGAL DEPOSIT NUMBER', 1, 0, '', 'HLD'), + ('020', 'INTERNATIONAL STANDARD BOOK NUMBER', 'INTERNATIONAL STANDARD BOOK NUMBER', 1, 0, NULL, 'HLD'), + ('022', 'INTERNATIONAL STANDARD SERIAL NUMBER', 'INTERNATIONAL STANDARD SERIAL NUMBER', 1, 0, NULL, 'HLD'), + ('024', 'OTHER STANDARD IDENTIFIER', 'OTHER STANDARD IDENTIFIER', 1, 0, NULL, 'HLD'), + ('027', 'STANDARD TECHNICAL REPORT NUMBER', 'STANDARD TECHNICAL REPORT NUMBER', 1, 0, '', 'HLD'), + ('030', 'CODEN DESIGNATION', 'CODEN DESIGNATION', 1, 0, '', 'HLD'), + ('035', 'SYSTEM CONTROL NUMBER', 'SYSTEM CONTROL NUMBER', 1, 0, NULL, 'HLD'), + ('040', 'CATALOGING SOURCE', 'CATALOGING SOURCE', 0, 1, NULL, 'HLD'), + ('066', 'CHARACTER SETS PRESENT', 'CHARACTER SETS PRESENT', 0, 0, NULL, 'HLD'), + ('337', 'MEDIA TYPE', 'MEDIA TYPE', 1, 0, NULL, 'HLD'), + ('338', 'CARRIER TYPE', 'CARRIER TYPE', 1, 0, NULL, 'HLD'), + ('347', 'DIGITAL FILE CHARACTERISTICS', 'DIGITAL FILE CHARACTERISTICS', 1, 0, NULL, 'HLD'), + ('506', 'RESTRICTIONS ON ACCESS NOTE', 'RESTRICTIONS ON ACCESS NOTE', 1, 0, NULL, 'HLD'), + ('538', 'SYSTEM DETAILS NOTE', 'SYSTEM DETAILS NOTE', 1, 0, NULL, 'HLD'), + ('541', 'IMMEDIATE SOURCE OF ACQUISITION NOTE', 'IMMEDIATE SOURCE OF ACQUISITION NOTE', 1, 0, NULL, 'HLD'), + ('561', 'OWNERSHIP AND CUSTODIAL HISTORY', 'OWNERSHIP AND CUSTODIAL HISTORY', 1, 0, NULL, 'HLD'), + ('562', 'COPY AND VERSION IDENTIFICATION NOTE', 'COPY AND VERSION IDENTIFICATION NOTE', 1, 0, NULL, 'HLD'), + ('563', 'BINDING INFORMATION', 'BINDING INFORMATION', 1, 0, NULL, 'HLD'), + ('583', 'ACTION NOTE', 'ACTION NOTE', 1, 0, NULL, 'HLD'), + ('842', 'TEXTUAL PHYSICAL FORM DESIGNATOR', 'TEXTUAL PHYSICAL FORM DESIGNATOR', 0, 0, NULL, 'HLD'), + ('843', 'REPRODUCTION NOTE', 'REPRODUCTION NOTE', 1, 0, NULL, 'HLD'), + ('844', 'NAME OF UNIT', 'NAME OF UNIT', 0, 0, NULL, 'HLD'), + ('845', 'TERMS GOVERNING USE AND REPRODUCTION NOTE', 'TERMS GOVERNING USE AND REPRODUCTION NOTE', 1, 0, NULL, 'HLD'), + ('852', 'LOCATION', 'LOCATION', 1, 0, NULL, 'HLD'), + ('853', 'CAPTIONS AND PATTERN--BASIC BIBLIOGRAPHIC UNIT', 'CAPTIONS AND PATTERN--BASIC BIBLIOGRAPHIC UNIT', 1, 0, NULL, 'HLD'), + ('854', 'CAPTIONS AND PATTERN--SUPPLEMENTARY MATERIAL', 'CAPTIONS AND PATTERN--SUPPLEMENTARY MATERIAL', 1, 0, NULL, 'HLD'), + ('855', 'CAPTIONS AND PATTERN--INDEXES', 'CAPTIONS AND PATTERN--INDEXES', 1, 0, NULL, 'HLD'), + ('856', 'ELECTRONIC LOCATION AND ACCESS', 'ELECTRONIC LOCATION AND ACCESS', 1, 0, NULL, 'HLD'), + ('863', 'ENUMERATION AND CHRONOLOGY--BASIC BIBLIOGRAPHIC UNIT', 'ENUMERATION AND CHRONOLOGY--BASIC BIBLIOGRAPHIC UNIT', 1, 0, NULL, 'HLD'), + ('864', 'ENUMERATION AND CHRONOLOGY--SUPPLEMENTARY MATERIAL', 'ENUMERATION AND CHRONOLOGY--SUPPLEMENTARY MATERIAL', 1, 0, NULL, 'HLD'), + ('865', 'ENUMERATION AND CHRONOLOGY--INDEXES', 'ENUMERATION AND CHRONOLOGY--INDEXES', 1, 0, NULL, 'HLD'), + ('866', 'TEXTUAL HOLDINGS--BASIC BIBLIOGRAPHIC UNIT', 'TEXTUAL HOLDINGS--BASIC BIBLIOGRAPHIC UNIT', 1, 0, NULL, 'HLD'), + ('867', 'TEXTUAL HOLDINGS--SUPPLEMENTARY MATERIAL', 'TEXTUAL HOLDINGS--SUPPLEMENTARY MATERIAL', 1, 0, NULL, 'HLD'), + ('868', 'TEXTUAL HOLDINGS--INDEXES', 'TEXTUAL HOLDINGS--INDEXES', 1, 0, NULL, 'HLD'), + ('876', 'ITEM INFORMATION--BASIC BIBLIOGRAPHIC UNIT', 'ITEM INFORMATION--BASIC BIBLIOGRAPHIC UNIT', 1, 0, NULL, 'HLD'), + ('877', 'ITEM INFORMATION--SUPPLEMENTARY MATERIAL', 'ITEM INFORMATION--SUPPLEMENTARY MATERIAL', 1, 0, NULL, 'HLD'), + ('878', 'ITEM INFORMATION--INDEXES', 'ITEM INFORMATION--INDEXES', 1, 0, NULL, 'HLD'), + ('880', 'ALTERNATE GRAPHIC REPRESENTATION', 'ALTERNATE GRAPHIC REPRESENTATION', 1, 0, NULL, 'HLD'), + ('883', 'MACHINE-GENERATED METADATA PROVENANCE', 'MACHINE-GENERATED METADATA PROVENANCE', 1, 0, NULL, 'HLD'), + ('884', 'DESCRIPTION CONVERSION INFORMATION', 'DESCRIPTION CONVERSION INFORMATION', 1, 0, NULL, 'HLD'), + ('942', 'ADDED ENTRY ELEMENTS (KOHA)', 'ADDED ENTRY ELEMENTS (KOHA)', 0, 0, '', 'HLD'), + ('999', 'SYSTEM CONTROL NUMBERS (KOHA)', 'SYSTEM CONTROL NUMBERS (KOHA)', 1, 0, '', 'HLD'); + }); + $dbh->do(q{ + INSERT IGNORE INTO `marc_subfield_structure` (`tagfield`, `tagsubfield`, `liblibrarian`, `libopac`, `repeatable`, `mandatory`, `kohafield`, `tab`, `authorised_value`, `authtypecode`, `value_builder`, `isurl`, `hidden`, `frameworkcode`, `seealso`, `link`, `defaultvalue`) VALUES + ('000', '@', 'fixed length control field', 'fixed length control field', 0, 1, '', 0, '', '', 'marc21_leader_holdings.pl', 0, 0, 'HLD', '', '', NULL), + ('001', '@', 'control field', 'control field', 0, 0, '', 0, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('003', '@', 'control field', 'control field', 0, 1, '', 0, '', '', 'marc21_orgcode.pl', 0, 0, 'HLD', '', '', NULL), + ('004', '@', 'control field', 'control field', 0, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL), + ('005', '@', 'control field', 'control field', 0, 1, '', 0, '', '', 'marc21_field_005.pl', 0, 0, 'HLD', '', '', NULL), + ('006', '@', 'fixed length control field', 'fixed length control field', 0, 0, '', 0, '', '', 'marc21_field_006.pl', 0, 0, 'HLD', '', '', NULL), + ('007', '@', 'fixed length control field', 'fixed length control field', 0, 0, '', 0, '', '', 'marc21_field_007.pl', 0, 0, 'HLD', '', '', NULL), + ('008', '@', 'fixed length control field', 'fixed length control field', 0, 1, '', 0, '', '', 'marc21_field_008_holdings.pl', 0, 0, 'HLD', '', '', NULL), + ('010', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL), + ('010', 'a', 'LC control number', 'LC control number', 0, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL), + ('010', 'b', 'NUCMC control number', 'NUCMC control number', 1, 0, '', 0, '', '', '', 0, -1, 'HLD', '', '', NULL), + ('010', 'z', 'Canceled/invalid LC control number', 'Canceled/invalid LC control number', 1, 0, '', 0, '', '', '', 0, -1, 'HLD', '', '', NULL), + ('014', '6', 'Linkage', 'Linkage', 0, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL), + ('014', 'a', 'Linkage number', 'Linkage number', 0, 0, '', 0, '', '', '', 0, -1, 'HLD', '', '', NULL), + ('014', 'b', 'Source of number', 'Source of number', 0, 0, '', 0, '', '', '', 0, -1, 'HLD', '', '', NULL), + ('014', 'z', 'Canceled/invalid linkage number', 'Canceled/invalid linkage number', 1, 0, '', 0, '', '', '', 0, -1, 'HLD', '', '', NULL), + ('016', '2', 'Source', 'Source', 0, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL), + ('016', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL), + ('016', 'a', 'Record control number', 'Record control number', 0, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL), + ('016', 'z', 'Canceled/invalid control number', 'Canceled/invalid control number', 1, 0, '', 0, '', '', '', 0, -1, 'HLD', '', '', NULL), + ('017', '2', 'Source', 'Source', 0, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL), + ('017', '6', 'Linkage', 'Linkage', 0, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL), + ('017', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL), + ('017', 'a', 'Copyright or legal deposit number', 'Copyright or legal deposit number', 1, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL), + ('017', 'b', 'Assigning agency', 'Assigning agency', 0, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL), + ('017', 'd', 'Date', 'Date', 0, 0, '', 0, '', '', NULL, 0, -6, 'HLD', '', '', NULL), + ('017', 'i', 'Display text', 'Display text', 0, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL), + ('017', 'z', 'Canceled/invalid copyright or legal deposit number', 'Canceled/invalid copyright or legal deposit number', 1, 0, '', 0, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('020', '6', 'Linkage', 'Linkage', 0, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL), + ('020', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL), + ('020', 'a', 'International Standard Book Number', 'International Standard Book Number', 0, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL), + ('020', 'c', 'Terms of availability', 'Terms of availability', 0, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL), + ('020', 'q', 'Qualifying information', 'Qualifying information', 1, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL), + ('020', 'z', 'Canceled/invalid ISBN', 'Canceled/invalid ISBN', 1, 0, '', 0, '', '', '', 0, -1, 'HLD', '', '', NULL), + ('022', '2', 'Source', 'Source', 0, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL), + ('022', '6', 'Linkage', 'Linkage', 0, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL), + ('022', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL), + ('022', 'a', 'International Standard Serial Number', 'International Standard Serial Number', 0, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL), + ('022', 'l', 'ISSN-L', 'ISSN-L', 0, 0, '', 0, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('022', 'm', 'Canceled ISSN-L', 'Canceled ISSN-L', 1, 0, '', 0, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('022', 'y', 'Incorrect ISSN', 'Incorrect ISSN', 1, 0, '', 0, '', '', '', 0, -1, 'HLD', '', '', NULL), + ('022', 'z', 'Canceled ISSN', 'Canceled ISSN', 1, 0, '', 0, '', '', '', 0, -1, 'HLD', '', '', NULL), + ('024', '2', 'Source of number or code', 'Source of number or code', 0, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL), + ('024', '6', 'Linkage', 'Linkage', 0, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL), + ('024', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL), + ('024', 'a', 'Standard number or code', 'Standard number or code', 0, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL), + ('024', 'b', 'Additional codes following the standard number [OBSOLETE]', 'Additional codes following the standard number [OBSOLETE]', 0, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL), + ('024', 'c', 'Terms of availability', 'Terms of availability', 0, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL), + ('024', 'd', 'Additional codes following the standard number or code', 'Additional codes following the standard number or code', 0, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL), + ('024', 'q', 'Qualifying information', 'Qualifying information', 1, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL), + ('024', 'z', 'Canceled/invalid standard number or code', 'Canceled/invalid standard number or code', 1, 0, '', 0, '', '', '', 0, -1, 'HLD', '', '', NULL), + ('027', '6', 'Linkage', 'Linkage', 0, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL), + ('027', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL), + ('027', 'a', 'Standard technical report number', 'Standard technical report number', 0, 0, '', 0, '', '', '', 0, -1, 'HLD', '', '', NULL), + ('027', 'q', 'Qualifying information', 'Qualifying information', 1, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL), + ('027', 'z', 'Canceled/invalid number', 'Canceled/invalid number', 1, 0, '', 0, '', '', '', 0, -1, 'HLD', '', '', NULL), + ('030', '6', 'Linkage', 'Linkage', 0, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL), + ('030', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL), + ('030', 'a', 'CODEN', 'CODEN', 0, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL), + ('030', 'z', 'Canceled/invalid CODEN', 'Canceled/invalid CODEN', 1, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL), + ('035', '6', 'Linkage', 'Linkage', 0, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL), + ('035', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL), + ('035', 'a', 'System control number', 'System control number', 0, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL), + ('035', 'z', 'Canceled/invalid control number', 'Canceled/invalid control number', 1, 0, '', 0, '', '', '', 0, -1, 'HLD', '', '', NULL), + ('040', '6', 'Linkage', 'Linkage', 0, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL), + ('040', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL), + ('040', 'a', 'Original cataloging agency', 'Original cataloging agency', 0, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL), + ('040', 'b', 'Language of cataloging', 'Language of cataloging', 0, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL), + ('040', 'c', 'Transcribing agency', 'Transcribing agency', 0, 1, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL), + ('040', 'd', 'Modifying agency', 'Modifying agency', 1, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL), + ('066', 'a', 'Primary G0 character set', 'Primary G0 character set', 0, 0, '', 0, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL), + ('066', 'b', 'Primary G1 character set', 'Primary G1 character set', 0, 0, '', 0, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL), + ('066', 'c', 'Alternate G0 or G1 character set', 'Alternate G0 or G1 character set', 1, 0, '', 0, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL), + ('337', '0', 'Authority record control number or standard number', 'Authority record control number or standard number', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('337', '1', 'Real World Object URI', 'Real World Object URI', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('337', '2', 'Source', 'Source', 0, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('337', '3', 'Materials specified', 'Materials specified', 0, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('337', '6', 'Linkage', 'Linkage', 0, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('337', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('337', 'a', 'Media type term', 'Media type term', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('337', 'b', 'Media type code', 'Media type code', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('338', '0', 'Authority record control number or standard number', 'Authority record control number or standard number', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('338', '1', 'Real World Object URI', 'Real World Object URI', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('338', '2', 'Source', 'Source', 0, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('338', '3', 'Materials specified', 'Materials specified', 0, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('338', '6', 'Linkage', 'Linkage', 0, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('338', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('338', 'a', 'Carrier type term', 'Carrier type term', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('338', 'b', 'Carrier type code', 'Carrier type code', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('347', 'a', 'File type', 'File type', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('347', '0', 'Authority record control number or standard number', 'Authority record control number or standard number', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('347', '1', 'Real World Object URI', 'Real World Object URI', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('347', '2', 'Source', 'Source', 0, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('347', '3', 'Materials specified', 'Materials specified', 0, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('347', '6', 'Linkage', 'Linkage', 0, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('347', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('347', 'b', 'Encoding format', 'Encoding format', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('347', 'c', 'File size', 'File size', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('347', 'd', 'Resolution', 'Resolution', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('347', 'e', 'Regional encoding', 'Regional encoding', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('347', 'f', 'Encoded bitrate', 'Encoded bitrate', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('506', '2', 'Source of term', 'Source of term', 0, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('506', '3', 'Materials specified', 'Materials specified', 0, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('506', '5', 'Institution to which field applies', 'Institution to which field applies', 0, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('506', '6', 'Linkage', 'Linkage', 0, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('506', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('506', 'a', 'Terms governing access', 'Terms governing access', 0, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('506', 'b', 'Jurisdiction', 'Jurisdiction', 1, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('506', 'c', 'Physical access provisions', 'Physical access provisions', 1, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('506', 'd', 'Authorized users', 'Authorized users', 1, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('506', 'e', 'Authorization', 'Authorization', 1, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('506', 'f', 'Standardized terminology for access restriction', 'Standardized terminology for access restriction', 1, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('506', 'g', 'Availability date', 'Availability date', 1, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('506', 'q', 'Supplying agency', 'Supplying agency', 0, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('506', 'u', 'Uniform Resource Identifier', 'Uniform Resource Identifier', 1, 0, '', 5, '', '', '', 1, -6, 'HLD', '', '', NULL), + ('538', '3', 'Materials specified', 'Materials specified', 0, 0, '', 5, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL), + ('538', '5', 'Institution to which field applies', 'Institution to which field applies', 1, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('538', '6', 'Linkage', 'Linkage', 0, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('538', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('538', 'a', 'System details note', 'System details note', 0, 0, '', 5, '', '', '', NULL, -1, 'HLD', '', '', NULL), + ('538', 'i', 'Display text', 'Display text', 0, 0, '', 5, '', '', '', NULL, -1, 'HLD', '', '', NULL), + ('538', 'u', 'Uniform Resource Identifier', 'Uniform Resource Identifier', 1, 0, '', 5, '', '', '', 1, -1, 'HLD', '', '', NULL), + ('541', '3', 'Materials specified', 'Materials specified', 0, 0, '', 5, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL), + ('541', '5', 'Institution to which field applies', 'Institution to which field applies', 0, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('541', '6', 'Linkage', 'Linkage', 0, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('541', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('541', 'a', 'Source of acquisition', 'Source of acquisition', 0, 0, '', 5, '', '', '', NULL, 1, 'HLD', '', '', NULL), + ('541', 'b', 'Address', 'Address', 0, 0, '', 5, '', '', '', NULL, 1, 'HLD', '', '', NULL), + ('541', 'c', 'Method of acquisition', 'Method of acquisition', 0, 0, '', 5, '', '', '', NULL, 1, 'HLD', '', '', NULL), + ('541', 'd', 'Date of acquisition', 'Date of acquisition', 0, 0, '', 5, '', '', '', NULL, 1, 'HLD', '', '', NULL), + ('541', 'e', 'Accession number', 'Accession number', 0, 0, '', 5, '', '', '', NULL, 1, 'HLD', '', '', NULL), + ('541', 'f', 'Owner', 'Owner', 0, 0, '', 5, '', '', '', NULL, 1, 'HLD', '', '', NULL), + ('541', 'h', 'Purchase price', 'Purchase price', 0, 0, '', 5, '', '', '', NULL, 1, 'HLD', '', '', NULL), + ('541', 'n', 'Extent', 'Extent', 1, 0, '', 5, '', '', '', NULL, 1, 'HLD', '', '', NULL), + ('541', 'o', 'Type of unit', 'Type of unit', 1, 0, '', 5, '', '', '', NULL, 1, 'HLD', '', '', NULL), + ('561', '3', 'Materials specified', 'Materials specified', 0, 0, '', 5, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL), + ('561', '5', 'Institution to which field applies', 'Institution to which field applies', 0, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('561', '6', 'Linkage', 'Linkage', 0, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('561', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('561', 'a', 'History', 'History', 0, 0, '', 5, '', '', '', NULL, 6, 'HLD', '', '', NULL), + ('561', 'b', 'Time of collation [OBSOLETE]', 'Time of collation [OBSOLETE]', 0, 0, '', 5, '', '', '', NULL, 6, 'HLD', '', '', NULL), + ('561', 'u', 'Uniform Resource Identifier', 'Uniform Resource Identifier', 1, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('562', '3', 'Materials specified', 'Materials specified', 0, 0, '', 5, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL), + ('562', '5', 'Institution to which field applies', 'Institution to which field applies', 0, 0, '', -1, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL), + ('562', '6', 'Linkage', 'Linkage', 0, 0, '', 5, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL), + ('562', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 5, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL), + ('562', 'a', 'Identifying markings', 'Identifying markings', 1, 0, '', 5, NULL, NULL, '', NULL, -1, 'HLD', '', '', NULL), + ('562', 'b', 'Copy identification', 'Copy identification', 1, 0, '', 5, NULL, NULL, '', NULL, -1, 'HLD', '', '', NULL), + ('562', 'c', 'Version identification', 'Version identification', 1, 0, '', 5, NULL, NULL, '', NULL, -1, 'HLD', '', '', NULL), + ('562', 'd', 'Presentation format', 'Presentation format', 1, 0, '', 5, NULL, NULL, '', NULL, -1, 'HLD', '', '', NULL), + ('562', 'e', 'Number of copies', 'Number of copies', 1, 0, '', 5, NULL, NULL, '', NULL, -1, 'HLD', '', '', NULL), + ('563', '3', 'Materials specified', 'Materials specified', 0, 0, '', 5, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL), + ('563', '5', 'Institution to which field applies', 'Institution to which field applies', 0, 0, '', -1, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL), + ('563', '6', 'Linkage', 'Linkage', 0, 0, '', 5, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL), + ('563', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 5, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL), + ('563', 'a', 'Binding note', 'Binding note', 0, 0, '', 5, NULL, NULL, '', NULL, -1, 'HLD', '', '', NULL), + ('563', 'u', 'Uniform Resource Identifier', 'Uniform Resource Identifier', 1, 0, '', 5, NULL, NULL, '', 1, -1, 'HLD', '', '', NULL), + ('583', '2', 'Source of term', 'Source of term', 0, 0, '', 5, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL), + ('583', '3', 'Materials specified', 'Materials specified', 0, 0, '', 5, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL), + ('583', '5', 'Institution to which field applies', 'Institution to which field applies', 0, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('583', '6', 'Linkage', 'Linkage', 0, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('583', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('583', 'a', 'Action', 'Action', 0, 0, '', 5, '', '', '', NULL, -1, 'HLD', '', '', NULL), + ('583', 'b', 'Action identification', 'Action identification', 1, 0, '', 5, '', '', '', NULL, -1, 'HLD', '', '', NULL), + ('583', 'c', 'Time/date of action', 'Time/date of action', 1, 0, '', 5, '', '', '', NULL, -1, 'HLD', '', '', NULL), + ('583', 'd', 'Action interval', 'Action interval', 1, 0, '', 5, '', '', '', NULL, -1, 'HLD', '', '', NULL), + ('583', 'e', 'Contingency for action', 'Contingency for action', 1, 0, '', 5, '', '', '', NULL, -1, 'HLD', '', '', NULL), + ('583', 'f', 'Authorization', 'Authorization', 1, 0, '', 5, '', '', '', NULL, -1, 'HLD', '', '', NULL), + ('583', 'h', 'Jurisdiction', 'Jurisdiction', 1, 0, '', 5, '', '', '', NULL, -1, 'HLD', '', '', NULL), + ('583', 'i', 'Method of action', 'Method of action', 1, 0, '', 5, '', '', '', NULL, -1, 'HLD', '', '', NULL), + ('583', 'j', 'Site of action', 'Site of action', 1, 0, '', 5, '', '', '', NULL, -1, 'HLD', '', '', NULL), + ('583', 'k', 'Action agent', 'Action agent', 1, 0, '', 5, '', '', '', NULL, -1, 'HLD', '', '', NULL), + ('583', 'l', 'Status', 'Status', 1, 0, '', 5, '', '', '', NULL, -1, 'HLD', '', '', NULL), + ('583', 'n', 'Extent', 'Extent', 1, 0, '', 5, '', '', '', NULL, -1, 'HLD', '', '', NULL), + ('583', 'o', 'Type of unit', 'Type of unit', 1, 0, '', 5, '', '', '', NULL, -1, 'HLD', '', '', NULL), + ('583', 'u', 'Uniform Resource Identifier', 'Uniform Resource Identifier', 1, 0, '', 5, '', '', '', 1, -1, 'HLD', '', '', NULL), + ('583', 'x', 'Nonpublic note', 'Nonpublic note', 1, 0, '', 5, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('583', 'z', 'Public note', 'Public note', 1, 0, '', 5, '', '', '', NULL, -1, 'HLD', '', '', NULL), + ('842', '6', 'Linkage', 'Linkage', 0, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('842', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('842', 'a', 'Textual physical form designator', 'Textual physical form designator', 0, 0, '', 8, '', '', '', NULL, -1, 'HLD', '', '', NULL), + ('843', '3', 'Materials specified', 'Materials specified', 0, 0, '', 8, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL), + ('843', '5', 'Institution to which field applies', 'Institution to which field applies', 0, 0, '', 8, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL), + ('843', '6', 'Linkage', 'Linkage', 0, 0, '', 8, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL), + ('843', '7', 'Fixed-length data elements of reproduction', 'Fixed-length data elements of reproduction', 0, 0, '', 8, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL), + ('843', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 8, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL), + ('843', 'a', 'Type of reproduction', 'Type of reproduction', 0, 0, '', 8, NULL, NULL, '', NULL, -1, 'HLD', '', '', NULL), + ('843', 'b', 'Place of reproduction', 'Place of reproduction', 1, 0, '', 8, NULL, NULL, '', NULL, -1, 'HLD', '', '', NULL), + ('843', 'c', 'Agency responsible for reproduction', 'Agency responsible for reproduction', 1, 0, '', 8, NULL, NULL, '', NULL, -1, 'HLD', '', '', NULL), + ('843', 'd', 'Date of reproduction', 'Date of reproduction', 0, 0, '', 8, NULL, NULL, '', NULL, -1, 'HLD', '', '', NULL), + ('843', 'e', 'Physical description of reproduction', 'Physical description of reproduction', 0, 0, '', 8, NULL, NULL, '', NULL, -1, 'HLD', '', '', NULL), + ('843', 'f', 'Series statement of reproduction', 'Series statement of reproduction', 1, 0, '', 8, NULL, NULL, '', NULL, -1, 'HLD', '', '', NULL), + ('843', 'm', 'Dates of publication and/or sequential designation of issues reproduced', 'Dates of publication and/or sequential designation of issues reproduced', 1, 0, '', 8, NULL, NULL, '', NULL, -1, 'HLD', '', '', NULL), + ('843', 'n', 'Note about reproduction', 'Note about reproduction', 1, 0, '', 8, NULL, NULL, '', NULL, -1, 'HLD', '', '', NULL), + ('844', '6', 'Linkage', 'Linkage', 0, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('844', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('844', 'a', 'Name of unit', 'Name of unit', 0, 0, '', 8, '', '', '', NULL, -1, 'HLD', '', '', NULL), + ('845', '2', 'Source of term', 'Source of term', 0, 0, '', 8, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL), + ('845', '3', 'Materials specified', 'Materials specified', 0, 0, '', 8, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL), + ('845', '5', 'Institution to which field applies', 'Institution to which field applies', 0, 0, '', 8, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL), + ('845', '6', 'Linkage', 'Linkage', 0, 0, '', 8, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL), + ('845', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 8, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL), + ('845', 'a', 'Terms governing use and reproduction', 'Terms governing use and reproduction', 0, 0, '', 8, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL), + ('845', 'b', 'Jurisdiction', 'Jurisdiction', 0, 0, '', 8, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL), + ('845', 'c', 'Authorization', 'Authorization', 0, 0, '', 8, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL), + ('845', 'd', 'Authorized users', 'Authorized users', 0, 0, '', 8, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL), + ('845', 'f', 'Use and reproduction rights', 'Use and reproduction rights', 1, 0, '', 8, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL), + ('845', 'g', 'Availability date', 'Availability date', 1, 0, '', 8, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL), + ('845', 'q', 'Supplying agency', 'Supplying agency', 0, 0, '', 8, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL), + ('845', 'u', 'Uniform Resource Identifier', 'Uniform Resource Identifier', 1, 0, '', 8, NULL, NULL, '', 1, -6, 'HLD', '', '', NULL), + ('852', '2', 'Source of classification or shelving scheme', 'Source of classification or shelving scheme', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('852', '3', 'Materials specified', 'Materials specified', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('852', '6', 'Linkage', 'Linkage', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('852', '8', 'Sequence number', 'Sequence number', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('852', 'a', 'Location', 'Location', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('852', 'b', 'Sublocation or collection', 'Sublocation or collection', 1, 0, 'holdings.holdingbranch', 8, 'branches', '', '', NULL, 4, 'HLD', '', '', NULL), + ('852', 'c', 'Shelving location', 'Shelving location', 1, 0, 'holdings.location', 8, 'LOC', '', '', NULL, 4, 'HLD', '', '', NULL), + ('852', 'd', 'Former shelving location', 'Former shelving location', 1, 0, '', 8, '', '', '', NULL, 1, 'HLD', '', '', NULL), + ('852', 'e', 'Address', 'Address', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('852', 'f', 'Coded location qualifier', 'Coded location qualifier', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('852', 'g', 'Non-coded location qualifier', 'Non-coded location qualifier', 1, 0, 'holdings.ccode', 8, 'CCODE', '', '', NULL, 4, 'HLD', '', '', NULL), + ('852', 'h', 'Classification part', 'Classification part', 0, 0, 'holdings.callnumber', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('852', 'i', 'Item part', 'Item part', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('852', 'j', 'Shelving control number', 'Shelving control number', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('852', 'k', 'Call number prefix', 'Call number prefix', 1, 0, 'holdings.callnumber', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('852', 'l', 'Shelving form of title', 'Shelving form of title', 0, 0, 'holdings.callnumber', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('852', 'm', 'Call number suffix', 'Call number suffix', 1, 0, 'holdings.callnumber', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('852', 'n', 'Country code', 'Country code', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('852', 'p', 'Piece designation', 'Piece designation', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('852', 'q', 'Piece physical condition', 'Piece physical condition', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('852', 's', 'Copyright article-fee code', 'Copyright article-fee code', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('852', 't', 'Copy number', 'Copy number', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('852', 'u', 'Uniform Resource Identifier', 'Uniform Resource Identifier', 1, 0, '', 8, '', '', '', 1, 4, 'HLD', '', '', NULL), + ('852', 'x', 'Nonpublic note', 'Nonpublic note', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('852', 'z', 'Public note', 'Public note', 1, 0, 'holdings.public_note', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('853', '3', 'Materials specified', 'Materials specified', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('853', '6', 'Linkage', 'Linkage', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('853', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('853', 'a', 'First level of enumeration', 'First level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('853', 'b', 'Second level of enumeration', 'Second level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('853', 'c', 'Third level of enumeration', 'Third level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('853', 'd', 'Fourth level of enumeration', 'Fourth level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('853', 'e', 'Fifth level of enumeration', 'Fifth level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('853', 'f', 'Sixth level of enumeration', 'Sixth level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('853', 'g', 'Alternative numbering scheme, first level of enumeration', 'Alternative numbering scheme, first level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('853', 'h', 'Alternative numbering scheme, second level of enumeration', 'Alternative numbering scheme, second level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('853', 'i', 'First level of chronology', 'First level of chronology', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('853', 'j', 'Second level of chronology', 'Second level of chronology', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('853', 'k', 'Third level of chronology', 'Third level of chronology', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('853', 'l', 'Fourth level of chronology', 'Fourth level of chronology', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('853', 'm', 'Alternative numbering scheme, chronology', 'Alternative numbering scheme, chronology', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('853', 'n', 'Pattern note', 'Pattern note', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('853', 'p', 'Number of pieces per issuance', 'Number of pieces per issuance', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('853', 't', 'Copy', 'Copy', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('853', 'u', 'Bibliographic units per next higher level', 'Bibliographic units per next higher level', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('853', 'v', 'Numbering continuity', 'Numbering continuity', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('853', 'w', 'Frequency', 'Frequency', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('853', 'x', 'Calendar change', 'Calendar change', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('853', 'y', 'Regularity pattern', 'Regularity pattern', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('853', 'z', 'Numbering scheme', 'Numbering scheme', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('854', '3', 'Materials specified', 'Materials specified', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('854', '6', 'Linkage', 'Linkage', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('854', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('854', 'a', 'First level of enumeration', 'First level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('854', 'b', 'Second level of enumeration', 'Second level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('854', 'c', 'Third level of enumeration', 'Third level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('854', 'd', 'Fourth level of enumeration', 'Fourth level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('854', 'e', 'Fifth level of enumeration', 'Fifth level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('854', 'f', 'Sixth level of enumeration', 'Sixth level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('854', 'g', 'Alternative numbering scheme, first level of enumeration', 'Alternative numbering scheme, first level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('854', 'h', 'Alternative numbering scheme, second level of enumeration', 'Alternative numbering scheme, second level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('854', 'i', 'First level of chronology', 'First level of chronology', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('854', 'j', 'Second level of chronology', 'Second level of chronology', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('854', 'k', 'Third level of chronology', 'Third level of chronology', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('854', 'l', 'Fourth level of chronology', 'Fourth level of chronology', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('854', 'm', 'Alternative numbering scheme, chronology', 'Alternative numbering scheme, chronology', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('854', 'n', 'Pattern note', 'Pattern note', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('854', 'p', 'Number of pieces per issuance', 'Number of pieces per issuance', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('854', 't', 'Copy', 'Copy', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('854', 'u', 'Bibliographic units per next higher level', 'Bibliographic units per next higher level', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('854', 'v', 'Numbering continuity', 'Numbering continuity', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('854', 'w', 'Frequency', 'Frequency', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('854', 'x', 'Calendar change', 'Calendar change', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('854', 'y', 'Regularity pattern', 'Regularity pattern', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('854', 'z', 'Numbering scheme', 'Numbering scheme', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('855', '3', 'Materials specified', 'Materials specified', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('855', '6', 'Linkage', 'Linkage', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('855', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('855', 'a', 'First level of enumeration', 'First level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('855', 'b', 'Second level of enumeration', 'Second level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('855', 'c', 'Third level of enumeration', 'Third level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('855', 'd', 'Fourth level of enumeration', 'Fourth level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('855', 'e', 'Fifth level of enumeration', 'Fifth level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('855', 'f', 'Sixth level of enumeration', 'Sixth level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('855', 'g', 'Alternative numbering scheme, first level of enumeration', 'Alternative numbering scheme, first level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('855', 'h', 'Alternative numbering scheme, second level of enumeration', 'Alternative numbering scheme, second level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('855', 'i', 'First level of chronology', 'First level of chronology', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('855', 'j', 'Second level of chronology', 'Second level of chronology', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('855', 'k', 'Third level of chronology', 'Third level of chronology', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('855', 'l', 'Fourth level of chronology', 'Fourth level of chronology', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('855', 'm', 'Alternative numbering scheme, chronology', 'Alternative numbering scheme, chronology', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('855', 'n', 'Pattern note', 'Pattern note', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('855', 'p', 'Number of pieces per issuance', 'Number of pieces per issuance', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('855', 't', 'Copy', 'Copy', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('855', 'u', 'Bibliographic units per next higher level', 'Bibliographic units per next higher level', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('855', 'v', 'Numbering continuity', 'Numbering continuity', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('855', 'w', 'Frequency', 'Frequency', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('855', 'x', 'Calendar change', 'Calendar change', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('855', 'y', 'Regularity pattern', 'Regularity pattern', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('855', 'z', 'Numbering scheme', 'Numbering scheme', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL), + ('856', '2', 'Access method', 'Access method', 0, 0, '', 8, '', '', '', 0, 5, 'HLD', '', '', NULL), + ('856', '3', 'Materials specified', 'Materials specified', 0, 0, '', 8, '', '', '', 0, 5, 'HLD', '', '', NULL), + ('856', '6', 'Linkage', 'Linkage', 0, 0, '', 8, '', '', '', 0, 5, 'HLD', '', '', NULL), + ('856', '7', 'Access status', 'Access status', 0, 0, '', 8, '', '', '', 0, 5, 'HLD', '', '', NULL), + ('856', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 8, '', '', '', 0, 5, 'HLD', '', '', NULL), + ('856', 'a', 'Host name', 'Host name', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('856', 'b', 'Access number', 'Access number', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('856', 'c', 'Compression information', 'Compression information', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('856', 'd', 'Path', 'Path', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('856', 'f', 'Electronic name', 'Electronic name', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('856', 'h', 'Processor of request', 'Processor of request', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('856', 'i', 'Instruction', 'Instruction', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('856', 'j', 'Bits per second', 'Bits per second', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('856', 'k', 'Password', 'Password', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('856', 'l', 'Logon', 'Logon', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('856', 'm', 'Contact for access assistance', 'Contact for access assistance', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('856', 'n', 'Name of location of host', 'Name of location of host', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('856', 'o', 'Operating system', 'Operating system', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('856', 'p', 'Port', 'Port', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('856', 'q', 'Electronic format type', 'Electronic format type', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('856', 'r', 'Settings', 'Settings', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('856', 's', 'File size', 'File size', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('856', 't', 'Terminal emulation', 'Terminal emulation', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('856', 'u', 'Uniform Resource Identifier', 'Uniform Resource Identifier', 1, 0, '', 8, '', '', '', 1, 4, 'HLD', '', '', NULL), + ('856', 'v', 'Hours access method available', 'Hours access method available', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('856', 'w', 'Record control number', 'Record control number', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('856', 'x', 'Nonpublic note', 'Nonpublic note', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('856', 'y', 'Link text', 'Link text', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('856', 'z', 'Public note', 'Public note', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('863', '6', 'Linkage', 'Linkage', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('863', '8', 'Field link and sequence number', 'Field link and sequence number', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('863', 'a', 'First level of enumeration', 'First level of enumeration', 0, 0, 'holdings.summary', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('863', 'b', 'Second level of enumeration', 'Second level of enumeration', 0, 0, 'holdings.summary', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('863', 'c', 'Third level of enumeration', 'Third level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('863', 'd', 'Fourth level of enumeration', 'Fourth level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('863', 'e', 'Fifth level of enumeration', 'Fifth level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('863', 'f', 'Sixth level of enumeration', 'Sixth level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('863', 'g', 'Alternative numbering scheme, first level of enumeration', 'Alternative numbering scheme, first level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('863', 'h', 'Alternative numbering scheme, second level of enumeration', 'Alternative numbering scheme, second level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('863', 'i', 'First level of chronology', 'First level of chronology', 0, 0, 'holdings.summary', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('863', 'j', 'Second level of chronology', 'Second level of chronology', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('863', 'k', 'Third level of chronology', 'Third level of chronology', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('863', 'l', 'Fourth level of chronology', 'Fourth level of chronology', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('863', 'm', 'Alternative numbering scheme, chronology', 'Alternative numbering scheme, chronology', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('863', 'n', 'Converted Gregorian year', 'Converted Gregorian year', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('863', 'o', 'Type of unit', 'Type of unit', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('863', 'p', 'Piece designation', 'Piece designation', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('863', 'q', 'Piece physical condition', 'Piece physical condition', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('863', 's', 'Copyright article-fee code', 'Copyright article-fee code', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('863', 't', 'Copy number', 'Copy number', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('863', 'v', 'Issuing date', 'Issuing date', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('863', 'w', 'Break indicator', 'Break indicator', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('863', 'x', 'Nonpublic note', 'Nonpublic note', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('863', 'z', 'Public note', 'Public note', 1, 0, 'holdings.summary', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('864', '6', 'Linkage', 'Linkage', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('864', '8', 'Field link and sequence number', 'Field link and sequence number', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('864', 'a', 'First level of enumeration', 'First level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('864', 'b', 'Second level of enumeration', 'Second level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('864', 'c', 'Third level of enumeration', 'Third level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('864', 'd', 'Fourth level of enumeration', 'Fourth level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('864', 'e', 'Fifth level of enumeration', 'Fifth level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('864', 'f', 'Sixth level of enumeration', 'Sixth level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('864', 'g', 'Alternative numbering scheme, first level of enumeration', 'Alternative numbering scheme, first level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('864', 'h', 'Alternative numbering scheme, second level of enumeration', 'Alternative numbering scheme, second level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('864', 'i', 'First level of chronology', 'First level of chronology', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('864', 'j', 'Second level of chronology', 'Second level of chronology', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('864', 'k', 'Third level of chronology', 'Third level of chronology', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('864', 'l', 'Fourth level of chronology', 'Fourth level of chronology', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('864', 'm', 'Alternative numbering scheme, chronology', 'Alternative numbering scheme, chronology', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('864', 'n', 'Converted Gregorian year', 'Converted Gregorian year', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('864', 'o', 'Type of unit', 'Type of unit', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('864', 'p', 'Piece designation', 'Piece designation', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('864', 'q', 'Piece physical condition', 'Piece physical condition', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('864', 's', 'Copyright article-fee code', 'Copyright article-fee code', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('864', 't', 'Copy number', 'Copy number', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('864', 'v', 'Issuing date', 'Issuing date', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('864', 'w', 'Break indicator', 'Break indicator', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('864', 'x', 'Nonpublic note', 'Nonpublic note', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('864', 'z', 'Public note', 'Public note', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('865', '6', 'Linkage', 'Linkage', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('865', '8', 'Field link and sequence number', 'Field link and sequence number', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('865', 'a', 'First level of enumeration', 'First level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('865', 'b', 'Second level of enumeration', 'Second level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('865', 'c', 'Third level of enumeration', 'Third level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('865', 'd', 'Fourth level of enumeration', 'Fourth level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('865', 'e', 'Fifth level of enumeration', 'Fifth level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('865', 'f', 'Sixth level of enumeration', 'Sixth level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('865', 'g', 'Alternative numbering scheme, first level of enumeration', 'Alternative numbering scheme, first level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('865', 'h', 'Alternative numbering scheme, second level of enumeration', 'Alternative numbering scheme, second level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('865', 'i', 'First level of chronology', 'First level of chronology', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('865', 'j', 'Second level of chronology', 'Second level of chronology', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('865', 'k', 'Third level of chronology', 'Third level of chronology', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('865', 'l', 'Fourth level of chronology', 'Fourth level of chronology', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('865', 'm', 'Alternative numbering scheme, chronology', 'Alternative numbering scheme, chronology', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('865', 'n', 'Converted Gregorian year', 'Converted Gregorian year', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('865', 'o', 'Type of unit', 'Type of unit', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('865', 'p', 'Piece designation', 'Piece designation', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('865', 'q', 'Piece physical condition', 'Piece physical condition', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('865', 's', 'Copyright article-fee code', 'Copyright article-fee code', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('865', 't', 'Copy number', 'Copy number', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('865', 'v', 'Issuing date', 'Issuing date', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('865', 'w', 'Break indicator', 'Break indicator', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('865', 'x', 'Nonpublic note', 'Nonpublic note', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('865', 'z', 'Public note', 'Public note', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('866', '6', 'Linkage', 'Linkage', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('866', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('866', 'a', 'Textual string', 'Textual string', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('866', 'x', 'Nonpublic note', 'Nonpublic note', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('866', 'z', 'Public note', 'Public note', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('867', '6', 'Linkage', 'Linkage', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('867', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('867', 'a', 'Textual string', 'Textual string', 0, 0, 'holdings.supplements', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('867', 'x', 'Nonpublic note', 'Nonpublic note', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('867', 'z', 'Public note', 'Public note', 1, 0, 'holdings.supplements', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('868', '6', 'Linkage', 'Linkage', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('868', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('868', 'a', 'Textual string', 'Textual string', 0, 0, 'holdings.indexes', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('868', 'x', 'Nonpublic note', 'Nonpublic note', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('868', 'z', 'Public note', 'Public note', 1, 0, 'holdings.indexes', 8, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('876', '3', 'Materials specified', 'Materials specified', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('876', '6', 'Linkage', 'Linkage', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('876', '8', 'Sequence number', 'Sequence number', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('876', 'a', 'Internal item number', 'Internal item number', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('876', 'b', 'Invalid or canceled internal item number', 'Invalid or canceled internal item number', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('876', 'c', 'Cost', 'Cost', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('876', 'd', 'Date acquired', 'Date acquired', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('876', 'e', 'Source of acquisition', 'Source of acquisition', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('876', 'h', 'Use restrictions', 'Use restrictions', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('876', 'j', 'Item status', 'Item status', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('876', 'l', 'Temporary location', 'Temporary location', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('876', 'p', 'Piece designation', 'Piece designation', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('876', 'r', 'Invalid or canceled piece designation', 'Invalid or canceled piece designation', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('876', 't', 'Copy number', 'Copy number', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('876', 'x', 'Nonpublic note', 'Nonpublic note', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('876', 'z', 'Public note', 'Public note', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('877', '3', 'Materials specified', 'Materials specified', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('877', '6', 'Linkage', 'Linkage', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('877', '8', 'Sequence number', 'Sequence number', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('877', 'a', 'Internal item number', 'Internal item number', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('877', 'b', 'Invalid or canceled internal item number', 'Invalid or canceled internal item number', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('877', 'c', 'Cost', 'Cost', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('877', 'd', 'Date acquired', 'Date acquired', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('877', 'e', 'Source of acquisition', 'Source of acquisition', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('877', 'h', 'Use restrictions', 'Use restrictions', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('877', 'j', 'Item status', 'Item status', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('877', 'l', 'Temporary location', 'Temporary location', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('877', 'p', 'Piece designation', 'Piece designation', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('877', 'r', 'Invalid or canceled piece designation', 'Invalid or canceled piece designation', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('877', 't', 'Copy number', 'Copy number', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('877', 'x', 'Nonpublic note', 'Nonpublic note', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('877', 'z', 'Public note', 'Public note', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('878', '3', 'Materials specified', 'Materials specified', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('878', '6', 'Linkage', 'Linkage', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('878', '8', 'Sequence number', 'Sequence number', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('878', 'a', 'Internal item number', 'Internal item number', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('878', 'b', 'Invalid or canceled internal item number', 'Invalid or canceled internal item number', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('878', 'c', 'Cost', 'Cost', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('878', 'd', 'Date acquired', 'Date acquired', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('878', 'e', 'Source of acquisition', 'Source of acquisition', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('878', 'h', 'Use restrictions', 'Use restrictions', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('878', 'j', 'Item status', 'Item status', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('878', 'l', 'Temporary location', 'Temporary location', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('878', 'p', 'Piece designation', 'Piece designation', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('878', 'r', 'Invalid or canceled piece designation', 'Invalid or canceled piece designation', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('878', 't', 'Copy number', 'Copy number', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('878', 'x', 'Nonpublic note', 'Nonpublic note', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('878', 'z', 'Public note', 'Public note', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL), + ('880', '2', '2', '2', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('880', '3', '3', '3', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('880', '4', '4', '4', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('880', '5', '5', '5', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('880', '6', 'Linkage', 'Linkage', 0, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('880', '7', '7', '7', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('880', '8', '8', '8', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('880', '9', '9', '9', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('880', 'a', 'a', 'a', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('880', 'b', 'b', 'b', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('880', 'c', 'c', 'c', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('880', 'd', 'd', 'd', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('880', 'e', 'e', 'e', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('880', 'f', 'f', 'f', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('880', 'g', 'g', 'g', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('880', 'h', 'h', 'h', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('880', 'i', 'i', 'i', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('880', 'j', 'j', 'j', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('880', 'k', 'k', 'k', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('880', 'l', 'l', 'l', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('880', 'm', 'm', 'm', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('880', 'n', 'n', 'n', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('880', 'o', 'o', 'o', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('880', 'p', 'p', 'p', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('880', 'q', 'q', 'q', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('880', 'r', 'r', 'r', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('880', 's', 's', 's', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('880', 't', 't', 't', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('880', 'u', 'u', 'u', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('880', 'v', 'v', 'v', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('880', 'w', 'w', 'w', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('880', 'x', 'x', 'x', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('880', 'y', 'y', 'y', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('880', 'z', 'z', 'z', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('883', '0', 'Authority record control number or standard number', 'Authority record control number or standard number', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('883', '1', 'Real World Object URI', 'Real World Object URI', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('883', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('883', 'a', 'Generation process', 'Generation process', 0, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('883', 'c', 'Confidence value', 'Confidence value', 0, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('883', 'd', 'Generation date', 'Generation date', 0, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('883', 'q', 'Generation agency', 'Generation agency', 0, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('883', 'x', 'Validity end date', 'Validity end date', 0, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('883', 'u', 'Uniform Resource Identifier', 'Uniform Resource Identifier', 0, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('883', 'w', 'Bibliographic record control number', 'Bibliographic record control number', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('884', 'a', 'Conversion process', 'Conversion process', 0, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('884', 'g', 'Conversion date', 'Conversion date', 0, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('884', 'k', 'Identifier of source metadata', 'Identifier of source metadata', 0, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('884', 'q', 'Conversion agency', 'Conversion agency', 0, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('884', 'u', 'Uniform Resource Identifier', 'Uniform Resource Identifier', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL), + ('942', 'n', 'Suppress in OPAC', 'Suppress in OPAC', 0, 0, 'holdings.suppress', 9, '', '', '', 0, 4, 'HLD', '', '', NULL), + ('999', 'c', 'Koha biblionumber', 'Koha biblionumber', 0, 0, 'biblio.biblionumber', -1, NULL, NULL, '', NULL, -5, 'HLD', '', '', NULL), + ('999', 'e', 'Koha holding_id', 'Koha holding_id', 0, 0, 'holdings.holding_id', -1, NULL, NULL, '', NULL, -5, 'HLD', '', '', NULL); + }); + $dbh->do("UPDATE marc_subfield_structure SET maxlength=24 WHERE frameworkcode='HLD' AND tagfield='000'"); + $dbh->do("UPDATE marc_subfield_structure SET maxlength=40 WHERE tagfield='008'"); + } + + # Always end with this (adjust the bug info) + SetVersion( $DBversion ); + print "Upgrade to $DBversion done (Bug 20447 - Add holdings tables)\n"; +} diff --git a/installer/data/mysql/en/marcflavour/marc21/mandatory/marc21_framework_DEFAULT.yml b/installer/data/mysql/en/marcflavour/marc21/mandatory/marc21_framework_DEFAULT.yml index 4d748c367a..573dce31e4 100644 --- a/installer/data/mysql/en/marcflavour/marc21/mandatory/marc21_framework_DEFAULT.yml +++ b/installer/data/mysql/en/marcflavour/marc21/mandatory/marc21_framework_DEFAULT.yml @@ -25,7 +25,7 @@ # ************************************************************* description: - - "MARC21 Default and Acquisitions bibliographic frameworks." + - "MARC21 Default and Acquisitions bibliographic frameworks and Holdings framework." tables: - marc_tag_structure: @@ -724,6 +724,24 @@ tables: link: "" defaultvalue: + - tagfield: "952" + tagsubfield: "k" + liblibrarian: "Holdings record" + libopac: "Holdings record" + repeatable: 0 + mandatory: 0 + kohafield: items.holding_id + tab: 10 + authorised_value: holdings + authtypecode: "" + value_builder: "" + isurl: + hidden: -1 + frameworkcode: "" + seealso: "" + link: "" + defaultvalue: + - tagfield: "952" tagsubfield: "l" liblibrarian: "Total Checkouts" @@ -78181,42 +78199,10006 @@ tables: - frameworkcode: "ACQ" frameworktext: "Acquisition framework" -sql_statements: - - "UPDATE marc_subfield_structure SET maxlength=24 WHERE tagfield='000';" - - "UPDATE marc_subfield_structure SET maxlength=40 WHERE tagfield='008';" +# Holdings framework + - biblio_framework: + translatable: [ frameworktext ] + multiline: [] + rows: + - frameworkcode: "HLD" + frameworktext: "Default holdings framework" - # Create the ACQ framework based on the default framework, fields 000 and 952 only - - "INSERT INTO marc_tag_structure(tagfield, liblibrarian, libopac, repeatable, mandatory, authorised_value, frameworkcode) - SELECT tagfield, liblibrarian, libopac, repeatable, mandatory, authorised_value, 'ACQ' FROM marc_tag_structure WHERE tagfield='000' AND frameworkcode='';" + - marc_tag_structure: + translatable: [ liblibrarian, libopac ] + multiline: [] + rows: + - tagfield: "000" + liblibrarian: "LEADER" + libopac: "LEADER" + repeatable: 0 + mandatory: 1 + authorised_value: "" + frameworkcode: "HLD" - - "INSERT INTO marc_subfield_structure(tagfield, tagsubfield, liblibrarian, libopac, repeatable, mandatory, kohafield, tab, authorised_value, authtypecode, value_builder, isurl, hidden, frameworkcode, seealso, link, defaultvalue, maxlength) - SELECT tagfield, tagsubfield, liblibrarian, libopac, repeatable, mandatory, kohafield, tab, authorised_value, authtypecode, value_builder, isurl, hidden, 'ACQ', seealso, link, ' nam a22 7a 4500', maxlength FROM marc_subfield_structure WHERE tagfield='000' AND frameworkcode='';" + - tagfield: "001" + liblibrarian: "CONTROL NUMBER" + libopac: "CONTROL NUMBER" + repeatable: 0 + mandatory: 0 + authorised_value: "" + frameworkcode: "HLD" - - "INSERT INTO marc_tag_structure(tagfield, liblibrarian, libopac, repeatable, mandatory, authorised_value, frameworkcode) - SELECT tagfield, liblibrarian, libopac, repeatable, mandatory, authorised_value, 'ACQ' FROM marc_tag_structure WHERE tagfield='952' AND frameworkcode='';" + - tagfield: "003" + liblibrarian: "CONTROL NUMBER IDENTIFIER" + libopac: "CONTROL NUMBER IDENTIFIER" + repeatable: 0 + mandatory: 1 + authorised_value: "" + frameworkcode: "HLD" - - "INSERT INTO marc_subfield_structure(tagfield, tagsubfield, liblibrarian, libopac, repeatable, mandatory, kohafield, tab, authorised_value, authtypecode, value_builder, isurl, hidden, frameworkcode, seealso, link, defaultvalue, maxlength) - SELECT tagfield, tagsubfield, liblibrarian, libopac, repeatable, mandatory, kohafield, tab, authorised_value, authtypecode, value_builder, isurl, hidden, 'ACQ', seealso, link, defaultvalue, maxlength FROM marc_subfield_structure WHERE tagfield='952' AND frameworkcode='';" + - tagfield: "004" + liblibrarian: "CONTROL NUMBER FOR RELATED BIBLIOGRAPHIC RECORD" + libopac: "CONTROL NUMBER FOR RELATED BIBLIOGRAPHIC RECORD" + repeatable: 0 + mandatory: 0 + authorised_value: "" + frameworkcode: "HLD" - - "INSERT INTO marc_tag_structure(tagfield, liblibrarian, libopac, repeatable, mandatory, authorised_value, frameworkcode) - SELECT tagfield, liblibrarian, libopac, repeatable, mandatory, authorised_value, 'ACQ' - FROM marc_tag_structure - WHERE frameworkcode='' AND tagfield IN ( - SELECT tagfield - FROM marc_subfield_structure - WHERE ( - kohafield='biblio.title' - OR kohafield='biblio.author' - OR kohafield='biblioitems.publishercode' - OR kohafield='biblioitems.editionstatement' - OR kohafield='biblio.copyrightdate' - OR kohafield='biblioitems.isbn' - OR kohafield='biblio.seriestitle' - ) AND frameworkcode='' - );" + - tagfield: "005" + liblibrarian: "DATE AND TIME OF LATEST TRANSACTION" + libopac: "DATE AND TIME OF LATEST TRANSACTION" + repeatable: 0 + mandatory: 1 + authorised_value: "" + frameworkcode: "HLD" + + - tagfield: "006" + liblibrarian: "FIXED-LENGTH DATA ELEMENTS--ADDITIONAL MATERIAL CHARACTERISTICS" + libopac: "FIXED-LENGTH DATA ELEMENTS--ADDITIONAL MATERIAL CHARACTERISTICS" + repeatable: 1 + mandatory: 0 + authorised_value: "" + frameworkcode: "HLD" + + - tagfield: "007" + liblibrarian: "PHYSICAL DESCRIPTION FIXED FIELD--GENERAL INFORMATION" + libopac: "PHYSICAL DESCRIPTION FIXED FIELD--GENERAL INFORMATION" + repeatable: 1 + mandatory: 0 + authorised_value: "" + frameworkcode: "HLD" + + - tagfield: "008" + liblibrarian: "FIXED-LENGTH DATA ELEMENTS--GENERAL INFORMATION" + libopac: "FIXED-LENGTH DATA ELEMENTS--GENERAL INFORMATION" + repeatable: 0 + mandatory: 1 + authorised_value: "" + frameworkcode: "HLD" + + - tagfield: "010" + liblibrarian: "LIBRARY OF CONGRESS CONTROL NUMBER" + libopac: "LIBRARY OF CONGRESS CONTROL NUMBER" + repeatable: 0 + mandatory: 0 + authorised_value: "" + frameworkcode: "HLD" + + - tagfield: "014" + liblibrarian: "LINKAGE NUMBER" + libopac: "LINKAGE NUMBER" + repeatable: 1 + mandatory: 0 + authorised_value: "" + frameworkcode: "HLD" + + - tagfield: "016" + liblibrarian: "NATIONAL BIBLIOGRAPHIC AGENCY CONTROL NUMBER" + libopac: "NATIONAL BIBLIOGRAPHIC AGENCY CONTROL NUMBER" + repeatable: 1 + mandatory: 0 + authorised_value: "" + frameworkcode: "HLD" + + - tagfield: "017" + liblibrarian: "COPYRIGHT OR LEGAL DEPOSIT NUMBER" + libopac: "COPYRIGHT OR LEGAL DEPOSIT NUMBER" + repeatable: 1 + mandatory: 0 + authorised_value: "" + frameworkcode: "HLD" + + - tagfield: "020" + liblibrarian: "INTERNATIONAL STANDARD BOOK NUMBER" + libopac: "INTERNATIONAL STANDARD BOOK NUMBER" + repeatable: 1 + mandatory: 0 + authorised_value: + frameworkcode: "HLD" + + - tagfield: "022" + liblibrarian: "INTERNATIONAL STANDARD SERIAL NUMBER" + libopac: "INTERNATIONAL STANDARD SERIAL NUMBER" + repeatable: 1 + mandatory: 0 + authorised_value: + frameworkcode: "HLD" + + - tagfield: "024" + liblibrarian: "OTHER STANDARD IDENTIFIER" + libopac: "OTHER STANDARD IDENTIFIER" + repeatable: 1 + mandatory: 0 + authorised_value: + frameworkcode: "HLD" + + - tagfield: "027" + liblibrarian: "STANDARD TECHNICAL REPORT NUMBER" + libopac: "STANDARD TECHNICAL REPORT NUMBER" + repeatable: 1 + mandatory: 0 + authorised_value: "" + frameworkcode: "HLD" + + - tagfield: "030" + liblibrarian: "CODEN DESIGNATION" + libopac: "CODEN DESIGNATION" + repeatable: 1 + mandatory: 0 + authorised_value: "" + frameworkcode: "HLD" + + - tagfield: "035" + liblibrarian: "SYSTEM CONTROL NUMBER" + libopac: "SYSTEM CONTROL NUMBER" + repeatable: 1 + mandatory: 0 + authorised_value: + frameworkcode: "HLD" + + - tagfield: "040" + liblibrarian: "CATALOGING SOURCE" + libopac: "CATALOGING SOURCE" + repeatable: 0 + mandatory: 1 + authorised_value: + frameworkcode: "HLD" + + - tagfield: "066" + liblibrarian: "CHARACTER SETS PRESENT" + libopac: "CHARACTER SETS PRESENT" + repeatable: 0 + mandatory: 0 + authorised_value: + frameworkcode: "HLD" + + - tagfield: "337" + liblibrarian: "MEDIA TYPE" + libopac: "MEDIA TYPE" + repeatable: 1 + mandatory: 0 + authorised_value: + frameworkcode: "HLD" + + - tagfield: "338" + liblibrarian: "CARRIER TYPE" + libopac: "CARRIER TYPE" + repeatable: 1 + mandatory: 0 + authorised_value: + frameworkcode: "HLD" + + - tagfield: "347" + liblibrarian: "DIGITAL FILE CHARACTERISTICS" + libopac: "DIGITAL FILE CHARACTERISTICS" + repeatable: 1 + mandatory: 0 + authorised_value: + frameworkcode: "HLD" + + - tagfield: "506" + liblibrarian: "RESTRICTIONS ON ACCESS NOTE" + libopac: "RESTRICTIONS ON ACCESS NOTE" + repeatable: 1 + mandatory: 0 + authorised_value: + frameworkcode: "HLD" + + - tagfield: "538" + liblibrarian: "SYSTEM DETAILS NOTE" + libopac: "SYSTEM DETAILS NOTE" + repeatable: 1 + mandatory: 0 + authorised_value: + frameworkcode: "HLD" + + - tagfield: "541" + liblibrarian: "IMMEDIATE SOURCE OF ACQUISITION NOTE" + libopac: "IMMEDIATE SOURCE OF ACQUISITION NOTE" + repeatable: 1 + mandatory: 0 + authorised_value: + frameworkcode: "HLD" + + - tagfield: "561" + liblibrarian: "OWNERSHIP AND CUSTODIAL HISTORY" + libopac: "OWNERSHIP AND CUSTODIAL HISTORY" + repeatable: 1 + mandatory: 0 + authorised_value: + frameworkcode: "HLD" + + - tagfield: "562" + liblibrarian: "COPY AND VERSION IDENTIFICATION NOTE" + libopac: "COPY AND VERSION IDENTIFICATION NOTE" + repeatable: 1 + mandatory: 0 + authorised_value: + frameworkcode: "HLD" + + - tagfield: "563" + liblibrarian: "BINDING INFORMATION" + libopac: "BINDING INFORMATION" + repeatable: 1 + mandatory: 0 + authorised_value: + frameworkcode: "HLD" + + - tagfield: "583" + liblibrarian: "ACTION NOTE" + libopac: "ACTION NOTE" + repeatable: 1 + mandatory: 0 + authorised_value: + frameworkcode: "HLD" + + - tagfield: "842" + liblibrarian: "TEXTUAL PHYSICAL FORM DESIGNATOR" + libopac: "TEXTUAL PHYSICAL FORM DESIGNATOR" + repeatable: 0 + mandatory: 0 + authorised_value: + frameworkcode: "HLD" + + - tagfield: "843" + liblibrarian: "REPRODUCTION NOTE" + libopac: "REPRODUCTION NOTE" + repeatable: 1 + mandatory: 0 + authorised_value: + frameworkcode: "HLD" + + - tagfield: "844" + liblibrarian: "NAME OF UNIT" + libopac: "NAME OF UNIT" + repeatable: 0 + mandatory: 0 + authorised_value: + frameworkcode: "HLD" + + - tagfield: "845" + liblibrarian: "TERMS GOVERNING USE AND REPRODUCTION NOTE" + libopac: "TERMS GOVERNING USE AND REPRODUCTION NOTE" + repeatable: 1 + mandatory: 0 + authorised_value: + frameworkcode: "HLD" + + - tagfield: "852" + liblibrarian: "LOCATION" + libopac: "LOCATION" + repeatable: 1 + mandatory: 0 + authorised_value: + frameworkcode: "HLD" + + - tagfield: "853" + liblibrarian: "CAPTIONS AND PATTERN--BASIC BIBLIOGRAPHIC UNIT" + libopac: "CAPTIONS AND PATTERN--BASIC BIBLIOGRAPHIC UNIT" + repeatable: 1 + mandatory: 0 + authorised_value: + frameworkcode: "HLD" + + - tagfield: "854" + liblibrarian: "CAPTIONS AND PATTERN--SUPPLEMENTARY MATERIAL" + libopac: "CAPTIONS AND PATTERN--SUPPLEMENTARY MATERIAL" + repeatable: 1 + mandatory: 0 + authorised_value: + frameworkcode: "HLD" + + - tagfield: "855" + liblibrarian: "CAPTIONS AND PATTERN--INDEXES" + libopac: "CAPTIONS AND PATTERN--INDEXES" + repeatable: 1 + mandatory: 0 + authorised_value: + frameworkcode: "HLD" + + - tagfield: "856" + liblibrarian: "ELECTRONIC LOCATION AND ACCESS" + libopac: "ELECTRONIC LOCATION AND ACCESS" + repeatable: 1 + mandatory: 0 + authorised_value: + frameworkcode: "HLD" + + - tagfield: "863" + liblibrarian: "ENUMERATION AND CHRONOLOGY--BASIC BIBLIOGRAPHIC UNIT" + libopac: "ENUMERATION AND CHRONOLOGY--BASIC BIBLIOGRAPHIC UNIT" + repeatable: 1 + mandatory: 0 + authorised_value: + frameworkcode: "HLD" + + - tagfield: "864" + liblibrarian: "ENUMERATION AND CHRONOLOGY--SUPPLEMENTARY MATERIAL" + libopac: "ENUMERATION AND CHRONOLOGY--SUPPLEMENTARY MATERIAL" + repeatable: 1 + mandatory: 0 + authorised_value: + frameworkcode: "HLD" + + - tagfield: "865" + liblibrarian: "ENUMERATION AND CHRONOLOGY--INDEXES" + libopac: "ENUMERATION AND CHRONOLOGY--INDEXES" + repeatable: 1 + mandatory: 0 + authorised_value: + frameworkcode: "HLD" + + - tagfield: "866" + liblibrarian: "TEXTUAL HOLDINGS--BASIC BIBLIOGRAPHIC UNIT" + libopac: "TEXTUAL HOLDINGS--BASIC BIBLIOGRAPHIC UNIT" + repeatable: 1 + mandatory: 0 + authorised_value: + frameworkcode: "HLD" + + - tagfield: "867" + liblibrarian: "TEXTUAL HOLDINGS--SUPPLEMENTARY MATERIAL" + libopac: "TEXTUAL HOLDINGS--SUPPLEMENTARY MATERIAL" + repeatable: 1 + mandatory: 0 + authorised_value: + frameworkcode: "HLD" + + - tagfield: "868" + liblibrarian: "TEXTUAL HOLDINGS--INDEXES" + libopac: "TEXTUAL HOLDINGS--INDEXES" + repeatable: 1 + mandatory: 0 + authorised_value: + frameworkcode: "HLD" + + - tagfield: "876" + liblibrarian: "ITEM INFORMATION--BASIC BIBLIOGRAPHIC UNIT" + libopac: "ITEM INFORMATION--BASIC BIBLIOGRAPHIC UNIT" + repeatable: 1 + mandatory: 0 + authorised_value: + frameworkcode: "HLD" + + - tagfield: "877" + liblibrarian: "ITEM INFORMATION--SUPPLEMENTARY MATERIAL" + libopac: "ITEM INFORMATION--SUPPLEMENTARY MATERIAL" + repeatable: 1 + mandatory: 0 + authorised_value: + frameworkcode: "HLD" + + - tagfield: "878" + liblibrarian: "ITEM INFORMATION--INDEXES" + libopac: "ITEM INFORMATION--INDEXES" + repeatable: 1 + mandatory: 0 + authorised_value: + frameworkcode: "HLD" + + - tagfield: "880" + liblibrarian: "ALTERNATE GRAPHIC REPRESENTATION" + libopac: "ALTERNATE GRAPHIC REPRESENTATION" + repeatable: 1 + mandatory: 0 + authorised_value: + frameworkcode: "HLD" + + - tagfield: "883" + liblibrarian: "MACHINE-GENERATED METADATA PROVENANCE" + libopac: "MACHINE-GENERATED METADATA PROVENANCE" + repeatable: 1 + mandatory: 0 + authorised_value: + frameworkcode: "HLD" + + - tagfield: "884" + liblibrarian: "DESCRIPTION CONVERSION INFORMATION" + libopac: "DESCRIPTION CONVERSION INFORMATION" + repeatable: 1 + mandatory: 0 + authorised_value: + frameworkcode: "HLD" + + - tagfield: "942" + liblibrarian: "ADDED ENTRY ELEMENTS (KOHA)" + libopac: "ADDED ENTRY ELEMENTS (KOHA)" + repeatable: 0 + mandatory: 0 + authorised_value: "" + frameworkcode: "HLD" + + - tagfield: "999" + liblibrarian: "SYSTEM CONTROL NUMBERS (KOHA)" + libopac: "SYSTEM CONTROL NUMBERS (KOHA)" + repeatable: 1 + mandatory: 0 + authorised_value: "" + frameworkcode: "HLD" + + - marc_subfield_structure: + translatable: [ liblibrarian, libopac ] + multiline: [] + rows: + - tagfield: "000" + tagsubfield: "@" + liblibrarian: "fixed length control field" + libopac: "fixed length control field" + repeatable: 0 + mandatory: 1 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: marc21_leader_holdings.pl + isurl: 0 + hidden: 0 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "001" + tagsubfield: "@" + liblibrarian: "control field" + libopac: "control field" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "003" + tagsubfield: "@" + liblibrarian: "control field" + libopac: "control field" + repeatable: 0 + mandatory: 1 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: marc21_orgcode.pl + isurl: 0 + hidden: 0 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "004" + tagsubfield: "@" + liblibrarian: "control field" + libopac: "control field" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 0 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "005" + tagsubfield: "@" + liblibrarian: "control field" + libopac: "control field" + repeatable: 0 + mandatory: 1 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: marc21_field_005.pl + isurl: 0 + hidden: 0 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "006" + tagsubfield: "@" + liblibrarian: "fixed length control field" + libopac: "fixed length control field" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: marc21_field_006.pl + isurl: 0 + hidden: 0 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "007" + tagsubfield: "@" + liblibrarian: "fixed length control field" + libopac: "fixed length control field" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: marc21_field_007.pl + isurl: 0 + hidden: 0 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "008" + tagsubfield: "@" + liblibrarian: "fixed length control field" + libopac: "fixed length control field" + repeatable: 0 + mandatory: 1 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: marc21_field_008_holdings.pl + isurl: 0 + hidden: 0 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "010" + tagsubfield: "8" + liblibrarian: "Field link and sequence number" + libopac: "Field link and sequence number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "010" + tagsubfield: "a" + liblibrarian: "LC control number" + libopac: "LC control number" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 0 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "010" + tagsubfield: "b" + liblibrarian: "NUCMC control number" + libopac: "NUCMC control number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: -1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "010" + tagsubfield: "z" + liblibrarian: "Canceled/invalid LC control number" + libopac: "Canceled/invalid LC control number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: -1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "014" + tagsubfield: "6" + liblibrarian: "Linkage" + libopac: "Linkage" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "014" + tagsubfield: "a" + liblibrarian: "Linkage number" + libopac: "Linkage number" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: -1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "014" + tagsubfield: "b" + liblibrarian: "Source of number" + libopac: "Source of number" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: -1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "014" + tagsubfield: "z" + liblibrarian: "Canceled/invalid linkage number" + libopac: "Canceled/invalid linkage number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: -1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "016" + tagsubfield: "2" + liblibrarian: "Source" + libopac: "Source" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 0 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "016" + tagsubfield: "8" + liblibrarian: "Field link and sequence number" + libopac: "Field link and sequence number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "016" + tagsubfield: "a" + liblibrarian: "Record control number" + libopac: "Record control number" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 0 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "016" + tagsubfield: "z" + liblibrarian: "Canceled/invalid control number" + libopac: "Canceled/invalid control number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: -1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "017" + tagsubfield: "2" + liblibrarian: "Source" + libopac: "Source" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "017" + tagsubfield: "6" + liblibrarian: "Linkage" + libopac: "Linkage" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "017" + tagsubfield: "8" + liblibrarian: "Field link and sequence number" + libopac: "Field link and sequence number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "017" + tagsubfield: "a" + liblibrarian: "Copyright or legal deposit number" + libopac: "Copyright or legal deposit number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "017" + tagsubfield: "b" + liblibrarian: "Assigning agency" + libopac: "Assigning agency" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "017" + tagsubfield: "d" + liblibrarian: "Date" + libopac: "Date" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: + isurl: 0 + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "017" + tagsubfield: "i" + liblibrarian: "Display text" + libopac: "Display text" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "017" + tagsubfield: "z" + liblibrarian: "Canceled/invalid copyright or legal deposit number" + libopac: "Canceled/invalid copyright or legal deposit number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "020" + tagsubfield: "6" + liblibrarian: "Linkage" + libopac: "Linkage" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "020" + tagsubfield: "8" + liblibrarian: "Field link and sequence number" + libopac: "Field link and sequence number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "020" + tagsubfield: "a" + liblibrarian: "International Standard Book Number" + libopac: "International Standard Book Number" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 0 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "020" + tagsubfield: "c" + liblibrarian: "Terms of availability" + libopac: "Terms of availability" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 0 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "020" + tagsubfield: "q" + liblibrarian: "Qualifying information" + libopac: "Qualifying information" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 0 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "020" + tagsubfield: "z" + liblibrarian: "Canceled/invalid ISBN" + libopac: "Canceled/invalid ISBN" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: -1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "022" + tagsubfield: "2" + liblibrarian: "Source" + libopac: "Source" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 0 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "022" + tagsubfield: "6" + liblibrarian: "Linkage" + libopac: "Linkage" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "022" + tagsubfield: "8" + liblibrarian: "Field link and sequence number" + libopac: "Field link and sequence number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "022" + tagsubfield: "a" + liblibrarian: "International Standard Serial Number" + libopac: "International Standard Serial Number" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 0 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "022" + tagsubfield: "l" + liblibrarian: "ISSN-L" + libopac: "ISSN-L" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "022" + tagsubfield: "m" + liblibrarian: "Canceled ISSN-L" + libopac: "Canceled ISSN-L" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "022" + tagsubfield: "y" + liblibrarian: "Incorrect ISSN" + libopac: "Incorrect ISSN" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: -1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "022" + tagsubfield: "z" + liblibrarian: "Canceled ISSN" + libopac: "Canceled ISSN" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: -1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "024" + tagsubfield: "2" + liblibrarian: "Source of number or code" + libopac: "Source of number or code" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 0 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "024" + tagsubfield: "6" + liblibrarian: "Linkage" + libopac: "Linkage" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "024" + tagsubfield: "8" + liblibrarian: "Field link and sequence number" + libopac: "Field link and sequence number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "024" + tagsubfield: "a" + liblibrarian: "Standard number or code" + libopac: "Standard number or code" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 0 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "024" + tagsubfield: "b" + liblibrarian: "Additional codes following the standard number [OBSOLETE]" + libopac: "Additional codes following the standard number [OBSOLETE]" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "024" + tagsubfield: "c" + liblibrarian: "Terms of availability" + libopac: "Terms of availability" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 0 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "024" + tagsubfield: "d" + liblibrarian: "Additional codes following the standard number or code" + libopac: "Additional codes following the standard number or code" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 0 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "024" + tagsubfield: "q" + liblibrarian: "Qualifying information" + libopac: "Qualifying information" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 0 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "024" + tagsubfield: "z" + liblibrarian: "Canceled/invalid standard number or code" + libopac: "Canceled/invalid standard number or code" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: -1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "027" + tagsubfield: "6" + liblibrarian: "Linkage" + libopac: "Linkage" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "027" + tagsubfield: "8" + liblibrarian: "Field link and sequence number" + libopac: "Field link and sequence number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "027" + tagsubfield: "a" + liblibrarian: "Standard technical report number" + libopac: "Standard technical report number" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: -1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "027" + tagsubfield: "q" + liblibrarian: "Qualifying information" + libopac: "Qualifying information" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 0 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "027" + tagsubfield: "z" + liblibrarian: "Canceled/invalid number" + libopac: "Canceled/invalid number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: -1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "030" + tagsubfield: "6" + liblibrarian: "Linkage" + libopac: "Linkage" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "030" + tagsubfield: "8" + liblibrarian: "Field link and sequence number" + libopac: "Field link and sequence number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "030" + tagsubfield: "a" + liblibrarian: "CODEN" + libopac: "CODEN" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "030" + tagsubfield: "z" + liblibrarian: "Canceled/invalid CODEN" + libopac: "Canceled/invalid CODEN" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "035" + tagsubfield: "6" + liblibrarian: "Linkage" + libopac: "Linkage" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "035" + tagsubfield: "8" + liblibrarian: "Field link and sequence number" + libopac: "Field link and sequence number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "035" + tagsubfield: "a" + liblibrarian: "System control number" + libopac: "System control number" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 0 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "035" + tagsubfield: "z" + liblibrarian: "Canceled/invalid control number" + libopac: "Canceled/invalid control number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: -1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "040" + tagsubfield: "6" + liblibrarian: "Linkage" + libopac: "Linkage" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "040" + tagsubfield: "8" + liblibrarian: "Field link and sequence number" + libopac: "Field link and sequence number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "040" + tagsubfield: "a" + liblibrarian: "Original cataloging agency" + libopac: "Original cataloging agency" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 0 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "040" + tagsubfield: "b" + liblibrarian: "Language of cataloging" + libopac: "Language of cataloging" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 0 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "040" + tagsubfield: "c" + liblibrarian: "Transcribing agency" + libopac: "Transcribing agency" + repeatable: 0 + mandatory: 1 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 0 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "040" + tagsubfield: "d" + liblibrarian: "Modifying agency" + libopac: "Modifying agency" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 0 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "066" + tagsubfield: "a" + liblibrarian: "Primary G0 character set" + libopac: "Primary G0 character set" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: + authtypecode: + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "066" + tagsubfield: "b" + liblibrarian: "Primary G1 character set" + libopac: "Primary G1 character set" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: + authtypecode: + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "066" + tagsubfield: "c" + liblibrarian: "Alternate G0 or G1 character set" + libopac: "Alternate G0 or G1 character set" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 0 + authorised_value: + authtypecode: + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "337" + tagsubfield: "0" + liblibrarian: "Authority record control number or standard number" + libopac: "Authority record control number or standard number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 3 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "337" + tagsubfield: "1" + liblibrarian: "Real World Object URI" + libopac: "Real World Object URI" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 3 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "337" + tagsubfield: "2" + liblibrarian: "Source" + libopac: "Source" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 3 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "337" + tagsubfield: "3" + liblibrarian: "Materials specified" + libopac: "Materials specified" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 3 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "337" + tagsubfield: "6" + liblibrarian: "Linkage" + libopac: "Linkage" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 3 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "337" + tagsubfield: "8" + liblibrarian: "Field link and sequence number" + libopac: "Field link and sequence number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 3 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "337" + tagsubfield: "a" + liblibrarian: "Media type term" + libopac: "Media type term" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 3 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "337" + tagsubfield: "b" + liblibrarian: "Media type code" + libopac: "Media type code" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 3 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "338" + tagsubfield: "0" + liblibrarian: "Authority record control number or standard number" + libopac: "Authority record control number or standard number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 3 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "338" + tagsubfield: "1" + liblibrarian: "Real World Object URI" + libopac: "Real World Object URI" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 3 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "338" + tagsubfield: "2" + liblibrarian: "Source" + libopac: "Source" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 3 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "338" + tagsubfield: "3" + liblibrarian: "Materials specified" + libopac: "Materials specified" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 3 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "338" + tagsubfield: "6" + liblibrarian: "Linkage" + libopac: "Linkage" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 3 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "338" + tagsubfield: "8" + liblibrarian: "Field link and sequence number" + libopac: "Field link and sequence number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 3 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "338" + tagsubfield: "a" + liblibrarian: "Carrier type term" + libopac: "Carrier type term" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 3 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "338" + tagsubfield: "b" + liblibrarian: "Carrier type code" + libopac: "Carrier type code" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 3 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "347" + tagsubfield: "0" + liblibrarian: "Authority record control number or standard number" + libopac: "Authority record control number or standard number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 3 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "347" + tagsubfield: "1" + liblibrarian: "Real World Object URI" + libopac: "Real World Object URI" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 3 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "347" + tagsubfield: "2" + liblibrarian: "Source" + libopac: "Source" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 3 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "347" + tagsubfield: "3" + liblibrarian: "Materials specified" + libopac: "Materials specified" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 3 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "347" + tagsubfield: "6" + liblibrarian: "Linkage" + libopac: "Linkage" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 3 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "347" + tagsubfield: "8" + liblibrarian: "Field link and sequence number" + libopac: "Field link and sequence number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 3 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "347" + tagsubfield: "a" + liblibrarian: "File type" + libopac: "File type" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 3 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "347" + tagsubfield: "b" + liblibrarian: "Encoding format" + libopac: "Encoding format" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 3 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "347" + tagsubfield: "c" + liblibrarian: "File size" + libopac: "File size" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 3 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "347" + tagsubfield: "d" + liblibrarian: "Resolution" + libopac: "Resolution" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 3 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "347" + tagsubfield: "e" + liblibrarian: "Regional encoding" + libopac: "Regional encoding" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 3 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "347" + tagsubfield: "f" + liblibrarian: "Encoded bitrate" + libopac: "Encoded bitrate" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 3 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "506" + tagsubfield: "2" + liblibrarian: "Source of term" + libopac: "Source of term" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "506" + tagsubfield: "3" + liblibrarian: "Materials specified" + libopac: "Materials specified" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "506" + tagsubfield: "5" + liblibrarian: "Institution to which field applies" + libopac: "Institution to which field applies" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "506" + tagsubfield: "6" + liblibrarian: "Linkage" + libopac: "Linkage" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "506" + tagsubfield: "8" + liblibrarian: "Field link and sequence number" + libopac: "Field link and sequence number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "506" + tagsubfield: "a" + liblibrarian: "Terms governing access" + libopac: "Terms governing access" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "506" + tagsubfield: "b" + liblibrarian: "Jurisdiction" + libopac: "Jurisdiction" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "506" + tagsubfield: "c" + liblibrarian: "Physical access provisions" + libopac: "Physical access provisions" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "506" + tagsubfield: "d" + liblibrarian: "Authorized users" + libopac: "Authorized users" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "506" + tagsubfield: "e" + liblibrarian: "Authorization" + libopac: "Authorization" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "506" + tagsubfield: "f" + liblibrarian: "Standardized terminology for access restriction" + libopac: "Standardized terminology for access restriction" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "506" + tagsubfield: "g" + liblibrarian: "Availability date" + libopac: "Availability date" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "506" + tagsubfield: "q" + liblibrarian: "Supplying agency" + libopac: "Supplying agency" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "506" + tagsubfield: "u" + liblibrarian: "Uniform Resource Identifier" + libopac: "Uniform Resource Identifier" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 1 + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "538" + tagsubfield: "3" + liblibrarian: "Materials specified" + libopac: "Materials specified" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: + authtypecode: + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "538" + tagsubfield: "5" + liblibrarian: "Institution to which field applies" + libopac: "Institution to which field applies" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "538" + tagsubfield: "6" + liblibrarian: "Linkage" + libopac: "Linkage" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "538" + tagsubfield: "8" + liblibrarian: "Field link and sequence number" + libopac: "Field link and sequence number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "538" + tagsubfield: "a" + liblibrarian: "System details note" + libopac: "System details note" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "538" + tagsubfield: "i" + liblibrarian: "Display text" + libopac: "Display text" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "538" + tagsubfield: "u" + liblibrarian: "Uniform Resource Identifier" + libopac: "Uniform Resource Identifier" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 1 + hidden: -1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "541" + tagsubfield: "3" + liblibrarian: "Materials specified" + libopac: "Materials specified" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: + authtypecode: + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "541" + tagsubfield: "5" + liblibrarian: "Institution to which field applies" + libopac: "Institution to which field applies" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "541" + tagsubfield: "6" + liblibrarian: "Linkage" + libopac: "Linkage" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "541" + tagsubfield: "8" + liblibrarian: "Field link and sequence number" + libopac: "Field link and sequence number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "541" + tagsubfield: "a" + liblibrarian: "Source of acquisition" + libopac: "Source of acquisition" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "541" + tagsubfield: "b" + liblibrarian: "Address" + libopac: "Address" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "541" + tagsubfield: "c" + liblibrarian: "Method of acquisition" + libopac: "Method of acquisition" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "541" + tagsubfield: "d" + liblibrarian: "Date of acquisition" + libopac: "Date of acquisition" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "541" + tagsubfield: "e" + liblibrarian: "Accession number" + libopac: "Accession number" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "541" + tagsubfield: "f" + liblibrarian: "Owner" + libopac: "Owner" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "541" + tagsubfield: "h" + liblibrarian: "Purchase price" + libopac: "Purchase price" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "541" + tagsubfield: "n" + liblibrarian: "Extent" + libopac: "Extent" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "541" + tagsubfield: "o" + liblibrarian: "Type of unit" + libopac: "Type of unit" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "561" + tagsubfield: "3" + liblibrarian: "Materials specified" + libopac: "Materials specified" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: + authtypecode: + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "561" + tagsubfield: "5" + liblibrarian: "Institution to which field applies" + libopac: "Institution to which field applies" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "561" + tagsubfield: "6" + liblibrarian: "Linkage" + libopac: "Linkage" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "561" + tagsubfield: "8" + liblibrarian: "Field link and sequence number" + libopac: "Field link and sequence number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "561" + tagsubfield: "a" + liblibrarian: "History" + libopac: "History" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "561" + tagsubfield: "b" + liblibrarian: "Time of collation [OBSOLETE]" + libopac: "Time of collation [OBSOLETE]" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "561" + tagsubfield: "u" + liblibrarian: "Uniform Resource Identifier" + libopac: "Uniform Resource Identifier" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "562" + tagsubfield: "3" + liblibrarian: "Materials specified" + libopac: "Materials specified" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: + authtypecode: + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "562" + tagsubfield: "5" + liblibrarian: "Institution to which field applies" + libopac: "Institution to which field applies" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: -1 + authorised_value: + authtypecode: + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "562" + tagsubfield: "6" + liblibrarian: "Linkage" + libopac: "Linkage" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: + authtypecode: + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "562" + tagsubfield: "8" + liblibrarian: "Field link and sequence number" + libopac: "Field link and sequence number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: + authtypecode: + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "562" + tagsubfield: "a" + liblibrarian: "Identifying markings" + libopac: "Identifying markings" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: + authtypecode: + value_builder: "" + isurl: + hidden: -1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "562" + tagsubfield: "b" + liblibrarian: "Copy identification" + libopac: "Copy identification" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: + authtypecode: + value_builder: "" + isurl: + hidden: -1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "562" + tagsubfield: "c" + liblibrarian: "Version identification" + libopac: "Version identification" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: + authtypecode: + value_builder: "" + isurl: + hidden: -1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "562" + tagsubfield: "d" + liblibrarian: "Presentation format" + libopac: "Presentation format" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: + authtypecode: + value_builder: "" + isurl: + hidden: -1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "562" + tagsubfield: "e" + liblibrarian: "Number of copies" + libopac: "Number of copies" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: + authtypecode: + value_builder: "" + isurl: + hidden: -1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "563" + tagsubfield: "3" + liblibrarian: "Materials specified" + libopac: "Materials specified" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: + authtypecode: + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "563" + tagsubfield: "5" + liblibrarian: "Institution to which field applies" + libopac: "Institution to which field applies" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: -1 + authorised_value: + authtypecode: + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "563" + tagsubfield: "6" + liblibrarian: "Linkage" + libopac: "Linkage" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: + authtypecode: + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "563" + tagsubfield: "8" + liblibrarian: "Field link and sequence number" + libopac: "Field link and sequence number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: + authtypecode: + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "563" + tagsubfield: "a" + liblibrarian: "Binding note" + libopac: "Binding note" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: + authtypecode: + value_builder: "" + isurl: + hidden: -1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "563" + tagsubfield: "u" + liblibrarian: "Uniform Resource Identifier" + libopac: "Uniform Resource Identifier" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: + authtypecode: + value_builder: "" + isurl: 1 + hidden: -1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "583" + tagsubfield: "2" + liblibrarian: "Source of term" + libopac: "Source of term" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: + authtypecode: + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "583" + tagsubfield: "3" + liblibrarian: "Materials specified" + libopac: "Materials specified" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: + authtypecode: + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "583" + tagsubfield: "5" + liblibrarian: "Institution to which field applies" + libopac: "Institution to which field applies" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "583" + tagsubfield: "6" + liblibrarian: "Linkage" + libopac: "Linkage" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "583" + tagsubfield: "8" + liblibrarian: "Field link and sequence number" + libopac: "Field link and sequence number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "583" + tagsubfield: "a" + liblibrarian: "Action" + libopac: "Action" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "583" + tagsubfield: "b" + liblibrarian: "Action identification" + libopac: "Action identification" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "583" + tagsubfield: "c" + liblibrarian: "Time/date of action" + libopac: "Time/date of action" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "583" + tagsubfield: "d" + liblibrarian: "Action interval" + libopac: "Action interval" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "583" + tagsubfield: "e" + liblibrarian: "Contingency for action" + libopac: "Contingency for action" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "583" + tagsubfield: "f" + liblibrarian: "Authorization" + libopac: "Authorization" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "583" + tagsubfield: "h" + liblibrarian: "Jurisdiction" + libopac: "Jurisdiction" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "583" + tagsubfield: "i" + liblibrarian: "Method of action" + libopac: "Method of action" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "583" + tagsubfield: "j" + liblibrarian: "Site of action" + libopac: "Site of action" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "583" + tagsubfield: "k" + liblibrarian: "Action agent" + libopac: "Action agent" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "583" + tagsubfield: "l" + liblibrarian: "Status" + libopac: "Status" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "583" + tagsubfield: "n" + liblibrarian: "Extent" + libopac: "Extent" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "583" + tagsubfield: "o" + liblibrarian: "Type of unit" + libopac: "Type of unit" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "583" + tagsubfield: "u" + liblibrarian: "Uniform Resource Identifier" + libopac: "Uniform Resource Identifier" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 1 + hidden: -1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "583" + tagsubfield: "x" + liblibrarian: "Nonpublic note" + libopac: "Nonpublic note" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "583" + tagsubfield: "z" + liblibrarian: "Public note" + libopac: "Public note" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 5 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "842" + tagsubfield: "6" + liblibrarian: "Linkage" + libopac: "Linkage" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "842" + tagsubfield: "8" + liblibrarian: "Field link and sequence number" + libopac: "Field link and sequence number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "842" + tagsubfield: "a" + liblibrarian: "Textual physical form designator" + libopac: "Textual physical form designator" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "843" + tagsubfield: "3" + liblibrarian: "Materials specified" + libopac: "Materials specified" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: + authtypecode: + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "843" + tagsubfield: "5" + liblibrarian: "Institution to which field applies" + libopac: "Institution to which field applies" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: + authtypecode: + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "843" + tagsubfield: "6" + liblibrarian: "Linkage" + libopac: "Linkage" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: + authtypecode: + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "843" + tagsubfield: "7" + liblibrarian: "Fixed-length data elements of reproduction" + libopac: "Fixed-length data elements of reproduction" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: + authtypecode: + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "843" + tagsubfield: "8" + liblibrarian: "Field link and sequence number" + libopac: "Field link and sequence number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: + authtypecode: + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "843" + tagsubfield: "a" + liblibrarian: "Type of reproduction" + libopac: "Type of reproduction" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: + authtypecode: + value_builder: "" + isurl: + hidden: -1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "843" + tagsubfield: "b" + liblibrarian: "Place of reproduction" + libopac: "Place of reproduction" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: + authtypecode: + value_builder: "" + isurl: + hidden: -1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "843" + tagsubfield: "c" + liblibrarian: "Agency responsible for reproduction" + libopac: "Agency responsible for reproduction" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: + authtypecode: + value_builder: "" + isurl: + hidden: -1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "843" + tagsubfield: "d" + liblibrarian: "Date of reproduction" + libopac: "Date of reproduction" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: + authtypecode: + value_builder: "" + isurl: + hidden: -1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "843" + tagsubfield: "e" + liblibrarian: "Physical description of reproduction" + libopac: "Physical description of reproduction" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: + authtypecode: + value_builder: "" + isurl: + hidden: -1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "843" + tagsubfield: "f" + liblibrarian: "Series statement of reproduction" + libopac: "Series statement of reproduction" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: + authtypecode: + value_builder: "" + isurl: + hidden: -1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "843" + tagsubfield: "m" + liblibrarian: "Dates of publication and/or sequential designation of issues reproduced" + libopac: "Dates of publication and/or sequential designation of issues reproduced" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: + authtypecode: + value_builder: "" + isurl: + hidden: -1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "843" + tagsubfield: "n" + liblibrarian: "Note about reproduction" + libopac: "Note about reproduction" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: + authtypecode: + value_builder: "" + isurl: + hidden: -1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "844" + tagsubfield: "6" + liblibrarian: "Linkage" + libopac: "Linkage" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "844" + tagsubfield: "8" + liblibrarian: "Field link and sequence number" + libopac: "Field link and sequence number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "844" + tagsubfield: "a" + liblibrarian: "Name of unit" + libopac: "Name of unit" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "845" + tagsubfield: "2" + liblibrarian: "Source of term" + libopac: "Source of term" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: + authtypecode: + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "845" + tagsubfield: "3" + liblibrarian: "Materials specified" + libopac: "Materials specified" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: + authtypecode: + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "845" + tagsubfield: "5" + liblibrarian: "Institution to which field applies" + libopac: "Institution to which field applies" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: + authtypecode: + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "845" + tagsubfield: "6" + liblibrarian: "Linkage" + libopac: "Linkage" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: + authtypecode: + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "845" + tagsubfield: "8" + liblibrarian: "Field link and sequence number" + libopac: "Field link and sequence number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: + authtypecode: + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "845" + tagsubfield: "a" + liblibrarian: "Terms governing use and reproduction" + libopac: "Terms governing use and reproduction" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: + authtypecode: + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "845" + tagsubfield: "b" + liblibrarian: "Jurisdiction" + libopac: "Jurisdiction" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: + authtypecode: + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "845" + tagsubfield: "c" + liblibrarian: "Authorization" + libopac: "Authorization" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: + authtypecode: + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "845" + tagsubfield: "d" + liblibrarian: "Authorized users" + libopac: "Authorized users" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: + authtypecode: + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "845" + tagsubfield: "f" + liblibrarian: "Use and reproduction rights" + libopac: "Use and reproduction rights" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: + authtypecode: + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "845" + tagsubfield: "g" + liblibrarian: "Availability date" + libopac: "Availability date" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: + authtypecode: + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "845" + tagsubfield: "q" + liblibrarian: "Supplying agency" + libopac: "Supplying agency" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: + authtypecode: + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "845" + tagsubfield: "u" + liblibrarian: "Uniform Resource Identifier" + libopac: "Uniform Resource Identifier" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: + authtypecode: + value_builder: "" + isurl: 1 + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "852" + tagsubfield: "2" + liblibrarian: "Source of classification or shelving scheme" + libopac: "Source of classification or shelving scheme" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "852" + tagsubfield: "3" + liblibrarian: "Materials specified" + libopac: "Materials specified" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "852" + tagsubfield: "6" + liblibrarian: "Linkage" + libopac: "Linkage" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "852" + tagsubfield: "8" + liblibrarian: "Sequence number" + libopac: "Sequence number" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "852" + tagsubfield: "a" + liblibrarian: "Location" + libopac: "Location" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "852" + tagsubfield: "b" + liblibrarian: "Sublocation or collection" + libopac: "Sublocation or collection" + repeatable: 1 + mandatory: 0 + kohafield: "holdings.holdingbranch" + tab: 8 + authorised_value: "branches" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "852" + tagsubfield: "c" + liblibrarian: "Shelving location" + libopac: "Shelving location" + repeatable: 1 + mandatory: 0 + kohafield: "holdings.location" + tab: 8 + authorised_value: "LOC" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "852" + tagsubfield: "d" + liblibrarian: "Former shelving location" + libopac: "Former shelving location" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 1 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "852" + tagsubfield: "e" + liblibrarian: "Address" + libopac: "Address" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "852" + tagsubfield: "f" + liblibrarian: "Coded location qualifier" + libopac: "Coded location qualifier" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "852" + tagsubfield: "g" + liblibrarian: "Non-coded location qualifier" + libopac: "Non-coded location qualifier" + repeatable: 1 + mandatory: 0 + kohafield: "holdings.ccode" + tab: 8 + authorised_value: "CCODE" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "852" + tagsubfield: "h" + liblibrarian: "Classification part" + libopac: "Classification part" + repeatable: 0 + mandatory: 0 + kohafield: "holdings.callnumber" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "852" + tagsubfield: "i" + liblibrarian: "Item part" + libopac: "Item part" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "852" + tagsubfield: "j" + liblibrarian: "Shelving control number" + libopac: "Shelving control number" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "852" + tagsubfield: "k" + liblibrarian: "Call number prefix" + libopac: "Call number prefix" + repeatable: 1 + mandatory: 0 + kohafield: "holdings.callnumber" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "852" + tagsubfield: "l" + liblibrarian: "Shelving form of title" + libopac: "Shelving form of title" + repeatable: 0 + mandatory: 0 + kohafield: "holdings.callnumber" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "852" + tagsubfield: "m" + liblibrarian: "Call number suffix" + libopac: "Call number suffix" + repeatable: 1 + mandatory: 0 + kohafield: "holdings.callnumber" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "852" + tagsubfield: "n" + liblibrarian: "Country code" + libopac: "Country code" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "852" + tagsubfield: "p" + liblibrarian: "Piece designation" + libopac: "Piece designation" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "852" + tagsubfield: "q" + liblibrarian: "Piece physical condition" + libopac: "Piece physical condition" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "852" + tagsubfield: "s" + liblibrarian: "Copyright article-fee code" + libopac: "Copyright article-fee code" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "852" + tagsubfield: "t" + liblibrarian: "Copy number" + libopac: "Copy number" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "852" + tagsubfield: "u" + liblibrarian: "Uniform Resource Identifier" + libopac: "Uniform Resource Identifier" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 1 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "852" + tagsubfield: "x" + liblibrarian: "Nonpublic note" + libopac: "Nonpublic note" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "852" + tagsubfield: "z" + liblibrarian: "Public note" + libopac: "Public note" + repeatable: 1 + mandatory: 0 + kohafield: "holdings.public_note" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "853" + tagsubfield: "3" + liblibrarian: "Materials specified" + libopac: "Materials specified" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "853" + tagsubfield: "6" + liblibrarian: "Linkage" + libopac: "Linkage" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "853" + tagsubfield: "8" + liblibrarian: "Field link and sequence number" + libopac: "Field link and sequence number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "853" + tagsubfield: "a" + liblibrarian: "First level of enumeration" + libopac: "First level of enumeration" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "853" + tagsubfield: "b" + liblibrarian: "Second level of enumeration" + libopac: "Second level of enumeration" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "853" + tagsubfield: "c" + liblibrarian: "Third level of enumeration" + libopac: "Third level of enumeration" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "853" + tagsubfield: "d" + liblibrarian: "Fourth level of enumeration" + libopac: "Fourth level of enumeration" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "853" + tagsubfield: "e" + liblibrarian: "Fifth level of enumeration" + libopac: "Fifth level of enumeration" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "853" + tagsubfield: "f" + liblibrarian: "Sixth level of enumeration" + libopac: "Sixth level of enumeration" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "853" + tagsubfield: "g" + liblibrarian: "Alternative numbering scheme, first level of enumeration" + libopac: "Alternative numbering scheme, first level of enumeration" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "853" + tagsubfield: "h" + liblibrarian: "Alternative numbering scheme, second level of enumeration" + libopac: "Alternative numbering scheme, second level of enumeration" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "853" + tagsubfield: "i" + liblibrarian: "First level of chronology" + libopac: "First level of chronology" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "853" + tagsubfield: "j" + liblibrarian: "Second level of chronology" + libopac: "Second level of chronology" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "853" + tagsubfield: "k" + liblibrarian: "Third level of chronology" + libopac: "Third level of chronology" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "853" + tagsubfield: "l" + liblibrarian: "Fourth level of chronology" + libopac: "Fourth level of chronology" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "853" + tagsubfield: "m" + liblibrarian: "Alternative numbering scheme, chronology" + libopac: "Alternative numbering scheme, chronology" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "853" + tagsubfield: "n" + liblibrarian: "Pattern note" + libopac: "Pattern note" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "853" + tagsubfield: "p" + liblibrarian: "Number of pieces per issuance" + libopac: "Number of pieces per issuance" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "853" + tagsubfield: "t" + liblibrarian: "Copy" + libopac: "Copy" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "853" + tagsubfield: "u" + liblibrarian: "Bibliographic units per next higher level" + libopac: "Bibliographic units per next higher level" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "853" + tagsubfield: "v" + liblibrarian: "Numbering continuity" + libopac: "Numbering continuity" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "853" + tagsubfield: "w" + liblibrarian: "Frequency" + libopac: "Frequency" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "853" + tagsubfield: "x" + liblibrarian: "Calendar change" + libopac: "Calendar change" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "853" + tagsubfield: "y" + liblibrarian: "Regularity pattern" + libopac: "Regularity pattern" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "853" + tagsubfield: "z" + liblibrarian: "Numbering scheme" + libopac: "Numbering scheme" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "854" + tagsubfield: "3" + liblibrarian: "Materials specified" + libopac: "Materials specified" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "854" + tagsubfield: "6" + liblibrarian: "Linkage" + libopac: "Linkage" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "854" + tagsubfield: "8" + liblibrarian: "Field link and sequence number" + libopac: "Field link and sequence number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "854" + tagsubfield: "a" + liblibrarian: "First level of enumeration" + libopac: "First level of enumeration" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "854" + tagsubfield: "b" + liblibrarian: "Second level of enumeration" + libopac: "Second level of enumeration" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "854" + tagsubfield: "c" + liblibrarian: "Third level of enumeration" + libopac: "Third level of enumeration" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "854" + tagsubfield: "d" + liblibrarian: "Fourth level of enumeration" + libopac: "Fourth level of enumeration" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "854" + tagsubfield: "e" + liblibrarian: "Fifth level of enumeration" + libopac: "Fifth level of enumeration" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "854" + tagsubfield: "f" + liblibrarian: "Sixth level of enumeration" + libopac: "Sixth level of enumeration" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "854" + tagsubfield: "g" + liblibrarian: "Alternative numbering scheme, first level of enumeration" + libopac: "Alternative numbering scheme, first level of enumeration" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "854" + tagsubfield: "h" + liblibrarian: "Alternative numbering scheme, second level of enumeration" + libopac: "Alternative numbering scheme, second level of enumeration" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "854" + tagsubfield: "i" + liblibrarian: "First level of chronology" + libopac: "First level of chronology" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "854" + tagsubfield: "j" + liblibrarian: "Second level of chronology" + libopac: "Second level of chronology" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "854" + tagsubfield: "k" + liblibrarian: "Third level of chronology" + libopac: "Third level of chronology" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "854" + tagsubfield: "l" + liblibrarian: "Fourth level of chronology" + libopac: "Fourth level of chronology" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "854" + tagsubfield: "m" + liblibrarian: "Alternative numbering scheme, chronology" + libopac: "Alternative numbering scheme, chronology" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "854" + tagsubfield: "n" + liblibrarian: "Pattern note" + libopac: "Pattern note" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "854" + tagsubfield: "p" + liblibrarian: "Number of pieces per issuance" + libopac: "Number of pieces per issuance" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "854" + tagsubfield: "t" + liblibrarian: "Copy" + libopac: "Copy" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "854" + tagsubfield: "u" + liblibrarian: "Bibliographic units per next higher level" + libopac: "Bibliographic units per next higher level" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "854" + tagsubfield: "v" + liblibrarian: "Numbering continuity" + libopac: "Numbering continuity" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "854" + tagsubfield: "w" + liblibrarian: "Frequency" + libopac: "Frequency" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "854" + tagsubfield: "x" + liblibrarian: "Calendar change" + libopac: "Calendar change" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "854" + tagsubfield: "y" + liblibrarian: "Regularity pattern" + libopac: "Regularity pattern" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "854" + tagsubfield: "z" + liblibrarian: "Numbering scheme" + libopac: "Numbering scheme" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "855" + tagsubfield: "3" + liblibrarian: "Materials specified" + libopac: "Materials specified" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "855" + tagsubfield: "6" + liblibrarian: "Linkage" + libopac: "Linkage" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "855" + tagsubfield: "8" + liblibrarian: "Field link and sequence number" + libopac: "Field link and sequence number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "855" + tagsubfield: "a" + liblibrarian: "First level of enumeration" + libopac: "First level of enumeration" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "855" + tagsubfield: "b" + liblibrarian: "Second level of enumeration" + libopac: "Second level of enumeration" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "855" + tagsubfield: "c" + liblibrarian: "Third level of enumeration" + libopac: "Third level of enumeration" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "855" + tagsubfield: "d" + liblibrarian: "Fourth level of enumeration" + libopac: "Fourth level of enumeration" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "855" + tagsubfield: "e" + liblibrarian: "Fifth level of enumeration" + libopac: "Fifth level of enumeration" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "855" + tagsubfield: "f" + liblibrarian: "Sixth level of enumeration" + libopac: "Sixth level of enumeration" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "855" + tagsubfield: "g" + liblibrarian: "Alternative numbering scheme, first level of enumeration" + libopac: "Alternative numbering scheme, first level of enumeration" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "855" + tagsubfield: "h" + liblibrarian: "Alternative numbering scheme, second level of enumeration" + libopac: "Alternative numbering scheme, second level of enumeration" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "855" + tagsubfield: "i" + liblibrarian: "First level of chronology" + libopac: "First level of chronology" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "855" + tagsubfield: "j" + liblibrarian: "Second level of chronology" + libopac: "Second level of chronology" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "855" + tagsubfield: "k" + liblibrarian: "Third level of chronology" + libopac: "Third level of chronology" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "855" + tagsubfield: "l" + liblibrarian: "Fourth level of chronology" + libopac: "Fourth level of chronology" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "855" + tagsubfield: "m" + liblibrarian: "Alternative numbering scheme, chronology" + libopac: "Alternative numbering scheme, chronology" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "855" + tagsubfield: "n" + liblibrarian: "Pattern note" + libopac: "Pattern note" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "855" + tagsubfield: "p" + liblibrarian: "Number of pieces per issuance" + libopac: "Number of pieces per issuance" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "855" + tagsubfield: "t" + liblibrarian: "Copy" + libopac: "Copy" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "855" + tagsubfield: "u" + liblibrarian: "Bibliographic units per next higher level" + libopac: "Bibliographic units per next higher level" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "855" + tagsubfield: "v" + liblibrarian: "Numbering continuity" + libopac: "Numbering continuity" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "855" + tagsubfield: "w" + liblibrarian: "Frequency" + libopac: "Frequency" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "855" + tagsubfield: "x" + liblibrarian: "Calendar change" + libopac: "Calendar change" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "855" + tagsubfield: "y" + liblibrarian: "Regularity pattern" + libopac: "Regularity pattern" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "855" + tagsubfield: "z" + liblibrarian: "Numbering scheme" + libopac: "Numbering scheme" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "856" + tagsubfield: "2" + liblibrarian: "Access method" + libopac: "Access method" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "856" + tagsubfield: "3" + liblibrarian: "Materials specified" + libopac: "Materials specified" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "856" + tagsubfield: "6" + liblibrarian: "Linkage" + libopac: "Linkage" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "856" + tagsubfield: "7" + liblibrarian: "Access status" + libopac: "Access status" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "856" + tagsubfield: "8" + liblibrarian: "Field link and sequence number" + libopac: "Field link and sequence number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "856" + tagsubfield: "a" + liblibrarian: "Host name" + libopac: "Host name" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "856" + tagsubfield: "b" + liblibrarian: "Access number" + libopac: "Access number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "856" + tagsubfield: "c" + liblibrarian: "Compression information" + libopac: "Compression information" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "856" + tagsubfield: "d" + liblibrarian: "Path" + libopac: "Path" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "856" + tagsubfield: "f" + liblibrarian: "Electronic name" + libopac: "Electronic name" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "856" + tagsubfield: "h" + liblibrarian: "Processor of request" + libopac: "Processor of request" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "856" + tagsubfield: "i" + liblibrarian: "Instruction" + libopac: "Instruction" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "856" + tagsubfield: "j" + liblibrarian: "Bits per second" + libopac: "Bits per second" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "856" + tagsubfield: "k" + liblibrarian: "Password" + libopac: "Password" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "856" + tagsubfield: "l" + liblibrarian: "Logon" + libopac: "Logon" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "856" + tagsubfield: "m" + liblibrarian: "Contact for access assistance" + libopac: "Contact for access assistance" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "856" + tagsubfield: "n" + liblibrarian: "Name of location of host" + libopac: "Name of location of host" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "856" + tagsubfield: "o" + liblibrarian: "Operating system" + libopac: "Operating system" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "856" + tagsubfield: "p" + liblibrarian: "Port" + libopac: "Port" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "856" + tagsubfield: "q" + liblibrarian: "Electronic format type" + libopac: "Electronic format type" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "856" + tagsubfield: "r" + liblibrarian: "Settings" + libopac: "Settings" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "856" + tagsubfield: "s" + liblibrarian: "File size" + libopac: "File size" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "856" + tagsubfield: "t" + liblibrarian: "Terminal emulation" + libopac: "Terminal emulation" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "856" + tagsubfield: "u" + liblibrarian: "Uniform Resource Identifier" + libopac: "Uniform Resource Identifier" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 1 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "856" + tagsubfield: "v" + liblibrarian: "Hours access method available" + libopac: "Hours access method available" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "856" + tagsubfield: "w" + liblibrarian: "Record control number" + libopac: "Record control number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "856" + tagsubfield: "x" + liblibrarian: "Nonpublic note" + libopac: "Nonpublic note" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "856" + tagsubfield: "y" + liblibrarian: "Link text" + libopac: "Link text" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "856" + tagsubfield: "z" + liblibrarian: "Public note" + libopac: "Public note" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "863" + tagsubfield: "6" + liblibrarian: "Linkage" + libopac: "Linkage" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "863" + tagsubfield: "8" + liblibrarian: "Field link and sequence number" + libopac: "Field link and sequence number" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "863" + tagsubfield: "a" + liblibrarian: "First level of enumeration" + libopac: "First level of enumeration" + repeatable: 0 + mandatory: 0 + kohafield: "holdings.summary" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "863" + tagsubfield: "b" + liblibrarian: "Second level of enumeration" + libopac: "Second level of enumeration" + repeatable: 0 + mandatory: 0 + kohafield: "holdings.summary" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "863" + tagsubfield: "c" + liblibrarian: "Third level of enumeration" + libopac: "Third level of enumeration" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "863" + tagsubfield: "d" + liblibrarian: "Fourth level of enumeration" + libopac: "Fourth level of enumeration" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "863" + tagsubfield: "e" + liblibrarian: "Fifth level of enumeration" + libopac: "Fifth level of enumeration" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "863" + tagsubfield: "f" + liblibrarian: "Sixth level of enumeration" + libopac: "Sixth level of enumeration" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "863" + tagsubfield: "g" + liblibrarian: "Alternative numbering scheme, first level of enumeration" + libopac: "Alternative numbering scheme, first level of enumeration" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "863" + tagsubfield: "h" + liblibrarian: "Alternative numbering scheme, second level of enumeration" + libopac: "Alternative numbering scheme, second level of enumeration" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "863" + tagsubfield: "i" + liblibrarian: "First level of chronology" + libopac: "First level of chronology" + repeatable: 0 + mandatory: 0 + kohafield: "holdings.summary" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "863" + tagsubfield: "j" + liblibrarian: "Second level of chronology" + libopac: "Second level of chronology" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "863" + tagsubfield: "k" + liblibrarian: "Third level of chronology" + libopac: "Third level of chronology" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "863" + tagsubfield: "l" + liblibrarian: "Fourth level of chronology" + libopac: "Fourth level of chronology" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "863" + tagsubfield: "m" + liblibrarian: "Alternative numbering scheme, chronology" + libopac: "Alternative numbering scheme, chronology" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "863" + tagsubfield: "n" + liblibrarian: "Converted Gregorian year" + libopac: "Converted Gregorian year" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "863" + tagsubfield: "o" + liblibrarian: "Type of unit" + libopac: "Type of unit" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "863" + tagsubfield: "p" + liblibrarian: "Piece designation" + libopac: "Piece designation" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "863" + tagsubfield: "q" + liblibrarian: "Piece physical condition" + libopac: "Piece physical condition" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "863" + tagsubfield: "s" + liblibrarian: "Copyright article-fee code" + libopac: "Copyright article-fee code" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "863" + tagsubfield: "t" + liblibrarian: "Copy number" + libopac: "Copy number" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "863" + tagsubfield: "v" + liblibrarian: "Issuing date" + libopac: "Issuing date" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "863" + tagsubfield: "w" + liblibrarian: "Break indicator" + libopac: "Break indicator" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "863" + tagsubfield: "x" + liblibrarian: "Nonpublic note" + libopac: "Nonpublic note" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "863" + tagsubfield: "z" + liblibrarian: "Public note" + libopac: "Public note" + repeatable: 1 + mandatory: 0 + kohafield: "holdings.summary" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "864" + tagsubfield: "6" + liblibrarian: "Linkage" + libopac: "Linkage" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "864" + tagsubfield: "8" + liblibrarian: "Field link and sequence number" + libopac: "Field link and sequence number" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "864" + tagsubfield: "a" + liblibrarian: "First level of enumeration" + libopac: "First level of enumeration" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "864" + tagsubfield: "b" + liblibrarian: "Second level of enumeration" + libopac: "Second level of enumeration" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "864" + tagsubfield: "c" + liblibrarian: "Third level of enumeration" + libopac: "Third level of enumeration" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "864" + tagsubfield: "d" + liblibrarian: "Fourth level of enumeration" + libopac: "Fourth level of enumeration" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "864" + tagsubfield: "e" + liblibrarian: "Fifth level of enumeration" + libopac: "Fifth level of enumeration" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "864" + tagsubfield: "f" + liblibrarian: "Sixth level of enumeration" + libopac: "Sixth level of enumeration" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "864" + tagsubfield: "g" + liblibrarian: "Alternative numbering scheme, first level of enumeration" + libopac: "Alternative numbering scheme, first level of enumeration" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "864" + tagsubfield: "h" + liblibrarian: "Alternative numbering scheme, second level of enumeration" + libopac: "Alternative numbering scheme, second level of enumeration" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "864" + tagsubfield: "i" + liblibrarian: "First level of chronology" + libopac: "First level of chronology" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "864" + tagsubfield: "j" + liblibrarian: "Second level of chronology" + libopac: "Second level of chronology" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "864" + tagsubfield: "k" + liblibrarian: "Third level of chronology" + libopac: "Third level of chronology" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "864" + tagsubfield: "l" + liblibrarian: "Fourth level of chronology" + libopac: "Fourth level of chronology" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "864" + tagsubfield: "m" + liblibrarian: "Alternative numbering scheme, chronology" + libopac: "Alternative numbering scheme, chronology" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "864" + tagsubfield: "n" + liblibrarian: "Converted Gregorian year" + libopac: "Converted Gregorian year" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "864" + tagsubfield: "o" + liblibrarian: "Type of unit" + libopac: "Type of unit" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "864" + tagsubfield: "p" + liblibrarian: "Piece designation" + libopac: "Piece designation" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "864" + tagsubfield: "q" + liblibrarian: "Piece physical condition" + libopac: "Piece physical condition" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "864" + tagsubfield: "s" + liblibrarian: "Copyright article-fee code" + libopac: "Copyright article-fee code" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "864" + tagsubfield: "t" + liblibrarian: "Copy number" + libopac: "Copy number" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "864" + tagsubfield: "v" + liblibrarian: "Issuing date" + libopac: "Issuing date" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "864" + tagsubfield: "w" + liblibrarian: "Break indicator" + libopac: "Break indicator" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "864" + tagsubfield: "x" + liblibrarian: "Nonpublic note" + libopac: "Nonpublic note" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "864" + tagsubfield: "z" + liblibrarian: "Public note" + libopac: "Public note" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "865" + tagsubfield: "6" + liblibrarian: "Linkage" + libopac: "Linkage" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "865" + tagsubfield: "8" + liblibrarian: "Field link and sequence number" + libopac: "Field link and sequence number" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "865" + tagsubfield: "a" + liblibrarian: "First level of enumeration" + libopac: "First level of enumeration" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "865" + tagsubfield: "b" + liblibrarian: "Second level of enumeration" + libopac: "Second level of enumeration" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "865" + tagsubfield: "c" + liblibrarian: "Third level of enumeration" + libopac: "Third level of enumeration" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "865" + tagsubfield: "d" + liblibrarian: "Fourth level of enumeration" + libopac: "Fourth level of enumeration" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "865" + tagsubfield: "e" + liblibrarian: "Fifth level of enumeration" + libopac: "Fifth level of enumeration" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "865" + tagsubfield: "f" + liblibrarian: "Sixth level of enumeration" + libopac: "Sixth level of enumeration" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "865" + tagsubfield: "g" + liblibrarian: "Alternative numbering scheme, first level of enumeration" + libopac: "Alternative numbering scheme, first level of enumeration" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "865" + tagsubfield: "h" + liblibrarian: "Alternative numbering scheme, second level of enumeration" + libopac: "Alternative numbering scheme, second level of enumeration" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "865" + tagsubfield: "i" + liblibrarian: "First level of chronology" + libopac: "First level of chronology" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "865" + tagsubfield: "j" + liblibrarian: "Second level of chronology" + libopac: "Second level of chronology" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "865" + tagsubfield: "k" + liblibrarian: "Third level of chronology" + libopac: "Third level of chronology" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "865" + tagsubfield: "l" + liblibrarian: "Fourth level of chronology" + libopac: "Fourth level of chronology" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "865" + tagsubfield: "m" + liblibrarian: "Alternative numbering scheme, chronology" + libopac: "Alternative numbering scheme, chronology" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "865" + tagsubfield: "n" + liblibrarian: "Converted Gregorian year" + libopac: "Converted Gregorian year" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "865" + tagsubfield: "o" + liblibrarian: "Type of unit" + libopac: "Type of unit" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "865" + tagsubfield: "p" + liblibrarian: "Piece designation" + libopac: "Piece designation" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "865" + tagsubfield: "q" + liblibrarian: "Piece physical condition" + libopac: "Piece physical condition" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "865" + tagsubfield: "s" + liblibrarian: "Copyright article-fee code" + libopac: "Copyright article-fee code" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "865" + tagsubfield: "t" + liblibrarian: "Copy number" + libopac: "Copy number" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "865" + tagsubfield: "v" + liblibrarian: "Issuing date" + libopac: "Issuing date" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "865" + tagsubfield: "w" + liblibrarian: "Break indicator" + libopac: "Break indicator" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "865" + tagsubfield: "x" + liblibrarian: "Nonpublic note" + libopac: "Nonpublic note" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "865" + tagsubfield: "z" + liblibrarian: "Public note" + libopac: "Public note" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "866" + tagsubfield: "6" + liblibrarian: "Linkage" + libopac: "Linkage" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "866" + tagsubfield: "8" + liblibrarian: "Field link and sequence number" + libopac: "Field link and sequence number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "866" + tagsubfield: "a" + liblibrarian: "Textual string" + libopac: "Textual string" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "866" + tagsubfield: "x" + liblibrarian: "Nonpublic note" + libopac: "Nonpublic note" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "866" + tagsubfield: "z" + liblibrarian: "Public note" + libopac: "Public note" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "867" + tagsubfield: "6" + liblibrarian: "Linkage" + libopac: "Linkage" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "867" + tagsubfield: "8" + liblibrarian: "Field link and sequence number" + libopac: "Field link and sequence number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "867" + tagsubfield: "a" + liblibrarian: "Textual string" + libopac: "Textual string" + repeatable: 0 + mandatory: 0 + kohafield: "holdings.supplements" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "867" + tagsubfield: "x" + liblibrarian: "Nonpublic note" + libopac: "Nonpublic note" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "867" + tagsubfield: "z" + liblibrarian: "Public note" + libopac: "Public note" + repeatable: 1 + mandatory: 0 + kohafield: "holdings.supplements" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "868" + tagsubfield: "6" + liblibrarian: "Linkage" + libopac: "Linkage" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "868" + tagsubfield: "8" + liblibrarian: "Field link and sequence number" + libopac: "Field link and sequence number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "868" + tagsubfield: "a" + liblibrarian: "Textual string" + libopac: "Textual string" + repeatable: 0 + mandatory: 0 + kohafield: "holdings.indexes" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "868" + tagsubfield: "x" + liblibrarian: "Nonpublic note" + libopac: "Nonpublic note" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "868" + tagsubfield: "z" + liblibrarian: "Public note" + libopac: "Public note" + repeatable: 1 + mandatory: 0 + kohafield: "holdings.indexes" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "876" + tagsubfield: "3" + liblibrarian: "Materials specified" + libopac: "Materials specified" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "876" + tagsubfield: "6" + liblibrarian: "Linkage" + libopac: "Linkage" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "876" + tagsubfield: "8" + liblibrarian: "Sequence number" + libopac: "Sequence number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "876" + tagsubfield: "a" + liblibrarian: "Internal item number" + libopac: "Internal item number" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "876" + tagsubfield: "b" + liblibrarian: "Invalid or canceled internal item number" + libopac: "Invalid or canceled internal item number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "876" + tagsubfield: "c" + liblibrarian: "Cost" + libopac: "Cost" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "876" + tagsubfield: "d" + liblibrarian: "Date acquired" + libopac: "Date acquired" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "876" + tagsubfield: "e" + liblibrarian: "Source of acquisition" + libopac: "Source of acquisition" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "876" + tagsubfield: "h" + liblibrarian: "Use restrictions" + libopac: "Use restrictions" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "876" + tagsubfield: "j" + liblibrarian: "Item status" + libopac: "Item status" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "876" + tagsubfield: "l" + liblibrarian: "Temporary location" + libopac: "Temporary location" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "876" + tagsubfield: "p" + liblibrarian: "Piece designation" + libopac: "Piece designation" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "876" + tagsubfield: "r" + liblibrarian: "Invalid or canceled piece designation" + libopac: "Invalid or canceled piece designation" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "876" + tagsubfield: "t" + liblibrarian: "Copy number" + libopac: "Copy number" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "876" + tagsubfield: "x" + liblibrarian: "Nonpublic note" + libopac: "Nonpublic note" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "876" + tagsubfield: "z" + liblibrarian: "Public note" + libopac: "Public note" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "877" + tagsubfield: "3" + liblibrarian: "Materials specified" + libopac: "Materials specified" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "877" + tagsubfield: "6" + liblibrarian: "Linkage" + libopac: "Linkage" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "877" + tagsubfield: "8" + liblibrarian: "Sequence number" + libopac: "Sequence number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "877" + tagsubfield: "a" + liblibrarian: "Internal item number" + libopac: "Internal item number" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "877" + tagsubfield: "b" + liblibrarian: "Invalid or canceled internal item number" + libopac: "Invalid or canceled internal item number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "877" + tagsubfield: "c" + liblibrarian: "Cost" + libopac: "Cost" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "877" + tagsubfield: "d" + liblibrarian: "Date acquired" + libopac: "Date acquired" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "877" + tagsubfield: "e" + liblibrarian: "Source of acquisition" + libopac: "Source of acquisition" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "877" + tagsubfield: "h" + liblibrarian: "Use restrictions" + libopac: "Use restrictions" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "877" + tagsubfield: "j" + liblibrarian: "Item status" + libopac: "Item status" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "877" + tagsubfield: "l" + liblibrarian: "Temporary location" + libopac: "Temporary location" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "877" + tagsubfield: "p" + liblibrarian: "Piece designation" + libopac: "Piece designation" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "877" + tagsubfield: "r" + liblibrarian: "Invalid or canceled piece designation" + libopac: "Invalid or canceled piece designation" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "877" + tagsubfield: "t" + liblibrarian: "Copy number" + libopac: "Copy number" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "877" + tagsubfield: "x" + liblibrarian: "Nonpublic note" + libopac: "Nonpublic note" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "877" + tagsubfield: "z" + liblibrarian: "Public note" + libopac: "Public note" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "878" + tagsubfield: "3" + liblibrarian: "Materials specified" + libopac: "Materials specified" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "878" + tagsubfield: "6" + liblibrarian: "Linkage" + libopac: "Linkage" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "878" + tagsubfield: "8" + liblibrarian: "Sequence number" + libopac: "Sequence number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "878" + tagsubfield: "a" + liblibrarian: "Internal item number" + libopac: "Internal item number" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "878" + tagsubfield: "b" + liblibrarian: "Invalid or canceled internal item number" + libopac: "Invalid or canceled internal item number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "878" + tagsubfield: "c" + liblibrarian: "Cost" + libopac: "Cost" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "878" + tagsubfield: "d" + liblibrarian: "Date acquired" + libopac: "Date acquired" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "878" + tagsubfield: "e" + liblibrarian: "Source of acquisition" + libopac: "Source of acquisition" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "878" + tagsubfield: "h" + liblibrarian: "Use restrictions" + libopac: "Use restrictions" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "878" + tagsubfield: "j" + liblibrarian: "Item status" + libopac: "Item status" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "878" + tagsubfield: "l" + liblibrarian: "Temporary location" + libopac: "Temporary location" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "878" + tagsubfield: "p" + liblibrarian: "Piece designation" + libopac: "Piece designation" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "878" + tagsubfield: "r" + liblibrarian: "Invalid or canceled piece designation" + libopac: "Invalid or canceled piece designation" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "878" + tagsubfield: "t" + liblibrarian: "Copy number" + libopac: "Copy number" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "878" + tagsubfield: "x" + liblibrarian: "Nonpublic note" + libopac: "Nonpublic note" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "878" + tagsubfield: "z" + liblibrarian: "Public note" + libopac: "Public note" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: 5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "880" + tagsubfield: "2" + liblibrarian: "2" + libopac: "2" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "880" + tagsubfield: "3" + liblibrarian: "3" + libopac: "3" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "880" + tagsubfield: "4" + liblibrarian: "4" + libopac: "4" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "880" + tagsubfield: "5" + liblibrarian: "5" + libopac: "5" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "880" + tagsubfield: "6" + liblibrarian: "Linkage" + libopac: "Linkage" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "880" + tagsubfield: "7" + liblibrarian: "7" + libopac: "7" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "880" + tagsubfield: "8" + liblibrarian: "8" + libopac: "8" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "880" + tagsubfield: "9" + liblibrarian: "9" + libopac: "9" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "880" + tagsubfield: "a" + liblibrarian: "a" + libopac: "a" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "880" + tagsubfield: "b" + liblibrarian: "b" + libopac: "b" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "880" + tagsubfield: "c" + liblibrarian: "c" + libopac: "c" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "880" + tagsubfield: "d" + liblibrarian: "d" + libopac: "d" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "880" + tagsubfield: "e" + liblibrarian: "e" + libopac: "e" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "880" + tagsubfield: "f" + liblibrarian: "f" + libopac: "f" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "880" + tagsubfield: "g" + liblibrarian: "g" + libopac: "g" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "880" + tagsubfield: "h" + liblibrarian: "h" + libopac: "h" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "880" + tagsubfield: "i" + liblibrarian: "i" + libopac: "i" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "880" + tagsubfield: "j" + liblibrarian: "j" + libopac: "j" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "880" + tagsubfield: "k" + liblibrarian: "k" + libopac: "k" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "880" + tagsubfield: "l" + liblibrarian: "l" + libopac: "l" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "880" + tagsubfield: "m" + liblibrarian: "m" + libopac: "m" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "880" + tagsubfield: "n" + liblibrarian: "n" + libopac: "n" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "880" + tagsubfield: "o" + liblibrarian: "o" + libopac: "o" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "880" + tagsubfield: "p" + liblibrarian: "p" + libopac: "p" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "880" + tagsubfield: "q" + liblibrarian: "q" + libopac: "q" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "880" + tagsubfield: "r" + liblibrarian: "r" + libopac: "r" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "880" + tagsubfield: "s" + liblibrarian: "s" + libopac: "s" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "880" + tagsubfield: "t" + liblibrarian: "t" + libopac: "t" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "880" + tagsubfield: "u" + liblibrarian: "u" + libopac: "u" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "880" + tagsubfield: "v" + liblibrarian: "v" + libopac: "v" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "880" + tagsubfield: "w" + liblibrarian: "w" + libopac: "w" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "880" + tagsubfield: "x" + liblibrarian: "x" + libopac: "x" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "880" + tagsubfield: "y" + liblibrarian: "y" + libopac: "y" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "880" + tagsubfield: "z" + liblibrarian: "z" + libopac: "z" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "883" + tagsubfield: "0" + liblibrarian: "Authority record control number or standard number" + libopac: "Authority record control number or standard number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "883" + tagsubfield: "1" + liblibrarian: "Real World Object URI" + libopac: "Real World Object URI" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "883" + tagsubfield: "8" + liblibrarian: "Field link and sequence number" + libopac: "Field link and sequence number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "883" + tagsubfield: "a" + liblibrarian: "Generation process" + libopac: "Generation process" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "883" + tagsubfield: "c" + liblibrarian: "Confidence value" + libopac: "Confidence value" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "883" + tagsubfield: "d" + liblibrarian: "Generation date" + libopac: "Generation date" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "883" + tagsubfield: "q" + liblibrarian: "Generation agency" + libopac: "Generation agency" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "883" + tagsubfield: "u" + liblibrarian: "Uniform Resource Identifier" + libopac: "Uniform Resource Identifier" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "883" + tagsubfield: "w" + liblibrarian: "Bibliographic record control number" + libopac: "Bibliographic record control number" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "883" + tagsubfield: "x" + liblibrarian: "Validity end date" + libopac: "Validity end date" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "884" + tagsubfield: "a" + liblibrarian: "Conversion process" + libopac: "Conversion process" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "884" + tagsubfield: "g" + liblibrarian: "Conversion date" + libopac: "Conversion date" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "884" + tagsubfield: "k" + liblibrarian: "Identifier of source metadata" + libopac: "Identifier of source metadata" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "884" + tagsubfield: "q" + liblibrarian: "Conversion agency" + libopac: "Conversion agency" + repeatable: 0 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "884" + tagsubfield: "u" + liblibrarian: "Uniform Resource Identifier" + libopac: "Uniform Resource Identifier" + repeatable: 1 + mandatory: 0 + kohafield: "" + tab: 8 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: + hidden: -6 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "942" + tagsubfield: "n" + liblibrarian: "Suppress in OPAC" + libopac: "Suppress in OPAC" + repeatable: 0 + mandatory: 0 + kohafield: "holdings.suppress" + tab: 9 + authorised_value: "" + authtypecode: "" + value_builder: "" + isurl: 0 + hidden: 4 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "999" + tagsubfield: "c" + liblibrarian: "Koha biblionumber" + libopac: "Koha biblionumber" + repeatable: 0 + mandatory: 0 + kohafield: "biblio.biblionumber" + tab: -1 + authorised_value: + authtypecode: + value_builder: "" + isurl: + hidden: -5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + - tagfield: "999" + tagsubfield: "e" + liblibrarian: "Koha holding_id" + libopac: "Koha holding_id" + repeatable: 0 + mandatory: 0 + kohafield: "holdings.holding_id" + tab: -1 + authorised_value: + authtypecode: + value_builder: "" + isurl: + hidden: -5 + frameworkcode: "HLD" + seealso: "" + link: "" + defaultvalue: + + +sql_statements: + - "UPDATE marc_subfield_structure SET maxlength=24 WHERE tagfield='000';" + - "UPDATE marc_subfield_structure SET maxlength=40 WHERE tagfield='008';" + + # Create the ACQ framework based on the default framework, fields 000 and 952 only + - "INSERT INTO marc_tag_structure(tagfield, liblibrarian, libopac, repeatable, mandatory, authorised_value, frameworkcode) + SELECT tagfield, liblibrarian, libopac, repeatable, mandatory, authorised_value, 'ACQ' FROM marc_tag_structure WHERE tagfield='000' AND frameworkcode='';" + + - "INSERT INTO marc_subfield_structure(tagfield, tagsubfield, liblibrarian, libopac, repeatable, mandatory, kohafield, tab, authorised_value, authtypecode, value_builder, isurl, hidden, frameworkcode, seealso, link, defaultvalue, maxlength) + SELECT tagfield, tagsubfield, liblibrarian, libopac, repeatable, mandatory, kohafield, tab, authorised_value, authtypecode, value_builder, isurl, hidden, 'ACQ', seealso, link, ' nam a22 7a 4500', maxlength FROM marc_subfield_structure WHERE tagfield='000' AND frameworkcode='';" + + - "INSERT INTO marc_tag_structure(tagfield, liblibrarian, libopac, repeatable, mandatory, authorised_value, frameworkcode) + SELECT tagfield, liblibrarian, libopac, repeatable, mandatory, authorised_value, 'ACQ' FROM marc_tag_structure WHERE tagfield='952' AND frameworkcode='';" + + - "INSERT INTO marc_subfield_structure(tagfield, tagsubfield, liblibrarian, libopac, repeatable, mandatory, kohafield, tab, authorised_value, authtypecode, value_builder, isurl, hidden, frameworkcode, seealso, link, defaultvalue, maxlength) + SELECT tagfield, tagsubfield, liblibrarian, libopac, repeatable, mandatory, kohafield, tab, authorised_value, authtypecode, value_builder, isurl, hidden, 'ACQ', seealso, link, defaultvalue, maxlength FROM marc_subfield_structure WHERE tagfield='952' AND frameworkcode='';" + + - "INSERT INTO marc_tag_structure(tagfield, liblibrarian, libopac, repeatable, mandatory, authorised_value, frameworkcode) + SELECT tagfield, liblibrarian, libopac, repeatable, mandatory, authorised_value, 'ACQ' + FROM marc_tag_structure + WHERE frameworkcode='' AND tagfield IN ( + SELECT tagfield + FROM marc_subfield_structure + WHERE ( + kohafield='biblio.title' + OR kohafield='biblio.author' + OR kohafield='biblioitems.publishercode' + OR kohafield='biblioitems.editionstatement' + OR kohafield='biblio.copyrightdate' + OR kohafield='biblioitems.isbn' + OR kohafield='biblio.seriestitle' + ) AND frameworkcode='' + );" + + - "INSERT INTO marc_subfield_structure(tagfield, tagsubfield, liblibrarian, libopac, repeatable, mandatory, kohafield, tab, authorised_value, authtypecode, value_builder, isurl, hidden, frameworkcode, seealso, link, defaultvalue, maxlength) + SELECT tagfield, tagsubfield, liblibrarian, libopac, repeatable, mandatory, kohafield, tab, authorised_value, authtypecode, value_builder, isurl, hidden, 'ACQ', seealso, link, defaultvalue, maxlength + FROM marc_subfield_structure + WHERE frameworkcode='' + AND kohafield IN ('biblio.title', 'biblio.author', 'biblioitems.publishercode', 'biblioitems.editionstatement', 'biblio.copyrightdate', 'biblioitems.isbn', 'biblio.seriestitle' );" - - "INSERT INTO marc_subfield_structure(tagfield, tagsubfield, liblibrarian, libopac, repeatable, mandatory, kohafield, tab, authorised_value, authtypecode, value_builder, isurl, hidden, frameworkcode, seealso, link, defaultvalue, maxlength) - SELECT tagfield, tagsubfield, liblibrarian, libopac, repeatable, mandatory, kohafield, tab, authorised_value, authtypecode, value_builder, isurl, hidden, 'ACQ', seealso, link, defaultvalue, maxlength - FROM marc_subfield_structure - WHERE frameworkcode='' - AND kohafield IN ('biblio.title', 'biblio.author', 'biblioitems.publishercode', 'biblioitems.editionstatement', 'biblio.copyrightdate', 'biblioitems.isbn', 'biblio.seriestitle' );" diff --git a/installer/data/mysql/kohastructure.sql b/installer/data/mysql/kohastructure.sql index 3d077b4e15..e5e0b9c21c 100644 --- a/installer/data/mysql/kohastructure.sql +++ b/installer/data/mysql/kohastructure.sql @@ -2538,6 +2538,7 @@ CREATE TABLE `deleteditems` ( `stocknumber` varchar(32) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'inventory number (MARC21 952$i)', `new_status` varchar(32) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '''new'' value, you can put whatever free-text information. This field is intented to be managed by the automatic_item_modification_by_age cronjob.', `exclude_from_local_holds_priority` tinyint(1) DEFAULT NULL COMMENT 'Exclude this item from local holds priority', + `holding_id` int(11) DEFAULT NULL COMMENT 'foreign key from holdings table used to link this item to the right holdings record', PRIMARY KEY (`itemnumber`), KEY `delitembarcodeidx` (`barcode`), KEY `delitemstocknumberidx` (`stocknumber`), @@ -2682,6 +2683,56 @@ CREATE TABLE `hold_fill_targets` ( ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; +-- +-- Table structure for table `holdings` +-- + +DROP TABLE IF EXISTS `holdings`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `holdings` ( + `holding_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'unique identifier assigned to each holdings record', + `biblionumber` int(11) NOT NULL DEFAULT 0 COMMENT 'foreign key from biblio table used to link this record to the right bib record', + `frameworkcode` varchar(4) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT 'foreign key from the biblio_framework table to identify which framework was used in cataloging this record', + `holdingbranch` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'foreign key from the branches table for the library that owns this record (MARC21 852$a)', + `location` varchar(80) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'authorized value for the shelving location for this record (MARC21 852$b)', + `ccode` varchar(80) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'authorized value for the collection code associated with this item (MARC21 852$g)', + `callnumber` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'call number (852$h+$i in MARC21)', + `suppress` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'Boolean indicating whether the record is suppressed in OPAC', + `timestamp` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp() COMMENT 'date and time this record was last touched', + `datecreated` date NOT NULL COMMENT 'the date this record was added to Koha', + `deleted_on` datetime DEFAULT NULL COMMENT 'the date this record was deleted', + PRIMARY KEY (`holding_id`), + KEY `hldnoidx` (`holding_id`), + KEY `hldbibnoidx` (`biblionumber`), + KEY `timestamp` (`timestamp`), + KEY `holdings_ibfk_2` (`holdingbranch`), + CONSTRAINT `holdings_ibfk_1` FOREIGN KEY (`biblionumber`) REFERENCES `biblio` (`biblionumber`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `holdings_ibfk_2` FOREIGN KEY (`holdingbranch`) REFERENCES `branches` (`branchcode`) ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `holdings_metadata` +-- + +DROP TABLE IF EXISTS `holdings_metadata`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `holdings_metadata` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `holding_id` int(11) NOT NULL, + `format` varchar(16) COLLATE utf8mb4_unicode_ci NOT NULL, + `schema` varchar(16) COLLATE utf8mb4_unicode_ci NOT NULL, + `metadata` longtext COLLATE utf8mb4_unicode_ci NOT NULL, + `deleted_on` datetime DEFAULT NULL COMMENT 'the date this record was deleted', + PRIMARY KEY (`id`), + UNIQUE KEY `holdings_metadata_uniq_key` (`holding_id`,`format`,`schema`), + KEY `hldnoidx` (`holding_id`), + CONSTRAINT `holdings_metadata_fk_1` FOREIGN KEY (`holding_id`) REFERENCES `holdings` (`holding_id`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + -- -- Table structure for table `housebound_profile` -- @@ -3098,6 +3149,7 @@ CREATE TABLE `items` ( `stocknumber` varchar(32) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'inventory number (MARC21 952$i)', `new_status` varchar(32) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '''new'' value, you can put whatever free-text information. This field is intented to be managed by the automatic_item_modification_by_age cronjob.', `exclude_from_local_holds_priority` tinyint(1) DEFAULT NULL COMMENT 'Exclude this item from local holds priority', + `holding_id` int(11) DEFAULT NULL COMMENT 'foreign key from holdings table used to link this item to the right holdings record', PRIMARY KEY (`itemnumber`), UNIQUE KEY `itembarcodeidx` (`barcode`), KEY `itemstocknumberidx` (`stocknumber`), @@ -3110,10 +3162,12 @@ CREATE TABLE `items` ( KEY `items_ccode` (`ccode`), KEY `itype_idx` (`itype`), KEY `timestamp` (`timestamp`), + KEY `hldid_idx` (`holding_id`), CONSTRAINT `items_ibfk_1` FOREIGN KEY (`biblioitemnumber`) REFERENCES `biblioitems` (`biblioitemnumber`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `items_ibfk_2` FOREIGN KEY (`homebranch`) REFERENCES `branches` (`branchcode`) ON UPDATE CASCADE, CONSTRAINT `items_ibfk_3` FOREIGN KEY (`holdingbranch`) REFERENCES `branches` (`branchcode`) ON UPDATE CASCADE, - CONSTRAINT `items_ibfk_4` FOREIGN KEY (`biblionumber`) REFERENCES `biblio` (`biblionumber`) ON DELETE CASCADE ON UPDATE CASCADE + CONSTRAINT `items_ibfk_4` FOREIGN KEY (`biblionumber`) REFERENCES `biblio` (`biblionumber`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `items_ibfk_5` FOREIGN KEY (`holding_id`) REFERENCES `holdings` (`holding_id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; diff --git a/installer/data/mysql/mandatory/auth_val_cat.sql b/installer/data/mysql/mandatory/auth_val_cat.sql index aef65fb807..bc3b5e4ccd 100644 --- a/installer/data/mysql/mandatory/auth_val_cat.sql +++ b/installer/data/mysql/mandatory/auth_val_cat.sql @@ -24,6 +24,7 @@ INSERT IGNORE INTO authorised_value_categories( category_name, is_system ) INSERT IGNORE INTO authorised_value_categories( category_name, is_system ) VALUES ('branches', 1), + ('holdings', 1), ('itemtypes', 1), ('cn_source', 1); diff --git a/installer/data/mysql/mandatory/sysprefs.sql b/installer/data/mysql/mandatory/sysprefs.sql index 6605618001..c26f8c6834 100644 --- a/installer/data/mysql/mandatory/sysprefs.sql +++ b/installer/data/mysql/mandatory/sysprefs.sql @@ -665,6 +665,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` ('SubscriptionHistory','simplified','simplified|full','Define the display preference for serials issue history in OPAC','Choice'), ('SubscriptionLog','1',NULL,'If ON, enables subscriptions log','YesNo'), ('suggestion','1','','If ON, enables patron suggestions feature in OPAC','YesNo'), +('SummaryHoldings', '0', NULL, 'If ON, enables support for holdings records.', 'YesNo'), ('SuspendHoldsIntranet','1','Allow holds to be suspended from the intranet.',NULL,'YesNo'), ('SuspendHoldsOpac','1','Allow holds to be suspended from the OPAC.',NULL,'YesNo'), ('SuspensionsCalendar','noSuspensionsWhenClosed','ignoreCalendar|noSuspensionsWhenClosed','Specify whether to use the Calendar in calculating suspension expiration','Choice'), diff --git a/koha-tmpl/intranet-tmpl/prog/css/addholding.css b/koha-tmpl/intranet-tmpl/prog/css/addholding.css new file mode 100644 index 0000000000..359d416256 --- /dev/null +++ b/koha-tmpl/intranet-tmpl/prog/css/addholding.css @@ -0,0 +1,398 @@ +form { + display: block; +} + +div#toolbar { + border: 0; +} + +#addholdingtabs .ui-tabs-nav { + display: none; +} + +.ui-tabs-panel h3 { + font-size: 140%; + margin: .3em 0; +} + +.ui-tabs-panel ul { + margin-bottom: 0; + padding-left: 0; +} + +ul li.tag, ul li.tag li.subfield_line { + list-style-type: none; + position: relative; + padding-left: 30px; +} + +ul li.tag::before { + position: absolute; + font-size: .8em; + top: 0; + left: 10px; + content: " "; +} + + +ul li.tag.sortable_tag::before, +ul li.tag li.subfield_line::before { + color: #999; + cursor: move; + position: absolute; + font-family: 'FontAwesome'; + font-size: .8em; + top: 0; + left: 10px; + content: "\f0c9"; +} + +ul li.tag::before { + padding-top: 1.7em; +} + +li.ui-sortable-helper { + background-color: #e0e0e0; + max-height: 150px; + padding: 2px; + border-radius: 4px; +} + +li.ui-sortable-helper ul li { + display: none !important; +} + +.sortable_subfield .ui-sortable-helper input.flat { + background-color: transparent; +} + +ul li.tag li.subfield_line.ui-sortable-helper::before { + top: 5px; +} + +.buttonPlus { + font-weight : bold; + text-decoration : none; +} + +.buttonMinus { + font-weight : bold; + text-decoration : none; +} + +a.expandfield { + text-decoration : none; +} + +.toptabs .ui-tabs-nav li a { + padding : .2em 1.2em; +} + +.tag { + border-bottom: 2px solid #D5E6E9; + clear: both; + padding: .7em 0; +} + +li.subfield_line { + padding-bottom: .3em; + float: left; + clear: left; + width: 100%; +} + +li.subfield_line label { + font-size:89%; + float: left; + padding-right: .4em; + width: 10em; + text-align: left; + clear:left; +} + +.subfieldcode img { + cursor: pointer; +} + +.tag_title { + font-size : 90%; + padding : .2em 0; +} + +.tagnum { + font-size : 130%; + font-weight : bold; + color : #000; + padding : .1em .3em .1em 0; +} + +a.tagnum { + font-size : 110%; + font-weight : bold; + color : #000; + padding : .1em .3em .1em 0; + text-decoration : none; +} + +.subfield { + color : #00698a; + float: left; + width: 10em; + text-align:right; +} + +.subfield.subfield_mandatory { + color: #C00; +} + +.subfieldcode { + display: block; + float: left; +} + +.labelsubfield { + float: left; +} + +#cat_addholding .subfieldcode { + float: none; +} + +#cat_addholding .labelsubfield { + font-size: 90%; + float: none; +} + +#cat_addholding .subfield { + float: none; + padding: .25em .5em; +} + +#cat_addholding .subfield label { + color: #00698a; +} + +.input_marceditor { + float: left; + width: 50%; +} + +#cat_addholding .input_marceditor { + float: none; + width: 100%; +} + +#cat_addholding .subfield_line { + display: flex; +} + +#cat_addholding .field_marceditor { + flex-grow: 1; + padding: .25em .5em; +} + +#cat_addholding .subfield_loop_mandatory { + padding: .25em .5em; +} + +.indicator { + width: 1em; + box-sizing: content-box; +} + +#cataloguing_additem_newitem fieldset.rows label, #cataloguing_additem_newitem fieldset.rows span.label { + font-size : 100%; + width : 25%; +} + +#cataloguing_additem_newitem fieldset.rows li { + padding-bottom : 3px; +} + +#cataloguing_additem_newitem .input_marceditor { + width: 50%; +} + +#cataloguing_additem_newitem textarea.input_marceditor { + width: 31em; +} + +#cat_addholding .field_marceditor .flatpickr_wrapper { + display: none; +} + +.mandatory_marker { + color: red; +} +.linktools { display: block; white-space: nowrap; } +.linktools a { font-size : 75%; display:block;text-decoration:none;} +.linktools a {margin:0 2px;padding:2px;background-color:#FFF;text-align:center; } +.linktools a:first-child { border-bottom: 1px solid #DDD; } +.linktools a:hover { background-color: #FFC; } +.subfield_controls { margin: 0 .5em; } + +#cataloguing_additem_itemlist { + margin-bottom : 1em; +} + +tbody tr.active:nth-child(2n+1) td, +tbody tr.active td { + background-color: #FFFFCC; +} + +#loading { + background-color: #FFF; + cursor: wait; + height: 100%; + left: 0; + opacity: .7; + position: fixed; + top: 0; + width: 100%; + z-index: 1000; +} +#loading div { + background : transparent url(../img/loading.gif) top left no-repeat; + font-size : 175%; + font-weight: bold; + height: 2em; + left: 50%; + margin: -1em 0 0 -2.5em; + padding-left : 50px; + position: absolute; + top: 50%; + width: 15em; +} + +.ui-tabs .ui-tabs-panel { + border: 0; + padding: 0; +} + +.toolbar-tabs-container { + margin: 3em -5px -5px -5px; +} + +.toolbar-tabs { + background-color: #FFF; + clear: both; + display: flex; + flex-direction: row; + justify-content: center; + margin-bottom: 0; + padding-left: 0; +} + +.toolbar-tabs li { + background-color: #fff; + display: flex; + justify-content: center; + flex-grow: 1; + text-align: center; + margin-bottom: 0; +} + +.toolbar-tabs li a { + border: 1px solid #EDF4F6; + border-left: 0; + border-right: 1px solid #EDF4F6; + border-bottom-right-radius: 5px; + border-bottom-left-radius: 5px; + display: block; + font-weight: bold; + padding: .3em 1.5em; + width: 100%; +} + +.toolbar-tabs li.selected a { + background-color: #EDF4F6; + border-right: 1px solid #C3D6DB; + border-bottom: 1px solid #C3D6DB; + font-weight: bold; +} + +.toolbar-tabs li.selected a:hover { + background-color: #EDF4F6; +} + +.toolbar-tabs li a:hover { + background-color: #F4F8F9; +} + +.toolbar-tabs li:first-child a { + border-left: 1px solid #EDF4F6; +} + +.tag_anchors_list { + background-color: #FFF; + clear: both; + display: block; + font-size: 95%; + margin-bottom: 0; + padding-left: 0; +} + +.tag_anchor.selected { + font-weight: bold; +} + +.tag_anchors { + display: none; + padding: .5em 0; +} + +.tag_anchors a { + border-right: 1px solid #EDF4F6; + display: inline-block; + padding: 0 .4em; +} + +.tag_anchors.tab_selected { + display: inline-block; +} + + + .show-errors { + background: #FFEC8C none; + border-color: #E0C726; + color: #000; + display: none; + text-shadow: none; +} + +.floating .show-errors { + display: inline-block; +} + +@media (min-width: 768px) { + li.subfield_line label { + width: 20em; + } + + .input_marceditor { + width: 50em; + } + + .subfield { + width: 14em; + } +} + +@media (min-width: 1200px) { + li.subfield_line label { + width: 25em; + } + + .input_marceditor { + width: 60em; + } + + .subfield { + width: 16em; + } +} + +.ui-autocomplete { + z-index: 2000; +} + diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc index 1f352ab3ae..d1c617bf18 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc @@ -10,6 +10,10 @@
  • New record
  • [% END %] + [% IF ( Koha.Preference('SummaryHoldings') && CAN_user_editcatalogue_edit_items ) %] +
  • New holdings record
  • + [% END %] + [% IF ( CAN_user_editcatalogue_edit_items ) %]
  • New item
  • [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt index 9d2687881d..625d000a6f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt @@ -202,6 +202,7 @@ [% IF (cannotdelbiblio.itemcount) %]
  • [% cannotdelbiblio.itemcount | html %] item(s) attached.
  • [% END %] [% IF (cannotdelbiblio.subscriptions) %]
  • [% cannotdelbiblio.subscriptions | html %] subscription(s) attached.
  • [% END %] [% IF (cannotdelbiblio.countbiblio) %]
  • [% cannotdelbiblio.countbiblio | html %] order(s) attached.
  • [% END %] + [% IF (cannotdelbiblio.holdingscount) %]
  • [% cannotdelbiblio.holdingscount | html %] holdings record(s) attached.
  • [% END %] [% IF (cannotdelbiblio.othererror) %]
  • Unknown error.
  • [% END %] @@ -614,6 +615,9 @@ [% ELSE %] Can't cancel order and delete catalog record
    [% END %] + [% IF ( books_loo.holdings ) %] + [% books_loo.holdings | html %] holdings record(s) left
    + [% END %] [% IF ( books_loo.left_item ) %] [% books_loo.items | html %] item(s) left
    [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt index 468e93c0a7..4b085fb798 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt @@ -1,5 +1,6 @@ [% USE raw %] [% USE Asset %] +[% USE Holdings %] [% USE Koha %] [% USE KohaDates %] [% USE Price %] @@ -15,6 +16,8 @@ [% INCLUDE 'header.inc' %] [% INCLUDE 'acquisitions-search.inc' %] +[% ShowSummaryHoldings = Koha.Preference('SummaryHoldings') %] +