View | Details | Raw Unified | Return to bug 20447
Collapse All | Expand All

(-)a/C4/Biblio.pm (-6 / +35 lines)
Lines 99-104 use Koha::Caches; Link Here
99
use Koha::Authority::Types;
99
use Koha::Authority::Types;
100
use Koha::Acquisition::Currencies;
100
use Koha::Acquisition::Currencies;
101
use Koha::Biblio::Metadatas;
101
use Koha::Biblio::Metadatas;
102
use Koha::Holdings;
102
use Koha::Holds;
103
use Koha::Holds;
103
use Koha::ItemTypes;
104
use Koha::ItemTypes;
104
use Koha::Plugins;
105
use Koha::Plugins;
Lines 1378-1383 sub GetAuthorisedValueDesc { Link Here
1378
            return $itemtype ? $itemtype->translated_description : q||;
1379
            return $itemtype ? $itemtype->translated_description : q||;
1379
        }
1380
        }
1380
1381
1382
        #---- holdings
1383
        if ( $tagslib->{$tag}->{$subfield}->{'authorised_value'} eq "holdings" ) {
1384
            my $holding = Koha::Holdings->find( $value );
1385
            if ( $holding ) {
1386
                my @parts;
1387
1388
                push @parts, $value;
1389
                push @parts, $holding->holdingbranch() if $holding->holdingbranch();
1390
                push @parts, $holding->location() if $holding->location();
1391
                push @parts, $holding->ccode() if $holding->ccode();
1392
                push @parts, $holding->callnumber() if $holding->callnumber();
1393
1394
                return join(' ', @parts);
1395
            }
1396
            return q||;
1397
        }
1398
1381
        #---- "true" authorized value
1399
        #---- "true" authorized value
1382
        $category = $tagslib->{$tag}->{$subfield}->{'authorised_value'};
1400
        $category = $tagslib->{$tag}->{$subfield}->{'authorised_value'};
1383
    }
1401
    }
Lines 2560-2573 sub ModZebra { Link Here
2560
=head2 EmbedItemsInMarcBiblio
2578
=head2 EmbedItemsInMarcBiblio
2561
2579
2562
    EmbedItemsInMarcBiblio({
2580
    EmbedItemsInMarcBiblio({
2563
        marc_record  => $marc,
2581
        marc_record   => $marc,
2564
        biblionumber => $biblionumber,
2582
        biblionumber  => $biblionumber,
2565
        item_numbers => $itemnumbers,
2583
        item_numbers  => $itemnumbers,
2566
        opac         => $opac });
2584
        opac          => $opac,
2585
        skip_holdings => 1 });
2567
2586
2568
Given a MARC::Record object containing a bib record,
2587
Given a MARC::Record object containing a bib record,
2569
modify it to include the items attached to it as 9XX
2588
modify it to include the items attached to it as 9XX
2570
per the bib's MARC framework.
2589
per the bib's MARC framework and any holdings location information.
2571
if $itemnumbers is defined, only specified itemnumbers are embedded.
2590
if $itemnumbers is defined, only specified itemnumbers are embedded.
2572
2591
2573
If $opac is true, then opac-relevant suppressions are included.
2592
If $opac is true, then opac-relevant suppressions are included.
Lines 2575-2585 If $opac is true, then opac-relevant suppressions are included. Link Here
2575
If opac filtering will be done, borcat should be passed to properly
2594
If opac filtering will be done, borcat should be passed to properly
2576
override if necessary.
2595
override if necessary.
2577
2596
2597
If $skip_holdings is set, it overrides the default of embedding basic
2598
location information from holdings records if summary holdings are
2599
enabled.
2600
2578
=cut
2601
=cut
2579
2602
2580
sub EmbedItemsInMarcBiblio {
2603
sub EmbedItemsInMarcBiblio {
2581
    my ($params) = @_;
2604
    my ($params) = @_;
2582
    my ($marc, $biblionumber, $itemnumbers, $opac, $borcat);
2605
    my ($marc, $biblionumber, $itemnumbers, $opac, $borcat, $skip_holdings);
2583
    $marc = $params->{marc_record};
2606
    $marc = $params->{marc_record};
2584
    if ( !$marc ) {
2607
    if ( !$marc ) {
2585
        carp 'EmbedItemsInMarcBiblio: No MARC record passed';
2608
        carp 'EmbedItemsInMarcBiblio: No MARC record passed';
Lines 2589-2597 sub EmbedItemsInMarcBiblio { Link Here
2589
    $itemnumbers = $params->{item_numbers};
2612
    $itemnumbers = $params->{item_numbers};
2590
    $opac = $params->{opac};
2613
    $opac = $params->{opac};
2591
    $borcat = $params->{borcat} // q{};
2614
    $borcat = $params->{borcat} // q{};
2615
    $skip_holdings = $params->{skip_holdings} // 0;
2592
2616
2593
    $itemnumbers = [] unless defined $itemnumbers;
2617
    $itemnumbers = [] unless defined $itemnumbers;
2594
2618
2619
    if ( !$skip_holdings && C4::Context->preference('SummaryHoldings') && !@$itemnumbers ) {
2620
        my $holdings_fields = Koha::Holdings->get_embeddable_marc_fields({ biblionumber => $biblionumber });
2621
        $marc->append_fields(@$holdings_fields) if ( @$holdings_fields );
2622
    }
2623
2595
    my $frameworkcode = GetFrameworkCode($biblionumber);
2624
    my $frameworkcode = GetFrameworkCode($biblionumber);
2596
    _strip_item_fields($marc, $frameworkcode);
2625
    _strip_item_fields($marc, $frameworkcode);
2597
2626
(-)a/C4/ImportBatch.pm (-2 / +26 lines)
Lines 1504-1516 sub RecordsFromISO2709File { Link Here
1504
1504
1505
    open my $fh, '<', $input_file or die "$0: cannot open input file $input_file: $!\n";
1505
    open my $fh, '<', $input_file or die "$0: cannot open input file $input_file: $!\n";
1506
    my @marc_records;
1506
    my @marc_records;
1507
    my $count = 0;
1507
    $/ = "\035";
1508
    $/ = "\035";
1508
    while (<$fh>) {
1509
    while (<$fh>) {
1509
        s/^\s+//;
1510
        s/^\s+//;
1510
        s/\s+$//;
1511
        s/\s+$//;
1511
        next unless $_; # skip if record has only whitespace, as might occur
1512
        next unless $_; # skip if record has only whitespace, as might occur
1512
                        # if file includes newlines between each MARC record
1513
                        # if file includes newlines between each MARC record
1514
        ++$count;
1513
        my ($marc_record, $charset_guessed, $char_errors) = MarcToUTF8Record($_, $marc_type, $encoding);
1515
        my ($marc_record, $charset_guessed, $char_errors) = MarcToUTF8Record($_, $marc_type, $encoding);
1516
        # Ignore holdings records
1517
        if ($record_type eq 'biblio' && $marc_type eq 'MARC21') {
1518
            my $leader = $marc_record->leader();
1519
            if ($leader =~ /^.{6}[uvxy]/) {
1520
                push @errors, "Ignoring record $count (holdings record)";
1521
                next;
1522
            }
1523
        }
1524
1514
        push @marc_records, $marc_record;
1525
        push @marc_records, $marc_record;
1515
        if ($charset_guessed ne $encoding) {
1526
        if ($charset_guessed ne $encoding) {
1516
            push @errors,
1527
            push @errors,
Lines 1535-1549 Returns two array refs. Link Here
1535
=cut
1546
=cut
1536
1547
1537
sub RecordsFromMARCXMLFile {
1548
sub RecordsFromMARCXMLFile {
1538
    my ( $filename, $encoding ) = @_;
1549
    my ( $filename, $record_type, $encoding ) = @_;
1550
1551
    my $marcflavour = C4::Context->preference('marcflavour');
1539
    my $batch = MARC::File::XML->in( $filename );
1552
    my $batch = MARC::File::XML->in( $filename );
1540
    my ( @marcRecords, @errors, $record );
1553
    my ( @marcRecords, @errors, $record );
1554
    my $count = 0;
1541
    do {
1555
    do {
1556
        ++$count;
1542
        eval { $record = $batch->next( $encoding ); };
1557
        eval { $record = $batch->next( $encoding ); };
1543
        if ($@) {
1558
        if ($@) {
1544
            push @errors, $@;
1559
            push @errors, $@;
1545
        }
1560
        }
1546
        push @marcRecords, $record if $record;
1561
        # Ignore holdings records
1562
        my $valid = 1;
1563
        if ($record && $record_type eq 'biblio' && $marcflavour eq 'MARC21') {
1564
            my $leader = $record->leader();
1565
            if ($leader =~ /^.{6}[uvxy]/) {
1566
                push @errors, "Ignoring record $count (holdings record)";
1567
                $valid = 0;
1568
            }
1569
        }
1570
        push @marcRecords, $record if $record && $valid;
1547
    } while( $record );
1571
    } while( $record );
1548
    return (\@errors, \@marcRecords);
1572
    return (\@errors, \@marcRecords);
1549
}
1573
}
(-)a/C4/Items.pm (-1 / +2 lines)
Lines 68-73 use Koha::Database; Link Here
68
68
69
use Koha::Biblios;
69
use Koha::Biblios;
70
use Koha::Biblioitems;
70
use Koha::Biblioitems;
71
use Koha::Holdings;
71
use Koha::Items;
72
use Koha::Items;
72
use Koha::ItemTypes;
73
use Koha::ItemTypes;
73
use Koha::SearchEngine;
74
use Koha::SearchEngine;
Lines 814-820 Item's itemcallnumber Link Here
814
Item's call number normalized for sorting
815
Item's call number normalized for sorting
815
816
816
=back
817
=back
817
  
818
818
=cut
819
=cut
819
820
820
sub GetItemsLocationInfo {
821
sub GetItemsLocationInfo {
(-)a/C4/Search.pm (+10 lines)
Lines 30-35 use C4::Reserves; # GetReserveStatus Link Here
30
use C4::Debug;
30
use C4::Debug;
31
use C4::Charset;
31
use C4::Charset;
32
use Koha::AuthorisedValues;
32
use Koha::AuthorisedValues;
33
use Koha::Holdings;
33
use Koha::ItemTypes;
34
use Koha::ItemTypes;
34
use Koha::Libraries;
35
use Koha::Libraries;
35
use Koha::Patrons;
36
use Koha::Patrons;
Lines 1894-1899 sub searchResults { Link Here
1894
        my $maxitems_pref = C4::Context->preference('maxItemsinSearchResults');
1895
        my $maxitems_pref = C4::Context->preference('maxItemsinSearchResults');
1895
        my $maxitems = $maxitems_pref ? $maxitems_pref - 1 : 1;
1896
        my $maxitems = $maxitems_pref ? $maxitems_pref - 1 : 1;
1896
        my @hiddenitems; # hidden itemnumbers based on OpacHiddenItems syspref
1897
        my @hiddenitems; # hidden itemnumbers based on OpacHiddenItems syspref
1898
        my $summary_holdings;
1897
1899
1898
        # loop through every item
1900
        # loop through every item
1899
        foreach my $field (@fields) {
1901
        foreach my $field (@fields) {
Lines 2081-2086 sub searchResults { Link Here
2081
            push @available_items_loop, $available_items->{$key}
2083
            push @available_items_loop, $available_items->{$key}
2082
        }
2084
        }
2083
2085
2086
        # Fetch summary holdings
2087
        if (C4::Context->preference('SummaryHoldings')) {
2088
            # Fetch Koha::Holdings directly to avoid having to fetch the Koha::Biblio object just for this.
2089
            # TODO: Make this use Koha::Biblio->holdings if the Biblio object gets used here also for other purposes
2090
            $summary_holdings = Koha::Holdings->search({ biblionumber => $oldbiblio->{biblionumber}, deleted_on => undef });
2091
        }
2092
2084
        # XSLT processing of some stuff
2093
        # XSLT processing of some stuff
2085
        # we fetched the sysprefs already before the loop through all retrieved record!
2094
        # we fetched the sysprefs already before the loop through all retrieved record!
2086
        if (!$scan && $xslfile) {
2095
        if (!$scan && $xslfile) {
Lines 2117-2122 sub searchResults { Link Here
2117
        $oldbiblio->{onholdcount}          = $item_onhold_count;
2126
        $oldbiblio->{onholdcount}          = $item_onhold_count;
2118
        $oldbiblio->{orderedcount}         = $ordered_count;
2127
        $oldbiblio->{orderedcount}         = $ordered_count;
2119
        $oldbiblio->{notforloancount}      = $notforloan_count;
2128
        $oldbiblio->{notforloancount}      = $notforloan_count;
2129
        $oldbiblio->{summary_holdings}     = $summary_holdings;
2120
2130
2121
        if (C4::Context->preference("AlternateHoldingsField") && $items_count == 0) {
2131
        if (C4::Context->preference("AlternateHoldingsField") && $items_count == 0) {
2122
            my $fieldspec = C4::Context->preference("AlternateHoldingsField");
2132
            my $fieldspec = C4::Context->preference("AlternateHoldingsField");
(-)a/C4/XSLT.pm (-2 / +49 lines)
Lines 160-165 sub _get_best_default_xslt_filename { Link Here
160
    return $xslfilename;
160
    return $xslfilename;
161
}
161
}
162
162
163
=head2 get_xslt_sysprefs
164
165
Returns XML for system preferences.
166
167
=cut
168
163
sub get_xslt_sysprefs {
169
sub get_xslt_sysprefs {
164
    my $sysxml = "<sysprefs>\n";
170
    my $sysxml = "<sysprefs>\n";
165
    foreach my $syspref ( qw/ hidelostitems OPACURLOpenInNewWindow
171
    foreach my $syspref ( qw/ hidelostitems OPACURLOpenInNewWindow
Lines 243-252 sub XSLTParse4Display { Link Here
243
    # grab the XML, run it through our stylesheet, push it out to the browser
249
    # grab the XML, run it through our stylesheet, push it out to the browser
244
    my $record = transformMARCXML4XSLT($biblionumber, $orig_record);
250
    my $record = transformMARCXML4XSLT($biblionumber, $orig_record);
245
    my $itemsxml;
251
    my $itemsxml;
252
    my $holdingsxml;
246
    if ( $xslsyspref eq "OPACXSLTDetailsDisplay" || $xslsyspref eq "XSLTDetailsDisplay" || $xslsyspref eq "XSLTResultsDisplay" ) {
253
    if ( $xslsyspref eq "OPACXSLTDetailsDisplay" || $xslsyspref eq "XSLTDetailsDisplay" || $xslsyspref eq "XSLTResultsDisplay" ) {
247
        $itemsxml = ""; #We don't use XSLT for items display on these pages
254
        # We don't use XSLT for items or holdings display on these pages
255
        $itemsxml = "";
256
        $holdingsxml = "";
248
    } else {
257
    } else {
249
        $itemsxml = buildKohaItemsNamespace($biblionumber, $hidden_items);
258
        $itemsxml = buildKohaItemsNamespace($biblionumber, $hidden_items);
259
        $holdingsxml = buildKohaHoldingsNamespace($biblionumber);
250
    }
260
    }
251
    my $xmlrecord = $record->as_xml(C4::Context->preference('marcflavour'));
261
    my $xmlrecord = $record->as_xml(C4::Context->preference('marcflavour'));
252
262
Lines 272-278 sub XSLTParse4Display { Link Here
272
    }
282
    }
273
    $varxml .= "</variables>\n";
283
    $varxml .= "</variables>\n";
274
284
275
    $xmlrecord =~ s/\<\/record\>/$itemsxml$sysxml$varxml\<\/record\>/;
285
    $xmlrecord =~ s/\<\/record\>/$itemsxml$holdingsxml$sysxml$varxml\<\/record\>/;
276
    if ($fixamps) { # We need to correct the ampersand entities that Zebra outputs
286
    if ($fixamps) { # We need to correct the ampersand entities that Zebra outputs
277
        $xmlrecord =~ s/\&amp;amp;/\&amp;/g;
287
        $xmlrecord =~ s/\&amp;amp;/\&amp;/g;
278
        $xmlrecord =~ s/\&amp\;lt\;/\&lt\;/g;
288
        $xmlrecord =~ s/\&amp\;lt\;/\&lt\;/g;
Lines 377-382 sub buildKohaItemsNamespace { Link Here
377
    return $xml;
387
    return $xml;
378
}
388
}
379
389
390
=head2 buildKohaHoldingsNamespace
391
392
Returns XML for holdings records.
393
Is only used in this module currently.
394
395
=cut
396
397
sub buildKohaHoldingsNamespace {
398
    my ($biblionumber) = @_;
399
400
    my $holdings = Koha::Holdings->search({ biblionumber => $biblionumber, deleted_on => undef })->as_list;
401
402
    my $shelflocations =
403
      { map { $_->{authorised_value} => $_->{opac_description} } Koha::AuthorisedValues->get_descriptions_by_koha_field( { frameworkcode => 'HLD', kohafield => 'holdings.location' } ) };
404
405
    my %branches = map { $_->branchcode => $_->branchname } Koha::Libraries->search({}, { order_by => 'branchname' });
406
407
    my $location = "";
408
    my $ccode = "";
409
    my $xml = '';
410
    foreach my $holding ( @{$holdings} ) {
411
        my $holdingbranch = $holding->{holdingbranch} ? xml_escape($branches{$holding->{holdingbranch}}) : '';
412
        my $location = $holding->{location} ? xml_escape($shelflocations->{$holding->{location}} || $holding->{location}) : '';
413
        my $callnumber = xml_escape($holding->{callnumber});
414
        my $suppress = $holding->{suppress} || '0';
415
        $xml .=
416
            "<holding>"
417
          . "<holdingbranch>$holdingbranch</holdingbranch>"
418
          . "<location>$location</location>"
419
          . "<callnumber>$callnumber</callnumber>"
420
          . "<suppress>$suppress</suppress>"
421
          . "</holding>";
422
    }
423
    $xml = "<holdings xmlns=\"http://www.koha-community.org/holdings\">$xml</holdings>";
424
    return $xml;
425
}
426
380
=head2 engine
427
=head2 engine
381
428
382
Returns reference to XSLT handler object.
429
Returns reference to XSLT handler object.
(-)a/Koha/Biblio.pm (-4 / +34 lines)
Lines 38-43 use Koha::ArticleRequests; Link Here
38
use Koha::Biblio::Metadatas;
38
use Koha::Biblio::Metadatas;
39
use Koha::Biblioitems;
39
use Koha::Biblioitems;
40
use Koha::CirculationRules;
40
use Koha::CirculationRules;
41
use Koha::Holdings;
41
use Koha::Item::Transfer::Limits;
42
use Koha::Item::Transfer::Limits;
42
use Koha::Items;
43
use Koha::Items;
43
use Koha::Libraries;
44
use Koha::Libraries;
Lines 510-515 sub subscriptions { Link Here
510
    return $self->{_subscriptions};
511
    return $self->{_subscriptions};
511
}
512
}
512
513
514
=head3 holdings
515
516
my $holdings = $self->holdings
517
518
Returns the related Koha::Holdings objects.
519
520
=cut
521
522
sub holdings {
523
    my ($self) = @_;
524
525
    my $holdings_rs = $self->_result->holdings;
526
    return Koha::Holdings->_new_from_dbic( $holdings_rs );
527
}
528
513
=head3 has_items_waiting_or_intransit
529
=head3 has_items_waiting_or_intransit
514
530
515
my $itemsWaitingOrInTransit = $biblio->has_items_waiting_or_intransit
531
my $itemsWaitingOrInTransit = $biblio->has_items_waiting_or_intransit
Lines 816-840 sub to_api_mapping { Link Here
816
    };
832
    };
817
}
833
}
818
834
819
=head3 adopt_items_from_biblio
835
=head3 adopt_holdings_from_biblio
820
836
821
$biblio->adopt_items_from_biblio($from_biblio);
837
$biblio->adopt_holdings_from_biblio($from_biblio);
822
838
823
Move items from the given biblio to this one.
839
Move holdings and item records from the given biblio to this one.
824
840
825
=cut
841
=cut
826
842
827
sub adopt_items_from_biblio {
843
sub adopt_holdings_from_biblio {
828
    my ( $self, $from_biblio ) = @_;
844
    my ( $self, $from_biblio ) = @_;
829
845
846
    my $schema = Koha::Database->new()->schema();
847
848
    $schema->storage->txn_begin;
849
850
    # Move holdings records. This will also move any items attached to the holdings.
851
    my $holdings = $from_biblio->holdings;
852
    while (my $holding = $holdings->next()) {
853
        $holding->move_to_biblio($self);
854
    }
855
    # Move any items not already moved.
830
    my $items = $from_biblio->items;
856
    my $items = $from_biblio->items;
831
    if ($items) {
857
    if ($items) {
832
        while (my $item = $items->next()) {
858
        while (my $item = $items->next()) {
833
            $item->move_to_biblio($self);
859
            $item->move_to_biblio($self);
834
        }
860
        }
861
    }
862
    if ($items || $holdings) {
835
        C4::Biblio::ModZebra( $self->biblionumber, "specialUpdate", "biblioserver" );
863
        C4::Biblio::ModZebra( $self->biblionumber, "specialUpdate", "biblioserver" );
836
        C4::Biblio::ModZebra( $from_biblio->biblionumber, "specialUpdate", "biblioserver" );
864
        C4::Biblio::ModZebra( $from_biblio->biblionumber, "specialUpdate", "biblioserver" );
837
    }
865
    }
866
867
    $schema->storage->txn_commit;
838
}
868
}
839
869
840
870
(-)a/Koha/Holding.pm (+384 lines)
Line 0 Link Here
1
package Koha::Holding;
2
3
# Copyright ByWater Solutions 2014
4
# Copyright 2017-2020 University of Helsinki (The National Library Of Finland)
5
#
6
# This file is part of Koha.
7
#
8
# Koha is free software; you can redistribute it and/or modify it under the
9
# terms of the GNU General Public License as published by the Free Software
10
# Foundation; either version 3 of the License, or (at your option) any later
11
# version.
12
#
13
# Koha is distributed in the hope that it will be useful, but WITHOUT ANY
14
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
15
# A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License along
18
# with Koha; if not, write to the Free Software Foundation, Inc.,
19
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20
21
use Modern::Perl;
22
23
use Carp;
24
25
use C4::Charset; # SetUTF8Flag
26
use C4::Log; # logaction
27
28
use Koha::Database;
29
use Koha::DateUtils qw(dt_from_string);
30
use Koha::Holdings::Metadatas;
31
use Koha::Items;
32
33
use base qw(Koha::Object);
34
35
=head1 NAME
36
37
Koha::Holding - Koha Holding Object class
38
39
=head1 API
40
41
=head2 Class Methods
42
43
=cut
44
45
=head3 holding_branch
46
47
my $branch = $hold->holding_branch();
48
49
Returns the holding branch for this record.
50
51
=cut
52
53
sub holding_branch {
54
    my ($self) = @_;
55
56
    my $branch = $self->_result->holdingbranch();
57
    return Koha::Library->_new_from_dbic($branch);
58
}
59
60
=head3 metadata
61
62
my $metadata = $holding->metadata();
63
64
Returns a Koha::Holding::Metadata object
65
66
=cut
67
68
sub metadata {
69
    my ($self) = @_;
70
71
    my $metadata = $self->_result()->metadata();
72
    return unless $metadata;
73
    return Koha::Holdings::Metadata->_new_from_dbic($metadata);
74
}
75
76
=head3 set_marc
77
78
$holding->set_marc({ record => $record });
79
80
Updates the MARC format metadata from a Marc::Record.
81
Does not store the results in the database.
82
83
If passed an undefined record will log the error.
84
85
Returns $self
86
87
=cut
88
89
sub set_marc {
90
    my ($self, $params) = @_;
91
92
    if (!defined $params->{record}) {
93
        carp('set_marc called with undefined record');
94
        return $self;
95
    }
96
97
    # Clone record as it gets modified
98
    my $record = $params->{record}->clone();
99
    SetUTF8Flag($record);
100
    my $encoding = C4::Context->preference('marcflavour');
101
    if ($encoding eq 'MARC21' || $encoding eq 'UNIMARC') {
102
      # YY MM DD HH MM SS (update year and month)
103
      my @a = (localtime) [5,4,3,2,1,0]; $a[0] += 1900; $a[1]++;
104
      my $f005 = $record->field('005');
105
      $f005->update(sprintf('%4d%02d%02d%02d%02d%04.1f', @a)) if $f005;
106
    }
107
108
    $self->{_marcxml} = $record->as_xml_record($encoding);
109
    my $fields = $self->marc_to_koha_fields({ record => $record });
110
    delete $fields->{holding_id};
111
    # Filter the columns since we have e.g. public_note that's not stored in the database
112
    my $columns = [$self->_result()->result_source()->columns()];
113
    my $db_fields = {};
114
    foreach my $key (keys %{$fields}) {
115
        if (grep {/^$key$/} @{$columns}) {
116
            $db_fields->{$key} = $fields->{$key};
117
        }
118
    }
119
    $self->set($db_fields);
120
121
    return $self;
122
}
123
124
=head3 items
125
126
my $items = $holding->items();
127
128
Returns the related Koha::Items object for this record.
129
130
=cut
131
132
sub items {
133
    my ($self) = @_;
134
135
    my $items_rs = $self->_result->items;
136
    return Koha::Items->_new_from_dbic($items_rs);
137
}
138
139
=head3 store
140
141
    $holding->store();
142
143
Saves the holdings record.
144
145
Returns:
146
    $self  if the store was a success
147
    undef  if the store failed
148
149
=cut
150
151
sub store {
152
    my ($self) = @_;
153
154
    my $action = $self->holding_id() ? 'UPDATE' : 'ADD';
155
156
    $self->datecreated(dt_from_string('', 'sql')) unless $self->datecreated();
157
158
    my $schema = Koha::Database->new()->schema();
159
    # Use a transaction only if AutoCommit is enabled - otherwise handled outside of this sub
160
    my $guard = C4::Context->dbh->{AutoCommit} ? $schema->txn_scope_guard() : undef;
161
162
    my $result = $self->SUPER::store();
163
164
    return unless $result;
165
166
    # Create or update the metadata record
167
    my $marcflavour = C4::Context->preference('marcflavour');
168
    my $marc_record = $self->{_marcxml}
169
        ? MARC::Record::new_from_xml($self->{_marcxml}, 'utf-8', $marcflavour)
170
        : $self->metadata()->record();
171
172
    $self->_update_marc_ids($marc_record);
173
174
    my $metadata = {
175
        holding_id => $self->holding_id(),
176
        format     => 'marcxml',
177
        schema     => $marcflavour,
178
    };
179
    my $metadata_record = Koha::Holdings::Metadatas->find_or_create($metadata);
180
    $metadata_record->metadata($marc_record->as_xml_record($marcflavour));
181
182
    $result = $metadata_record->store() ? $self : undef;
183
184
    if ($result) {
185
        $guard->commit() if defined $guard;
186
187
        # request that bib be reindexed so that any holdings-derived fields are updated
188
        C4::Biblio::ModZebra( $self->biblionumber(), 'specialUpdate', 'biblioserver' );
189
190
        logaction('CATALOGUING', $action, $self->holding_id(), 'holding') if C4::Context->preference('CataloguingLog');
191
    }
192
193
    return $result;
194
}
195
196
=head3 delete
197
198
    $holding->delete();
199
200
Marks the holdings record deleted.
201
202
Returns:
203
    1  if the deletion was a success
204
    0  if the deletion failed
205
    -1 if the object was never in storage
206
207
=cut
208
209
sub delete {
210
    my ($self) = @_;
211
212
    return -1 unless $self->_result()->in_storage();
213
214
    if ($self->items()->count()) {
215
        return 0;
216
    }
217
218
    my $schema = Koha::Database->new()->schema();
219
    # Use a transaction only if AutoCommit is enabled - otherwise handled outside of this sub
220
    my $guard = C4::Context->dbh->{AutoCommit} ? $schema->txn_scope_guard() : undef;
221
222
    my $now = dt_from_string('', 'sql');
223
    $self->deleted_on($now)->store();
224
    Koha::Holdings::Metadatas->find({ holding_id => $self->holding_id() })->update({ deleted_on => $now });
225
226
    $guard->commit() if defined $guard;
227
228
    logaction('CATALOGUING', 'DELETE', $self->holding_id(), 'holding') if C4::Context->preference('CataloguingLog');
229
230
    return 1;
231
}
232
233
=head3 move_to_biblio
234
235
  $holding->move_to_biblio($to_biblio);
236
237
Move the holdings record and any of its related records to another biblio.
238
239
=cut
240
241
sub move_to_biblio {
242
    my ( $self, $to_biblio ) = @_;
243
244
    my $biblionumber = $to_biblio->biblionumber;
245
246
    # Own biblionumber
247
    $self->set({
248
        biblionumber => $biblionumber,
249
    })->store();
250
251
    # Items
252
    my $items => $self->items;
253
    if ($items) {
254
        while (my $item = $items->next()) {
255
            $item->move_to_biblio($to_biblio);
256
        }
257
    }
258
}
259
260
=head3 type
261
262
=cut
263
264
sub _type {
265
    return 'Holding';
266
}
267
268
=head2 marc_to_koha_fields
269
270
    $result = Koha::Holding->marc_to_koha_fields({ record => $record })
271
272
Extract data from a MARC::Record holdings record into a hashref representing
273
Koha holdings fields.
274
275
If passed an undefined record will log the error and return an empty
276
hash_ref.
277
278
=cut
279
280
sub marc_to_koha_fields {
281
    my ($class, $params) = @_;
282
283
    my $result = {};
284
    if (!defined $params->{record}) {
285
        carp('marc_to_koha_fields called with undefined record');
286
        return $result;
287
    }
288
    my $record = $params->{record};
289
290
    # The next call uses the HLD framework since it is AUTHORITATIVE
291
    # for all Koha to MARC mappings for holdings.
292
    my $mss = C4::Biblio::GetMarcSubfieldStructure('HLD', { unsafe => 1 }); # Do not change framework
293
    foreach my $kohafield (keys %{ $mss }) {
294
        my ($table, $column) = split /[.]/, $kohafield, 2;
295
        next unless $table eq 'holdings' && $mss->{$kohafield};
296
297
        my @values;
298
        foreach my $field (@{$mss->{$kohafield}}) {
299
            my $tag = $field->{tagfield};
300
            my $sub = $field->{tagsubfield};
301
            foreach my $fld ($record->field($tag)) {
302
                if( $sub eq '@' || $fld->is_control_field ) {
303
                    push @values, $fld->data if $fld->data;
304
                } else {
305
                    push @values, grep { $_ } $fld->subfield($sub);
306
                }
307
            }
308
        }
309
        $result->{$column} = join(' | ', @values) if (@values);
310
    }
311
    return $result;
312
}
313
314
=head3 get_marc_field_mapping
315
316
    ($field, $subfield) = Koha::Holding->get_marc_field_mapping({ field => $kohafield });
317
    @fields = Koha::Holding->get_marc_field_mapping({ field => $kohafield });
318
    $field = Koha::Holding->get_marc_field_mapping({ field => $kohafield });
319
320
    Returns the MARC fields & subfields mapped to $kohafield.
321
    Uses the HLD framework that is considered as authoritative.
322
323
    In list context all mappings are returned; there can be multiple
324
    mappings. Note that in the above example you could miss a second
325
    mapping in the first call.
326
    In scalar context only the field tag of the first mapping is returned.
327
328
=cut
329
330
sub get_marc_field_mapping {
331
    my ($class, $params) = @_;
332
333
    return unless $params->{field};
334
335
    # The next call uses the HLD framework since it is AUTHORITATIVE
336
    # for all Koha to MARC mappings for holdings.
337
    my $mss = C4::Biblio::GetMarcSubfieldStructure('HLD', { unsafe => 1 }); # Do not change framework
338
    my @retval;
339
    foreach (@{ $mss->{$params->{field}} }) {
340
        push @retval, $_->{tagfield}, $_->{tagsubfield};
341
    }
342
    return wantarray ? @retval : ( @retval ? $retval[0] : undef );
343
}
344
345
=head2 Internal methods
346
347
=head3 _update_marc_ids
348
349
  $self->_update_marc_ids($record);
350
351
Internal function to add or update holding_id, biblionumber and biblioitemnumber to
352
the MARC record.
353
354
=cut
355
356
sub _update_marc_ids {
357
    my ($self, $record) = @_;
358
359
    my ($holding_tag, $holding_subfield) = $self->get_marc_field_mapping({ field => 'holdings.holding_id' });
360
    die qq{No holding_id tag for framework "HLD"} unless $holding_tag;
361
    if ($holding_tag < 10) {
362
        C4::Biblio::UpsertMarcControlField($record, $holding_tag, $self->holding_id);
363
    } else {
364
        C4::Biblio::UpsertMarcSubfield($record, $holding_tag, $holding_subfield, $self->holding_id);
365
    }
366
367
    my ($biblio_tag, $biblio_subfield) = $self->get_marc_field_mapping({ field => 'biblio.biblionumber' });
368
    die qq{No biblionumber tag for framework "HLD"} unless $biblio_tag;
369
    if ($biblio_tag < 10) {
370
        C4::Biblio::UpsertMarcControlField($record, $biblio_tag, $self->biblionumber);
371
    } else {
372
        C4::Biblio::UpsertMarcSubfield($record, $biblio_tag, $biblio_subfield, $self->biblionumber);
373
    }
374
}
375
376
377
=head1 AUTHOR
378
379
Kyle M Hall <kyle@bywatersolutions.com>
380
Ere Maijala <ere.maijala@helsinki.fi>
381
382
=cut
383
384
1;
(-)a/Koha/Holdings.pm (+145 lines)
Line 0 Link Here
1
package Koha::Holdings;
2
3
# Copyright ByWater Solutions 2015
4
# Copyright 2017-2020 University of Helsinki (The National Library Of Finland)
5
#
6
# This file is part of Koha.
7
#
8
# Koha is free software; you can redistribute it and/or modify it under the
9
# terms of the GNU General Public License as published by the Free Software
10
# Foundation; either version 3 of the License, or (at your option) any later
11
# version.
12
#
13
# Koha is distributed in the hope that it will be useful, but WITHOUT ANY
14
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
15
# A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License along
18
# with Koha; if not, write to the Free Software Foundation, Inc.,
19
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20
21
use Modern::Perl;
22
23
use Carp;
24
25
use C4::Biblio;
26
use C4::Charset; # For SetMarcUnicodeFlag
27
use C4::Context;
28
29
use Koha::Holding;
30
31
use base qw(Koha::Objects);
32
33
=head1 NAME
34
35
Koha::Holdings - Koha Holdings object set class
36
37
=head1 API
38
39
=head2 Class Methods
40
41
=cut
42
43
=head3 type
44
45
=cut
46
47
sub _type {
48
    return 'Holding';
49
}
50
51
=head3 object_class
52
53
=cut
54
55
sub object_class {
56
    return 'Koha::Holding';
57
}
58
59
=head3 get_embeddable_marc_fields
60
61
  my @marc_fields = Koha::Holding->get_embeddable_marc_fields({biblionumber => $biblionumber});
62
63
Returns an array of MARC::Record objects of the holdings for the biblio.
64
65
=cut
66
67
sub get_embeddable_marc_fields {
68
    my ($class, $params) = @_;
69
70
    my @holdings_fields;
71
    if (not defined $params->{biblionumber}) {
72
        carp('get_embeddable_marc_fields called with undefined biblionumber');
73
        return \@holdings_fields;
74
    }
75
76
    my ($holdingstag, $holdingssubfield) = Koha::Holding->get_marc_field_mapping({ field => 'holdings.holdingbranch' });
77
    my $holdings = $class->search({ biblionumber => $params->{biblionumber}, deleted_on => undef })->unblessed();
78
    foreach my $holding (@$holdings) {
79
        my $mungedholding = {
80
            map {
81
                defined($holding->{$_}) && $holding->{$_} ne '' ? ("holdings.$_" => $holding->{$_}) : ()
82
            } keys %{ $holding }
83
        };
84
        my $marc = $class->_holding_to_marc($mungedholding);
85
        push @holdings_fields, $marc->field($holdingstag);
86
    }
87
    return \@holdings_fields;
88
}
89
90
=head2 _holding_to_marc
91
92
    $record = $class->_holding_to_marc($hash)
93
94
This function builds partial MARC::Record from holdings hash entries.
95
This function is called when embedding holdings into a biblio record.
96
97
=cut
98
99
sub _holding_to_marc {
100
    my ($class, $hash, $params) = @_;
101
102
    my $record = MARC::Record->new();
103
    SetMarcUnicodeFlag($record, C4::Context->preference('marcflavour'));
104
105
    # The next call uses the HLD framework since it is AUTHORITATIVE
106
    # for all Koha to MARC mappings for holdings.
107
    my $mss = C4::Biblio::GetMarcSubfieldStructure('HLD', { unsafe => 1 }); # do not change framewok
108
    my $tag_hr = {};
109
    while (my ($kohafield, $value) = each %$hash) {
110
        foreach my $fld (@{$mss->{$kohafield}}) {
111
            my $tagfield    = $fld->{tagfield};
112
            my $tagsubfield = $fld->{tagsubfield};
113
            next if !$tagfield;
114
            my @values = $params->{no_split}
115
                ? ( $value )
116
                : split(/\s?\|\s?/, $value, -1);
117
            foreach my $value (@values) {
118
                next if $value eq '';
119
                $tag_hr->{$tagfield} //= [];
120
                push @{$tag_hr->{$tagfield}}, [($tagsubfield, $value)];
121
            }
122
        }
123
    }
124
    foreach my $tag (sort keys %$tag_hr) {
125
        my @sfl = @{$tag_hr->{$tag}};
126
        @sfl = sort { $a->[0] cmp $b->[0]; } @sfl;
127
        @sfl = map { @{$_}; } @sfl;
128
        # Special care for control fields: remove the subfield indication @
129
        # and do not insert indicators.
130
        my @ind = $tag < 10 ? () : ( " ", " " );
131
        @sfl = grep { $_ ne '@' } @sfl if $tag < 10;
132
        $record->insert_fields_ordered(MARC::Field->new($tag, @ind, @sfl));
133
    }
134
    return $record;
135
}
136
137
138
=head1 AUTHOR
139
140
Kyle M Hall <kyle@bywatersolutions.com>
141
Ere Maijala <ere.maijala@helsinki.fi>
142
143
=cut
144
145
1;
(-)a/Koha/Holdings/Metadata.pm (+99 lines)
Line 0 Link Here
1
package Koha::Holdings::Metadata;
2
3
# This file is part of Koha.
4
#
5
# Koha is free software; you can redistribute it and/or modify it under the
6
# terms of the GNU General Public License as published by the Free Software
7
# Foundation; either version 3 of the License, or (at your option) any later
8
# version.
9
#
10
# Koha is distributed in the hope that it will be useful, but WITHOUT ANY
11
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
12
# A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
13
#
14
# You should have received a copy of the GNU General Public License along
15
# with Koha; if not, write to the Free Software Foundation, Inc.,
16
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17
18
use Modern::Perl;
19
20
use Carp;
21
22
use Koha::Database;
23
24
use base qw(Koha::Object);
25
26
=head1 NAME
27
28
Koha::Holdings::Metadata - Koha Holdings Metadata Object class
29
30
=head1 API
31
32
=head2 Class methods
33
34
=cut
35
36
=head3 record
37
38
my $record = $metadata->record;
39
40
Returns an object representing the metadata record. The expected record type
41
corresponds to this table:
42
43
    -------------------------------
44
    | format     | object type    |
45
    -------------------------------
46
    | marcxml    | MARC::Record   |
47
    -------------------------------
48
49
=head4 Error handling
50
51
=over
52
53
=item If an unsupported format is found, it throws a I<Koha::Exceptions::Metadata> exception.
54
55
=item If it fails to create the record object, it throws a I<Koha::Exceptions::Metadata::Invalid> exception.
56
57
=back
58
59
=cut
60
61
sub record {
62
    my ($self) = @_;
63
64
    my $record;
65
66
    if ($self->format eq 'marcxml') {
67
        $record = eval { MARC::Record::new_from_xml( $self->metadata, 'utf-8', $self->schema ); };
68
        unless ($record) {
69
            Koha::Exceptions::Metadata::Invalid->throw(
70
                id     => $self->id,
71
                format => $self->format,
72
                schema => $self->schema
73
            );
74
        }
75
    } else {
76
        Koha::Exceptions::Metadata->throw(
77
            'Koha::Holdings::Metadata->record called on unhandled format: ' . $self->format );
78
    }
79
80
    return $record;
81
}
82
83
=head2 Internal methods
84
85
=head3 _type
86
87
=cut
88
89
sub _type {
90
    return 'HoldingsMetadata';
91
}
92
93
=head1 AUTHOR
94
95
Ere Maijala ere.maijala@helsinki.fi
96
97
=cut
98
99
1;
(-)a/Koha/Holdings/Metadatas.pm (+58 lines)
Line 0 Link Here
1
package Koha::Holdings::Metadatas;
2
3
# This file is part of Koha.
4
#
5
# Koha is free software; you can redistribute it and/or modify it under the
6
# terms of the GNU General Public License as published by the Free Software
7
# Foundation; either version 3 of the License, or (at your option) any later
8
# version.
9
#
10
# Koha is distributed in the hope that it will be useful, but WITHOUT ANY
11
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
12
# A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
13
#
14
# You should have received a copy of the GNU General Public License along
15
# with Koha; if not, write to the Free Software Foundation, Inc.,
16
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17
18
use Modern::Perl;
19
20
use Carp;
21
22
use Koha::Database;
23
24
use Koha::Holdings::Metadata;
25
26
use base qw(Koha::Objects);
27
28
=head1 NAME
29
30
Koha::Holdings::Metadatas - Koha Holdings Metadata Object set class
31
32
=head1 API
33
34
=head2 Internal methods
35
36
=head3 _type
37
38
=cut
39
40
sub _type {
41
    return 'HoldingsMetadata';
42
}
43
44
=head3 object_class
45
46
=cut
47
48
sub object_class {
49
    return 'Koha::Holdings::Metadata';
50
}
51
52
=head1 AUTHOR
53
54
Ere Maijala ere.maijala@helsinki.fi
55
56
=cut
57
58
1;
(-)a/Koha/Item.pm (+48 lines)
Lines 36-41 use C4::Log qw( logaction ); Link Here
36
36
37
use Koha::Checkouts;
37
use Koha::Checkouts;
38
use Koha::CirculationRules;
38
use Koha::CirculationRules;
39
use Koha::Holdings;
39
use Koha::Item::Transfer::Limits;
40
use Koha::Item::Transfer::Limits;
40
use Koha::Item::Transfers;
41
use Koha::Item::Transfers;
41
use Koha::Patrons;
42
use Koha::Patrons;
Lines 348-353 sub biblioitem { Link Here
348
    return Koha::Biblioitem->_new_from_dbic( $biblioitem_rs );
349
    return Koha::Biblioitem->_new_from_dbic( $biblioitem_rs );
349
}
350
}
350
351
352
=head3 holding
353
354
my $holding = $item->holding;
355
356
Return the holdings record of this item
357
358
=cut
359
360
sub holding {
361
    my ( $self ) = @_;
362
    my $holding_rs = $self->_result->holding;
363
    return Koha::Holding->_new_from_dbic( $holding_rs );
364
}
365
351
=head3 checkout
366
=head3 checkout
352
367
353
my $checkout = $item->checkout;
368
my $checkout = $item->checkout;
Lines 880-885 sub move_to_biblio { Link Here
880
    my $schema = Koha::Database->new()->schema();
895
    my $schema = Koha::Database->new()->schema();
881
    my $linktrackers = $schema->resultset('Linktracker')->search({ itemnumber => $self->itemnumber });
896
    my $linktrackers = $schema->resultset('Linktracker')->search({ itemnumber => $self->itemnumber });
882
    $linktrackers->update_all({ biblionumber => $biblionumber });
897
    $linktrackers->update_all({ biblionumber => $biblionumber });
898
899
    # holdings
900
    my $holding = $self->holding;
901
    if ($holding) {
902
        # Check if there's a suitable holdings record in the new biblio.
903
        # This is not perfect, but at least we try.
904
        my $candidates = Koha::Holdings->search(
905
            {
906
                biblionumber     => $biblionumber,
907
                frameworkcode    => $holding->frameworkcode(),
908
                holdingbranch    => $holding->holdingbranch(),
909
                location         => $holding->location(),
910
                callnumber       => $holding->callnumber(),
911
                suppress         => $holding->suppress(),
912
                deleted_on       => undef
913
            }
914
        );
915
        my $newHolding = $candidates->next();
916
        if (!$newHolding) {
917
            # No existing holdings record, make a copy of the old one.
918
            $newHolding = Koha::Holding->new({
919
                biblionumber => $biblionumber,
920
                frameworkcode => $holding->frameworkcode()
921
            });
922
            $newHolding->set_marc({ record => $holding->metadata()->record() });
923
            $newHolding->store();
924
        }
925
        $self->set({
926
            holding_id => $newHolding->holding_id()
927
        });
928
    }
929
930
    $self->store();
883
}
931
}
884
932
885
=head2 Internal methods
933
=head2 Internal methods
(-)a/Koha/OAI/Server/ListBase.pm (-2 / +8 lines)
Lines 69-76 sub GetRecords { Link Here
69
        if ($include_items) {
69
        if ($include_items) {
70
            $sql .= "
70
            $sql .= "
71
                OR biblionumber IN (SELECT biblionumber from deleteditems WHERE timestamp >= ? AND timestamp <= ?)
71
                OR biblionumber IN (SELECT biblionumber from deleteditems WHERE timestamp >= ? AND timestamp <= ?)
72
                OR biblionumber IN (SELECT biblionumber from holdings WHERE timestamp >= ? AND timestamp <= ?)
72
            ";
73
            ";
73
            push @bind_params, ($token->{'from_arg'}, $token->{'until_arg'});
74
            push @bind_params, ($token->{'from_arg'}, $token->{'until_arg'}, $token->{'from_arg'}, $token->{'until_arg'});
74
            if (!$deleted) {
75
            if (!$deleted) {
75
                $sql .= "
76
                $sql .= "
76
                    OR biblionumber IN (SELECT biblionumber from items WHERE timestamp >= ? AND timestamp <= ?)
77
                    OR biblionumber IN (SELECT biblionumber from items WHERE timestamp >= ? AND timestamp <= ?)
Lines 106-111 sub GetRecords { Link Here
106
                    SELECT timestamp FROM deletedbiblio_metadata WHERE biblionumber = ?
107
                    SELECT timestamp FROM deletedbiblio_metadata WHERE biblionumber = ?
107
                    UNION
108
                    UNION
108
                    SELECT timestamp FROM deleteditems WHERE biblionumber = ?
109
                    SELECT timestamp FROM deleteditems WHERE biblionumber = ?
110
                    UNION
111
                    SELECT timestamp FROM holdings WHERE biblionumber = ?
109
                ) bis
112
                ) bis
110
            ";
113
            ";
111
        } else {
114
        } else {
Lines 117-122 sub GetRecords { Link Here
117
                    SELECT timestamp FROM deleteditems WHERE biblionumber = ?
120
                    SELECT timestamp FROM deleteditems WHERE biblionumber = ?
118
                    UNION
121
                    UNION
119
                    SELECT timestamp FROM items WHERE biblionumber = ?
122
                    SELECT timestamp FROM items WHERE biblionumber = ?
123
                    UNION
124
                    SELECT timestamp FROM holdings WHERE biblionumber = ?
120
                ) bi
125
                ) bi
121
            ";
126
            ";
122
        }
127
        }
Lines 139-145 sub GetRecords { Link Here
139
                );
144
                );
140
                last STAGELOOP;
145
                last STAGELOOP;
141
            }
146
            }
142
            my @params = $deleted ? ( $biblionumber, $biblionumber ) : ( $biblionumber, $biblionumber, $biblionumber );
147
            my @params = $deleted ? ( $biblionumber, $biblionumber, $biblionumber )
148
                : ( $biblionumber, $biblionumber, $biblionumber, $biblionumber );
143
            $record_sth->execute( @params ) || die( 'Could not execute statement: ' . $sth->errstr );
149
            $record_sth->execute( @params ) || die( 'Could not execute statement: ' . $sth->errstr );
144
150
145
            my ($timestamp) = $record_sth->fetchrow;
151
            my ($timestamp) = $record_sth->fetchrow;
(-)a/Koha/OAI/Server/Repository.pm (+1 lines)
Lines 93-98 mode. A configuration file koha-oai.conf can look like that: Link Here
93
      xsl_file: /usr/local/koha/koha-tmpl/intranet-tmpl/xslt/UNIMARCslim2OAIDC.xsl
93
      xsl_file: /usr/local/koha/koha-tmpl/intranet-tmpl/xslt/UNIMARCslim2OAIDC.xsl
94
94
95
Note the 'include_items' parameter which is the only mean to return item-level info.
95
Note the 'include_items' parameter which is the only mean to return item-level info.
96
If summary holdings are enabled, 'include_items' includes their location information too.
96
97
97
=cut
98
=cut
98
99
(-)a/Koha/Template/Plugin/Holdings.pm (+116 lines)
Line 0 Link Here
1
package Koha::Template::Plugin::Holdings;
2
3
# Copyright ByWater Solutions 2012
4
# Copyright BibLibre 2014
5
# Copyright 2017-2019 University of Helsinki (The National Library Of Finland)
6
7
# This file is part of Koha.
8
#
9
# Koha is free software; you can redistribute it and/or modify it
10
# under the terms of the GNU General Public License as published by
11
# the Free Software Foundation; either version 3 of the License, or
12
# (at your option) any later version.
13
#
14
# Koha is distributed in the hope that it will be useful, but
15
# WITHOUT ANY WARRANTY; without even the implied warranty of
16
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
# GNU General Public License for more details.
18
#
19
# You should have received a copy of the GNU General Public License
20
# along with Koha; if not, see <http://www.gnu.org/licenses>.
21
22
use Modern::Perl;
23
24
use Template::Plugin;
25
use base qw( Template::Plugin );
26
27
use C4::Context;
28
29
use Koha::Holdings;
30
31
=head1 NAME
32
33
Koha::Template::Plugin::Holdings - TT Plugin for holdings
34
35
=head1 SYNOPSIS
36
37
[% USE Holdings %]
38
39
[% Holdings.GetLocation(holding) | html %]
40
41
=head1 ROUTINES
42
43
=head2 GetLocation
44
45
Get a location string for a holdings record
46
47
    [% Holdings.GetLocation(holding) | html %]
48
49
=cut
50
51
sub GetLocation {
52
    my ($self, $holding) = @_;
53
    my $opac = shift || 0;
54
55
    if (!$holding) {
56
        return '';
57
    }
58
59
    if (ref($holding) ne 'Koha::Holding') {
60
        $holding = Koha::Holdings->find($holding);
61
        if (!$holding) {
62
            return '';
63
        }
64
    }
65
66
    my @parts;
67
68
    if ($opac) {
69
        if (my $branch = $holding->holding_branch()) {
70
            push @parts, $branch->branchname();
71
        }
72
        if ($holding->location()) {
73
            my $av = Koha::AuthorisedValues->search({ category => 'LOC', authorised_value => $holding->location() });
74
            push @parts, $av->next()->opac_description() if $av->count;
75
        }
76
        push @parts, $holding->callnumber() if $holding->callnumber();
77
        return join(' - ', @parts);
78
    }
79
80
    push @parts, $holding->holding_id();
81
    push @parts, $holding->holdingbranch() if $holding->holdingbranch();
82
    push @parts, $holding->location() if $holding->location();
83
    push @parts, $holding->ccode() if $holding->ccode();
84
    push @parts, $holding->callnumber() if $holding->callnumber();
85
    return join(' ', @parts);
86
}
87
88
=head2 GetDetails
89
90
Get the Koha fields for a holdings record
91
92
    [% details = Holdings.GetDetails(holding) %]
93
94
=cut
95
96
sub GetDetails {
97
    my ($self, $holding) = @_;
98
    my $opac = shift || 0;
99
100
    if (!$holding) {
101
        return '';
102
    }
103
104
    if (ref($holding) ne 'Koha::Holding') {
105
        $holding = Koha::Holdings->find($holding);
106
        if (!$holding) {
107
            return '';
108
        }
109
    }
110
111
    my $holding_marc = $holding->metadata()->record();
112
113
    return Koha::Holding->marc_to_koha_fields({ record => $holding_marc });
114
}
115
116
1;
(-)a/admin/marc_subfields_structure.pl (+5 lines)
Lines 126-131 if ( $op eq 'add_form' ) { Link Here
126
    while ( ( my $field ) = $sth2->fetchrow_array ) {
126
    while ( ( my $field ) = $sth2->fetchrow_array ) {
127
        push @kohafields, "items." . $field;
127
        push @kohafields, "items." . $field;
128
    }
128
    }
129
    $sth2 = $dbh->prepare("SHOW COLUMNS from holdings");
130
    $sth2->execute;
131
    while ( ( my $field ) = $sth2->fetchrow_array ) {
132
        push @kohafields, "holdings." . $field;
133
    }
129
134
130
    # build authorised value list
135
    # build authorised value list
131
    $sth2->finish;
136
    $sth2->finish;
(-)a/catalogue/detail.pl (-5 / +12 lines)
Lines 44-49 use C4::Acquisition qw(GetOrdersByBiblionumber); Link Here
44
use Koha::AuthorisedValues;
44
use Koha::AuthorisedValues;
45
use Koha::Biblios;
45
use Koha::Biblios;
46
use Koha::Illrequests;
46
use Koha::Illrequests;
47
use Koha::Holdings;
47
use Koha::Items;
48
use Koha::Items;
48
use Koha::ItemTypes;
49
use Koha::ItemTypes;
49
use Koha::Patrons;
50
use Koha::Patrons;
Lines 225-230 foreach my $subscription (@subscriptions) { Link Here
225
    push @subs, \%cell;
226
    push @subs, \%cell;
226
}
227
}
227
228
229
# Summary holdings
230
my $summary_holdings;
231
if (C4::Context->preference('SummaryHoldings')) {
232
    $summary_holdings = Koha::Holdings->search({ biblionumber => $biblionumber, deleted_on => undef });
233
}
228
234
229
# Get acquisition details
235
# Get acquisition details
230
if ( C4::Context->preference('AcquisitionDetails') ) {
236
if ( C4::Context->preference('AcquisitionDetails') ) {
Lines 419-431 $template->param( Link Here
419
    itemdata_stocknumber => $itemfields{stocknumber},
425
    itemdata_stocknumber => $itemfields{stocknumber},
420
    itemdata_publisheddate => $itemfields{publisheddate},
426
    itemdata_publisheddate => $itemfields{publisheddate},
421
    volinfo                => $itemfields{enumchron},
427
    volinfo                => $itemfields{enumchron},
422
        itemdata_itemnotes  => $itemfields{itemnotes},
428
    itemdata_itemnotes  => $itemfields{itemnotes},
423
        itemdata_nonpublicnotes => $itemfields{itemnotes_nonpublic},
429
    itemdata_nonpublicnotes => $itemfields{itemnotes_nonpublic},
424
    z3950_search_params    => C4::Search::z3950_search_args($dat),
430
    z3950_search_params    => C4::Search::z3950_search_args($dat),
425
        hostrecords         => $hostrecords,
431
    hostrecords         => $hostrecords,
426
    analytics_flag    => $analytics_flag,
432
    analytics_flag      => $analytics_flag,
427
    C4::Search::enabled_staff_search_views,
433
    C4::Search::enabled_staff_search_views,
428
        materials       => $materials_flag,
434
    materials       => $materials_flag,
435
    summary_holdings    => $summary_holdings,
429
);
436
);
430
437
431
if (C4::Context->preference("AlternateHoldingsField") && scalar @items == 0) {
438
if (C4::Context->preference("AlternateHoldingsField") && scalar @items == 0) {
(-)a/catalogue/showmarc.pl (-2 / +7 lines)
Lines 35-40 use C4::Biblio; Link Here
35
use C4::ImportBatch;
35
use C4::ImportBatch;
36
use C4::XSLT ();
36
use C4::XSLT ();
37
37
38
use Koha::Holdings;
39
38
my $input= new CGI;
40
my $input= new CGI;
39
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
41
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
40
  {
42
  {
Lines 50-58 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
50
my $biblionumber= $input->param('id');
52
my $biblionumber= $input->param('id');
51
my $importid= $input->param('importid');
53
my $importid= $input->param('importid');
52
my $view= $input->param('viewas')||'';
54
my $view= $input->param('viewas')||'';
55
my $holding_id= $input->param('holding_id')||'';
53
56
54
my $record;
57
my $record;
55
if ($importid) {
58
if ($holding_id) {
59
    $record = Koha::Holdings->find($holding_id)->metadata()->record();
60
} elsif ($importid) {
56
    $record = C4::ImportBatch::GetRecordFromImportBiblio( $importid, 'embed_items' );
61
    $record = C4::ImportBatch::GetRecordFromImportBiblio( $importid, 'embed_items' );
57
}
62
}
58
else {
63
else {
Lines 64-70 if(!ref $record) { Link Here
64
}
69
}
65
70
66
if($view eq 'card' || $view eq 'html') {
71
if($view eq 'card' || $view eq 'html') {
67
    my $xml = $importid ? $record->as_xml(): GetXmlBiblio($biblionumber);
72
    my $xml = $record->as_xml();
68
    my $xsl;
73
    my $xsl;
69
    if ( $view eq 'card' ){
74
    if ( $view eq 'card' ){
70
        $xsl = C4::Context->preference('marcflavour') eq 'UNIMARC'
75
        $xsl = C4::Context->preference('marcflavour') eq 'UNIMARC'
(-)a/cataloguing/addholding.pl (+700 lines)
Line 0 Link Here
1
#!/usr/bin/perl
2
3
4
# Copyright 2000-2002 Katipo Communications
5
# Copyright 2004-2010 BibLibre
6
# Copyright 2017-2019 University of Helsinki (The National Library Of Finland)
7
#
8
# This file is part of Koha.
9
#
10
# Koha is free software; you can redistribute it and/or modify it
11
# under the terms of the GNU General Public License as published by
12
# the Free Software Foundation; either version 3 of the License, or
13
# (at your option) any later version.
14
#
15
# Koha is distributed in the hope that it will be useful, but
16
# WITHOUT ANY WARRANTY; without even the implied warranty of
17
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
# GNU General Public License for more details.
19
#
20
# You should have received a copy of the GNU General Public License
21
# along with Koha; if not, see <http://www.gnu.org/licenses>.
22
23
# TODO: refactor to avoid duplication from addbiblio
24
25
use strict;
26
#use warnings; FIXME - Bug 2505
27
use CGI q(-utf8);
28
use C4::Output;
29
use C4::Auth;
30
use C4::Search;
31
use C4::Biblio;
32
use C4::Context;
33
use MARC::Record;
34
use C4::Log;
35
use C4::Koha;
36
use C4::ClassSource;
37
use C4::ImportBatch;
38
use C4::Charset;
39
use Koha::Biblios;
40
use Koha::BiblioFrameworks;
41
use Koha::DateUtils;
42
use C4::Matcher;
43
44
use Koha::ItemTypes;
45
use Koha::Libraries;
46
47
use Date::Calc qw(Today);
48
use MARC::File::USMARC;
49
use MARC::File::XML;
50
use URI::Escape;
51
52
if ( C4::Context->preference('marcflavour') eq 'UNIMARC' ) {
53
    MARC::File::XML->default_record_format('UNIMARC');
54
}
55
56
our($tagslib,$authorised_values_sth,$is_a_modif,$usedTagsLib,$mandatory_z3950);
57
58
=head1 FUNCTIONS
59
60
=head2 build_authorized_values_list
61
62
=cut
63
64
sub build_authorized_values_list {
65
    my ( $tag, $subfield, $value, $dbh, $authorised_values_sth,$index_tag,$index_subfield ) = @_;
66
67
    my @authorised_values;
68
    my %authorised_lib;
69
70
    # builds list, depending on authorised value...
71
72
    #---- branch
73
    if ( $tagslib->{$tag}->{$subfield}->{'authorised_value'} eq "branches" ) {
74
        my $libraries = Koha::Libraries->search_filtered({}, {order_by => ['branchname']});
75
        while ( my $l = $libraries->next ) {
76
            push @authorised_values, $l->branchcode;
77
            $authorised_lib{$l->branchcode} = $l->branchname;
78
        }
79
    }
80
    elsif ( $tagslib->{$tag}->{$subfield}->{authorised_value} eq "LOC" ) {
81
        push @authorised_values, ""
82
          unless ( $tagslib->{$tag}->{$subfield}->{mandatory}
83
            && ( $value || $tagslib->{$tag}->{$subfield}->{defaultvalue} ) );
84
85
86
        my $branch_limit = C4::Context->userenv ? C4::Context->userenv->{"branch"} : "";
87
        my $avs = Koha::AuthorisedValues->search(
88
            {
89
                branchcode => $branch_limit,
90
                category => $tagslib->{$tag}->{$subfield}->{authorised_value},
91
            },
92
            {
93
                order_by => [ 'category', 'lib', 'lib_opac' ],
94
            }
95
        );
96
97
        while ( my $av = $avs->next ) {
98
            push @authorised_values, $av->authorised_value;
99
            $authorised_lib{$av->authorised_value} = $av->lib;
100
        }
101
    }
102
    elsif ( $tagslib->{$tag}->{$subfield}->{authorised_value} eq "cn_source" ) {
103
        push @authorised_values, ""
104
          unless ( $tagslib->{$tag}->{$subfield}->{mandatory} );
105
106
        my $class_sources = GetClassSources();
107
108
        my $default_source = C4::Context->preference("DefaultClassificationSource");
109
110
        foreach my $class_source (sort keys %$class_sources) {
111
            next unless $class_sources->{$class_source}->{'used'} or
112
                        ($value and $class_source eq $value) or
113
                        ($class_source eq $default_source);
114
            push @authorised_values, $class_source;
115
            $authorised_lib{$class_source} = $class_sources->{$class_source}->{'description'};
116
        }
117
        $value = $default_source unless $value;
118
    }
119
    else {
120
        my $branch_limit = C4::Context->userenv ? C4::Context->userenv->{"branch"} : "";
121
        $authorised_values_sth->execute(
122
            $tagslib->{$tag}->{$subfield}->{authorised_value},
123
            $branch_limit ? $branch_limit : (),
124
        );
125
126
        push @authorised_values, ""
127
          unless ( $tagslib->{$tag}->{$subfield}->{mandatory}
128
            && ( $value || $tagslib->{$tag}->{$subfield}->{defaultvalue} ) );
129
130
        while ( my ( $value, $lib ) = $authorised_values_sth->fetchrow_array ) {
131
            push @authorised_values, $value;
132
            $authorised_lib{$value} = $lib;
133
        }
134
    }
135
    $authorised_values_sth->finish;
136
    return {
137
        type     => 'select',
138
        id       => "tag_".$tag."_subfield_".$subfield."_".$index_tag."_".$index_subfield,
139
        name     => "tag_".$tag."_subfield_".$subfield."_".$index_tag."_".$index_subfield,
140
        default  => $value,
141
        values   => \@authorised_values,
142
        labels   => \%authorised_lib,
143
    };
144
145
}
146
147
=head2 CreateKey
148
149
    Create a random value to set it into the input name
150
151
=cut
152
153
sub CreateKey {
154
    return int(rand(1000000));
155
}
156
157
=head2 create_input
158
159
 builds the <input ...> entry for a subfield.
160
161
=cut
162
163
sub create_input {
164
    my ( $tag, $subfield, $value, $index_tag, $tabloop, $rec, $authorised_values_sth,$cgi ) = @_;
165
166
    my $index_subfield = CreateKey(); # create a specific key for each subfield
167
168
    $value =~ s/"/&quot;/g;
169
170
    # if there is no value provided but a default value in parameters, get it
171
    if ( $value eq '' ) {
172
        $value = $tagslib->{$tag}->{$subfield}->{defaultvalue};
173
174
        # get today date & replace <<YYYY>>, <<MM>>, <<DD>> if provided in the default value
175
        my $today_dt = dt_from_string;
176
        my $year = $today_dt->strftime('%Y');
177
        my $month = $today_dt->strftime('%m');
178
        my $day = $today_dt->strftime('%d');
179
        $value =~ s/<<YYYY>>/$year/g;
180
        $value =~ s/<<MM>>/$month/g;
181
        $value =~ s/<<DD>>/$day/g;
182
        # And <<USER>> with surname (?)
183
        my $username=(C4::Context->userenv?C4::Context->userenv->{'surname'}:"superlibrarian");
184
        $value=~s/<<USER>>/$username/g;
185
186
    }
187
    my $dbh = C4::Context->dbh;
188
189
    # map '@' as "subfield" label for fixed fields
190
    # to something that's allowed in a div id.
191
    my $id_subfield = $subfield;
192
    $id_subfield = "00" if $id_subfield eq "@";
193
194
    my %subfield_data = (
195
        tag        => $tag,
196
        subfield   => $id_subfield,
197
        marc_lib       => $tagslib->{$tag}->{$subfield}->{lib},
198
        tag_mandatory  => $tagslib->{$tag}->{mandatory},
199
        mandatory      => $tagslib->{$tag}->{$subfield}->{mandatory},
200
        repeatable     => $tagslib->{$tag}->{$subfield}->{repeatable},
201
        kohafield      => $tagslib->{$tag}->{$subfield}->{kohafield},
202
        index          => $index_tag,
203
        id             => "tag_".$tag."_subfield_".$id_subfield."_".$index_tag."_".$index_subfield,
204
        value          => $value,
205
        maxlength      => $tagslib->{$tag}->{$subfield}->{maxlength},
206
        random         => CreateKey(),
207
    );
208
209
    if(exists $mandatory_z3950->{$tag.$subfield}){
210
        $subfield_data{z3950_mandatory} = $mandatory_z3950->{$tag.$subfield};
211
    }
212
    # Subfield is hidden depending of hidden and mandatory flag, and is always
213
    # shown if it contains anything or if its field is mandatory.
214
    my $tdef = $tagslib->{$tag};
215
    $subfield_data{visibility} = "display:none;"
216
        if $tdef->{$subfield}->{hidden} % 2 == 1 &&
217
           $value eq '' &&
218
           !$tdef->{$subfield}->{mandatory} &&
219
           !$tdef->{mandatory};
220
    # expand all subfields of 773 if there is a host item provided in the input
221
    $subfield_data{visibility} ="" if ($tag eq 773 and $cgi->param('hostitemnumber'));
222
223
    # it's an authorised field
224
    if ( $tagslib->{$tag}->{$subfield}->{authorised_value} ) {
225
        $subfield_data{marc_value} =
226
          build_authorized_values_list( $tag, $subfield, $value, $dbh,
227
            $authorised_values_sth,$index_tag,$index_subfield );
228
229
    # it's a subfield $9 linking to an authority record - see bug 2206
230
    }
231
    elsif ($subfield eq "9" and
232
           exists($tagslib->{$tag}->{'a'}->{authtypecode}) and
233
           defined($tagslib->{$tag}->{'a'}->{authtypecode}) and
234
           $tagslib->{$tag}->{'a'}->{authtypecode} ne '') {
235
236
        $subfield_data{marc_value} = {
237
            type      => 'text',
238
            id        => $subfield_data{id},
239
            name      => $subfield_data{id},
240
            value     => $value,
241
            size      => 5,
242
            maxlength => $subfield_data{maxlength},
243
            readonly  => 1,
244
        };
245
246
    # it's a thesaurus / authority field
247
    }
248
    elsif ( $tagslib->{$tag}->{$subfield}->{authtypecode} ) {
249
        # when authorities auto-creation is allowed, do not set readonly
250
        my $is_readonly = !C4::Context->preference("BiblioAddsAuthorities");
251
252
        $subfield_data{marc_value} = {
253
            type      => 'text',
254
            id        => $subfield_data{id},
255
            name      => $subfield_data{id},
256
            value     => $value,
257
            size      => 67,
258
            maxlength => $subfield_data{maxlength},
259
            readonly  => ($is_readonly) ? 1 : 0,
260
            authtype  => $tagslib->{$tag}->{$subfield}->{authtypecode},
261
        };
262
263
    # it's a plugin field
264
    } elsif ( $tagslib->{$tag}->{$subfield}->{'value_builder'} ) {
265
        require Koha::FrameworkPlugin;
266
        my $plugin = Koha::FrameworkPlugin->new( {
267
            name => $tagslib->{$tag}->{$subfield}->{'value_builder'},
268
        });
269
        my $pars= { dbh => $dbh, record => $rec, tagslib => $tagslib,
270
            id => $subfield_data{id}, tabloop => $tabloop };
271
        $plugin->build( $pars );
272
        if( !$plugin->errstr ) {
273
            $subfield_data{marc_value} = {
274
                type           => 'text_complex',
275
                id             => $subfield_data{id},
276
                name           => $subfield_data{id},
277
                value          => $value,
278
                size           => 67,
279
                maxlength      => $subfield_data{maxlength},
280
                javascript     => $plugin->javascript,
281
                noclick        => $plugin->noclick,
282
            };
283
        } else {
284
            warn $plugin->errstr;
285
            # supply default input form
286
            $subfield_data{marc_value} = {
287
                type      => 'text',
288
                id        => $subfield_data{id},
289
                name      => $subfield_data{id},
290
                value     => $value,
291
                size      => 67,
292
                maxlength => $subfield_data{maxlength},
293
                readonly  => 0,
294
            };
295
        }
296
297
    # it's an hidden field
298
    } elsif ( $tag eq '' ) {
299
        $subfield_data{marc_value} = {
300
            type      => 'hidden',
301
            id        => $subfield_data{id},
302
            name      => $subfield_data{id},
303
            value     => $value,
304
            size      => 67,
305
            maxlength => $subfield_data{maxlength},
306
        };
307
308
    }
309
    else {
310
        # it's a standard field
311
        if (
312
            length($value) > 100
313
            or
314
            ( C4::Context->preference("marcflavour") eq "UNIMARC" && $tag >= 300
315
                and $tag < 400 && $subfield eq 'a' )
316
            or (    $tag >= 500
317
                and $tag < 600
318
                && C4::Context->preference("marcflavour") eq "MARC21" )
319
          )
320
        {
321
            $subfield_data{marc_value} = {
322
                type      => 'textarea',
323
                id        => $subfield_data{id},
324
                name      => $subfield_data{id},
325
                value     => $value,
326
            };
327
328
        }
329
        else {
330
            $subfield_data{marc_value} = {
331
                type      => 'text',
332
                id        => $subfield_data{id},
333
                name      => $subfield_data{id},
334
                value     => $value,
335
                size      => 67,
336
                maxlength => $subfield_data{maxlength},
337
                readonly  => 0,
338
            };
339
340
        }
341
    }
342
    $subfield_data{'index_subfield'} = $index_subfield;
343
    return \%subfield_data;
344
}
345
346
347
=head2 format_indicator
348
349
Translate indicator value for output form - specifically, map
350
indicator = ' ' to ''.  This is for the convenience of a cataloger
351
using a mouse to select an indicator input.
352
353
=cut
354
355
sub format_indicator {
356
    my $ind_value = shift;
357
    return '' if not defined $ind_value;
358
    return '' if $ind_value eq ' ';
359
    return $ind_value;
360
}
361
362
sub build_tabs {
363
    my ( $template, $record, $dbh, $encoding,$input ) = @_;
364
365
    # fill arrays
366
    my @loop_data = ();
367
    my $tag;
368
369
    my $branch_limit = C4::Context->userenv ? C4::Context->userenv->{"branch"} : "";
370
    my $query = "SELECT authorised_value, lib
371
                FROM authorised_values";
372
    $query .= qq{ LEFT JOIN authorised_values_branches ON ( id = av_id )} if $branch_limit;
373
    $query .= " WHERE category = ?";
374
    $query .= " AND ( branchcode = ? OR branchcode IS NULL )" if $branch_limit;
375
    $query .= " GROUP BY lib ORDER BY lib, lib_opac";
376
    my $authorised_values_sth = $dbh->prepare( $query );
377
378
    # in this array, we will push all the 10 tabs
379
    # to avoid having 10 tabs in the template : they will all be in the same BIG_LOOP
380
    my @BIG_LOOP;
381
    my %seen;
382
    my @tab_data; # all tags to display
383
384
    foreach my $used ( @$usedTagsLib ){
385
        push @tab_data,$used->{tagfield} if not $seen{$used->{tagfield}};
386
        $seen{$used->{tagfield}}++;
387
    }
388
389
    my $max_num_tab=-1;
390
    foreach(@$usedTagsLib){
391
        if($_->{tab} > -1 && $_->{tab} >= $max_num_tab && $_->{tagfield} != '995'){ # FIXME : MARC21 ?
392
            $max_num_tab = $_->{tab};
393
        }
394
    }
395
    if($max_num_tab >= 9){
396
        $max_num_tab = 9;
397
    }
398
    # loop through each tab 0 through 9
399
    for ( my $tabloop = 0 ; $tabloop <= $max_num_tab ; $tabloop++ ) {
400
        my @loop_data = (); #innerloop in the template.
401
        my $i = 0;
402
        foreach my $tag (@tab_data) {
403
            $i++;
404
            next if ! $tag;
405
            my ($indicator1, $indicator2);
406
            my $index_tag = CreateKey;
407
408
            # if MARC::Record is not empty =>use it as master loop, then add missing subfields that should be in the tab.
409
            # if MARC::Record is empty => use tab as master loop.
410
            if ( $record ne -1 && ( $record->field($tag) || $tag eq '000' ) ) {
411
                my @fields;
412
                if ( $tag ne '000' ) {
413
                            @fields = $record->field($tag);
414
                }
415
                else {
416
                push @fields, $record->leader(); # if tag == 000
417
                }
418
                # loop through each field
419
                foreach my $field (@fields) {
420
421
                    my @subfields_data;
422
                    if ( $tag < 10 ) {
423
                        my ( $value, $subfield );
424
                        if ( $tag ne '000' ) {
425
                            $value    = $field->data();
426
                            $subfield = "@";
427
                        }
428
                        else {
429
                            $value    = $field;
430
                            $subfield = '@';
431
                        }
432
                        next if ( $tagslib->{$tag}->{$subfield}->{tab} ne $tabloop );
433
                        next
434
                          if ( $tagslib->{$tag}->{$subfield}->{kohafield} eq
435
                            'biblio.biblionumber' );
436
                        push(
437
                            @subfields_data,
438
                            &create_input(
439
                                $tag, $subfield, $value, $index_tag, $tabloop, $record,
440
                                $authorised_values_sth,$input
441
                            )
442
                        );
443
                    }
444
                    else {
445
                        my @subfields = $field->subfields();
446
                        foreach my $subfieldcount ( 0 .. $#subfields ) {
447
                            my $subfield = $subfields[$subfieldcount][0];
448
                            my $value    = $subfields[$subfieldcount][1];
449
                            next if ( length $subfield != 1 );
450
                            next if ( $tagslib->{$tag}->{$subfield}->{tab} ne $tabloop );
451
                            push(
452
                                @subfields_data,
453
                                &create_input(
454
                                    $tag, $subfield, $value, $index_tag, $tabloop,
455
                                    $record, $authorised_values_sth,$input
456
                                )
457
                            );
458
                        }
459
                    }
460
461
                    # now, loop again to add parameter subfield that are not in the MARC::Record
462
                    foreach my $subfield ( sort( keys %{ $tagslib->{$tag} } ) )
463
                    {
464
                        next if ( length $subfield != 1 );
465
                        next if ( $tagslib->{$tag}->{$subfield}->{tab} ne $tabloop );
466
                        next if ( $tag < 10 );
467
                        next
468
                          if ( ( $tagslib->{$tag}->{$subfield}->{hidden} <= -4 )
469
                            or ( $tagslib->{$tag}->{$subfield}->{hidden} >= 5 ) )
470
                            and not ( $subfield eq "9" and
471
                                      exists($tagslib->{$tag}->{'a'}->{authtypecode}) and
472
                                      defined($tagslib->{$tag}->{'a'}->{authtypecode}) and
473
                                      $tagslib->{$tag}->{'a'}->{authtypecode} ne ""
474
                                    )
475
                          ;    #check for visibility flag
476
                               # if subfield is $9 in a field whose $a is authority-controlled,
477
                               # always include in the form regardless of the hidden setting - bug 2206
478
                        next if ( defined( $field->subfield($subfield) ) );
479
                        push(
480
                            @subfields_data,
481
                            &create_input(
482
                                $tag, $subfield, '', $index_tag, $tabloop, $record,
483
                                $authorised_values_sth,$input
484
                            )
485
                        );
486
                    }
487
                    if ( $#subfields_data >= 0 ) {
488
                        # build the tag entry.
489
                        # note that the random() field is mandatory. Otherwise, on repeated fields, you'll
490
                        # have twice the same "name" value, and cgi->param() will return only one, making
491
                        # all subfields to be merged in a single field.
492
                        my %tag_data = (
493
                            tag           => $tag,
494
                            index         => $index_tag,
495
                            tag_lib       => $tagslib->{$tag}->{lib},
496
                            repeatable       => $tagslib->{$tag}->{repeatable},
497
                            mandatory       => $tagslib->{$tag}->{mandatory},
498
                            subfield_loop => \@subfields_data,
499
                            fixedfield    => $tag < 10?1:0,
500
                            random        => CreateKey,
501
                        );
502
                        if ($tag >= 10){ # no indicator for 00x tags
503
                           $tag_data{indicator1} = format_indicator($field->indicator(1)),
504
                           $tag_data{indicator2} = format_indicator($field->indicator(2)),
505
                        }
506
                        push( @loop_data, \%tag_data );
507
                    }
508
                 } # foreach $field end
509
510
            # if breeding is empty
511
            }
512
            else {
513
                my @subfields_data;
514
                foreach my $subfield ( sort( keys %{ $tagslib->{$tag} } ) ) {
515
                    next if ( length $subfield != 1 );
516
                    next
517
                      if ( ( $tagslib->{$tag}->{$subfield}->{hidden} <= -4 )
518
                        or ( $tagslib->{$tag}->{$subfield}->{hidden} >= 5 ) )
519
                      and not ( $subfield eq "9" and
520
                                exists($tagslib->{$tag}->{'a'}->{authtypecode}) and
521
                                defined($tagslib->{$tag}->{'a'}->{authtypecode}) and
522
                                $tagslib->{$tag}->{'a'}->{authtypecode} ne ""
523
                              )
524
                      ;    #check for visibility flag
525
                           # if subfield is $9 in a field whose $a is authority-controlled,
526
                           # always include in the form regardless of the hidden setting - bug 2206
527
                    next
528
                      if ( $tagslib->{$tag}->{$subfield}->{tab} ne $tabloop );
529
                    push(
530
                        @subfields_data,
531
                        &create_input(
532
                            $tag, $subfield, '', $index_tag, $tabloop, $record,
533
                            $authorised_values_sth,$input
534
                        )
535
                    );
536
                }
537
                if ( $#subfields_data >= 0 ) {
538
                    my %tag_data = (
539
                        tag              => $tag,
540
                        index            => $index_tag,
541
                        tag_lib          => $tagslib->{$tag}->{lib},
542
                        repeatable       => $tagslib->{$tag}->{repeatable},
543
                        mandatory       => $tagslib->{$tag}->{mandatory},
544
                        indicator1       => $indicator1,
545
                        indicator2       => $indicator2,
546
                        subfield_loop    => \@subfields_data,
547
                        tagfirstsubfield => $subfields_data[0],
548
                        fixedfield       => $tag < 10?1:0,
549
                    );
550
551
                    push @loop_data, \%tag_data ;
552
                }
553
            }
554
        }
555
        if ( $#loop_data >= 0 ) {
556
            push @BIG_LOOP, {
557
                number    => $tabloop,
558
                innerloop => \@loop_data,
559
            };
560
        }
561
    }
562
    $authorised_values_sth->finish;
563
    $template->param( BIG_LOOP => \@BIG_LOOP );
564
}
565
566
##########################
567
#          MAIN
568
##########################
569
my $input = new CGI;
570
my $error = $input->param('error');
571
my $biblionumber  = $input->param('biblionumber');
572
my $holding_id    = $input->param('holding_id'); # if holding_id exists, it's a modification, not a new holding.
573
my $op            = $input->param('op');
574
my $mode          = $input->param('mode');
575
my $frameworkcode = $input->param('frameworkcode');
576
my $redirect      = $input->param('redirect');
577
my $searchid      = $input->param('searchid');
578
my $userflags     = 'edit_items';
579
my $changed_framework = $input->param('changed_framework');
580
581
my ($template, $loggedinuser, $cookie) = get_template_and_user(
582
    {
583
        template_name   => "cataloguing/addholding.tt",
584
        query           => $input,
585
        type            => "intranet",
586
        authnotrequired => 0,
587
        flagsrequired   => { editcatalogue => $userflags },
588
    }
589
);
590
591
my $record = $holding_id ? Koha::Holdings->find($holding_id) : Koha::Holding->new();
592
593
$frameworkcode = 'HLD' if ($frameworkcode eq '');
594
595
# TODO: support in advanced editor?
596
#if ( $op ne "delete" && C4::Context->preference('EnableAdvancedCatalogingEditor') && $input->cookie( 'catalogue_editor_' . $loggedinuser ) eq 'advanced' ) {
597
#    print $input->redirect( '/cgi-bin/koha/cataloguing/editor.pl#catalog/' . $biblionumber . '/holdings/' . ( $holding_id ? $holding_id : '' ) );
598
#    exit;
599
#}
600
601
# ++ Global
602
$tagslib         = &GetMarcStructure( 1, $frameworkcode );
603
$usedTagsLib     = &GetUsedMarcStructure( $frameworkcode );
604
# -- Global
605
606
my ( $biblionumbertagfield, $biblionumbertagsubfield ) =
607
    &GetMarcFromKohaField( "biblio.biblionumber", $frameworkcode );
608
609
if ($op eq 'add') {
610
    $template->param(
611
        biblionumberdata => $biblionumber,
612
    );
613
    # Convert HTML input to MARC
614
    my @params = $input->multi_param();
615
    my $marc = TransformHtmlToMarc( $input, 1 );
616
617
    $record->frameworkcode($frameworkcode);
618
    $record->biblionumber($biblionumber);
619
    $record->set_marc({ record => $marc });
620
    $record->store();
621
622
    if ($redirect eq 'items' || ($mode ne 'popup' && !$holding_id && $redirect ne 'view' && $redirect ne 'just_save')) {
623
        print $input->redirect("/cgi-bin/koha/catalogue/detail.pl?biblionumber=$biblionumber&searchid=$searchid");
624
        exit;
625
    } elsif ($holding_id && $redirect eq 'view') {
626
        print $input->redirect("/cgi-bin/koha/catalogue/detail.pl?biblionumber=$biblionumber&searchid=$searchid");
627
        exit;
628
    } elsif ($redirect eq 'just_save') {
629
        my $tab = $input->param('current_tab');
630
        print $input->redirect("/cgi-bin/koha/cataloguing/addholding.pl?biblionumber=$biblionumber&holding_id=$holding_id&framework=$frameworkcode&tab=$tab&searchid=$searchid");
631
    } else {
632
        $template->param(
633
            biblionumber => $biblionumber,
634
            holding_id   => $holding_id,
635
            done         => 1,
636
            popup        => $mode,
637
        );
638
        output_html_with_http_headers($input, $cookie, $template->output);
639
        exit;
640
    }
641
} elsif ($op eq 'delete') {
642
    if ($record->items()->count()) {
643
        $template->param(
644
            error_items_exist => 1
645
        );
646
    } elsif (!$record->delete()) {
647
        $template->param(
648
            error_delete_failed => 1
649
        );
650
    } else {
651
        print $input->redirect("/cgi-bin/koha/catalogue/detail.pl?biblionumber=$biblionumber&searchid=$searchid");
652
        exit;
653
    }
654
}
655
656
#----------------------------------------------------------------------------
657
# If we're in a duplication case, we have to clear the holding_id
658
# as we'll save the holding as a new one.
659
$template->param(
660
    holding_iddata => $holding_id,
661
    op             => $op,
662
);
663
if ($op eq 'duplicate') {
664
    $holding_id = '';
665
}
666
667
my $marc;
668
if ($changed_framework eq 'changed') {
669
    $marc = TransformHtmlToMarc($input, 1);
670
} else {
671
    my $metadata = $record->metadata();
672
    $marc = $metadata ? $metadata->record() : -1;
673
}
674
675
if (!$biblionumber) {
676
    # we must have a holdings record if we don't have a biblionumber
677
    $biblionumber = $record->biblionumber;
678
}
679
my $biblio = Koha::Biblios->find($biblionumber);
680
build_tabs($template, $marc, C4::Context->dbh, '', $input);
681
$template->param(
682
    holding_id               => $holding_id,
683
    biblionumber             => $biblionumber,
684
    biblionumbertagfield     => $biblionumbertagfield,
685
    biblionumbertagsubfield  => $biblionumbertagsubfield,
686
    title                    => $biblio->title,
687
    author                   => $biblio->author
688
);
689
690
$template->param(
691
    frameworks => Koha::BiblioFrameworks->search({}, { order_by => ['frameworktext'] }),
692
    popup => $mode,
693
    frameworkcode => $frameworkcode,
694
    itemtype => $frameworkcode,
695
    borrowernumber => $loggedinuser,
696
    tab => scalar $input->param('tab')
697
);
698
$template->{'VARS'}->{'searchid'} = $searchid;
699
700
output_html_with_http_headers($input, $cookie, $template->output);
(-)a/cataloguing/additem.pl (+11 lines)
Lines 31-36 use C4::Circulation; Link Here
31
use C4::Koha;
31
use C4::Koha;
32
use C4::ClassSource;
32
use C4::ClassSource;
33
use Koha::DateUtils;
33
use Koha::DateUtils;
34
use Koha::Holdings;
34
use Koha::Items;
35
use Koha::Items;
35
use Koha::ItemTypes;
36
use Koha::ItemTypes;
36
use Koha::Libraries;
37
use Koha::Libraries;
Lines 232-237 sub generate_subfield_form { Link Here
232
        
233
        
233
                  #---- "true" authorised value
234
                  #---- "true" authorised value
234
            }
235
            }
236
            elsif ( $subfieldlib->{authorised_value} eq "holdings" ) {
237
                push @authorised_values, "" unless ( $subfieldlib->{mandatory} );
238
                my $holdings = Koha::Holdings->search({ biblionumber => $biblionumber, deleted_on => undef }, { order_by => ['holdingbranch'] })->unblessed;
239
                for my $holding ( @$holdings ) {
240
                    push @authorised_values, $holding->{holding_id};
241
                    $authorised_lib{$holding->{holding_id}} = $holding->{holding_id} . ' ' . $holding->{holdingbranch} . ' ' . $holding->{location} . ' ' . $holding->{ccode} . ' ' . $holding->{callnumber};
242
                }
243
                my $input = new CGI;
244
                $value = $input->param('holding_id') unless ($value);
245
            }
235
            else {
246
            else {
236
                  push @authorised_values, qq{};
247
                  push @authorised_values, qq{};
237
                  my $av = GetAuthorisedValues( $subfieldlib->{authorised_value} );
248
                  my $av = GetAuthorisedValues( $subfieldlib->{authorised_value} );
(-)a/cataloguing/merge.pl (-2 / +2 lines)
Lines 90-96 if ($merge) { Link Here
90
    my $biblio = Koha::Biblios->find($ref_biblionumber);
90
    my $biblio = Koha::Biblios->find($ref_biblionumber);
91
    foreach my $biblionumber (@biblionumbers) {
91
    foreach my $biblionumber (@biblionumbers) {
92
        my $from_biblio = Koha::Biblios->find($biblionumber);
92
        my $from_biblio = Koha::Biblios->find($biblionumber);
93
        $biblio->adopt_items_from_biblio($from_biblio);
93
        $biblio->adopt_holdings_from_biblio($from_biblio);
94
        $from_biblio->article_requests->update({ biblionumber => $ref_biblionumber }, { no_triggers => 1 });
94
        $from_biblio->article_requests->update({ biblionumber => $ref_biblionumber }, { no_triggers => 1 });
95
    }
95
    }
96
96
Lines 155-161 if ($merge) { Link Here
155
    # Moving suggestions
155
    # Moving suggestions
156
    $sth_suggestions->execute($ref_biblionumber, $biblionumber);
156
    $sth_suggestions->execute($ref_biblionumber, $biblionumber);
157
157
158
    # Moving orders (orders linked to items of frombiblio have already been moved by adopt_items_from_biblio)
158
    # Moving orders (orders linked to items of frombiblio have already been moved by adopt_holdings_from_biblio)
159
    my @allorders = GetOrdersByBiblionumber($biblionumber);
159
    my @allorders = GetOrdersByBiblionumber($biblionumber);
160
    foreach my $myorder (@allorders) {
160
    foreach my $myorder (@allorders) {
161
        $myorder->{'biblionumber'} = $ref_biblionumber;
161
        $myorder->{'biblionumber'} = $ref_biblionumber;
(-)a/cataloguing/value_builder/marc21_field_008_holdings.pl (+115 lines)
Line 0 Link Here
1
#!/usr/bin/perl
2
3
# Copyright 2000-2002 Katipo Communications
4
# Copyright 2017-2018 University of Helsinki (The National Library Of Finland)
5
#
6
# This file is part of Koha.
7
#
8
# Koha is free software; you can redistribute it and/or modify it
9
# under the terms of the GNU General Public License as published by
10
# the Free Software Foundation; either version 3 of the License, or
11
# (at your option) any later version.
12
#
13
# Koha is distributed in the hope that it will be useful, but
14
# WITHOUT ANY WARRANTY; without even the implied warranty of
15
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
# GNU General Public License for more details.
17
#
18
# You should have received a copy of the GNU General Public License
19
# along with Koha; if not, see <http://www.gnu.org/licenses>.
20
21
use Modern::Perl;
22
use C4::Auth;
23
use CGI qw ( -utf8 );
24
use C4::Context;
25
use C4::Output;
26
27
use XML::LibXML;
28
use Koha::Util::FrameworkPlugin qw|date_entered|;
29
30
my $builder = sub {
31
    my ( $params ) = @_;
32
33
    my $lang = C4::Context->preference('DefaultLanguageField008' );
34
    $lang = "eng" unless $lang;
35
    $lang = pack("A3", $lang);
36
37
    my $function_name = $params->{id};
38
    my $dateentered = date_entered();
39
    my $res           = "
40
<script>
41
function Focus$function_name(event) {
42
    if ( document.getElementById(event.data.id).value ) {
43
    }
44
    else {
45
        document.getElementById(event.data.id).value='$dateentered' + '0u    0   4   uu${lang}0$dateentered';
46
    }
47
    return 1;
48
}
49
50
function Click$function_name(event) {
51
    defaultvalue=document.getElementById(event.data.id).value;
52
    //Retrieve full leader string and pass it to the 008 tag editor
53
    var leader_value = \$(\"input[id^='tag_000']\").val();
54
    var leader_parameter = \"\";
55
    if (leader_value){
56
        //Only add the parameter to the URL if there is a value to add
57
        leader_parameter = \"&leader=\"+leader_value;
58
    }
59
    newin=window.open(\"../cataloguing/plugin_launcher.pl?plugin_name=marc21_field_008_holdings.pl&index=\"+ event.data.id +\"&result=\"+defaultvalue+leader_parameter,\"tag_editor\",'width=1000,height=600,toolbar=false,scrollbars=yes');
60
61
}
62
</script>
63
";
64
65
    return $res;
66
};
67
68
my $launcher = sub {
69
    my ( $params ) = @_;
70
    my $input = $params->{cgi};
71
    my $index= $input->param('index');
72
    my $result= $input->param('result');
73
74
    my $lang = C4::Context->preference('DefaultLanguageField008' );
75
    $lang = "eng" unless $lang;
76
    $lang = pack("A3", $lang);
77
78
    my ($template, $loggedinuser, $cookie)
79
    = get_template_and_user({template_name => "cataloguing/value_builder/marc21_field_008_holdings.tt",
80
                 query => $input,
81
                 type => "intranet",
82
                 authnotrequired => 0,
83
                 flagsrequired => {editcatalogue => '*'},
84
                 debug => 1,
85
                 });
86
    my $dateentered = date_entered();
87
    $result = $dateentered + '0u    0   0   uu' + $lang + '0' + $dateentered unless $result;
88
    my @f;
89
    for(0,6..8,12..17,20..22,25,26) {
90
        my $len = 1;
91
        if ($_ == 0 || $_ == 26) {
92
            $len = 6;
93
        } elsif ($_ == 8) {
94
            $len = 4;
95
        } elsif ($_ == 17 || $_ == 22) {
96
            $len = 3;
97
        }
98
        warn ($_ . ': ' . $len);
99
        $f[$_]=substr($result,$_,$len);
100
    }
101
    $template->param(index => $index);
102
103
    $f[0]= $dateentered if !$f[0] || $f[0]=~/\s/;
104
    $template->param(f1 => $f[0]);
105
106
    for(6..8,12..17,20..22,25,26) {
107
        $template->param(
108
            "f$_" => $f[$_],
109
            "f$_".($f[$_] eq '|'? 'pipe': $f[$_]) => $f[$_],
110
        );
111
    }
112
    output_html_with_http_headers $input, $cookie, $template->output;
113
};
114
115
return { builder => $builder, launcher => $launcher };
(-)a/cataloguing/value_builder/marc21_leader_holdings.pl (+81 lines)
Line 0 Link Here
1
#!/usr/bin/perl
2
3
# Copyright 2000-2002 Katipo Communications
4
# Copyright 2017-2018 University of Helsinki (The National Library Of Finland)
5
#
6
# This file is part of Koha.
7
#
8
# Koha is free software; you can redistribute it and/or modify it
9
# under the terms of the GNU General Public License as published by
10
# the Free Software Foundation; either version 3 of the License, or
11
# (at your option) any later version.
12
#
13
# Koha is distributed in the hope that it will be useful, but
14
# WITHOUT ANY WARRANTY; without even the implied warranty of
15
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
# GNU General Public License for more details.
17
#
18
# You should have received a copy of the GNU General Public License
19
# along with Koha; if not, see <http://www.gnu.org/licenses>.
20
21
use Modern::Perl;
22
use CGI qw ( -utf8 );
23
24
use C4::Auth;
25
use C4::Context;
26
use C4::Output;
27
28
my $builder = sub {
29
    my ( $params ) = @_;
30
    my $function_name = $params->{id};
31
    my $res           = "
32
<script>
33
function Focus$function_name(event) {
34
    if(!document.getElementById(event.data.id).value){
35
        document.getElementById(event.data.id).value = '     nu  a22     un 4500';
36
    }
37
}
38
39
function Click$function_name(event) {
40
    defaultvalue=document.getElementById(event.data.id).value;
41
    newin=window.open(\"../cataloguing/plugin_launcher.pl?plugin_name=marc21_leader_holdings.pl&index=\"+ event.data.id +\"&result=\"+defaultvalue,\"tag_editor\",'width=1000,height=600,toolbar=false,scrollbars=yes');
42
}
43
</script>
44
";
45
46
    return $res;
47
};
48
49
my $launcher = sub {
50
    my ( $params ) = @_;
51
    my $input = $params->{cgi};
52
    my $index   = $input->param('index');
53
    my $result  = $input->param('result');
54
55
    my $dbh = C4::Context->dbh;
56
57
    my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
58
        {   template_name   => "cataloguing/value_builder/marc21_leader_holdings.tt",
59
            query           => $input,
60
            type            => "intranet",
61
            authnotrequired => 0,
62
            flagsrequired   => { editcatalogue => '*' },
63
            debug           => 1,
64
        }
65
    );
66
    $result = "     nu  a22     ui 4500" unless $result;
67
    my $f5    = substr( $result, 5,  1 );
68
    my $f6    = substr( $result, 6,  1 );
69
    my $f17   = substr( $result, 17, 1 );
70
    my $f18   = substr( $result, 18, 1 );
71
    $template->param(
72
        index     => $index,
73
        "f5$f5"   => 1,
74
        "f6$f6"   => 1,
75
        "f17$f17" => 1,
76
        "f18$f18" => 1,
77
    );
78
    output_html_with_http_headers $input, $cookie, $template->output;
79
};
80
81
return { builder => $builder, launcher => $launcher };
(-)a/installer/data/mysql/atomicupdate/bug_20447-add_holdings_tables.perl (+674 lines)
Line 0 Link Here
1
$DBversion = 'XXX'; # will be replaced by the RM
2
if( CheckVersion( $DBversion ) ) {
3
    if( !TableExists( 'holdings' ) ) {
4
        $dbh->do(q{
5
            CREATE TABLE `holdings` ( -- table that stores summary holdings information
6
                `holding_id` int(11) NOT NULL auto_increment, -- unique identifier assigned to each holdings record
7
                `biblionumber` int(11) NOT NULL default 0, -- foreign key from biblio table used to link this record to the right bib record
8
                `frameworkcode` varchar(4) NOT NULL default '', -- foreign key from the biblio_framework table to identify which framework was used in cataloging this record
9
                `holdingbranch` varchar(10) default NULL, -- foreign key from the branches table for the library that owns this record (MARC21 852$a)
10
                `location` varchar(80) default NULL, -- authorized value for the shelving location for this record (MARC21 852$b)
11
                `ccode` varchar(80) default NULL, -- authorized value for the collection code associated with this item (MARC21 852$g)
12
                `callnumber` varchar(255) default NULL, -- call number (852$h+$i in MARC21)
13
                `suppress` tinyint(1) default NULL, -- Boolean indicating whether the record is suppressed in OPAC
14
                `timestamp` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, -- date and time this record was last touched
15
                `datecreated` DATE NOT NULL, -- the date this record was added to Koha
16
                `deleted_on` DATETIME DEFAULT NULL, -- the date this record was deleted
17
                PRIMARY KEY  (`holding_id`),
18
                KEY `hldnoidx` (`holding_id`),
19
                KEY `hldbibnoidx` (`biblionumber`),
20
                CONSTRAINT `holdings_ibfk_1` FOREIGN KEY (`biblionumber`) REFERENCES `biblio` (`biblionumber`) ON DELETE CASCADE ON UPDATE CASCADE,
21
                CONSTRAINT `holdings_ibfk_2` FOREIGN KEY (`holdingbranch`) REFERENCES `branches` (`branchcode`) ON UPDATE CASCADE
22
            ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
23
        });
24
    }
25
    if( !TableExists( 'holdings_metadata' ) ) {
26
        $dbh->do(q{
27
            CREATE TABLE `holdings_metadata` (
28
                `id` INT(11) NOT NULL AUTO_INCREMENT,
29
                `holding_id` INT(11) NOT NULL,
30
                `format` VARCHAR(16) NOT NULL,
31
                `schema` VARCHAR(16) NOT NULL,
32
                `metadata` LONGTEXT NOT NULL,
33
                `deleted_on` DATETIME DEFAULT NULL, -- the date this record was deleted
34
                PRIMARY KEY(id),
35
                UNIQUE KEY `holdings_metadata_uniq_key` (`holding_id`,`format`,`schema`),
36
                KEY `hldnoidx` (`holding_id`),
37
                CONSTRAINT `holdings_metadata_fk_1` FOREIGN KEY (`holding_id`) REFERENCES `holdings` (`holding_id`) ON DELETE CASCADE ON UPDATE CASCADE
38
            ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
39
        });
40
    }
41
42
    if( !column_exists( 'items', 'holding_id' ) ) {
43
        $dbh->do(q{
44
            ALTER TABLE `items` ADD COLUMN `holding_id` int(11) default NULL;
45
        });
46
        $dbh->do(q{
47
            ALTER TABLE `items` ADD CONSTRAINT `items_ibfk_5` FOREIGN KEY (`holding_id`) REFERENCES `holdings` (`holding_id`) ON DELETE CASCADE ON UPDATE CASCADE;
48
        });
49
        $dbh->do(q{
50
            ALTER TABLE `items` ADD KEY `hldid_idx` (`holding_id`);
51
        });
52
53
        $dbh->do(q{
54
            ALTER TABLE `deleteditems` ADD COLUMN `holding_id` int(11) default NULL;
55
        });
56
    }
57
58
    $dbh->do(q{
59
        INSERT IGNORE INTO authorised_value_categories( category_name ) VALUES ('holdings');
60
    });
61
62
    $dbh->do(q{
63
        INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
64
            ('SummaryHoldings', '0', NULL, 'If ON, enables support for holdings records.', 'YesNo');
65
    });
66
67
    $dbh->do(q{
68
        INSERT IGNORE INTO `biblio_framework` VALUES ('HLD', 'Default holdings framework');
69
    });
70
71
    if (C4::Context->preference("marcflavour") eq 'MARC21') {
72
        # items.holding_id in the default framework
73
        $dbh->do(q{
74
            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
75
                    ('952', 'k', 'Holdings record', 'Holdings record', 0, 0, 'items.holding_id', 10, 'holdings', '', '', NULL, -1, '', '', '', NULL);
76
        });
77
78
        # Holdings framework
79
        $dbh->do(q{
80
            INSERT IGNORE INTO `marc_tag_structure` (`tagfield`, `liblibrarian`, `libopac`, `repeatable`, `mandatory`, `authorised_value`, `frameworkcode`) VALUES
81
                    ('000', 'LEADER', 'LEADER', 0, 1, '', 'HLD'),
82
                    ('001', 'CONTROL NUMBER', 'CONTROL NUMBER', 0, 0, '', 'HLD'),
83
                    ('003', 'CONTROL NUMBER IDENTIFIER', 'CONTROL NUMBER IDENTIFIER', 0, 1, '', 'HLD'),
84
                    ('004', 'CONTROL NUMBER FOR RELATED BIBLIOGRAPHIC RECORD', 'CONTROL NUMBER FOR RELATED BIBLIOGRAPHIC RECORD', 0, 0, '', 'HLD'),
85
                    ('005', 'DATE AND TIME OF LATEST TRANSACTION', 'DATE AND TIME OF LATEST TRANSACTION', 0, 1, '', 'HLD'),
86
                    ('006', 'FIXED-LENGTH DATA ELEMENTS--ADDITIONAL MATERIAL CHARACTERISTICS', 'FIXED-LENGTH DATA ELEMENTS--ADDITIONAL MATERIAL CHARACTERISTICS', 1, 0, '', 'HLD'),
87
                    ('007', 'PHYSICAL DESCRIPTION FIXED FIELD--GENERAL INFORMATION', 'PHYSICAL DESCRIPTION FIXED FIELD--GENERAL INFORMATION', 1, 0, '', 'HLD'),
88
                    ('008', 'FIXED-LENGTH DATA ELEMENTS--GENERAL INFORMATION', 'FIXED-LENGTH DATA ELEMENTS--GENERAL INFORMATION', 0, 1, '', 'HLD'),
89
                    ('010', 'LIBRARY OF CONGRESS CONTROL NUMBER', 'LIBRARY OF CONGRESS CONTROL NUMBER', 0, 0, '', 'HLD'),
90
                    ('014', 'LINKAGE NUMBER', 'LINKAGE NUMBER', 1, 0, '', 'HLD'),
91
                    ('016', 'NATIONAL BIBLIOGRAPHIC AGENCY CONTROL NUMBER', 'NATIONAL BIBLIOGRAPHIC AGENCY CONTROL NUMBER', 1, 0, '', 'HLD'),
92
                    ('017', 'COPYRIGHT OR LEGAL DEPOSIT NUMBER', 'COPYRIGHT OR LEGAL DEPOSIT NUMBER', 1, 0, '', 'HLD'),
93
                    ('020', 'INTERNATIONAL STANDARD BOOK NUMBER', 'INTERNATIONAL STANDARD BOOK NUMBER', 1, 0, NULL, 'HLD'),
94
                    ('022', 'INTERNATIONAL STANDARD SERIAL NUMBER', 'INTERNATIONAL STANDARD SERIAL NUMBER', 1, 0, NULL, 'HLD'),
95
                    ('024', 'OTHER STANDARD IDENTIFIER', 'OTHER STANDARD IDENTIFIER', 1, 0, NULL, 'HLD'),
96
                    ('027', 'STANDARD TECHNICAL REPORT NUMBER', 'STANDARD TECHNICAL REPORT NUMBER', 1, 0, '', 'HLD'),
97
                    ('030', 'CODEN DESIGNATION', 'CODEN DESIGNATION', 1, 0, '', 'HLD'),
98
                    ('035', 'SYSTEM CONTROL NUMBER', 'SYSTEM CONTROL NUMBER', 1, 0, NULL, 'HLD'),
99
                    ('040', 'CATALOGING SOURCE', 'CATALOGING SOURCE', 0, 1, NULL, 'HLD'),
100
                    ('066', 'CHARACTER SETS PRESENT', 'CHARACTER SETS PRESENT', 0, 0, NULL, 'HLD'),
101
                    ('337', 'MEDIA TYPE', 'MEDIA TYPE', 1, 0, NULL, 'HLD'),
102
                    ('338', 'CARRIER TYPE', 'CARRIER TYPE', 1, 0, NULL, 'HLD'),
103
                    ('347', 'DIGITAL FILE CHARACTERISTICS', 'DIGITAL FILE CHARACTERISTICS', 1, 0, NULL, 'HLD'),
104
                    ('506', 'RESTRICTIONS ON ACCESS NOTE', 'RESTRICTIONS ON ACCESS NOTE', 1, 0, NULL, 'HLD'),
105
                    ('538', 'SYSTEM DETAILS NOTE', 'SYSTEM DETAILS NOTE', 1, 0, NULL, 'HLD'),
106
                    ('541', 'IMMEDIATE SOURCE OF ACQUISITION NOTE', 'IMMEDIATE SOURCE OF ACQUISITION NOTE', 1, 0, NULL, 'HLD'),
107
                    ('561', 'OWNERSHIP AND CUSTODIAL HISTORY', 'OWNERSHIP AND CUSTODIAL HISTORY', 1, 0, NULL, 'HLD'),
108
                    ('562', 'COPY AND VERSION IDENTIFICATION NOTE', 'COPY AND VERSION IDENTIFICATION NOTE', 1, 0, NULL, 'HLD'),
109
                    ('563', 'BINDING INFORMATION', 'BINDING INFORMATION', 1, 0, NULL, 'HLD'),
110
                    ('583', 'ACTION NOTE', 'ACTION NOTE', 1, 0, NULL, 'HLD'),
111
                    ('842', 'TEXTUAL PHYSICAL FORM DESIGNATOR', 'TEXTUAL PHYSICAL FORM DESIGNATOR', 0, 0, NULL, 'HLD'),
112
                    ('843', 'REPRODUCTION NOTE', 'REPRODUCTION NOTE', 1, 0, NULL, 'HLD'),
113
                    ('844', 'NAME OF UNIT', 'NAME OF UNIT', 0, 0, NULL, 'HLD'),
114
                    ('845', 'TERMS GOVERNING USE AND REPRODUCTION NOTE', 'TERMS GOVERNING USE AND REPRODUCTION NOTE', 1, 0, NULL, 'HLD'),
115
                    ('852', 'LOCATION', 'LOCATION', 1, 0, NULL, 'HLD'),
116
                    ('853', 'CAPTIONS AND PATTERN--BASIC BIBLIOGRAPHIC UNIT', 'CAPTIONS AND PATTERN--BASIC BIBLIOGRAPHIC UNIT', 1, 0, NULL, 'HLD'),
117
                    ('854', 'CAPTIONS AND PATTERN--SUPPLEMENTARY MATERIAL', 'CAPTIONS AND PATTERN--SUPPLEMENTARY MATERIAL', 1, 0, NULL, 'HLD'),
118
                    ('855', 'CAPTIONS AND PATTERN--INDEXES', 'CAPTIONS AND PATTERN--INDEXES', 1, 0, NULL, 'HLD'),
119
                    ('856', 'ELECTRONIC LOCATION AND ACCESS', 'ELECTRONIC LOCATION AND ACCESS', 1, 0, NULL, 'HLD'),
120
                    ('863', 'ENUMERATION AND CHRONOLOGY--BASIC BIBLIOGRAPHIC UNIT', 'ENUMERATION AND CHRONOLOGY--BASIC BIBLIOGRAPHIC UNIT', 1, 0, NULL, 'HLD'),
121
                    ('864', 'ENUMERATION AND CHRONOLOGY--SUPPLEMENTARY MATERIAL', 'ENUMERATION AND CHRONOLOGY--SUPPLEMENTARY MATERIAL', 1, 0, NULL, 'HLD'),
122
                    ('865', 'ENUMERATION AND CHRONOLOGY--INDEXES', 'ENUMERATION AND CHRONOLOGY--INDEXES', 1, 0, NULL, 'HLD'),
123
                    ('866', 'TEXTUAL HOLDINGS--BASIC BIBLIOGRAPHIC UNIT', 'TEXTUAL HOLDINGS--BASIC BIBLIOGRAPHIC UNIT', 1, 0, NULL, 'HLD'),
124
                    ('867', 'TEXTUAL HOLDINGS--SUPPLEMENTARY MATERIAL', 'TEXTUAL HOLDINGS--SUPPLEMENTARY MATERIAL', 1, 0, NULL, 'HLD'),
125
                    ('868', 'TEXTUAL HOLDINGS--INDEXES', 'TEXTUAL HOLDINGS--INDEXES', 1, 0, NULL, 'HLD'),
126
                    ('876', 'ITEM INFORMATION--BASIC BIBLIOGRAPHIC UNIT', 'ITEM INFORMATION--BASIC BIBLIOGRAPHIC UNIT', 1, 0, NULL, 'HLD'),
127
                    ('877', 'ITEM INFORMATION--SUPPLEMENTARY MATERIAL', 'ITEM INFORMATION--SUPPLEMENTARY MATERIAL', 1, 0, NULL, 'HLD'),
128
                    ('878', 'ITEM INFORMATION--INDEXES', 'ITEM INFORMATION--INDEXES', 1, 0, NULL, 'HLD'),
129
                    ('880', 'ALTERNATE GRAPHIC REPRESENTATION', 'ALTERNATE GRAPHIC REPRESENTATION', 1, 0, NULL, 'HLD'),
130
                    ('883', 'MACHINE-GENERATED METADATA PROVENANCE', 'MACHINE-GENERATED METADATA PROVENANCE', 1, 0, NULL, 'HLD'),
131
                    ('884', 'DESCRIPTION CONVERSION INFORMATION', 'DESCRIPTION CONVERSION INFORMATION', 1, 0, NULL, 'HLD'),
132
                    ('942', 'ADDED ENTRY ELEMENTS (KOHA)', 'ADDED ENTRY ELEMENTS (KOHA)', 0, 0, '', 'HLD'),
133
                    ('999', 'SYSTEM CONTROL NUMBERS (KOHA)', 'SYSTEM CONTROL NUMBERS (KOHA)', 1, 0, '', 'HLD');
134
        });
135
        $dbh->do(q{
136
            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
137
                    ('000', '@', 'fixed length control field', 'fixed length control field', 0, 1, '', 0, '', '', 'marc21_leader_holdings.pl', 0, 0, 'HLD', '', '', NULL),
138
                    ('001', '@', 'control field', 'control field', 0, 0, '', 0, '', '', '', 0, 4, 'HLD', '', '', NULL),
139
                    ('003', '@', 'control field', 'control field', 0, 1, '', 0, '', '', 'marc21_orgcode.pl', 0, 0, 'HLD', '', '', NULL),
140
                    ('004', '@', 'control field', 'control field', 0, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL),
141
                    ('005', '@', 'control field', 'control field', 0, 1, '', 0, '', '', 'marc21_field_005.pl', 0, 0, 'HLD', '', '', NULL),
142
                    ('006', '@', 'fixed length control field', 'fixed length control field', 0, 0, '', 0, '', '', 'marc21_field_006.pl', 0, 0, 'HLD', '', '', NULL),
143
                    ('007', '@', 'fixed length control field', 'fixed length control field', 0, 0, '', 0, '', '', 'marc21_field_007.pl', 0, 0, 'HLD', '', '', NULL),
144
                    ('008', '@', 'fixed length control field', 'fixed length control field', 0, 1, '', 0, '', '', 'marc21_field_008_holdings.pl', 0, 0, 'HLD', '', '', NULL),
145
                    ('010', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL),
146
                    ('010', 'a', 'LC control number', 'LC control number', 0, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL),
147
                    ('010', 'b', 'NUCMC control number', 'NUCMC control number', 1, 0, '', 0, '', '', '', 0, -1, 'HLD', '', '', NULL),
148
                    ('010', 'z', 'Canceled/invalid LC control number', 'Canceled/invalid LC control number', 1, 0, '', 0, '', '', '', 0, -1, 'HLD', '', '', NULL),
149
                    ('014', '6', 'Linkage', 'Linkage', 0, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL),
150
                    ('014', 'a', 'Linkage number', 'Linkage number', 0, 0, '', 0, '', '', '', 0, -1, 'HLD', '', '', NULL),
151
                    ('014', 'b', 'Source of number', 'Source of number', 0, 0, '', 0, '', '', '', 0, -1, 'HLD', '', '', NULL),
152
                    ('014', 'z', 'Canceled/invalid linkage number', 'Canceled/invalid linkage number', 1, 0, '', 0, '', '', '', 0, -1, 'HLD', '', '', NULL),
153
                    ('016', '2', 'Source', 'Source', 0, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL),
154
                    ('016', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL),
155
                    ('016', 'a', 'Record control number', 'Record control number', 0, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL),
156
                    ('016', 'z', 'Canceled/invalid control number', 'Canceled/invalid control number', 1, 0, '', 0, '', '', '', 0, -1, 'HLD', '', '', NULL),
157
                    ('017', '2', 'Source', 'Source', 0, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL),
158
                    ('017', '6', 'Linkage', 'Linkage', 0, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL),
159
                    ('017', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL),
160
                    ('017', 'a', 'Copyright or legal deposit number', 'Copyright or legal deposit number', 1, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL),
161
                    ('017', 'b', 'Assigning agency', 'Assigning agency', 0, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL),
162
                    ('017', 'd', 'Date', 'Date', 0, 0, '', 0, '', '', NULL, 0, -6, 'HLD', '', '', NULL),
163
                    ('017', 'i', 'Display text', 'Display text', 0, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL),
164
                    ('017', 'z', 'Canceled/invalid copyright or legal deposit number', 'Canceled/invalid copyright or legal deposit number', 1, 0, '', 0, '', '', '', NULL, -6, 'HLD', '', '', NULL),
165
                    ('020', '6', 'Linkage', 'Linkage', 0, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL),
166
                    ('020', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL),
167
                    ('020', 'a', 'International Standard Book Number', 'International Standard Book Number', 0, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL),
168
                    ('020', 'c', 'Terms of availability', 'Terms of availability', 0, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL),
169
                    ('020', 'q', 'Qualifying information', 'Qualifying information', 1, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL),
170
                    ('020', 'z', 'Canceled/invalid ISBN', 'Canceled/invalid ISBN', 1, 0, '', 0, '', '', '', 0, -1, 'HLD', '', '', NULL),
171
                    ('022', '2', 'Source', 'Source', 0, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL),
172
                    ('022', '6', 'Linkage', 'Linkage', 0, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL),
173
                    ('022', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL),
174
                    ('022', 'a', 'International Standard Serial Number', 'International Standard Serial Number', 0, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL),
175
                    ('022', 'l', 'ISSN-L', 'ISSN-L', 0, 0, '', 0, '', '', '', NULL, -6, 'HLD', '', '', NULL),
176
                    ('022', 'm', 'Canceled ISSN-L', 'Canceled ISSN-L', 1, 0, '', 0, '', '', '', NULL, -6, 'HLD', '', '', NULL),
177
                    ('022', 'y', 'Incorrect ISSN', 'Incorrect ISSN', 1, 0, '', 0, '', '', '', 0, -1, 'HLD', '', '', NULL),
178
                    ('022', 'z', 'Canceled ISSN', 'Canceled ISSN', 1, 0, '', 0, '', '', '', 0, -1, 'HLD', '', '', NULL),
179
                    ('024', '2', 'Source of number or code', 'Source of number or code', 0, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL),
180
                    ('024', '6', 'Linkage', 'Linkage', 0, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL),
181
                    ('024', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL),
182
                    ('024', 'a', 'Standard number or code', 'Standard number or code', 0, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL),
183
                    ('024', 'b', 'Additional codes following the standard number [OBSOLETE]', 'Additional codes following the standard number [OBSOLETE]', 0, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL),
184
                    ('024', 'c', 'Terms of availability', 'Terms of availability', 0, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL),
185
                    ('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),
186
                    ('024', 'q', 'Qualifying information', 'Qualifying information', 1, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL),
187
                    ('024', 'z', 'Canceled/invalid standard number or code', 'Canceled/invalid standard number or code', 1, 0, '', 0, '', '', '', 0, -1, 'HLD', '', '', NULL),
188
                    ('027', '6', 'Linkage', 'Linkage', 0, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL),
189
                    ('027', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL),
190
                    ('027', 'a', 'Standard technical report number', 'Standard technical report number', 0, 0, '', 0, '', '', '', 0, -1, 'HLD', '', '', NULL),
191
                    ('027', 'q', 'Qualifying information', 'Qualifying information', 1, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL),
192
                    ('027', 'z', 'Canceled/invalid number', 'Canceled/invalid number', 1, 0, '', 0, '', '', '', 0, -1, 'HLD', '', '', NULL),
193
                    ('030', '6', 'Linkage', 'Linkage', 0, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL),
194
                    ('030', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL),
195
                    ('030', 'a', 'CODEN', 'CODEN', 0, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL),
196
                    ('030', 'z', 'Canceled/invalid CODEN', 'Canceled/invalid CODEN', 1, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL),
197
                    ('035', '6', 'Linkage', 'Linkage', 0, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL),
198
                    ('035', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL),
199
                    ('035', 'a', 'System control number', 'System control number', 0, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL),
200
                    ('035', 'z', 'Canceled/invalid control number', 'Canceled/invalid control number', 1, 0, '', 0, '', '', '', 0, -1, 'HLD', '', '', NULL),
201
                    ('040', '6', 'Linkage', 'Linkage', 0, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL),
202
                    ('040', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL),
203
                    ('040', 'a', 'Original cataloging agency', 'Original cataloging agency', 0, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL),
204
                    ('040', 'b', 'Language of cataloging', 'Language of cataloging', 0, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL),
205
                    ('040', 'c', 'Transcribing agency', 'Transcribing agency', 0, 1, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL),
206
                    ('040', 'd', 'Modifying agency', 'Modifying agency', 1, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL),
207
                    ('066', 'a', 'Primary G0 character set', 'Primary G0 character set', 0, 0, '', 0, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
208
                    ('066', 'b', 'Primary G1 character set', 'Primary G1 character set', 0, 0, '', 0, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
209
                    ('066', 'c', 'Alternate G0 or G1 character set', 'Alternate G0 or G1 character set', 1, 0, '', 0, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
210
                    ('337', '0', 'Authority record control number or standard number', 'Authority record control number or standard number', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
211
                    ('337', '1', 'Real World Object URI', 'Real World Object URI', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
212
                    ('337', '2', 'Source', 'Source', 0, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
213
                    ('337', '3', 'Materials specified', 'Materials specified', 0, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
214
                    ('337', '6', 'Linkage', 'Linkage', 0, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
215
                    ('337', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
216
                    ('337', 'a', 'Media type term', 'Media type term', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
217
                    ('337', 'b', 'Media type code', 'Media type code', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
218
                    ('338', '0', 'Authority record control number or standard number', 'Authority record control number or standard number', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
219
                    ('338', '1', 'Real World Object URI', 'Real World Object URI', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
220
                    ('338', '2', 'Source', 'Source', 0, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
221
                    ('338', '3', 'Materials specified', 'Materials specified', 0, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
222
                    ('338', '6', 'Linkage', 'Linkage', 0, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
223
                    ('338', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
224
                    ('338', 'a', 'Carrier type term', 'Carrier type term', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
225
                    ('338', 'b', 'Carrier type code', 'Carrier type code', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
226
                    ('347', 'a', 'File type', 'File type', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
227
                    ('347', '0', 'Authority record control number or standard number', 'Authority record control number or standard number', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
228
                    ('347', '1', 'Real World Object URI', 'Real World Object URI', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
229
                    ('347', '2', 'Source', 'Source', 0, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
230
                    ('347', '3', 'Materials specified', 'Materials specified', 0, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
231
                    ('347', '6', 'Linkage', 'Linkage', 0, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
232
                    ('347', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
233
                    ('347', 'b', 'Encoding format', 'Encoding format', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
234
                    ('347', 'c', 'File size', 'File size', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
235
                    ('347', 'd', 'Resolution', 'Resolution', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
236
                    ('347', 'e', 'Regional encoding', 'Regional encoding', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
237
                    ('347', 'f', 'Encoded bitrate', 'Encoded bitrate', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
238
                    ('506', '2', 'Source of term', 'Source of term', 0, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
239
                    ('506', '3', 'Materials specified', 'Materials specified', 0, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
240
                    ('506', '5', 'Institution to which field applies', 'Institution to which field applies', 0, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
241
                    ('506', '6', 'Linkage', 'Linkage', 0, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
242
                    ('506', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
243
                    ('506', 'a', 'Terms governing access', 'Terms governing access', 0, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
244
                    ('506', 'b', 'Jurisdiction', 'Jurisdiction', 1, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
245
                    ('506', 'c', 'Physical access provisions', 'Physical access provisions', 1, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
246
                    ('506', 'd', 'Authorized users', 'Authorized users', 1, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
247
                    ('506', 'e', 'Authorization', 'Authorization', 1, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
248
                    ('506', 'f', 'Standardized terminology for access restriction', 'Standardized terminology for access restriction', 1, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
249
                    ('506', 'g', 'Availability date', 'Availability date', 1, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
250
                    ('506', 'q', 'Supplying agency', 'Supplying agency', 0, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
251
                    ('506', 'u', 'Uniform Resource Identifier', 'Uniform Resource Identifier', 1, 0, '', 5, '', '', '', 1, -6, 'HLD', '', '', NULL),
252
                    ('538', '3', 'Materials specified', 'Materials specified', 0, 0, '', 5, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
253
                    ('538', '5', 'Institution to which field applies', 'Institution to which field applies', 1, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
254
                    ('538', '6', 'Linkage', 'Linkage', 0, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
255
                    ('538', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
256
                    ('538', 'a', 'System details note', 'System details note', 0, 0, '', 5, '', '', '', NULL, -1, 'HLD', '', '', NULL),
257
                    ('538', 'i', 'Display text', 'Display text', 0, 0, '', 5, '', '', '', NULL, -1, 'HLD', '', '', NULL),
258
                    ('538', 'u', 'Uniform Resource Identifier', 'Uniform Resource Identifier', 1, 0, '', 5, '', '', '', 1, -1, 'HLD', '', '', NULL),
259
                    ('541', '3', 'Materials specified', 'Materials specified', 0, 0, '', 5, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
260
                    ('541', '5', 'Institution to which field applies', 'Institution to which field applies', 0, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
261
                    ('541', '6', 'Linkage', 'Linkage', 0, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
262
                    ('541', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
263
                    ('541', 'a', 'Source of acquisition', 'Source of acquisition', 0, 0, '', 5, '', '', '', NULL, 1, 'HLD', '', '', NULL),
264
                    ('541', 'b', 'Address', 'Address', 0, 0, '', 5, '', '', '', NULL, 1, 'HLD', '', '', NULL),
265
                    ('541', 'c', 'Method of acquisition', 'Method of acquisition', 0, 0, '', 5, '', '', '', NULL, 1, 'HLD', '', '', NULL),
266
                    ('541', 'd', 'Date of acquisition', 'Date of acquisition', 0, 0, '', 5, '', '', '', NULL, 1, 'HLD', '', '', NULL),
267
                    ('541', 'e', 'Accession number', 'Accession number', 0, 0, '', 5, '', '', '', NULL, 1, 'HLD', '', '', NULL),
268
                    ('541', 'f', 'Owner', 'Owner', 0, 0, '', 5, '', '', '', NULL, 1, 'HLD', '', '', NULL),
269
                    ('541', 'h', 'Purchase price', 'Purchase price', 0, 0, '', 5, '', '', '', NULL, 1, 'HLD', '', '', NULL),
270
                    ('541', 'n', 'Extent', 'Extent', 1, 0, '', 5, '', '', '', NULL, 1, 'HLD', '', '', NULL),
271
                    ('541', 'o', 'Type of unit', 'Type of unit', 1, 0, '', 5, '', '', '', NULL, 1, 'HLD', '', '', NULL),
272
                    ('561', '3', 'Materials specified', 'Materials specified', 0, 0, '', 5, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
273
                    ('561', '5', 'Institution to which field applies', 'Institution to which field applies', 0, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
274
                    ('561', '6', 'Linkage', 'Linkage', 0, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
275
                    ('561', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
276
                    ('561', 'a', 'History', 'History', 0, 0, '', 5, '', '', '', NULL, 6, 'HLD', '', '', NULL),
277
                    ('561', 'b', 'Time of collation [OBSOLETE]', 'Time of collation [OBSOLETE]', 0, 0, '', 5, '', '', '', NULL, 6, 'HLD', '', '', NULL),
278
                    ('561', 'u', 'Uniform Resource Identifier', 'Uniform Resource Identifier', 1, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
279
                    ('562', '3', 'Materials specified', 'Materials specified', 0, 0, '', 5, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
280
                    ('562', '5', 'Institution to which field applies', 'Institution to which field applies', 0, 0, '', -1, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
281
                    ('562', '6', 'Linkage', 'Linkage', 0, 0, '', 5, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
282
                    ('562', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 5, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
283
                    ('562', 'a', 'Identifying markings', 'Identifying markings', 1, 0, '', 5, NULL, NULL, '', NULL, -1, 'HLD', '', '', NULL),
284
                    ('562', 'b', 'Copy identification', 'Copy identification', 1, 0, '', 5, NULL, NULL, '', NULL, -1, 'HLD', '', '', NULL),
285
                    ('562', 'c', 'Version identification', 'Version identification', 1, 0, '', 5, NULL, NULL, '', NULL, -1, 'HLD', '', '', NULL),
286
                    ('562', 'd', 'Presentation format', 'Presentation format', 1, 0, '', 5, NULL, NULL, '', NULL, -1, 'HLD', '', '', NULL),
287
                    ('562', 'e', 'Number of copies', 'Number of copies', 1, 0, '', 5, NULL, NULL, '', NULL, -1, 'HLD', '', '', NULL),
288
                    ('563', '3', 'Materials specified', 'Materials specified', 0, 0, '', 5, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
289
                    ('563', '5', 'Institution to which field applies', 'Institution to which field applies', 0, 0, '', -1, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
290
                    ('563', '6', 'Linkage', 'Linkage', 0, 0, '', 5, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
291
                    ('563', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 5, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
292
                    ('563', 'a', 'Binding note', 'Binding note', 0, 0, '', 5, NULL, NULL, '', NULL, -1, 'HLD', '', '', NULL),
293
                    ('563', 'u', 'Uniform Resource Identifier', 'Uniform Resource Identifier', 1, 0, '', 5, NULL, NULL, '', 1, -1, 'HLD', '', '', NULL),
294
                    ('583', '2', 'Source of term', 'Source of term', 0, 0, '', 5, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
295
                    ('583', '3', 'Materials specified', 'Materials specified', 0, 0, '', 5, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
296
                    ('583', '5', 'Institution to which field applies', 'Institution to which field applies', 0, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
297
                    ('583', '6', 'Linkage', 'Linkage', 0, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
298
                    ('583', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
299
                    ('583', 'a', 'Action', 'Action', 0, 0, '', 5, '', '', '', NULL, -1, 'HLD', '', '', NULL),
300
                    ('583', 'b', 'Action identification', 'Action identification', 1, 0, '', 5, '', '', '', NULL, -1, 'HLD', '', '', NULL),
301
                    ('583', 'c', 'Time/date of action', 'Time/date of action', 1, 0, '', 5, '', '', '', NULL, -1, 'HLD', '', '', NULL),
302
                    ('583', 'd', 'Action interval', 'Action interval', 1, 0, '', 5, '', '', '', NULL, -1, 'HLD', '', '', NULL),
303
                    ('583', 'e', 'Contingency for action', 'Contingency for action', 1, 0, '', 5, '', '', '', NULL, -1, 'HLD', '', '', NULL),
304
                    ('583', 'f', 'Authorization', 'Authorization', 1, 0, '', 5, '', '', '', NULL, -1, 'HLD', '', '', NULL),
305
                    ('583', 'h', 'Jurisdiction', 'Jurisdiction', 1, 0, '', 5, '', '', '', NULL, -1, 'HLD', '', '', NULL),
306
                    ('583', 'i', 'Method of action', 'Method of action', 1, 0, '', 5, '', '', '', NULL, -1, 'HLD', '', '', NULL),
307
                    ('583', 'j', 'Site of action', 'Site of action', 1, 0, '', 5, '', '', '', NULL, -1, 'HLD', '', '', NULL),
308
                    ('583', 'k', 'Action agent', 'Action agent', 1, 0, '', 5, '', '', '', NULL, -1, 'HLD', '', '', NULL),
309
                    ('583', 'l', 'Status', 'Status', 1, 0, '', 5, '', '', '', NULL, -1, 'HLD', '', '', NULL),
310
                    ('583', 'n', 'Extent', 'Extent', 1, 0, '', 5, '', '', '', NULL, -1, 'HLD', '', '', NULL),
311
                    ('583', 'o', 'Type of unit', 'Type of unit', 1, 0, '', 5, '', '', '', NULL, -1, 'HLD', '', '', NULL),
312
                    ('583', 'u', 'Uniform Resource Identifier', 'Uniform Resource Identifier', 1, 0, '', 5, '', '', '', 1, -1, 'HLD', '', '', NULL),
313
                    ('583', 'x', 'Nonpublic note', 'Nonpublic note', 1, 0, '', 5, '', '', '', NULL, 4, 'HLD', '', '', NULL),
314
                    ('583', 'z', 'Public note', 'Public note', 1, 0, '', 5, '', '', '', NULL, -1, 'HLD', '', '', NULL),
315
                    ('842', '6', 'Linkage', 'Linkage', 0, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
316
                    ('842', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
317
                    ('842', 'a', 'Textual physical form designator', 'Textual physical form designator', 0, 0, '', 8, '', '', '', NULL, -1, 'HLD', '', '', NULL),
318
                    ('843', '3', 'Materials specified', 'Materials specified', 0, 0, '', 8, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
319
                    ('843', '5', 'Institution to which field applies', 'Institution to which field applies', 0, 0, '', 8, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
320
                    ('843', '6', 'Linkage', 'Linkage', 0, 0, '', 8, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
321
                    ('843', '7', 'Fixed-length data elements of reproduction', 'Fixed-length data elements of reproduction', 0, 0, '', 8, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
322
                    ('843', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 8, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
323
                    ('843', 'a', 'Type of reproduction', 'Type of reproduction', 0, 0, '', 8, NULL, NULL, '', NULL, -1, 'HLD', '', '', NULL),
324
                    ('843', 'b', 'Place of reproduction', 'Place of reproduction', 1, 0, '', 8, NULL, NULL, '', NULL, -1, 'HLD', '', '', NULL),
325
                    ('843', 'c', 'Agency responsible for reproduction', 'Agency responsible for reproduction', 1, 0, '', 8, NULL, NULL, '', NULL, -1, 'HLD', '', '', NULL),
326
                    ('843', 'd', 'Date of reproduction', 'Date of reproduction', 0, 0, '', 8, NULL, NULL, '', NULL, -1, 'HLD', '', '', NULL),
327
                    ('843', 'e', 'Physical description of reproduction', 'Physical description of reproduction', 0, 0, '', 8, NULL, NULL, '', NULL, -1, 'HLD', '', '', NULL),
328
                    ('843', 'f', 'Series statement of reproduction', 'Series statement of reproduction', 1, 0, '', 8, NULL, NULL, '', NULL, -1, 'HLD', '', '', NULL),
329
                    ('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),
330
                    ('843', 'n', 'Note about reproduction', 'Note about reproduction', 1, 0, '', 8, NULL, NULL, '', NULL, -1, 'HLD', '', '', NULL),
331
                    ('844', '6', 'Linkage', 'Linkage', 0, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
332
                    ('844', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
333
                    ('844', 'a', 'Name of unit', 'Name of unit', 0, 0, '', 8, '', '', '', NULL, -1, 'HLD', '', '', NULL),
334
                    ('845', '2', 'Source of term', 'Source of term', 0, 0, '', 8, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
335
                    ('845', '3', 'Materials specified', 'Materials specified', 0, 0, '', 8, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
336
                    ('845', '5', 'Institution to which field applies', 'Institution to which field applies', 0, 0, '', 8, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
337
                    ('845', '6', 'Linkage', 'Linkage', 0, 0, '', 8, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
338
                    ('845', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 8, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
339
                    ('845', 'a', 'Terms governing use and reproduction', 'Terms governing use and reproduction', 0, 0, '', 8, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
340
                    ('845', 'b', 'Jurisdiction', 'Jurisdiction', 0, 0, '', 8, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
341
                    ('845', 'c', 'Authorization', 'Authorization', 0, 0, '', 8, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
342
                    ('845', 'd', 'Authorized users', 'Authorized users', 0, 0, '', 8, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
343
                    ('845', 'f', 'Use and reproduction rights', 'Use and reproduction rights', 1, 0, '', 8, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
344
                    ('845', 'g', 'Availability date', 'Availability date', 1, 0, '', 8, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
345
                    ('845', 'q', 'Supplying agency', 'Supplying agency', 0, 0, '', 8, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
346
                    ('845', 'u', 'Uniform Resource Identifier', 'Uniform Resource Identifier', 1, 0, '', 8, NULL, NULL, '', 1, -6, 'HLD', '', '', NULL),
347
                    ('852', '2', 'Source of classification or shelving scheme', 'Source of classification or shelving scheme', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
348
                    ('852', '3', 'Materials specified', 'Materials specified', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
349
                    ('852', '6', 'Linkage', 'Linkage', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
350
                    ('852', '8', 'Sequence number', 'Sequence number', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
351
                    ('852', 'a', 'Location', 'Location', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
352
                    ('852', 'b', 'Sublocation or collection', 'Sublocation or collection', 1, 0, 'holdings.holdingbranch', 8, 'branches', '', '', NULL, 4, 'HLD', '', '', NULL),
353
                    ('852', 'c', 'Shelving location', 'Shelving location', 1, 0, 'holdings.location', 8, 'LOC', '', '', NULL, 4, 'HLD', '', '', NULL),
354
                    ('852', 'd', 'Former shelving location', 'Former shelving location', 1, 0, '', 8, '', '', '', NULL, 1, 'HLD', '', '', NULL),
355
                    ('852', 'e', 'Address', 'Address', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
356
                    ('852', 'f', 'Coded location qualifier', 'Coded location qualifier', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
357
                    ('852', 'g', 'Non-coded location qualifier', 'Non-coded location qualifier', 1, 0, 'holdings.ccode', 8, 'CCODE', '', '', NULL, 4, 'HLD', '', '', NULL),
358
                    ('852', 'h', 'Classification part', 'Classification part', 0, 0, 'holdings.callnumber', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
359
                    ('852', 'i', 'Item part', 'Item part', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
360
                    ('852', 'j', 'Shelving control number', 'Shelving control number', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
361
                    ('852', 'k', 'Call number prefix', 'Call number prefix', 1, 0, 'holdings.callnumber', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
362
                    ('852', 'l', 'Shelving form of title', 'Shelving form of title', 0, 0, 'holdings.callnumber', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
363
                    ('852', 'm', 'Call number suffix', 'Call number suffix', 1, 0, 'holdings.callnumber', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
364
                    ('852', 'n', 'Country code', 'Country code', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
365
                    ('852', 'p', 'Piece designation', 'Piece designation', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
366
                    ('852', 'q', 'Piece physical condition', 'Piece physical condition', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
367
                    ('852', 's', 'Copyright article-fee code', 'Copyright article-fee code', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
368
                    ('852', 't', 'Copy number', 'Copy number', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
369
                    ('852', 'u', 'Uniform Resource Identifier', 'Uniform Resource Identifier', 1, 0, '', 8, '', '', '', 1, 4, 'HLD', '', '', NULL),
370
                    ('852', 'x', 'Nonpublic note', 'Nonpublic note', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
371
                    ('852', 'z', 'Public note', 'Public note', 1, 0, 'holdings.public_note', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
372
                    ('853', '3', 'Materials specified', 'Materials specified', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
373
                    ('853', '6', 'Linkage', 'Linkage', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
374
                    ('853', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
375
                    ('853', 'a', 'First level of enumeration', 'First level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
376
                    ('853', 'b', 'Second level of enumeration', 'Second level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
377
                    ('853', 'c', 'Third level of enumeration', 'Third level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
378
                    ('853', 'd', 'Fourth level of enumeration', 'Fourth level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
379
                    ('853', 'e', 'Fifth level of enumeration', 'Fifth level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
380
                    ('853', 'f', 'Sixth level of enumeration', 'Sixth level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
381
                    ('853', 'g', 'Alternative numbering scheme, first level of enumeration', 'Alternative numbering scheme, first level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
382
                    ('853', 'h', 'Alternative numbering scheme, second level of enumeration', 'Alternative numbering scheme, second level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
383
                    ('853', 'i', 'First level of chronology', 'First level of chronology', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
384
                    ('853', 'j', 'Second level of chronology', 'Second level of chronology', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
385
                    ('853', 'k', 'Third level of chronology', 'Third level of chronology', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
386
                    ('853', 'l', 'Fourth level of chronology', 'Fourth level of chronology', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
387
                    ('853', 'm', 'Alternative numbering scheme, chronology', 'Alternative numbering scheme, chronology', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
388
                    ('853', 'n', 'Pattern note', 'Pattern note', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
389
                    ('853', 'p', 'Number of pieces per issuance', 'Number of pieces per issuance', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
390
                    ('853', 't', 'Copy', 'Copy', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
391
                    ('853', 'u', 'Bibliographic units per next higher level', 'Bibliographic units per next higher level', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
392
                    ('853', 'v', 'Numbering continuity', 'Numbering continuity', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
393
                    ('853', 'w', 'Frequency', 'Frequency', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
394
                    ('853', 'x', 'Calendar change', 'Calendar change', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
395
                    ('853', 'y', 'Regularity pattern', 'Regularity pattern', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
396
                    ('853', 'z', 'Numbering scheme', 'Numbering scheme', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
397
                    ('854', '3', 'Materials specified', 'Materials specified', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
398
                    ('854', '6', 'Linkage', 'Linkage', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
399
                    ('854', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
400
                    ('854', 'a', 'First level of enumeration', 'First level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
401
                    ('854', 'b', 'Second level of enumeration', 'Second level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
402
                    ('854', 'c', 'Third level of enumeration', 'Third level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
403
                    ('854', 'd', 'Fourth level of enumeration', 'Fourth level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
404
                    ('854', 'e', 'Fifth level of enumeration', 'Fifth level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
405
                    ('854', 'f', 'Sixth level of enumeration', 'Sixth level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
406
                    ('854', 'g', 'Alternative numbering scheme, first level of enumeration', 'Alternative numbering scheme, first level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
407
                    ('854', 'h', 'Alternative numbering scheme, second level of enumeration', 'Alternative numbering scheme, second level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
408
                    ('854', 'i', 'First level of chronology', 'First level of chronology', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
409
                    ('854', 'j', 'Second level of chronology', 'Second level of chronology', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
410
                    ('854', 'k', 'Third level of chronology', 'Third level of chronology', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
411
                    ('854', 'l', 'Fourth level of chronology', 'Fourth level of chronology', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
412
                    ('854', 'm', 'Alternative numbering scheme, chronology', 'Alternative numbering scheme, chronology', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
413
                    ('854', 'n', 'Pattern note', 'Pattern note', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
414
                    ('854', 'p', 'Number of pieces per issuance', 'Number of pieces per issuance', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
415
                    ('854', 't', 'Copy', 'Copy', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
416
                    ('854', 'u', 'Bibliographic units per next higher level', 'Bibliographic units per next higher level', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
417
                    ('854', 'v', 'Numbering continuity', 'Numbering continuity', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
418
                    ('854', 'w', 'Frequency', 'Frequency', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
419
                    ('854', 'x', 'Calendar change', 'Calendar change', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
420
                    ('854', 'y', 'Regularity pattern', 'Regularity pattern', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
421
                    ('854', 'z', 'Numbering scheme', 'Numbering scheme', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
422
                    ('855', '3', 'Materials specified', 'Materials specified', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
423
                    ('855', '6', 'Linkage', 'Linkage', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
424
                    ('855', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
425
                    ('855', 'a', 'First level of enumeration', 'First level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
426
                    ('855', 'b', 'Second level of enumeration', 'Second level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
427
                    ('855', 'c', 'Third level of enumeration', 'Third level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
428
                    ('855', 'd', 'Fourth level of enumeration', 'Fourth level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
429
                    ('855', 'e', 'Fifth level of enumeration', 'Fifth level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
430
                    ('855', 'f', 'Sixth level of enumeration', 'Sixth level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
431
                    ('855', 'g', 'Alternative numbering scheme, first level of enumeration', 'Alternative numbering scheme, first level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
432
                    ('855', 'h', 'Alternative numbering scheme, second level of enumeration', 'Alternative numbering scheme, second level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
433
                    ('855', 'i', 'First level of chronology', 'First level of chronology', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
434
                    ('855', 'j', 'Second level of chronology', 'Second level of chronology', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
435
                    ('855', 'k', 'Third level of chronology', 'Third level of chronology', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
436
                    ('855', 'l', 'Fourth level of chronology', 'Fourth level of chronology', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
437
                    ('855', 'm', 'Alternative numbering scheme, chronology', 'Alternative numbering scheme, chronology', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
438
                    ('855', 'n', 'Pattern note', 'Pattern note', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
439
                    ('855', 'p', 'Number of pieces per issuance', 'Number of pieces per issuance', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
440
                    ('855', 't', 'Copy', 'Copy', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
441
                    ('855', 'u', 'Bibliographic units per next higher level', 'Bibliographic units per next higher level', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
442
                    ('855', 'v', 'Numbering continuity', 'Numbering continuity', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
443
                    ('855', 'w', 'Frequency', 'Frequency', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
444
                    ('855', 'x', 'Calendar change', 'Calendar change', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
445
                    ('855', 'y', 'Regularity pattern', 'Regularity pattern', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
446
                    ('855', 'z', 'Numbering scheme', 'Numbering scheme', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
447
                    ('856', '2', 'Access method', 'Access method', 0, 0, '', 8, '', '', '', 0, 5, 'HLD', '', '', NULL),
448
                    ('856', '3', 'Materials specified', 'Materials specified', 0, 0, '', 8, '', '', '', 0, 5, 'HLD', '', '', NULL),
449
                    ('856', '6', 'Linkage', 'Linkage', 0, 0, '', 8, '', '', '', 0, 5, 'HLD', '', '', NULL),
450
                    ('856', '7', 'Access status', 'Access status', 0, 0, '', 8, '', '', '', 0, 5, 'HLD', '', '', NULL),
451
                    ('856', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 8, '', '', '', 0, 5, 'HLD', '', '', NULL),
452
                    ('856', 'a', 'Host name', 'Host name', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
453
                    ('856', 'b', 'Access number', 'Access number', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
454
                    ('856', 'c', 'Compression information', 'Compression information', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
455
                    ('856', 'd', 'Path', 'Path', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
456
                    ('856', 'f', 'Electronic name', 'Electronic name', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
457
                    ('856', 'h', 'Processor of request', 'Processor of request', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
458
                    ('856', 'i', 'Instruction', 'Instruction', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
459
                    ('856', 'j', 'Bits per second', 'Bits per second', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
460
                    ('856', 'k', 'Password', 'Password', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
461
                    ('856', 'l', 'Logon', 'Logon', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
462
                    ('856', 'm', 'Contact for access assistance', 'Contact for access assistance', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
463
                    ('856', 'n', 'Name of location of host', 'Name of location of host', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
464
                    ('856', 'o', 'Operating system', 'Operating system', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
465
                    ('856', 'p', 'Port', 'Port', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
466
                    ('856', 'q', 'Electronic format type', 'Electronic format type', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
467
                    ('856', 'r', 'Settings', 'Settings', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
468
                    ('856', 's', 'File size', 'File size', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
469
                    ('856', 't', 'Terminal emulation', 'Terminal emulation', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
470
                    ('856', 'u', 'Uniform Resource Identifier', 'Uniform Resource Identifier', 1, 0, '', 8, '', '', '', 1, 4, 'HLD', '', '', NULL),
471
                    ('856', 'v', 'Hours access method available', 'Hours access method available', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
472
                    ('856', 'w', 'Record control number', 'Record control number', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
473
                    ('856', 'x', 'Nonpublic note', 'Nonpublic note', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
474
                    ('856', 'y', 'Link text', 'Link text', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
475
                    ('856', 'z', 'Public note', 'Public note', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
476
                    ('863', '6', 'Linkage', 'Linkage', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
477
                    ('863', '8', 'Field link and sequence number', 'Field link and sequence number', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
478
                    ('863', 'a', 'First level of enumeration', 'First level of enumeration', 0, 0, 'holdings.summary', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
479
                    ('863', 'b', 'Second level of enumeration', 'Second level of enumeration', 0, 0, 'holdings.summary', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
480
                    ('863', 'c', 'Third level of enumeration', 'Third level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
481
                    ('863', 'd', 'Fourth level of enumeration', 'Fourth level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
482
                    ('863', 'e', 'Fifth level of enumeration', 'Fifth level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
483
                    ('863', 'f', 'Sixth level of enumeration', 'Sixth level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
484
                    ('863', 'g', 'Alternative numbering scheme, first level of enumeration', 'Alternative numbering scheme, first level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
485
                    ('863', 'h', 'Alternative numbering scheme, second level of enumeration', 'Alternative numbering scheme, second level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
486
                    ('863', 'i', 'First level of chronology', 'First level of chronology', 0, 0, 'holdings.summary', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
487
                    ('863', 'j', 'Second level of chronology', 'Second level of chronology', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
488
                    ('863', 'k', 'Third level of chronology', 'Third level of chronology', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
489
                    ('863', 'l', 'Fourth level of chronology', 'Fourth level of chronology', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
490
                    ('863', 'm', 'Alternative numbering scheme, chronology', 'Alternative numbering scheme, chronology', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
491
                    ('863', 'n', 'Converted Gregorian year', 'Converted Gregorian year', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
492
                    ('863', 'o', 'Type of unit', 'Type of unit', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
493
                    ('863', 'p', 'Piece designation', 'Piece designation', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
494
                    ('863', 'q', 'Piece physical condition', 'Piece physical condition', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
495
                    ('863', 's', 'Copyright article-fee code', 'Copyright article-fee code', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
496
                    ('863', 't', 'Copy number', 'Copy number', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
497
                    ('863', 'v', 'Issuing date', 'Issuing date', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
498
                    ('863', 'w', 'Break indicator', 'Break indicator', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
499
                    ('863', 'x', 'Nonpublic note', 'Nonpublic note', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
500
                    ('863', 'z', 'Public note', 'Public note', 1, 0, 'holdings.summary', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
501
                    ('864', '6', 'Linkage', 'Linkage', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
502
                    ('864', '8', 'Field link and sequence number', 'Field link and sequence number', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
503
                    ('864', 'a', 'First level of enumeration', 'First level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
504
                    ('864', 'b', 'Second level of enumeration', 'Second level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
505
                    ('864', 'c', 'Third level of enumeration', 'Third level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
506
                    ('864', 'd', 'Fourth level of enumeration', 'Fourth level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
507
                    ('864', 'e', 'Fifth level of enumeration', 'Fifth level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
508
                    ('864', 'f', 'Sixth level of enumeration', 'Sixth level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
509
                    ('864', 'g', 'Alternative numbering scheme, first level of enumeration', 'Alternative numbering scheme, first level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
510
                    ('864', 'h', 'Alternative numbering scheme, second level of enumeration', 'Alternative numbering scheme, second level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
511
                    ('864', 'i', 'First level of chronology', 'First level of chronology', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
512
                    ('864', 'j', 'Second level of chronology', 'Second level of chronology', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
513
                    ('864', 'k', 'Third level of chronology', 'Third level of chronology', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
514
                    ('864', 'l', 'Fourth level of chronology', 'Fourth level of chronology', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
515
                    ('864', 'm', 'Alternative numbering scheme, chronology', 'Alternative numbering scheme, chronology', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
516
                    ('864', 'n', 'Converted Gregorian year', 'Converted Gregorian year', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
517
                    ('864', 'o', 'Type of unit', 'Type of unit', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
518
                    ('864', 'p', 'Piece designation', 'Piece designation', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
519
                    ('864', 'q', 'Piece physical condition', 'Piece physical condition', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
520
                    ('864', 's', 'Copyright article-fee code', 'Copyright article-fee code', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
521
                    ('864', 't', 'Copy number', 'Copy number', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
522
                    ('864', 'v', 'Issuing date', 'Issuing date', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
523
                    ('864', 'w', 'Break indicator', 'Break indicator', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
524
                    ('864', 'x', 'Nonpublic note', 'Nonpublic note', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
525
                    ('864', 'z', 'Public note', 'Public note', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
526
                    ('865', '6', 'Linkage', 'Linkage', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
527
                    ('865', '8', 'Field link and sequence number', 'Field link and sequence number', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
528
                    ('865', 'a', 'First level of enumeration', 'First level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
529
                    ('865', 'b', 'Second level of enumeration', 'Second level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
530
                    ('865', 'c', 'Third level of enumeration', 'Third level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
531
                    ('865', 'd', 'Fourth level of enumeration', 'Fourth level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
532
                    ('865', 'e', 'Fifth level of enumeration', 'Fifth level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
533
                    ('865', 'f', 'Sixth level of enumeration', 'Sixth level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
534
                    ('865', 'g', 'Alternative numbering scheme, first level of enumeration', 'Alternative numbering scheme, first level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
535
                    ('865', 'h', 'Alternative numbering scheme, second level of enumeration', 'Alternative numbering scheme, second level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
536
                    ('865', 'i', 'First level of chronology', 'First level of chronology', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
537
                    ('865', 'j', 'Second level of chronology', 'Second level of chronology', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
538
                    ('865', 'k', 'Third level of chronology', 'Third level of chronology', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
539
                    ('865', 'l', 'Fourth level of chronology', 'Fourth level of chronology', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
540
                    ('865', 'm', 'Alternative numbering scheme, chronology', 'Alternative numbering scheme, chronology', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
541
                    ('865', 'n', 'Converted Gregorian year', 'Converted Gregorian year', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
542
                    ('865', 'o', 'Type of unit', 'Type of unit', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
543
                    ('865', 'p', 'Piece designation', 'Piece designation', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
544
                    ('865', 'q', 'Piece physical condition', 'Piece physical condition', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
545
                    ('865', 's', 'Copyright article-fee code', 'Copyright article-fee code', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
546
                    ('865', 't', 'Copy number', 'Copy number', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
547
                    ('865', 'v', 'Issuing date', 'Issuing date', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
548
                    ('865', 'w', 'Break indicator', 'Break indicator', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
549
                    ('865', 'x', 'Nonpublic note', 'Nonpublic note', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
550
                    ('865', 'z', 'Public note', 'Public note', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
551
                    ('866', '6', 'Linkage', 'Linkage', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
552
                    ('866', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
553
                    ('866', 'a', 'Textual string', 'Textual string', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
554
                    ('866', 'x', 'Nonpublic note', 'Nonpublic note', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
555
                    ('866', 'z', 'Public note', 'Public note', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
556
                    ('867', '6', 'Linkage', 'Linkage', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
557
                    ('867', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
558
                    ('867', 'a', 'Textual string', 'Textual string', 0, 0, 'holdings.supplements', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
559
                    ('867', 'x', 'Nonpublic note', 'Nonpublic note', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
560
                    ('867', 'z', 'Public note', 'Public note', 1, 0, 'holdings.supplements', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
561
                    ('868', '6', 'Linkage', 'Linkage', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
562
                    ('868', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
563
                    ('868', 'a', 'Textual string', 'Textual string', 0, 0, 'holdings.indexes', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
564
                    ('868', 'x', 'Nonpublic note', 'Nonpublic note', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
565
                    ('868', 'z', 'Public note', 'Public note', 1, 0, 'holdings.indexes', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
566
                    ('876', '3', 'Materials specified', 'Materials specified', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
567
                    ('876', '6', 'Linkage', 'Linkage', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
568
                    ('876', '8', 'Sequence number', 'Sequence number', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
569
                    ('876', 'a', 'Internal item number', 'Internal item number', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
570
                    ('876', 'b', 'Invalid or canceled internal item number', 'Invalid or canceled internal item number', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
571
                    ('876', 'c', 'Cost', 'Cost', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
572
                    ('876', 'd', 'Date acquired', 'Date acquired', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
573
                    ('876', 'e', 'Source of acquisition', 'Source of acquisition', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
574
                    ('876', 'h', 'Use restrictions', 'Use restrictions', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
575
                    ('876', 'j', 'Item status', 'Item status', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
576
                    ('876', 'l', 'Temporary location', 'Temporary location', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
577
                    ('876', 'p', 'Piece designation', 'Piece designation', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
578
                    ('876', 'r', 'Invalid or canceled piece designation', 'Invalid or canceled piece designation', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
579
                    ('876', 't', 'Copy number', 'Copy number', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
580
                    ('876', 'x', 'Nonpublic note', 'Nonpublic note', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
581
                    ('876', 'z', 'Public note', 'Public note', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
582
                    ('877', '3', 'Materials specified', 'Materials specified', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
583
                    ('877', '6', 'Linkage', 'Linkage', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
584
                    ('877', '8', 'Sequence number', 'Sequence number', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
585
                    ('877', 'a', 'Internal item number', 'Internal item number', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
586
                    ('877', 'b', 'Invalid or canceled internal item number', 'Invalid or canceled internal item number', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
587
                    ('877', 'c', 'Cost', 'Cost', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
588
                    ('877', 'd', 'Date acquired', 'Date acquired', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
589
                    ('877', 'e', 'Source of acquisition', 'Source of acquisition', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
590
                    ('877', 'h', 'Use restrictions', 'Use restrictions', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
591
                    ('877', 'j', 'Item status', 'Item status', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
592
                    ('877', 'l', 'Temporary location', 'Temporary location', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
593
                    ('877', 'p', 'Piece designation', 'Piece designation', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
594
                    ('877', 'r', 'Invalid or canceled piece designation', 'Invalid or canceled piece designation', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
595
                    ('877', 't', 'Copy number', 'Copy number', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
596
                    ('877', 'x', 'Nonpublic note', 'Nonpublic note', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
597
                    ('877', 'z', 'Public note', 'Public note', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
598
                    ('878', '3', 'Materials specified', 'Materials specified', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
599
                    ('878', '6', 'Linkage', 'Linkage', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
600
                    ('878', '8', 'Sequence number', 'Sequence number', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
601
                    ('878', 'a', 'Internal item number', 'Internal item number', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
602
                    ('878', 'b', 'Invalid or canceled internal item number', 'Invalid or canceled internal item number', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
603
                    ('878', 'c', 'Cost', 'Cost', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
604
                    ('878', 'd', 'Date acquired', 'Date acquired', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
605
                    ('878', 'e', 'Source of acquisition', 'Source of acquisition', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
606
                    ('878', 'h', 'Use restrictions', 'Use restrictions', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
607
                    ('878', 'j', 'Item status', 'Item status', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
608
                    ('878', 'l', 'Temporary location', 'Temporary location', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
609
                    ('878', 'p', 'Piece designation', 'Piece designation', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
610
                    ('878', 'r', 'Invalid or canceled piece designation', 'Invalid or canceled piece designation', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
611
                    ('878', 't', 'Copy number', 'Copy number', 0, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
612
                    ('878', 'x', 'Nonpublic note', 'Nonpublic note', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
613
                    ('878', 'z', 'Public note', 'Public note', 1, 0, '', 8, '', '', '', NULL, 5, 'HLD', '', '', NULL),
614
                    ('880', '2', '2', '2', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
615
                    ('880', '3', '3', '3', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
616
                    ('880', '4', '4', '4', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
617
                    ('880', '5', '5', '5', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
618
                    ('880', '6', 'Linkage', 'Linkage', 0, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
619
                    ('880', '7', '7', '7', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
620
                    ('880', '8', '8', '8', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
621
                    ('880', '9', '9', '9', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
622
                    ('880', 'a', 'a', 'a', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
623
                    ('880', 'b', 'b', 'b', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
624
                    ('880', 'c', 'c', 'c', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
625
                    ('880', 'd', 'd', 'd', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
626
                    ('880', 'e', 'e', 'e', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
627
                    ('880', 'f', 'f', 'f', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
628
                    ('880', 'g', 'g', 'g', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
629
                    ('880', 'h', 'h', 'h', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
630
                    ('880', 'i', 'i', 'i', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
631
                    ('880', 'j', 'j', 'j', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
632
                    ('880', 'k', 'k', 'k', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
633
                    ('880', 'l', 'l', 'l', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
634
                    ('880', 'm', 'm', 'm', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
635
                    ('880', 'n', 'n', 'n', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
636
                    ('880', 'o', 'o', 'o', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
637
                    ('880', 'p', 'p', 'p', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
638
                    ('880', 'q', 'q', 'q', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
639
                    ('880', 'r', 'r', 'r', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
640
                    ('880', 's', 's', 's', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
641
                    ('880', 't', 't', 't', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
642
                    ('880', 'u', 'u', 'u', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
643
                    ('880', 'v', 'v', 'v', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
644
                    ('880', 'w', 'w', 'w', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
645
                    ('880', 'x', 'x', 'x', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
646
                    ('880', 'y', 'y', 'y', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
647
                    ('880', 'z', 'z', 'z', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
648
                    ('883', '0', 'Authority record control number or standard number', 'Authority record control number or standard number', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
649
                    ('883', '1', 'Real World Object URI', 'Real World Object URI', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
650
                    ('883', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
651
                    ('883', 'a', 'Generation process', 'Generation process', 0, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
652
                    ('883', 'c', 'Confidence value', 'Confidence value', 0, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
653
                    ('883', 'd', 'Generation date', 'Generation date', 0, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
654
                    ('883', 'q', 'Generation agency', 'Generation agency', 0, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
655
                    ('883', 'x', 'Validity end date', 'Validity end date', 0, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
656
                    ('883', 'u', 'Uniform Resource Identifier', 'Uniform Resource Identifier', 0, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
657
                    ('883', 'w', 'Bibliographic record control number', 'Bibliographic record control number', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
658
                    ('884', 'a', 'Conversion process', 'Conversion process', 0, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
659
                    ('884', 'g', 'Conversion date', 'Conversion date', 0, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
660
                    ('884', 'k', 'Identifier of source metadata', 'Identifier of source metadata', 0, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
661
                    ('884', 'q', 'Conversion agency', 'Conversion agency', 0, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
662
                    ('884', 'u', 'Uniform Resource Identifier', 'Uniform Resource Identifier', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
663
                    ('942', 'n', 'Suppress in OPAC', 'Suppress in OPAC', 0, 0, 'holdings.suppress', 9, '', '', '', 0, 4, 'HLD', '', '', NULL),
664
                    ('999', 'c', 'Koha biblionumber', 'Koha biblionumber', 0, 0, 'biblio.biblionumber', -1, NULL, NULL, '', NULL, -5, 'HLD', '', '', NULL),
665
                    ('999', 'e', 'Koha holding_id', 'Koha holding_id', 0, 0, 'holdings.holding_id', -1, NULL, NULL, '', NULL, -5, 'HLD', '', '', NULL);
666
        });
667
        $dbh->do("UPDATE marc_subfield_structure SET maxlength=24 WHERE frameworkcode='HLD' AND tagfield='000'");
668
        $dbh->do("UPDATE marc_subfield_structure SET maxlength=40 WHERE tagfield='008'");
669
    }
670
671
    # Always end with this (adjust the bug info)
672
    SetVersion( $DBversion );
673
    print "Upgrade to $DBversion done (Bug 20447 - Add holdings tables)\n";
674
}
(-)a/installer/data/mysql/en/marcflavour/marc21/mandatory/marc21_framework_DEFAULT.yml (-30 / +10012 lines)
Lines 25-31 Link Here
25
# *************************************************************
25
# *************************************************************
26
26
27
description:
27
description:
28
  - "MARC21 Default and Acquisitions bibliographic frameworks."
28
  - "MARC21 Default and Acquisitions bibliographic frameworks and Holdings framework."
29
29
30
tables:
30
tables:
31
  - marc_tag_structure:
31
  - marc_tag_structure:
Lines 725-730 tables: Link Here
725
          defaultvalue:
725
          defaultvalue:
726
726
727
        - tagfield: "952"
727
        - tagfield: "952"
728
          tagsubfield: "k"
729
          liblibrarian: "Holdings record"
730
          libopac: "Holdings record"
731
          repeatable: 0
732
          mandatory: 0
733
          kohafield: items.holding_id
734
          tab: 10
735
          authorised_value: holdings
736
          authtypecode: ""
737
          value_builder: ""
738
          isurl:
739
          hidden: -1
740
          frameworkcode: ""
741
          seealso: ""
742
          link: ""
743
          defaultvalue:
744
745
        - tagfield: "952"
728
          tagsubfield: "l"
746
          tagsubfield: "l"
729
          liblibrarian: "Total Checkouts"
747
          liblibrarian: "Total Checkouts"
730
          libopac: "Total Checkouts"
748
          libopac: "Total Checkouts"
Lines 78073-78108 tables: Link Here
78073
        - frameworkcode: "ACQ"
78091
        - frameworkcode: "ACQ"
78074
          frameworktext: "Acquisition framework"
78092
          frameworktext: "Acquisition framework"
78075
78093
78076
sql_statements:
78094
# Holdings framework
78077
  - "UPDATE marc_subfield_structure SET maxlength=24 WHERE tagfield='000';"
78095
  - biblio_framework:
78078
  - "UPDATE marc_subfield_structure SET maxlength=40 WHERE tagfield='008';"
78096
      translatable: [ frameworktext ]
78097
      multiline: []
78098
      rows:
78099
        - frameworkcode: "HLD"
78100
          frameworktext: "Default holdings framework"
78079
78101
78080
  # Create the ACQ framework based on the default framework, fields 952 only
78102
  - marc_tag_structure:
78081
  - "INSERT INTO marc_tag_structure(tagfield, liblibrarian, libopac, repeatable, mandatory, authorised_value, frameworkcode)
78103
      translatable: [ liblibrarian, libopac ]
78082
     SELECT tagfield, liblibrarian, libopac, repeatable, mandatory, authorised_value, 'ACQ' FROM marc_tag_structure WHERE tagfield='952' AND frameworkcode='';"
78104
      multiline: []
78105
      rows:
78106
        - tagfield: "000"
78107
          liblibrarian: "LEADER"
78108
          libopac: "LEADER"
78109
          repeatable: 0
78110
          mandatory: 1
78111
          authorised_value: ""
78112
          frameworkcode: "HLD"
78083
78113
78084
  - "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)
78114
        - tagfield: "001"
78085
     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='';"
78115
          liblibrarian: "CONTROL NUMBER"
78116
          libopac: "CONTROL NUMBER"
78117
          repeatable: 0
78118
          mandatory: 0
78119
          authorised_value: ""
78120
          frameworkcode: "HLD"
78086
78121
78087
  - "INSERT INTO marc_tag_structure(tagfield, liblibrarian, libopac, repeatable, mandatory, authorised_value, frameworkcode)
78122
        - tagfield: "003"
78088
     SELECT tagfield, liblibrarian, libopac, repeatable, mandatory, authorised_value, 'ACQ'
78123
          liblibrarian: "CONTROL NUMBER IDENTIFIER"
78089
     FROM marc_tag_structure
78124
          libopac: "CONTROL NUMBER IDENTIFIER"
78090
     WHERE frameworkcode='' AND tagfield IN (
78125
          repeatable: 0
78091
       SELECT tagfield
78126
          mandatory: 1
78092
       FROM marc_subfield_structure
78127
          authorised_value: ""
78093
       WHERE (
78128
          frameworkcode: "HLD"
78094
             kohafield='biblio.title'
78129
78095
         OR  kohafield='biblio.author'
78130
        - tagfield: "004"
78096
         OR  kohafield='biblioitems.publishercode'
78131
          liblibrarian: "CONTROL NUMBER FOR RELATED BIBLIOGRAPHIC RECORD"
78097
         OR  kohafield='biblioitems.editionstatement'
78132
          libopac: "CONTROL NUMBER FOR RELATED BIBLIOGRAPHIC RECORD"
78098
         OR  kohafield='biblio.copyrightdate'
78133
          repeatable: 0
78099
         OR  kohafield='biblioitems.isbn'
78134
          mandatory: 0
78100
         OR  kohafield='biblio.seriestitle'
78135
          authorised_value: ""
78101
       ) AND frameworkcode=''
78136
          frameworkcode: "HLD"
78102
     );"
78137
78138
        - tagfield: "005"
78139
          liblibrarian: "DATE AND TIME OF LATEST TRANSACTION"
78140
          libopac: "DATE AND TIME OF LATEST TRANSACTION"
78141
          repeatable: 0
78142
          mandatory: 1
78143
          authorised_value: ""
78144
          frameworkcode: "HLD"
78145
78146
        - tagfield: "006"
78147
          liblibrarian: "FIXED-LENGTH DATA ELEMENTS--ADDITIONAL MATERIAL CHARACTERISTICS"
78148
          libopac: "FIXED-LENGTH DATA ELEMENTS--ADDITIONAL MATERIAL CHARACTERISTICS"
78149
          repeatable: 1
78150
          mandatory: 0
78151
          authorised_value: ""
78152
          frameworkcode: "HLD"
78153
78154
        - tagfield: "007"
78155
          liblibrarian: "PHYSICAL DESCRIPTION FIXED FIELD--GENERAL INFORMATION"
78156
          libopac: "PHYSICAL DESCRIPTION FIXED FIELD--GENERAL INFORMATION"
78157
          repeatable: 1
78158
          mandatory: 0
78159
          authorised_value: ""
78160
          frameworkcode: "HLD"
78161
78162
        - tagfield: "008"
78163
          liblibrarian: "FIXED-LENGTH DATA ELEMENTS--GENERAL INFORMATION"
78164
          libopac: "FIXED-LENGTH DATA ELEMENTS--GENERAL INFORMATION"
78165
          repeatable: 0
78166
          mandatory: 1
78167
          authorised_value: ""
78168
          frameworkcode: "HLD"
78169
78170
        - tagfield: "010"
78171
          liblibrarian: "LIBRARY OF CONGRESS CONTROL NUMBER"
78172
          libopac: "LIBRARY OF CONGRESS CONTROL NUMBER"
78173
          repeatable: 0
78174
          mandatory: 0
78175
          authorised_value: ""
78176
          frameworkcode: "HLD"
78177
78178
        - tagfield: "014"
78179
          liblibrarian: "LINKAGE NUMBER"
78180
          libopac: "LINKAGE NUMBER"
78181
          repeatable: 1
78182
          mandatory: 0
78183
          authorised_value: ""
78184
          frameworkcode: "HLD"
78185
78186
        - tagfield: "016"
78187
          liblibrarian: "NATIONAL BIBLIOGRAPHIC AGENCY CONTROL NUMBER"
78188
          libopac: "NATIONAL BIBLIOGRAPHIC AGENCY CONTROL NUMBER"
78189
          repeatable: 1
78190
          mandatory: 0
78191
          authorised_value: ""
78192
          frameworkcode: "HLD"
78193
78194
        - tagfield: "017"
78195
          liblibrarian: "COPYRIGHT OR LEGAL DEPOSIT NUMBER"
78196
          libopac: "COPYRIGHT OR LEGAL DEPOSIT NUMBER"
78197
          repeatable: 1
78198
          mandatory: 0
78199
          authorised_value: ""
78200
          frameworkcode: "HLD"
78201
78202
        - tagfield: "020"
78203
          liblibrarian: "INTERNATIONAL STANDARD BOOK NUMBER"
78204
          libopac: "INTERNATIONAL STANDARD BOOK NUMBER"
78205
          repeatable: 1
78206
          mandatory: 0
78207
          authorised_value:
78208
          frameworkcode: "HLD"
78209
78210
        - tagfield: "022"
78211
          liblibrarian: "INTERNATIONAL STANDARD SERIAL NUMBER"
78212
          libopac: "INTERNATIONAL STANDARD SERIAL NUMBER"
78213
          repeatable: 1
78214
          mandatory: 0
78215
          authorised_value:
78216
          frameworkcode: "HLD"
78217
78218
        - tagfield: "024"
78219
          liblibrarian: "OTHER STANDARD IDENTIFIER"
78220
          libopac: "OTHER STANDARD IDENTIFIER"
78221
          repeatable: 1
78222
          mandatory: 0
78223
          authorised_value:
78224
          frameworkcode: "HLD"
78225
78226
        - tagfield: "027"
78227
          liblibrarian: "STANDARD TECHNICAL REPORT NUMBER"
78228
          libopac: "STANDARD TECHNICAL REPORT NUMBER"
78229
          repeatable: 1
78230
          mandatory: 0
78231
          authorised_value: ""
78232
          frameworkcode: "HLD"
78233
78234
        - tagfield: "030"
78235
          liblibrarian: "CODEN DESIGNATION"
78236
          libopac: "CODEN DESIGNATION"
78237
          repeatable: 1
78238
          mandatory: 0
78239
          authorised_value: ""
78240
          frameworkcode: "HLD"
78241
78242
        - tagfield: "035"
78243
          liblibrarian: "SYSTEM CONTROL NUMBER"
78244
          libopac: "SYSTEM CONTROL NUMBER"
78245
          repeatable: 1
78246
          mandatory: 0
78247
          authorised_value:
78248
          frameworkcode: "HLD"
78249
78250
        - tagfield: "040"
78251
          liblibrarian: "CATALOGING SOURCE"
78252
          libopac: "CATALOGING SOURCE"
78253
          repeatable: 0
78254
          mandatory: 1
78255
          authorised_value:
78256
          frameworkcode: "HLD"
78257
78258
        - tagfield: "066"
78259
          liblibrarian: "CHARACTER SETS PRESENT"
78260
          libopac: "CHARACTER SETS PRESENT"
78261
          repeatable: 0
78262
          mandatory: 0
78263
          authorised_value:
78264
          frameworkcode: "HLD"
78265
78266
        - tagfield: "337"
78267
          liblibrarian: "MEDIA TYPE"
78268
          libopac: "MEDIA TYPE"
78269
          repeatable: 1
78270
          mandatory: 0
78271
          authorised_value:
78272
          frameworkcode: "HLD"
78273
78274
        - tagfield: "338"
78275
          liblibrarian: "CARRIER TYPE"
78276
          libopac: "CARRIER TYPE"
78277
          repeatable: 1
78278
          mandatory: 0
78279
          authorised_value:
78280
          frameworkcode: "HLD"
78281
78282
        - tagfield: "347"
78283
          liblibrarian: "DIGITAL FILE CHARACTERISTICS"
78284
          libopac: "DIGITAL FILE CHARACTERISTICS"
78285
          repeatable: 1
78286
          mandatory: 0
78287
          authorised_value:
78288
          frameworkcode: "HLD"
78289
78290
        - tagfield: "506"
78291
          liblibrarian: "RESTRICTIONS ON ACCESS NOTE"
78292
          libopac: "RESTRICTIONS ON ACCESS NOTE"
78293
          repeatable: 1
78294
          mandatory: 0
78295
          authorised_value:
78296
          frameworkcode: "HLD"
78297
78298
        - tagfield: "538"
78299
          liblibrarian: "SYSTEM DETAILS NOTE"
78300
          libopac: "SYSTEM DETAILS NOTE"
78301
          repeatable: 1
78302
          mandatory: 0
78303
          authorised_value:
78304
          frameworkcode: "HLD"
78305
78306
        - tagfield: "541"
78307
          liblibrarian: "IMMEDIATE SOURCE OF ACQUISITION NOTE"
78308
          libopac: "IMMEDIATE SOURCE OF ACQUISITION NOTE"
78309
          repeatable: 1
78310
          mandatory: 0
78311
          authorised_value:
78312
          frameworkcode: "HLD"
78313
78314
        - tagfield: "561"
78315
          liblibrarian: "OWNERSHIP AND CUSTODIAL HISTORY"
78316
          libopac: "OWNERSHIP AND CUSTODIAL HISTORY"
78317
          repeatable: 1
78318
          mandatory: 0
78319
          authorised_value:
78320
          frameworkcode: "HLD"
78321
78322
        - tagfield: "562"
78323
          liblibrarian: "COPY AND VERSION IDENTIFICATION NOTE"
78324
          libopac: "COPY AND VERSION IDENTIFICATION NOTE"
78325
          repeatable: 1
78326
          mandatory: 0
78327
          authorised_value:
78328
          frameworkcode: "HLD"
78329
78330
        - tagfield: "563"
78331
          liblibrarian: "BINDING INFORMATION"
78332
          libopac: "BINDING INFORMATION"
78333
          repeatable: 1
78334
          mandatory: 0
78335
          authorised_value:
78336
          frameworkcode: "HLD"
78337
78338
        - tagfield: "583"
78339
          liblibrarian: "ACTION NOTE"
78340
          libopac: "ACTION NOTE"
78341
          repeatable: 1
78342
          mandatory: 0
78343
          authorised_value:
78344
          frameworkcode: "HLD"
78345
78346
        - tagfield: "842"
78347
          liblibrarian: "TEXTUAL PHYSICAL FORM DESIGNATOR"
78348
          libopac: "TEXTUAL PHYSICAL FORM DESIGNATOR"
78349
          repeatable: 0
78350
          mandatory: 0
78351
          authorised_value:
78352
          frameworkcode: "HLD"
78353
78354
        - tagfield: "843"
78355
          liblibrarian: "REPRODUCTION NOTE"
78356
          libopac: "REPRODUCTION NOTE"
78357
          repeatable: 1
78358
          mandatory: 0
78359
          authorised_value:
78360
          frameworkcode: "HLD"
78361
78362
        - tagfield: "844"
78363
          liblibrarian: "NAME OF UNIT"
78364
          libopac: "NAME OF UNIT"
78365
          repeatable: 0
78366
          mandatory: 0
78367
          authorised_value:
78368
          frameworkcode: "HLD"
78369
78370
        - tagfield: "845"
78371
          liblibrarian: "TERMS GOVERNING USE AND REPRODUCTION NOTE"
78372
          libopac: "TERMS GOVERNING USE AND REPRODUCTION NOTE"
78373
          repeatable: 1
78374
          mandatory: 0
78375
          authorised_value:
78376
          frameworkcode: "HLD"
78377
78378
        - tagfield: "852"
78379
          liblibrarian: "LOCATION"
78380
          libopac: "LOCATION"
78381
          repeatable: 1
78382
          mandatory: 0
78383
          authorised_value:
78384
          frameworkcode: "HLD"
78385
78386
        - tagfield: "853"
78387
          liblibrarian: "CAPTIONS AND PATTERN--BASIC BIBLIOGRAPHIC UNIT"
78388
          libopac: "CAPTIONS AND PATTERN--BASIC BIBLIOGRAPHIC UNIT"
78389
          repeatable: 1
78390
          mandatory: 0
78391
          authorised_value:
78392
          frameworkcode: "HLD"
78393
78394
        - tagfield: "854"
78395
          liblibrarian: "CAPTIONS AND PATTERN--SUPPLEMENTARY MATERIAL"
78396
          libopac: "CAPTIONS AND PATTERN--SUPPLEMENTARY MATERIAL"
78397
          repeatable: 1
78398
          mandatory: 0
78399
          authorised_value:
78400
          frameworkcode: "HLD"
78401
78402
        - tagfield: "855"
78403
          liblibrarian: "CAPTIONS AND PATTERN--INDEXES"
78404
          libopac: "CAPTIONS AND PATTERN--INDEXES"
78405
          repeatable: 1
78406
          mandatory: 0
78407
          authorised_value:
78408
          frameworkcode: "HLD"
78409
78410
        - tagfield: "856"
78411
          liblibrarian: "ELECTRONIC LOCATION AND ACCESS"
78412
          libopac: "ELECTRONIC LOCATION AND ACCESS"
78413
          repeatable: 1
78414
          mandatory: 0
78415
          authorised_value:
78416
          frameworkcode: "HLD"
78417
78418
        - tagfield: "863"
78419
          liblibrarian: "ENUMERATION AND CHRONOLOGY--BASIC BIBLIOGRAPHIC UNIT"
78420
          libopac: "ENUMERATION AND CHRONOLOGY--BASIC BIBLIOGRAPHIC UNIT"
78421
          repeatable: 1
78422
          mandatory: 0
78423
          authorised_value:
78424
          frameworkcode: "HLD"
78425
78426
        - tagfield: "864"
78427
          liblibrarian: "ENUMERATION AND CHRONOLOGY--SUPPLEMENTARY MATERIAL"
78428
          libopac: "ENUMERATION AND CHRONOLOGY--SUPPLEMENTARY MATERIAL"
78429
          repeatable: 1
78430
          mandatory: 0
78431
          authorised_value:
78432
          frameworkcode: "HLD"
78433
78434
        - tagfield: "865"
78435
          liblibrarian: "ENUMERATION AND CHRONOLOGY--INDEXES"
78436
          libopac: "ENUMERATION AND CHRONOLOGY--INDEXES"
78437
          repeatable: 1
78438
          mandatory: 0
78439
          authorised_value:
78440
          frameworkcode: "HLD"
78441
78442
        - tagfield: "866"
78443
          liblibrarian: "TEXTUAL HOLDINGS--BASIC BIBLIOGRAPHIC UNIT"
78444
          libopac: "TEXTUAL HOLDINGS--BASIC BIBLIOGRAPHIC UNIT"
78445
          repeatable: 1
78446
          mandatory: 0
78447
          authorised_value:
78448
          frameworkcode: "HLD"
78449
78450
        - tagfield: "867"
78451
          liblibrarian: "TEXTUAL HOLDINGS--SUPPLEMENTARY MATERIAL"
78452
          libopac: "TEXTUAL HOLDINGS--SUPPLEMENTARY MATERIAL"
78453
          repeatable: 1
78454
          mandatory: 0
78455
          authorised_value:
78456
          frameworkcode: "HLD"
78457
78458
        - tagfield: "868"
78459
          liblibrarian: "TEXTUAL HOLDINGS--INDEXES"
78460
          libopac: "TEXTUAL HOLDINGS--INDEXES"
78461
          repeatable: 1
78462
          mandatory: 0
78463
          authorised_value:
78464
          frameworkcode: "HLD"
78465
78466
        - tagfield: "876"
78467
          liblibrarian: "ITEM INFORMATION--BASIC BIBLIOGRAPHIC UNIT"
78468
          libopac: "ITEM INFORMATION--BASIC BIBLIOGRAPHIC UNIT"
78469
          repeatable: 1
78470
          mandatory: 0
78471
          authorised_value:
78472
          frameworkcode: "HLD"
78473
78474
        - tagfield: "877"
78475
          liblibrarian: "ITEM INFORMATION--SUPPLEMENTARY MATERIAL"
78476
          libopac: "ITEM INFORMATION--SUPPLEMENTARY MATERIAL"
78477
          repeatable: 1
78478
          mandatory: 0
78479
          authorised_value:
78480
          frameworkcode: "HLD"
78481
78482
        - tagfield: "878"
78483
          liblibrarian: "ITEM INFORMATION--INDEXES"
78484
          libopac: "ITEM INFORMATION--INDEXES"
78485
          repeatable: 1
78486
          mandatory: 0
78487
          authorised_value:
78488
          frameworkcode: "HLD"
78489
78490
        - tagfield: "880"
78491
          liblibrarian: "ALTERNATE GRAPHIC REPRESENTATION"
78492
          libopac: "ALTERNATE GRAPHIC REPRESENTATION"
78493
          repeatable: 1
78494
          mandatory: 0
78495
          authorised_value:
78496
          frameworkcode: "HLD"
78497
78498
        - tagfield: "883"
78499
          liblibrarian: "MACHINE-GENERATED METADATA PROVENANCE"
78500
          libopac: "MACHINE-GENERATED METADATA PROVENANCE"
78501
          repeatable: 1
78502
          mandatory: 0
78503
          authorised_value:
78504
          frameworkcode: "HLD"
78505
78506
        - tagfield: "884"
78507
          liblibrarian: "DESCRIPTION CONVERSION INFORMATION"
78508
          libopac: "DESCRIPTION CONVERSION INFORMATION"
78509
          repeatable: 1
78510
          mandatory: 0
78511
          authorised_value:
78512
          frameworkcode: "HLD"
78513
78514
        - tagfield: "942"
78515
          liblibrarian: "ADDED ENTRY ELEMENTS (KOHA)"
78516
          libopac: "ADDED ENTRY ELEMENTS (KOHA)"
78517
          repeatable: 0
78518
          mandatory: 0
78519
          authorised_value: ""
78520
          frameworkcode: "HLD"
78521
78522
        - tagfield: "999"
78523
          liblibrarian: "SYSTEM CONTROL NUMBERS (KOHA)"
78524
          libopac: "SYSTEM CONTROL NUMBERS (KOHA)"
78525
          repeatable: 1
78526
          mandatory: 0
78527
          authorised_value: ""
78528
          frameworkcode: "HLD"
78529
78530
  - marc_subfield_structure:
78531
      translatable: [ liblibrarian, libopac ]
78532
      multiline: []
78533
      rows:
78534
        - tagfield: "000"
78535
          tagsubfield: "@"
78536
          liblibrarian: "fixed length control field"
78537
          libopac: "fixed length control field"
78538
          repeatable: 0
78539
          mandatory: 1
78540
          kohafield: ""
78541
          tab: 0
78542
          authorised_value: ""
78543
          authtypecode: ""
78544
          value_builder: marc21_leader_holdings.pl
78545
          isurl: 0
78546
          hidden: 0
78547
          frameworkcode: "HLD"
78548
          seealso: ""
78549
          link: ""
78550
          defaultvalue:
78551
78552
        - tagfield: "001"
78553
          tagsubfield: "@"
78554
          liblibrarian: "control field"
78555
          libopac: "control field"
78556
          repeatable: 0
78557
          mandatory: 0
78558
          kohafield: ""
78559
          tab: 0
78560
          authorised_value: ""
78561
          authtypecode: ""
78562
          value_builder: ""
78563
          isurl: 0
78564
          hidden: 4
78565
          frameworkcode: "HLD"
78566
          seealso: ""
78567
          link: ""
78568
          defaultvalue:
78569
78570
        - tagfield: "003"
78571
          tagsubfield: "@"
78572
          liblibrarian: "control field"
78573
          libopac: "control field"
78574
          repeatable: 0
78575
          mandatory: 1
78576
          kohafield: ""
78577
          tab: 0
78578
          authorised_value: ""
78579
          authtypecode: ""
78580
          value_builder: marc21_orgcode.pl
78581
          isurl: 0
78582
          hidden: 0
78583
          frameworkcode: "HLD"
78584
          seealso: ""
78585
          link: ""
78586
          defaultvalue:
78587
78588
        - tagfield: "004"
78589
          tagsubfield: "@"
78590
          liblibrarian: "control field"
78591
          libopac: "control field"
78592
          repeatable: 0
78593
          mandatory: 0
78594
          kohafield: ""
78595
          tab: 0
78596
          authorised_value: ""
78597
          authtypecode: ""
78598
          value_builder: ""
78599
          isurl: 0
78600
          hidden: 0
78601
          frameworkcode: "HLD"
78602
          seealso: ""
78603
          link: ""
78604
          defaultvalue:
78605
78606
        - tagfield: "005"
78607
          tagsubfield: "@"
78608
          liblibrarian: "control field"
78609
          libopac: "control field"
78610
          repeatable: 0
78611
          mandatory: 1
78612
          kohafield: ""
78613
          tab: 0
78614
          authorised_value: ""
78615
          authtypecode: ""
78616
          value_builder: marc21_field_005.pl
78617
          isurl: 0
78618
          hidden: 0
78619
          frameworkcode: "HLD"
78620
          seealso: ""
78621
          link: ""
78622
          defaultvalue:
78623
78624
        - tagfield: "006"
78625
          tagsubfield: "@"
78626
          liblibrarian: "fixed length control field"
78627
          libopac: "fixed length control field"
78628
          repeatable: 0
78629
          mandatory: 0
78630
          kohafield: ""
78631
          tab: 0
78632
          authorised_value: ""
78633
          authtypecode: ""
78634
          value_builder: marc21_field_006.pl
78635
          isurl: 0
78636
          hidden: 0
78637
          frameworkcode: "HLD"
78638
          seealso: ""
78639
          link: ""
78640
          defaultvalue:
78641
78642
        - tagfield: "007"
78643
          tagsubfield: "@"
78644
          liblibrarian: "fixed length control field"
78645
          libopac: "fixed length control field"
78646
          repeatable: 0
78647
          mandatory: 0
78648
          kohafield: ""
78649
          tab: 0
78650
          authorised_value: ""
78651
          authtypecode: ""
78652
          value_builder: marc21_field_007.pl
78653
          isurl: 0
78654
          hidden: 0
78655
          frameworkcode: "HLD"
78656
          seealso: ""
78657
          link: ""
78658
          defaultvalue:
78659
78660
        - tagfield: "008"
78661
          tagsubfield: "@"
78662
          liblibrarian: "fixed length control field"
78663
          libopac: "fixed length control field"
78664
          repeatable: 0
78665
          mandatory: 1
78666
          kohafield: ""
78667
          tab: 0
78668
          authorised_value: ""
78669
          authtypecode: ""
78670
          value_builder: marc21_field_008_holdings.pl
78671
          isurl: 0
78672
          hidden: 0
78673
          frameworkcode: "HLD"
78674
          seealso: ""
78675
          link: ""
78676
          defaultvalue:
78677
78678
        - tagfield: "010"
78679
          tagsubfield: "8"
78680
          liblibrarian: "Field link and sequence number"
78681
          libopac: "Field link and sequence number"
78682
          repeatable: 1
78683
          mandatory: 0
78684
          kohafield: ""
78685
          tab: 0
78686
          authorised_value: ""
78687
          authtypecode: ""
78688
          value_builder: ""
78689
          isurl: 0
78690
          hidden: -6
78691
          frameworkcode: "HLD"
78692
          seealso: ""
78693
          link: ""
78694
          defaultvalue:
78695
78696
        - tagfield: "010"
78697
          tagsubfield: "a"
78698
          liblibrarian: "LC control number"
78699
          libopac: "LC control number"
78700
          repeatable: 0
78701
          mandatory: 0
78702
          kohafield: ""
78703
          tab: 0
78704
          authorised_value: ""
78705
          authtypecode: ""
78706
          value_builder: ""
78707
          isurl: 0
78708
          hidden: 0
78709
          frameworkcode: "HLD"
78710
          seealso: ""
78711
          link: ""
78712
          defaultvalue:
78713
78714
        - tagfield: "010"
78715
          tagsubfield: "b"
78716
          liblibrarian: "NUCMC control number"
78717
          libopac: "NUCMC control number"
78718
          repeatable: 1
78719
          mandatory: 0
78720
          kohafield: ""
78721
          tab: 0
78722
          authorised_value: ""
78723
          authtypecode: ""
78724
          value_builder: ""
78725
          isurl: 0
78726
          hidden: -1
78727
          frameworkcode: "HLD"
78728
          seealso: ""
78729
          link: ""
78730
          defaultvalue:
78731
78732
        - tagfield: "010"
78733
          tagsubfield: "z"
78734
          liblibrarian: "Canceled/invalid LC control number"
78735
          libopac: "Canceled/invalid LC control number"
78736
          repeatable: 1
78737
          mandatory: 0
78738
          kohafield: ""
78739
          tab: 0
78740
          authorised_value: ""
78741
          authtypecode: ""
78742
          value_builder: ""
78743
          isurl: 0
78744
          hidden: -1
78745
          frameworkcode: "HLD"
78746
          seealso: ""
78747
          link: ""
78748
          defaultvalue:
78749
78750
        - tagfield: "014"
78751
          tagsubfield: "6"
78752
          liblibrarian: "Linkage"
78753
          libopac: "Linkage"
78754
          repeatable: 0
78755
          mandatory: 0
78756
          kohafield: ""
78757
          tab: 0
78758
          authorised_value: ""
78759
          authtypecode: ""
78760
          value_builder: ""
78761
          isurl: 0
78762
          hidden: -6
78763
          frameworkcode: "HLD"
78764
          seealso: ""
78765
          link: ""
78766
          defaultvalue:
78767
78768
        - tagfield: "014"
78769
          tagsubfield: "a"
78770
          liblibrarian: "Linkage number"
78771
          libopac: "Linkage number"
78772
          repeatable: 0
78773
          mandatory: 0
78774
          kohafield: ""
78775
          tab: 0
78776
          authorised_value: ""
78777
          authtypecode: ""
78778
          value_builder: ""
78779
          isurl: 0
78780
          hidden: -1
78781
          frameworkcode: "HLD"
78782
          seealso: ""
78783
          link: ""
78784
          defaultvalue:
78785
78786
        - tagfield: "014"
78787
          tagsubfield: "b"
78788
          liblibrarian: "Source of number"
78789
          libopac: "Source of number"
78790
          repeatable: 0
78791
          mandatory: 0
78792
          kohafield: ""
78793
          tab: 0
78794
          authorised_value: ""
78795
          authtypecode: ""
78796
          value_builder: ""
78797
          isurl: 0
78798
          hidden: -1
78799
          frameworkcode: "HLD"
78800
          seealso: ""
78801
          link: ""
78802
          defaultvalue:
78803
78804
        - tagfield: "014"
78805
          tagsubfield: "z"
78806
          liblibrarian: "Canceled/invalid linkage number"
78807
          libopac: "Canceled/invalid linkage number"
78808
          repeatable: 1
78809
          mandatory: 0
78810
          kohafield: ""
78811
          tab: 0
78812
          authorised_value: ""
78813
          authtypecode: ""
78814
          value_builder: ""
78815
          isurl: 0
78816
          hidden: -1
78817
          frameworkcode: "HLD"
78818
          seealso: ""
78819
          link: ""
78820
          defaultvalue:
78821
78822
        - tagfield: "016"
78823
          tagsubfield: "2"
78824
          liblibrarian: "Source"
78825
          libopac: "Source"
78826
          repeatable: 0
78827
          mandatory: 0
78828
          kohafield: ""
78829
          tab: 0
78830
          authorised_value: ""
78831
          authtypecode: ""
78832
          value_builder: ""
78833
          isurl: 0
78834
          hidden: 0
78835
          frameworkcode: "HLD"
78836
          seealso: ""
78837
          link: ""
78838
          defaultvalue:
78839
78840
        - tagfield: "016"
78841
          tagsubfield: "8"
78842
          liblibrarian: "Field link and sequence number"
78843
          libopac: "Field link and sequence number"
78844
          repeatable: 1
78845
          mandatory: 0
78846
          kohafield: ""
78847
          tab: 0
78848
          authorised_value: ""
78849
          authtypecode: ""
78850
          value_builder: ""
78851
          isurl: 0
78852
          hidden: -6
78853
          frameworkcode: "HLD"
78854
          seealso: ""
78855
          link: ""
78856
          defaultvalue:
78857
78858
        - tagfield: "016"
78859
          tagsubfield: "a"
78860
          liblibrarian: "Record control number"
78861
          libopac: "Record control number"
78862
          repeatable: 0
78863
          mandatory: 0
78864
          kohafield: ""
78865
          tab: 0
78866
          authorised_value: ""
78867
          authtypecode: ""
78868
          value_builder: ""
78869
          isurl: 0
78870
          hidden: 0
78871
          frameworkcode: "HLD"
78872
          seealso: ""
78873
          link: ""
78874
          defaultvalue:
78875
78876
        - tagfield: "016"
78877
          tagsubfield: "z"
78878
          liblibrarian: "Canceled/invalid control number"
78879
          libopac: "Canceled/invalid control number"
78880
          repeatable: 1
78881
          mandatory: 0
78882
          kohafield: ""
78883
          tab: 0
78884
          authorised_value: ""
78885
          authtypecode: ""
78886
          value_builder: ""
78887
          isurl: 0
78888
          hidden: -1
78889
          frameworkcode: "HLD"
78890
          seealso: ""
78891
          link: ""
78892
          defaultvalue:
78893
78894
        - tagfield: "017"
78895
          tagsubfield: "2"
78896
          liblibrarian: "Source"
78897
          libopac: "Source"
78898
          repeatable: 0
78899
          mandatory: 0
78900
          kohafield: ""
78901
          tab: 0
78902
          authorised_value: ""
78903
          authtypecode: ""
78904
          value_builder: ""
78905
          isurl: 0
78906
          hidden: -6
78907
          frameworkcode: "HLD"
78908
          seealso: ""
78909
          link: ""
78910
          defaultvalue:
78911
78912
        - tagfield: "017"
78913
          tagsubfield: "6"
78914
          liblibrarian: "Linkage"
78915
          libopac: "Linkage"
78916
          repeatable: 0
78917
          mandatory: 0
78918
          kohafield: ""
78919
          tab: 0
78920
          authorised_value: ""
78921
          authtypecode: ""
78922
          value_builder: ""
78923
          isurl: 0
78924
          hidden: -6
78925
          frameworkcode: "HLD"
78926
          seealso: ""
78927
          link: ""
78928
          defaultvalue:
78929
78930
        - tagfield: "017"
78931
          tagsubfield: "8"
78932
          liblibrarian: "Field link and sequence number"
78933
          libopac: "Field link and sequence number"
78934
          repeatable: 1
78935
          mandatory: 0
78936
          kohafield: ""
78937
          tab: 0
78938
          authorised_value: ""
78939
          authtypecode: ""
78940
          value_builder: ""
78941
          isurl: 0
78942
          hidden: -6
78943
          frameworkcode: "HLD"
78944
          seealso: ""
78945
          link: ""
78946
          defaultvalue:
78947
78948
        - tagfield: "017"
78949
          tagsubfield: "a"
78950
          liblibrarian: "Copyright or legal deposit number"
78951
          libopac: "Copyright or legal deposit number"
78952
          repeatable: 1
78953
          mandatory: 0
78954
          kohafield: ""
78955
          tab: 0
78956
          authorised_value: ""
78957
          authtypecode: ""
78958
          value_builder: ""
78959
          isurl: 0
78960
          hidden: -6
78961
          frameworkcode: "HLD"
78962
          seealso: ""
78963
          link: ""
78964
          defaultvalue:
78965
78966
        - tagfield: "017"
78967
          tagsubfield: "b"
78968
          liblibrarian: "Assigning agency"
78969
          libopac: "Assigning agency"
78970
          repeatable: 0
78971
          mandatory: 0
78972
          kohafield: ""
78973
          tab: 0
78974
          authorised_value: ""
78975
          authtypecode: ""
78976
          value_builder: ""
78977
          isurl: 0
78978
          hidden: -6
78979
          frameworkcode: "HLD"
78980
          seealso: ""
78981
          link: ""
78982
          defaultvalue:
78983
78984
        - tagfield: "017"
78985
          tagsubfield: "d"
78986
          liblibrarian: "Date"
78987
          libopac: "Date"
78988
          repeatable: 0
78989
          mandatory: 0
78990
          kohafield: ""
78991
          tab: 0
78992
          authorised_value: ""
78993
          authtypecode: ""
78994
          value_builder:
78995
          isurl: 0
78996
          hidden: -6
78997
          frameworkcode: "HLD"
78998
          seealso: ""
78999
          link: ""
79000
          defaultvalue:
79001
79002
        - tagfield: "017"
79003
          tagsubfield: "i"
79004
          liblibrarian: "Display text"
79005
          libopac: "Display text"
79006
          repeatable: 0
79007
          mandatory: 0
79008
          kohafield: ""
79009
          tab: 0
79010
          authorised_value: ""
79011
          authtypecode: ""
79012
          value_builder: ""
79013
          isurl: 0
79014
          hidden: -6
79015
          frameworkcode: "HLD"
79016
          seealso: ""
79017
          link: ""
79018
          defaultvalue:
79019
79020
        - tagfield: "017"
79021
          tagsubfield: "z"
79022
          liblibrarian: "Canceled/invalid copyright or legal deposit number"
79023
          libopac: "Canceled/invalid copyright or legal deposit number"
79024
          repeatable: 1
79025
          mandatory: 0
79026
          kohafield: ""
79027
          tab: 0
79028
          authorised_value: ""
79029
          authtypecode: ""
79030
          value_builder: ""
79031
          isurl:
79032
          hidden: -6
79033
          frameworkcode: "HLD"
79034
          seealso: ""
79035
          link: ""
79036
          defaultvalue:
79037
79038
        - tagfield: "020"
79039
          tagsubfield: "6"
79040
          liblibrarian: "Linkage"
79041
          libopac: "Linkage"
79042
          repeatable: 0
79043
          mandatory: 0
79044
          kohafield: ""
79045
          tab: 0
79046
          authorised_value: ""
79047
          authtypecode: ""
79048
          value_builder: ""
79049
          isurl: 0
79050
          hidden: -6
79051
          frameworkcode: "HLD"
79052
          seealso: ""
79053
          link: ""
79054
          defaultvalue:
79055
79056
        - tagfield: "020"
79057
          tagsubfield: "8"
79058
          liblibrarian: "Field link and sequence number"
79059
          libopac: "Field link and sequence number"
79060
          repeatable: 1
79061
          mandatory: 0
79062
          kohafield: ""
79063
          tab: 0
79064
          authorised_value: ""
79065
          authtypecode: ""
79066
          value_builder: ""
79067
          isurl: 0
79068
          hidden: -6
79069
          frameworkcode: "HLD"
79070
          seealso: ""
79071
          link: ""
79072
          defaultvalue:
79073
79074
        - tagfield: "020"
79075
          tagsubfield: "a"
79076
          liblibrarian: "International Standard Book Number"
79077
          libopac: "International Standard Book Number"
79078
          repeatable: 0
79079
          mandatory: 0
79080
          kohafield: ""
79081
          tab: 0
79082
          authorised_value: ""
79083
          authtypecode: ""
79084
          value_builder: ""
79085
          isurl: 0
79086
          hidden: 0
79087
          frameworkcode: "HLD"
79088
          seealso: ""
79089
          link: ""
79090
          defaultvalue:
79091
79092
        - tagfield: "020"
79093
          tagsubfield: "c"
79094
          liblibrarian: "Terms of availability"
79095
          libopac: "Terms of availability"
79096
          repeatable: 0
79097
          mandatory: 0
79098
          kohafield: ""
79099
          tab: 0
79100
          authorised_value: ""
79101
          authtypecode: ""
79102
          value_builder: ""
79103
          isurl: 0
79104
          hidden: 0
79105
          frameworkcode: "HLD"
79106
          seealso: ""
79107
          link: ""
79108
          defaultvalue:
79109
79110
        - tagfield: "020"
79111
          tagsubfield: "q"
79112
          liblibrarian: "Qualifying information"
79113
          libopac: "Qualifying information"
79114
          repeatable: 1
79115
          mandatory: 0
79116
          kohafield: ""
79117
          tab: 0
79118
          authorised_value: ""
79119
          authtypecode: ""
79120
          value_builder: ""
79121
          isurl: 0
79122
          hidden: 0
79123
          frameworkcode: "HLD"
79124
          seealso: ""
79125
          link: ""
79126
          defaultvalue:
79127
79128
        - tagfield: "020"
79129
          tagsubfield: "z"
79130
          liblibrarian: "Canceled/invalid ISBN"
79131
          libopac: "Canceled/invalid ISBN"
79132
          repeatable: 1
79133
          mandatory: 0
79134
          kohafield: ""
79135
          tab: 0
79136
          authorised_value: ""
79137
          authtypecode: ""
79138
          value_builder: ""
79139
          isurl: 0
79140
          hidden: -1
79141
          frameworkcode: "HLD"
79142
          seealso: ""
79143
          link: ""
79144
          defaultvalue:
79145
79146
        - tagfield: "022"
79147
          tagsubfield: "2"
79148
          liblibrarian: "Source"
79149
          libopac: "Source"
79150
          repeatable: 0
79151
          mandatory: 0
79152
          kohafield: ""
79153
          tab: 0
79154
          authorised_value: ""
79155
          authtypecode: ""
79156
          value_builder: ""
79157
          isurl: 0
79158
          hidden: 0
79159
          frameworkcode: "HLD"
79160
          seealso: ""
79161
          link: ""
79162
          defaultvalue:
79163
79164
        - tagfield: "022"
79165
          tagsubfield: "6"
79166
          liblibrarian: "Linkage"
79167
          libopac: "Linkage"
79168
          repeatable: 0
79169
          mandatory: 0
79170
          kohafield: ""
79171
          tab: 0
79172
          authorised_value: ""
79173
          authtypecode: ""
79174
          value_builder: ""
79175
          isurl: 0
79176
          hidden: -6
79177
          frameworkcode: "HLD"
79178
          seealso: ""
79179
          link: ""
79180
          defaultvalue:
79181
79182
        - tagfield: "022"
79183
          tagsubfield: "8"
79184
          liblibrarian: "Field link and sequence number"
79185
          libopac: "Field link and sequence number"
79186
          repeatable: 1
79187
          mandatory: 0
79188
          kohafield: ""
79189
          tab: 0
79190
          authorised_value: ""
79191
          authtypecode: ""
79192
          value_builder: ""
79193
          isurl: 0
79194
          hidden: -6
79195
          frameworkcode: "HLD"
79196
          seealso: ""
79197
          link: ""
79198
          defaultvalue:
79199
79200
        - tagfield: "022"
79201
          tagsubfield: "a"
79202
          liblibrarian: "International Standard Serial Number"
79203
          libopac: "International Standard Serial Number"
79204
          repeatable: 0
79205
          mandatory: 0
79206
          kohafield: ""
79207
          tab: 0
79208
          authorised_value: ""
79209
          authtypecode: ""
79210
          value_builder: ""
79211
          isurl: 0
79212
          hidden: 0
79213
          frameworkcode: "HLD"
79214
          seealso: ""
79215
          link: ""
79216
          defaultvalue:
79217
79218
        - tagfield: "022"
79219
          tagsubfield: "l"
79220
          liblibrarian: "ISSN-L"
79221
          libopac: "ISSN-L"
79222
          repeatable: 0
79223
          mandatory: 0
79224
          kohafield: ""
79225
          tab: 0
79226
          authorised_value: ""
79227
          authtypecode: ""
79228
          value_builder: ""
79229
          isurl:
79230
          hidden: -6
79231
          frameworkcode: "HLD"
79232
          seealso: ""
79233
          link: ""
79234
          defaultvalue:
79235
79236
        - tagfield: "022"
79237
          tagsubfield: "m"
79238
          liblibrarian: "Canceled ISSN-L"
79239
          libopac: "Canceled ISSN-L"
79240
          repeatable: 1
79241
          mandatory: 0
79242
          kohafield: ""
79243
          tab: 0
79244
          authorised_value: ""
79245
          authtypecode: ""
79246
          value_builder: ""
79247
          isurl:
79248
          hidden: -6
79249
          frameworkcode: "HLD"
79250
          seealso: ""
79251
          link: ""
79252
          defaultvalue:
79253
79254
        - tagfield: "022"
79255
          tagsubfield: "y"
79256
          liblibrarian: "Incorrect ISSN"
79257
          libopac: "Incorrect ISSN"
79258
          repeatable: 1
79259
          mandatory: 0
79260
          kohafield: ""
79261
          tab: 0
79262
          authorised_value: ""
79263
          authtypecode: ""
79264
          value_builder: ""
79265
          isurl: 0
79266
          hidden: -1
79267
          frameworkcode: "HLD"
79268
          seealso: ""
79269
          link: ""
79270
          defaultvalue:
79271
79272
        - tagfield: "022"
79273
          tagsubfield: "z"
79274
          liblibrarian: "Canceled ISSN"
79275
          libopac: "Canceled ISSN"
79276
          repeatable: 1
79277
          mandatory: 0
79278
          kohafield: ""
79279
          tab: 0
79280
          authorised_value: ""
79281
          authtypecode: ""
79282
          value_builder: ""
79283
          isurl: 0
79284
          hidden: -1
79285
          frameworkcode: "HLD"
79286
          seealso: ""
79287
          link: ""
79288
          defaultvalue:
79289
79290
        - tagfield: "024"
79291
          tagsubfield: "2"
79292
          liblibrarian: "Source of number or code"
79293
          libopac: "Source of number or code"
79294
          repeatable: 0
79295
          mandatory: 0
79296
          kohafield: ""
79297
          tab: 0
79298
          authorised_value: ""
79299
          authtypecode: ""
79300
          value_builder: ""
79301
          isurl: 0
79302
          hidden: 0
79303
          frameworkcode: "HLD"
79304
          seealso: ""
79305
          link: ""
79306
          defaultvalue:
79307
79308
        - tagfield: "024"
79309
          tagsubfield: "6"
79310
          liblibrarian: "Linkage"
79311
          libopac: "Linkage"
79312
          repeatable: 0
79313
          mandatory: 0
79314
          kohafield: ""
79315
          tab: 0
79316
          authorised_value: ""
79317
          authtypecode: ""
79318
          value_builder: ""
79319
          isurl: 0
79320
          hidden: -6
79321
          frameworkcode: "HLD"
79322
          seealso: ""
79323
          link: ""
79324
          defaultvalue:
79325
79326
        - tagfield: "024"
79327
          tagsubfield: "8"
79328
          liblibrarian: "Field link and sequence number"
79329
          libopac: "Field link and sequence number"
79330
          repeatable: 1
79331
          mandatory: 0
79332
          kohafield: ""
79333
          tab: 0
79334
          authorised_value: ""
79335
          authtypecode: ""
79336
          value_builder: ""
79337
          isurl: 0
79338
          hidden: -6
79339
          frameworkcode: "HLD"
79340
          seealso: ""
79341
          link: ""
79342
          defaultvalue:
79343
79344
        - tagfield: "024"
79345
          tagsubfield: "a"
79346
          liblibrarian: "Standard number or code"
79347
          libopac: "Standard number or code"
79348
          repeatable: 0
79349
          mandatory: 0
79350
          kohafield: ""
79351
          tab: 0
79352
          authorised_value: ""
79353
          authtypecode: ""
79354
          value_builder: ""
79355
          isurl: 0
79356
          hidden: 0
79357
          frameworkcode: "HLD"
79358
          seealso: ""
79359
          link: ""
79360
          defaultvalue:
79361
79362
        - tagfield: "024"
79363
          tagsubfield: "b"
79364
          liblibrarian: "Additional codes following the standard number [OBSOLETE]"
79365
          libopac: "Additional codes following the standard number [OBSOLETE]"
79366
          repeatable: 0
79367
          mandatory: 0
79368
          kohafield: ""
79369
          tab: 0
79370
          authorised_value: ""
79371
          authtypecode: ""
79372
          value_builder: ""
79373
          isurl: 0
79374
          hidden: -6
79375
          frameworkcode: "HLD"
79376
          seealso: ""
79377
          link: ""
79378
          defaultvalue:
79379
79380
        - tagfield: "024"
79381
          tagsubfield: "c"
79382
          liblibrarian: "Terms of availability"
79383
          libopac: "Terms of availability"
79384
          repeatable: 0
79385
          mandatory: 0
79386
          kohafield: ""
79387
          tab: 0
79388
          authorised_value: ""
79389
          authtypecode: ""
79390
          value_builder: ""
79391
          isurl: 0
79392
          hidden: 0
79393
          frameworkcode: "HLD"
79394
          seealso: ""
79395
          link: ""
79396
          defaultvalue:
79397
79398
        - tagfield: "024"
79399
          tagsubfield: "d"
79400
          liblibrarian: "Additional codes following the standard number or code"
79401
          libopac: "Additional codes following the standard number or code"
79402
          repeatable: 0
79403
          mandatory: 0
79404
          kohafield: ""
79405
          tab: 0
79406
          authorised_value: ""
79407
          authtypecode: ""
79408
          value_builder: ""
79409
          isurl: 0
79410
          hidden: 0
79411
          frameworkcode: "HLD"
79412
          seealso: ""
79413
          link: ""
79414
          defaultvalue:
79415
79416
        - tagfield: "024"
79417
          tagsubfield: "q"
79418
          liblibrarian: "Qualifying information"
79419
          libopac: "Qualifying information"
79420
          repeatable: 1
79421
          mandatory: 0
79422
          kohafield: ""
79423
          tab: 0
79424
          authorised_value: ""
79425
          authtypecode: ""
79426
          value_builder: ""
79427
          isurl: 0
79428
          hidden: 0
79429
          frameworkcode: "HLD"
79430
          seealso: ""
79431
          link: ""
79432
          defaultvalue:
79433
79434
        - tagfield: "024"
79435
          tagsubfield: "z"
79436
          liblibrarian: "Canceled/invalid standard number or code"
79437
          libopac: "Canceled/invalid standard number or code"
79438
          repeatable: 1
79439
          mandatory: 0
79440
          kohafield: ""
79441
          tab: 0
79442
          authorised_value: ""
79443
          authtypecode: ""
79444
          value_builder: ""
79445
          isurl: 0
79446
          hidden: -1
79447
          frameworkcode: "HLD"
79448
          seealso: ""
79449
          link: ""
79450
          defaultvalue:
79451
79452
        - tagfield: "027"
79453
          tagsubfield: "6"
79454
          liblibrarian: "Linkage"
79455
          libopac: "Linkage"
79456
          repeatable: 0
79457
          mandatory: 0
79458
          kohafield: ""
79459
          tab: 0
79460
          authorised_value: ""
79461
          authtypecode: ""
79462
          value_builder: ""
79463
          isurl: 0
79464
          hidden: -6
79465
          frameworkcode: "HLD"
79466
          seealso: ""
79467
          link: ""
79468
          defaultvalue:
79469
79470
        - tagfield: "027"
79471
          tagsubfield: "8"
79472
          liblibrarian: "Field link and sequence number"
79473
          libopac: "Field link and sequence number"
79474
          repeatable: 1
79475
          mandatory: 0
79476
          kohafield: ""
79477
          tab: 0
79478
          authorised_value: ""
79479
          authtypecode: ""
79480
          value_builder: ""
79481
          isurl: 0
79482
          hidden: -6
79483
          frameworkcode: "HLD"
79484
          seealso: ""
79485
          link: ""
79486
          defaultvalue:
79487
79488
        - tagfield: "027"
79489
          tagsubfield: "a"
79490
          liblibrarian: "Standard technical report number"
79491
          libopac: "Standard technical report number"
79492
          repeatable: 0
79493
          mandatory: 0
79494
          kohafield: ""
79495
          tab: 0
79496
          authorised_value: ""
79497
          authtypecode: ""
79498
          value_builder: ""
79499
          isurl: 0
79500
          hidden: -1
79501
          frameworkcode: "HLD"
79502
          seealso: ""
79503
          link: ""
79504
          defaultvalue:
79505
79506
        - tagfield: "027"
79507
          tagsubfield: "q"
79508
          liblibrarian: "Qualifying information"
79509
          libopac: "Qualifying information"
79510
          repeatable: 1
79511
          mandatory: 0
79512
          kohafield: ""
79513
          tab: 0
79514
          authorised_value: ""
79515
          authtypecode: ""
79516
          value_builder: ""
79517
          isurl: 0
79518
          hidden: 0
79519
          frameworkcode: "HLD"
79520
          seealso: ""
79521
          link: ""
79522
          defaultvalue:
79523
79524
        - tagfield: "027"
79525
          tagsubfield: "z"
79526
          liblibrarian: "Canceled/invalid number"
79527
          libopac: "Canceled/invalid number"
79528
          repeatable: 1
79529
          mandatory: 0
79530
          kohafield: ""
79531
          tab: 0
79532
          authorised_value: ""
79533
          authtypecode: ""
79534
          value_builder: ""
79535
          isurl: 0
79536
          hidden: -1
79537
          frameworkcode: "HLD"
79538
          seealso: ""
79539
          link: ""
79540
          defaultvalue:
79541
79542
        - tagfield: "030"
79543
          tagsubfield: "6"
79544
          liblibrarian: "Linkage"
79545
          libopac: "Linkage"
79546
          repeatable: 0
79547
          mandatory: 0
79548
          kohafield: ""
79549
          tab: 0
79550
          authorised_value: ""
79551
          authtypecode: ""
79552
          value_builder: ""
79553
          isurl: 0
79554
          hidden: -6
79555
          frameworkcode: "HLD"
79556
          seealso: ""
79557
          link: ""
79558
          defaultvalue:
79559
79560
        - tagfield: "030"
79561
          tagsubfield: "8"
79562
          liblibrarian: "Field link and sequence number"
79563
          libopac: "Field link and sequence number"
79564
          repeatable: 1
79565
          mandatory: 0
79566
          kohafield: ""
79567
          tab: 0
79568
          authorised_value: ""
79569
          authtypecode: ""
79570
          value_builder: ""
79571
          isurl: 0
79572
          hidden: -6
79573
          frameworkcode: "HLD"
79574
          seealso: ""
79575
          link: ""
79576
          defaultvalue:
79577
79578
        - tagfield: "030"
79579
          tagsubfield: "a"
79580
          liblibrarian: "CODEN"
79581
          libopac: "CODEN"
79582
          repeatable: 0
79583
          mandatory: 0
79584
          kohafield: ""
79585
          tab: 0
79586
          authorised_value: ""
79587
          authtypecode: ""
79588
          value_builder: ""
79589
          isurl: 0
79590
          hidden: -6
79591
          frameworkcode: "HLD"
79592
          seealso: ""
79593
          link: ""
79594
          defaultvalue:
79595
79596
        - tagfield: "030"
79597
          tagsubfield: "z"
79598
          liblibrarian: "Canceled/invalid CODEN"
79599
          libopac: "Canceled/invalid CODEN"
79600
          repeatable: 1
79601
          mandatory: 0
79602
          kohafield: ""
79603
          tab: 0
79604
          authorised_value: ""
79605
          authtypecode: ""
79606
          value_builder: ""
79607
          isurl: 0
79608
          hidden: -6
79609
          frameworkcode: "HLD"
79610
          seealso: ""
79611
          link: ""
79612
          defaultvalue:
79613
79614
        - tagfield: "035"
79615
          tagsubfield: "6"
79616
          liblibrarian: "Linkage"
79617
          libopac: "Linkage"
79618
          repeatable: 0
79619
          mandatory: 0
79620
          kohafield: ""
79621
          tab: 0
79622
          authorised_value: ""
79623
          authtypecode: ""
79624
          value_builder: ""
79625
          isurl: 0
79626
          hidden: -6
79627
          frameworkcode: "HLD"
79628
          seealso: ""
79629
          link: ""
79630
          defaultvalue:
79631
79632
        - tagfield: "035"
79633
          tagsubfield: "8"
79634
          liblibrarian: "Field link and sequence number"
79635
          libopac: "Field link and sequence number"
79636
          repeatable: 1
79637
          mandatory: 0
79638
          kohafield: ""
79639
          tab: 0
79640
          authorised_value: ""
79641
          authtypecode: ""
79642
          value_builder: ""
79643
          isurl: 0
79644
          hidden: -6
79645
          frameworkcode: "HLD"
79646
          seealso: ""
79647
          link: ""
79648
          defaultvalue:
79649
79650
        - tagfield: "035"
79651
          tagsubfield: "a"
79652
          liblibrarian: "System control number"
79653
          libopac: "System control number"
79654
          repeatable: 0
79655
          mandatory: 0
79656
          kohafield: ""
79657
          tab: 0
79658
          authorised_value: ""
79659
          authtypecode: ""
79660
          value_builder: ""
79661
          isurl: 0
79662
          hidden: 0
79663
          frameworkcode: "HLD"
79664
          seealso: ""
79665
          link: ""
79666
          defaultvalue:
79667
79668
        - tagfield: "035"
79669
          tagsubfield: "z"
79670
          liblibrarian: "Canceled/invalid control number"
79671
          libopac: "Canceled/invalid control number"
79672
          repeatable: 1
79673
          mandatory: 0
79674
          kohafield: ""
79675
          tab: 0
79676
          authorised_value: ""
79677
          authtypecode: ""
79678
          value_builder: ""
79679
          isurl: 0
79680
          hidden: -1
79681
          frameworkcode: "HLD"
79682
          seealso: ""
79683
          link: ""
79684
          defaultvalue:
79685
79686
        - tagfield: "040"
79687
          tagsubfield: "6"
79688
          liblibrarian: "Linkage"
79689
          libopac: "Linkage"
79690
          repeatable: 0
79691
          mandatory: 0
79692
          kohafield: ""
79693
          tab: 0
79694
          authorised_value: ""
79695
          authtypecode: ""
79696
          value_builder: ""
79697
          isurl: 0
79698
          hidden: -6
79699
          frameworkcode: "HLD"
79700
          seealso: ""
79701
          link: ""
79702
          defaultvalue:
79703
79704
        - tagfield: "040"
79705
          tagsubfield: "8"
79706
          liblibrarian: "Field link and sequence number"
79707
          libopac: "Field link and sequence number"
79708
          repeatable: 1
79709
          mandatory: 0
79710
          kohafield: ""
79711
          tab: 0
79712
          authorised_value: ""
79713
          authtypecode: ""
79714
          value_builder: ""
79715
          isurl: 0
79716
          hidden: -6
79717
          frameworkcode: "HLD"
79718
          seealso: ""
79719
          link: ""
79720
          defaultvalue:
79721
79722
        - tagfield: "040"
79723
          tagsubfield: "a"
79724
          liblibrarian: "Original cataloging agency"
79725
          libopac: "Original cataloging agency"
79726
          repeatable: 0
79727
          mandatory: 0
79728
          kohafield: ""
79729
          tab: 0
79730
          authorised_value: ""
79731
          authtypecode: ""
79732
          value_builder: ""
79733
          isurl: 0
79734
          hidden: 0
79735
          frameworkcode: "HLD"
79736
          seealso: ""
79737
          link: ""
79738
          defaultvalue:
79739
79740
        - tagfield: "040"
79741
          tagsubfield: "b"
79742
          liblibrarian: "Language of cataloging"
79743
          libopac: "Language of cataloging"
79744
          repeatable: 0
79745
          mandatory: 0
79746
          kohafield: ""
79747
          tab: 0
79748
          authorised_value: ""
79749
          authtypecode: ""
79750
          value_builder: ""
79751
          isurl: 0
79752
          hidden: 0
79753
          frameworkcode: "HLD"
79754
          seealso: ""
79755
          link: ""
79756
          defaultvalue:
79757
79758
        - tagfield: "040"
79759
          tagsubfield: "c"
79760
          liblibrarian: "Transcribing agency"
79761
          libopac: "Transcribing agency"
79762
          repeatable: 0
79763
          mandatory: 1
79764
          kohafield: ""
79765
          tab: 0
79766
          authorised_value: ""
79767
          authtypecode: ""
79768
          value_builder: ""
79769
          isurl: 0
79770
          hidden: 0
79771
          frameworkcode: "HLD"
79772
          seealso: ""
79773
          link: ""
79774
          defaultvalue:
79775
79776
        - tagfield: "040"
79777
          tagsubfield: "d"
79778
          liblibrarian: "Modifying agency"
79779
          libopac: "Modifying agency"
79780
          repeatable: 1
79781
          mandatory: 0
79782
          kohafield: ""
79783
          tab: 0
79784
          authorised_value: ""
79785
          authtypecode: ""
79786
          value_builder: ""
79787
          isurl: 0
79788
          hidden: 0
79789
          frameworkcode: "HLD"
79790
          seealso: ""
79791
          link: ""
79792
          defaultvalue:
79793
79794
        - tagfield: "066"
79795
          tagsubfield: "a"
79796
          liblibrarian: "Primary G0 character set"
79797
          libopac: "Primary G0 character set"
79798
          repeatable: 0
79799
          mandatory: 0
79800
          kohafield: ""
79801
          tab: 0
79802
          authorised_value:
79803
          authtypecode:
79804
          value_builder: ""
79805
          isurl:
79806
          hidden: -6
79807
          frameworkcode: "HLD"
79808
          seealso: ""
79809
          link: ""
79810
          defaultvalue:
79811
79812
        - tagfield: "066"
79813
          tagsubfield: "b"
79814
          liblibrarian: "Primary G1 character set"
79815
          libopac: "Primary G1 character set"
79816
          repeatable: 0
79817
          mandatory: 0
79818
          kohafield: ""
79819
          tab: 0
79820
          authorised_value:
79821
          authtypecode:
79822
          value_builder: ""
79823
          isurl:
79824
          hidden: -6
79825
          frameworkcode: "HLD"
79826
          seealso: ""
79827
          link: ""
79828
          defaultvalue:
79829
79830
        - tagfield: "066"
79831
          tagsubfield: "c"
79832
          liblibrarian: "Alternate G0 or G1 character set"
79833
          libopac: "Alternate G0 or G1 character set"
79834
          repeatable: 1
79835
          mandatory: 0
79836
          kohafield: ""
79837
          tab: 0
79838
          authorised_value:
79839
          authtypecode:
79840
          value_builder: ""
79841
          isurl:
79842
          hidden: -6
79843
          frameworkcode: "HLD"
79844
          seealso: ""
79845
          link: ""
79846
          defaultvalue:
79847
79848
        - tagfield: "337"
79849
          tagsubfield: "0"
79850
          liblibrarian: "Authority record control number or standard number"
79851
          libopac: "Authority record control number or standard number"
79852
          repeatable: 1
79853
          mandatory: 0
79854
          kohafield: ""
79855
          tab: 3
79856
          authorised_value: ""
79857
          authtypecode: ""
79858
          value_builder: ""
79859
          isurl:
79860
          hidden: -6
79861
          frameworkcode: "HLD"
79862
          seealso: ""
79863
          link: ""
79864
          defaultvalue:
79865
79866
        - tagfield: "337"
79867
          tagsubfield: "1"
79868
          liblibrarian: "Real World Object URI"
79869
          libopac: "Real World Object URI"
79870
          repeatable: 1
79871
          mandatory: 0
79872
          kohafield: ""
79873
          tab: 3
79874
          authorised_value: ""
79875
          authtypecode: ""
79876
          value_builder: ""
79877
          isurl:
79878
          hidden: -6
79879
          frameworkcode: "HLD"
79880
          seealso: ""
79881
          link: ""
79882
          defaultvalue:
79883
79884
        - tagfield: "337"
79885
          tagsubfield: "2"
79886
          liblibrarian: "Source"
79887
          libopac: "Source"
79888
          repeatable: 0
79889
          mandatory: 0
79890
          kohafield: ""
79891
          tab: 3
79892
          authorised_value: ""
79893
          authtypecode: ""
79894
          value_builder: ""
79895
          isurl:
79896
          hidden: -6
79897
          frameworkcode: "HLD"
79898
          seealso: ""
79899
          link: ""
79900
          defaultvalue:
79901
79902
        - tagfield: "337"
79903
          tagsubfield: "3"
79904
          liblibrarian: "Materials specified"
79905
          libopac: "Materials specified"
79906
          repeatable: 0
79907
          mandatory: 0
79908
          kohafield: ""
79909
          tab: 3
79910
          authorised_value: ""
79911
          authtypecode: ""
79912
          value_builder: ""
79913
          isurl:
79914
          hidden: -6
79915
          frameworkcode: "HLD"
79916
          seealso: ""
79917
          link: ""
79918
          defaultvalue:
79919
79920
        - tagfield: "337"
79921
          tagsubfield: "6"
79922
          liblibrarian: "Linkage"
79923
          libopac: "Linkage"
79924
          repeatable: 0
79925
          mandatory: 0
79926
          kohafield: ""
79927
          tab: 3
79928
          authorised_value: ""
79929
          authtypecode: ""
79930
          value_builder: ""
79931
          isurl:
79932
          hidden: -6
79933
          frameworkcode: "HLD"
79934
          seealso: ""
79935
          link: ""
79936
          defaultvalue:
79937
79938
        - tagfield: "337"
79939
          tagsubfield: "8"
79940
          liblibrarian: "Field link and sequence number"
79941
          libopac: "Field link and sequence number"
79942
          repeatable: 1
79943
          mandatory: 0
79944
          kohafield: ""
79945
          tab: 3
79946
          authorised_value: ""
79947
          authtypecode: ""
79948
          value_builder: ""
79949
          isurl:
79950
          hidden: -6
79951
          frameworkcode: "HLD"
79952
          seealso: ""
79953
          link: ""
79954
          defaultvalue:
79955
79956
        - tagfield: "337"
79957
          tagsubfield: "a"
79958
          liblibrarian: "Media type term"
79959
          libopac: "Media type term"
79960
          repeatable: 1
79961
          mandatory: 0
79962
          kohafield: ""
79963
          tab: 3
79964
          authorised_value: ""
79965
          authtypecode: ""
79966
          value_builder: ""
79967
          isurl:
79968
          hidden: -6
79969
          frameworkcode: "HLD"
79970
          seealso: ""
79971
          link: ""
79972
          defaultvalue:
79973
79974
        - tagfield: "337"
79975
          tagsubfield: "b"
79976
          liblibrarian: "Media type code"
79977
          libopac: "Media type code"
79978
          repeatable: 1
79979
          mandatory: 0
79980
          kohafield: ""
79981
          tab: 3
79982
          authorised_value: ""
79983
          authtypecode: ""
79984
          value_builder: ""
79985
          isurl:
79986
          hidden: -6
79987
          frameworkcode: "HLD"
79988
          seealso: ""
79989
          link: ""
79990
          defaultvalue:
79991
79992
        - tagfield: "338"
79993
          tagsubfield: "0"
79994
          liblibrarian: "Authority record control number or standard number"
79995
          libopac: "Authority record control number or standard number"
79996
          repeatable: 1
79997
          mandatory: 0
79998
          kohafield: ""
79999
          tab: 3
80000
          authorised_value: ""
80001
          authtypecode: ""
80002
          value_builder: ""
80003
          isurl:
80004
          hidden: -6
80005
          frameworkcode: "HLD"
80006
          seealso: ""
80007
          link: ""
80008
          defaultvalue:
80009
80010
        - tagfield: "338"
80011
          tagsubfield: "1"
80012
          liblibrarian: "Real World Object URI"
80013
          libopac: "Real World Object URI"
80014
          repeatable: 1
80015
          mandatory: 0
80016
          kohafield: ""
80017
          tab: 3
80018
          authorised_value: ""
80019
          authtypecode: ""
80020
          value_builder: ""
80021
          isurl:
80022
          hidden: -6
80023
          frameworkcode: "HLD"
80024
          seealso: ""
80025
          link: ""
80026
          defaultvalue:
80027
80028
        - tagfield: "338"
80029
          tagsubfield: "2"
80030
          liblibrarian: "Source"
80031
          libopac: "Source"
80032
          repeatable: 0
80033
          mandatory: 0
80034
          kohafield: ""
80035
          tab: 3
80036
          authorised_value: ""
80037
          authtypecode: ""
80038
          value_builder: ""
80039
          isurl:
80040
          hidden: -6
80041
          frameworkcode: "HLD"
80042
          seealso: ""
80043
          link: ""
80044
          defaultvalue:
80045
80046
        - tagfield: "338"
80047
          tagsubfield: "3"
80048
          liblibrarian: "Materials specified"
80049
          libopac: "Materials specified"
80050
          repeatable: 0
80051
          mandatory: 0
80052
          kohafield: ""
80053
          tab: 3
80054
          authorised_value: ""
80055
          authtypecode: ""
80056
          value_builder: ""
80057
          isurl:
80058
          hidden: -6
80059
          frameworkcode: "HLD"
80060
          seealso: ""
80061
          link: ""
80062
          defaultvalue:
80063
80064
        - tagfield: "338"
80065
          tagsubfield: "6"
80066
          liblibrarian: "Linkage"
80067
          libopac: "Linkage"
80068
          repeatable: 0
80069
          mandatory: 0
80070
          kohafield: ""
80071
          tab: 3
80072
          authorised_value: ""
80073
          authtypecode: ""
80074
          value_builder: ""
80075
          isurl:
80076
          hidden: -6
80077
          frameworkcode: "HLD"
80078
          seealso: ""
80079
          link: ""
80080
          defaultvalue:
80081
80082
        - tagfield: "338"
80083
          tagsubfield: "8"
80084
          liblibrarian: "Field link and sequence number"
80085
          libopac: "Field link and sequence number"
80086
          repeatable: 1
80087
          mandatory: 0
80088
          kohafield: ""
80089
          tab: 3
80090
          authorised_value: ""
80091
          authtypecode: ""
80092
          value_builder: ""
80093
          isurl:
80094
          hidden: -6
80095
          frameworkcode: "HLD"
80096
          seealso: ""
80097
          link: ""
80098
          defaultvalue:
80099
80100
        - tagfield: "338"
80101
          tagsubfield: "a"
80102
          liblibrarian: "Carrier type term"
80103
          libopac: "Carrier type term"
80104
          repeatable: 1
80105
          mandatory: 0
80106
          kohafield: ""
80107
          tab: 3
80108
          authorised_value: ""
80109
          authtypecode: ""
80110
          value_builder: ""
80111
          isurl:
80112
          hidden: -6
80113
          frameworkcode: "HLD"
80114
          seealso: ""
80115
          link: ""
80116
          defaultvalue:
80117
80118
        - tagfield: "338"
80119
          tagsubfield: "b"
80120
          liblibrarian: "Carrier type code"
80121
          libopac: "Carrier type code"
80122
          repeatable: 1
80123
          mandatory: 0
80124
          kohafield: ""
80125
          tab: 3
80126
          authorised_value: ""
80127
          authtypecode: ""
80128
          value_builder: ""
80129
          isurl:
80130
          hidden: -6
80131
          frameworkcode: "HLD"
80132
          seealso: ""
80133
          link: ""
80134
          defaultvalue:
80135
80136
        - tagfield: "347"
80137
          tagsubfield: "0"
80138
          liblibrarian: "Authority record control number or standard number"
80139
          libopac: "Authority record control number or standard number"
80140
          repeatable: 1
80141
          mandatory: 0
80142
          kohafield: ""
80143
          tab: 3
80144
          authorised_value: ""
80145
          authtypecode: ""
80146
          value_builder: ""
80147
          isurl:
80148
          hidden: -6
80149
          frameworkcode: "HLD"
80150
          seealso: ""
80151
          link: ""
80152
          defaultvalue:
80153
80154
        - tagfield: "347"
80155
          tagsubfield: "1"
80156
          liblibrarian: "Real World Object URI"
80157
          libopac: "Real World Object URI"
80158
          repeatable: 1
80159
          mandatory: 0
80160
          kohafield: ""
80161
          tab: 3
80162
          authorised_value: ""
80163
          authtypecode: ""
80164
          value_builder: ""
80165
          isurl:
80166
          hidden: -6
80167
          frameworkcode: "HLD"
80168
          seealso: ""
80169
          link: ""
80170
          defaultvalue:
80171
80172
        - tagfield: "347"
80173
          tagsubfield: "2"
80174
          liblibrarian: "Source"
80175
          libopac: "Source"
80176
          repeatable: 0
80177
          mandatory: 0
80178
          kohafield: ""
80179
          tab: 3
80180
          authorised_value: ""
80181
          authtypecode: ""
80182
          value_builder: ""
80183
          isurl:
80184
          hidden: -6
80185
          frameworkcode: "HLD"
80186
          seealso: ""
80187
          link: ""
80188
          defaultvalue:
80189
80190
        - tagfield: "347"
80191
          tagsubfield: "3"
80192
          liblibrarian: "Materials specified"
80193
          libopac: "Materials specified"
80194
          repeatable: 0
80195
          mandatory: 0
80196
          kohafield: ""
80197
          tab: 3
80198
          authorised_value: ""
80199
          authtypecode: ""
80200
          value_builder: ""
80201
          isurl:
80202
          hidden: -6
80203
          frameworkcode: "HLD"
80204
          seealso: ""
80205
          link: ""
80206
          defaultvalue:
80207
80208
        - tagfield: "347"
80209
          tagsubfield: "6"
80210
          liblibrarian: "Linkage"
80211
          libopac: "Linkage"
80212
          repeatable: 0
80213
          mandatory: 0
80214
          kohafield: ""
80215
          tab: 3
80216
          authorised_value: ""
80217
          authtypecode: ""
80218
          value_builder: ""
80219
          isurl:
80220
          hidden: -6
80221
          frameworkcode: "HLD"
80222
          seealso: ""
80223
          link: ""
80224
          defaultvalue:
80225
80226
        - tagfield: "347"
80227
          tagsubfield: "8"
80228
          liblibrarian: "Field link and sequence number"
80229
          libopac: "Field link and sequence number"
80230
          repeatable: 1
80231
          mandatory: 0
80232
          kohafield: ""
80233
          tab: 3
80234
          authorised_value: ""
80235
          authtypecode: ""
80236
          value_builder: ""
80237
          isurl:
80238
          hidden: -6
80239
          frameworkcode: "HLD"
80240
          seealso: ""
80241
          link: ""
80242
          defaultvalue:
80243
80244
        - tagfield: "347"
80245
          tagsubfield: "a"
80246
          liblibrarian: "File type"
80247
          libopac: "File type"
80248
          repeatable: 1
80249
          mandatory: 0
80250
          kohafield: ""
80251
          tab: 3
80252
          authorised_value: ""
80253
          authtypecode: ""
80254
          value_builder: ""
80255
          isurl:
80256
          hidden: -6
80257
          frameworkcode: "HLD"
80258
          seealso: ""
80259
          link: ""
80260
          defaultvalue:
80261
80262
        - tagfield: "347"
80263
          tagsubfield: "b"
80264
          liblibrarian: "Encoding format"
80265
          libopac: "Encoding format"
80266
          repeatable: 1
80267
          mandatory: 0
80268
          kohafield: ""
80269
          tab: 3
80270
          authorised_value: ""
80271
          authtypecode: ""
80272
          value_builder: ""
80273
          isurl:
80274
          hidden: -6
80275
          frameworkcode: "HLD"
80276
          seealso: ""
80277
          link: ""
80278
          defaultvalue:
80279
80280
        - tagfield: "347"
80281
          tagsubfield: "c"
80282
          liblibrarian: "File size"
80283
          libopac: "File size"
80284
          repeatable: 1
80285
          mandatory: 0
80286
          kohafield: ""
80287
          tab: 3
80288
          authorised_value: ""
80289
          authtypecode: ""
80290
          value_builder: ""
80291
          isurl:
80292
          hidden: -6
80293
          frameworkcode: "HLD"
80294
          seealso: ""
80295
          link: ""
80296
          defaultvalue:
80297
80298
        - tagfield: "347"
80299
          tagsubfield: "d"
80300
          liblibrarian: "Resolution"
80301
          libopac: "Resolution"
80302
          repeatable: 1
80303
          mandatory: 0
80304
          kohafield: ""
80305
          tab: 3
80306
          authorised_value: ""
80307
          authtypecode: ""
80308
          value_builder: ""
80309
          isurl:
80310
          hidden: -6
80311
          frameworkcode: "HLD"
80312
          seealso: ""
80313
          link: ""
80314
          defaultvalue:
80315
80316
        - tagfield: "347"
80317
          tagsubfield: "e"
80318
          liblibrarian: "Regional encoding"
80319
          libopac: "Regional encoding"
80320
          repeatable: 1
80321
          mandatory: 0
80322
          kohafield: ""
80323
          tab: 3
80324
          authorised_value: ""
80325
          authtypecode: ""
80326
          value_builder: ""
80327
          isurl:
80328
          hidden: -6
80329
          frameworkcode: "HLD"
80330
          seealso: ""
80331
          link: ""
80332
          defaultvalue:
80333
80334
        - tagfield: "347"
80335
          tagsubfield: "f"
80336
          liblibrarian: "Encoded bitrate"
80337
          libopac: "Encoded bitrate"
80338
          repeatable: 1
80339
          mandatory: 0
80340
          kohafield: ""
80341
          tab: 3
80342
          authorised_value: ""
80343
          authtypecode: ""
80344
          value_builder: ""
80345
          isurl:
80346
          hidden: -6
80347
          frameworkcode: "HLD"
80348
          seealso: ""
80349
          link: ""
80350
          defaultvalue:
80351
80352
        - tagfield: "506"
80353
          tagsubfield: "2"
80354
          liblibrarian: "Source of term"
80355
          libopac: "Source of term"
80356
          repeatable: 0
80357
          mandatory: 0
80358
          kohafield: ""
80359
          tab: 5
80360
          authorised_value: ""
80361
          authtypecode: ""
80362
          value_builder: ""
80363
          isurl:
80364
          hidden: -6
80365
          frameworkcode: "HLD"
80366
          seealso: ""
80367
          link: ""
80368
          defaultvalue:
80369
80370
        - tagfield: "506"
80371
          tagsubfield: "3"
80372
          liblibrarian: "Materials specified"
80373
          libopac: "Materials specified"
80374
          repeatable: 0
80375
          mandatory: 0
80376
          kohafield: ""
80377
          tab: 5
80378
          authorised_value: ""
80379
          authtypecode: ""
80380
          value_builder: ""
80381
          isurl:
80382
          hidden: -6
80383
          frameworkcode: "HLD"
80384
          seealso: ""
80385
          link: ""
80386
          defaultvalue:
80387
80388
        - tagfield: "506"
80389
          tagsubfield: "5"
80390
          liblibrarian: "Institution to which field applies"
80391
          libopac: "Institution to which field applies"
80392
          repeatable: 0
80393
          mandatory: 0
80394
          kohafield: ""
80395
          tab: 5
80396
          authorised_value: ""
80397
          authtypecode: ""
80398
          value_builder: ""
80399
          isurl:
80400
          hidden: -6
80401
          frameworkcode: "HLD"
80402
          seealso: ""
80403
          link: ""
80404
          defaultvalue:
80405
80406
        - tagfield: "506"
80407
          tagsubfield: "6"
80408
          liblibrarian: "Linkage"
80409
          libopac: "Linkage"
80410
          repeatable: 0
80411
          mandatory: 0
80412
          kohafield: ""
80413
          tab: 5
80414
          authorised_value: ""
80415
          authtypecode: ""
80416
          value_builder: ""
80417
          isurl:
80418
          hidden: -6
80419
          frameworkcode: "HLD"
80420
          seealso: ""
80421
          link: ""
80422
          defaultvalue:
80423
80424
        - tagfield: "506"
80425
          tagsubfield: "8"
80426
          liblibrarian: "Field link and sequence number"
80427
          libopac: "Field link and sequence number"
80428
          repeatable: 1
80429
          mandatory: 0
80430
          kohafield: ""
80431
          tab: 5
80432
          authorised_value: ""
80433
          authtypecode: ""
80434
          value_builder: ""
80435
          isurl:
80436
          hidden: -6
80437
          frameworkcode: "HLD"
80438
          seealso: ""
80439
          link: ""
80440
          defaultvalue:
80441
80442
        - tagfield: "506"
80443
          tagsubfield: "a"
80444
          liblibrarian: "Terms governing access"
80445
          libopac: "Terms governing access"
80446
          repeatable: 0
80447
          mandatory: 0
80448
          kohafield: ""
80449
          tab: 5
80450
          authorised_value: ""
80451
          authtypecode: ""
80452
          value_builder: ""
80453
          isurl:
80454
          hidden: -6
80455
          frameworkcode: "HLD"
80456
          seealso: ""
80457
          link: ""
80458
          defaultvalue:
80459
80460
        - tagfield: "506"
80461
          tagsubfield: "b"
80462
          liblibrarian: "Jurisdiction"
80463
          libopac: "Jurisdiction"
80464
          repeatable: 1
80465
          mandatory: 0
80466
          kohafield: ""
80467
          tab: 5
80468
          authorised_value: ""
80469
          authtypecode: ""
80470
          value_builder: ""
80471
          isurl:
80472
          hidden: -6
80473
          frameworkcode: "HLD"
80474
          seealso: ""
80475
          link: ""
80476
          defaultvalue:
80477
80478
        - tagfield: "506"
80479
          tagsubfield: "c"
80480
          liblibrarian: "Physical access provisions"
80481
          libopac: "Physical access provisions"
80482
          repeatable: 1
80483
          mandatory: 0
80484
          kohafield: ""
80485
          tab: 5
80486
          authorised_value: ""
80487
          authtypecode: ""
80488
          value_builder: ""
80489
          isurl:
80490
          hidden: -6
80491
          frameworkcode: "HLD"
80492
          seealso: ""
80493
          link: ""
80494
          defaultvalue:
80495
80496
        - tagfield: "506"
80497
          tagsubfield: "d"
80498
          liblibrarian: "Authorized users"
80499
          libopac: "Authorized users"
80500
          repeatable: 1
80501
          mandatory: 0
80502
          kohafield: ""
80503
          tab: 5
80504
          authorised_value: ""
80505
          authtypecode: ""
80506
          value_builder: ""
80507
          isurl:
80508
          hidden: -6
80509
          frameworkcode: "HLD"
80510
          seealso: ""
80511
          link: ""
80512
          defaultvalue:
80513
80514
        - tagfield: "506"
80515
          tagsubfield: "e"
80516
          liblibrarian: "Authorization"
80517
          libopac: "Authorization"
80518
          repeatable: 1
80519
          mandatory: 0
80520
          kohafield: ""
80521
          tab: 5
80522
          authorised_value: ""
80523
          authtypecode: ""
80524
          value_builder: ""
80525
          isurl:
80526
          hidden: -6
80527
          frameworkcode: "HLD"
80528
          seealso: ""
80529
          link: ""
80530
          defaultvalue:
80531
80532
        - tagfield: "506"
80533
          tagsubfield: "f"
80534
          liblibrarian: "Standardized terminology for access restriction"
80535
          libopac: "Standardized terminology for access restriction"
80536
          repeatable: 1
80537
          mandatory: 0
80538
          kohafield: ""
80539
          tab: 5
80540
          authorised_value: ""
80541
          authtypecode: ""
80542
          value_builder: ""
80543
          isurl:
80544
          hidden: -6
80545
          frameworkcode: "HLD"
80546
          seealso: ""
80547
          link: ""
80548
          defaultvalue:
80549
80550
        - tagfield: "506"
80551
          tagsubfield: "g"
80552
          liblibrarian: "Availability date"
80553
          libopac: "Availability date"
80554
          repeatable: 1
80555
          mandatory: 0
80556
          kohafield: ""
80557
          tab: 5
80558
          authorised_value: ""
80559
          authtypecode: ""
80560
          value_builder: ""
80561
          isurl:
80562
          hidden: -6
80563
          frameworkcode: "HLD"
80564
          seealso: ""
80565
          link: ""
80566
          defaultvalue:
80567
80568
        - tagfield: "506"
80569
          tagsubfield: "q"
80570
          liblibrarian: "Supplying agency"
80571
          libopac: "Supplying agency"
80572
          repeatable: 0
80573
          mandatory: 0
80574
          kohafield: ""
80575
          tab: 5
80576
          authorised_value: ""
80577
          authtypecode: ""
80578
          value_builder: ""
80579
          isurl:
80580
          hidden: -6
80581
          frameworkcode: "HLD"
80582
          seealso: ""
80583
          link: ""
80584
          defaultvalue:
80585
80586
        - tagfield: "506"
80587
          tagsubfield: "u"
80588
          liblibrarian: "Uniform Resource Identifier"
80589
          libopac: "Uniform Resource Identifier"
80590
          repeatable: 1
80591
          mandatory: 0
80592
          kohafield: ""
80593
          tab: 5
80594
          authorised_value: ""
80595
          authtypecode: ""
80596
          value_builder: ""
80597
          isurl: 1
80598
          hidden: -6
80599
          frameworkcode: "HLD"
80600
          seealso: ""
80601
          link: ""
80602
          defaultvalue:
80603
80604
        - tagfield: "538"
80605
          tagsubfield: "3"
80606
          liblibrarian: "Materials specified"
80607
          libopac: "Materials specified"
80608
          repeatable: 0
80609
          mandatory: 0
80610
          kohafield: ""
80611
          tab: 5
80612
          authorised_value:
80613
          authtypecode:
80614
          value_builder: ""
80615
          isurl:
80616
          hidden: -6
80617
          frameworkcode: "HLD"
80618
          seealso: ""
80619
          link: ""
80620
          defaultvalue:
80621
80622
        - tagfield: "538"
80623
          tagsubfield: "5"
80624
          liblibrarian: "Institution to which field applies"
80625
          libopac: "Institution to which field applies"
80626
          repeatable: 1
80627
          mandatory: 0
80628
          kohafield: ""
80629
          tab: 5
80630
          authorised_value: ""
80631
          authtypecode: ""
80632
          value_builder: ""
80633
          isurl:
80634
          hidden: -6
80635
          frameworkcode: "HLD"
80636
          seealso: ""
80637
          link: ""
80638
          defaultvalue:
80639
80640
        - tagfield: "538"
80641
          tagsubfield: "6"
80642
          liblibrarian: "Linkage"
80643
          libopac: "Linkage"
80644
          repeatable: 0
80645
          mandatory: 0
80646
          kohafield: ""
80647
          tab: 5
80648
          authorised_value: ""
80649
          authtypecode: ""
80650
          value_builder: ""
80651
          isurl:
80652
          hidden: -6
80653
          frameworkcode: "HLD"
80654
          seealso: ""
80655
          link: ""
80656
          defaultvalue:
80657
80658
        - tagfield: "538"
80659
          tagsubfield: "8"
80660
          liblibrarian: "Field link and sequence number"
80661
          libopac: "Field link and sequence number"
80662
          repeatable: 1
80663
          mandatory: 0
80664
          kohafield: ""
80665
          tab: 5
80666
          authorised_value: ""
80667
          authtypecode: ""
80668
          value_builder: ""
80669
          isurl:
80670
          hidden: -6
80671
          frameworkcode: "HLD"
80672
          seealso: ""
80673
          link: ""
80674
          defaultvalue:
80675
80676
        - tagfield: "538"
80677
          tagsubfield: "a"
80678
          liblibrarian: "System details note"
80679
          libopac: "System details note"
80680
          repeatable: 0
80681
          mandatory: 0
80682
          kohafield: ""
80683
          tab: 5
80684
          authorised_value: ""
80685
          authtypecode: ""
80686
          value_builder: ""
80687
          isurl:
80688
          hidden: -1
80689
          frameworkcode: "HLD"
80690
          seealso: ""
80691
          link: ""
80692
          defaultvalue:
80693
80694
        - tagfield: "538"
80695
          tagsubfield: "i"
80696
          liblibrarian: "Display text"
80697
          libopac: "Display text"
80698
          repeatable: 0
80699
          mandatory: 0
80700
          kohafield: ""
80701
          tab: 5
80702
          authorised_value: ""
80703
          authtypecode: ""
80704
          value_builder: ""
80705
          isurl:
80706
          hidden: -1
80707
          frameworkcode: "HLD"
80708
          seealso: ""
80709
          link: ""
80710
          defaultvalue:
80711
80712
        - tagfield: "538"
80713
          tagsubfield: "u"
80714
          liblibrarian: "Uniform Resource Identifier"
80715
          libopac: "Uniform Resource Identifier"
80716
          repeatable: 1
80717
          mandatory: 0
80718
          kohafield: ""
80719
          tab: 5
80720
          authorised_value: ""
80721
          authtypecode: ""
80722
          value_builder: ""
80723
          isurl: 1
80724
          hidden: -1
80725
          frameworkcode: "HLD"
80726
          seealso: ""
80727
          link: ""
80728
          defaultvalue:
80729
80730
        - tagfield: "541"
80731
          tagsubfield: "3"
80732
          liblibrarian: "Materials specified"
80733
          libopac: "Materials specified"
80734
          repeatable: 0
80735
          mandatory: 0
80736
          kohafield: ""
80737
          tab: 5
80738
          authorised_value:
80739
          authtypecode:
80740
          value_builder: ""
80741
          isurl:
80742
          hidden: -6
80743
          frameworkcode: "HLD"
80744
          seealso: ""
80745
          link: ""
80746
          defaultvalue:
80747
80748
        - tagfield: "541"
80749
          tagsubfield: "5"
80750
          liblibrarian: "Institution to which field applies"
80751
          libopac: "Institution to which field applies"
80752
          repeatable: 0
80753
          mandatory: 0
80754
          kohafield: ""
80755
          tab: 5
80756
          authorised_value: ""
80757
          authtypecode: ""
80758
          value_builder: ""
80759
          isurl:
80760
          hidden: -6
80761
          frameworkcode: "HLD"
80762
          seealso: ""
80763
          link: ""
80764
          defaultvalue:
80765
80766
        - tagfield: "541"
80767
          tagsubfield: "6"
80768
          liblibrarian: "Linkage"
80769
          libopac: "Linkage"
80770
          repeatable: 0
80771
          mandatory: 0
80772
          kohafield: ""
80773
          tab: 5
80774
          authorised_value: ""
80775
          authtypecode: ""
80776
          value_builder: ""
80777
          isurl:
80778
          hidden: -6
80779
          frameworkcode: "HLD"
80780
          seealso: ""
80781
          link: ""
80782
          defaultvalue:
80783
80784
        - tagfield: "541"
80785
          tagsubfield: "8"
80786
          liblibrarian: "Field link and sequence number"
80787
          libopac: "Field link and sequence number"
80788
          repeatable: 1
80789
          mandatory: 0
80790
          kohafield: ""
80791
          tab: 5
80792
          authorised_value: ""
80793
          authtypecode: ""
80794
          value_builder: ""
80795
          isurl:
80796
          hidden: -6
80797
          frameworkcode: "HLD"
80798
          seealso: ""
80799
          link: ""
80800
          defaultvalue:
80801
80802
        - tagfield: "541"
80803
          tagsubfield: "a"
80804
          liblibrarian: "Source of acquisition"
80805
          libopac: "Source of acquisition"
80806
          repeatable: 0
80807
          mandatory: 0
80808
          kohafield: ""
80809
          tab: 5
80810
          authorised_value: ""
80811
          authtypecode: ""
80812
          value_builder: ""
80813
          isurl:
80814
          hidden: 1
80815
          frameworkcode: "HLD"
80816
          seealso: ""
80817
          link: ""
80818
          defaultvalue:
80819
80820
        - tagfield: "541"
80821
          tagsubfield: "b"
80822
          liblibrarian: "Address"
80823
          libopac: "Address"
80824
          repeatable: 0
80825
          mandatory: 0
80826
          kohafield: ""
80827
          tab: 5
80828
          authorised_value: ""
80829
          authtypecode: ""
80830
          value_builder: ""
80831
          isurl:
80832
          hidden: 1
80833
          frameworkcode: "HLD"
80834
          seealso: ""
80835
          link: ""
80836
          defaultvalue:
80837
80838
        - tagfield: "541"
80839
          tagsubfield: "c"
80840
          liblibrarian: "Method of acquisition"
80841
          libopac: "Method of acquisition"
80842
          repeatable: 0
80843
          mandatory: 0
80844
          kohafield: ""
80845
          tab: 5
80846
          authorised_value: ""
80847
          authtypecode: ""
80848
          value_builder: ""
80849
          isurl:
80850
          hidden: 1
80851
          frameworkcode: "HLD"
80852
          seealso: ""
80853
          link: ""
80854
          defaultvalue:
80855
80856
        - tagfield: "541"
80857
          tagsubfield: "d"
80858
          liblibrarian: "Date of acquisition"
80859
          libopac: "Date of acquisition"
80860
          repeatable: 0
80861
          mandatory: 0
80862
          kohafield: ""
80863
          tab: 5
80864
          authorised_value: ""
80865
          authtypecode: ""
80866
          value_builder: ""
80867
          isurl:
80868
          hidden: 1
80869
          frameworkcode: "HLD"
80870
          seealso: ""
80871
          link: ""
80872
          defaultvalue:
80873
80874
        - tagfield: "541"
80875
          tagsubfield: "e"
80876
          liblibrarian: "Accession number"
80877
          libopac: "Accession number"
80878
          repeatable: 0
80879
          mandatory: 0
80880
          kohafield: ""
80881
          tab: 5
80882
          authorised_value: ""
80883
          authtypecode: ""
80884
          value_builder: ""
80885
          isurl:
80886
          hidden: 1
80887
          frameworkcode: "HLD"
80888
          seealso: ""
80889
          link: ""
80890
          defaultvalue:
80891
80892
        - tagfield: "541"
80893
          tagsubfield: "f"
80894
          liblibrarian: "Owner"
80895
          libopac: "Owner"
80896
          repeatable: 0
80897
          mandatory: 0
80898
          kohafield: ""
80899
          tab: 5
80900
          authorised_value: ""
80901
          authtypecode: ""
80902
          value_builder: ""
80903
          isurl:
80904
          hidden: 1
80905
          frameworkcode: "HLD"
80906
          seealso: ""
80907
          link: ""
80908
          defaultvalue:
80909
80910
        - tagfield: "541"
80911
          tagsubfield: "h"
80912
          liblibrarian: "Purchase price"
80913
          libopac: "Purchase price"
80914
          repeatable: 0
80915
          mandatory: 0
80916
          kohafield: ""
80917
          tab: 5
80918
          authorised_value: ""
80919
          authtypecode: ""
80920
          value_builder: ""
80921
          isurl:
80922
          hidden: 1
80923
          frameworkcode: "HLD"
80924
          seealso: ""
80925
          link: ""
80926
          defaultvalue:
80927
80928
        - tagfield: "541"
80929
          tagsubfield: "n"
80930
          liblibrarian: "Extent"
80931
          libopac: "Extent"
80932
          repeatable: 1
80933
          mandatory: 0
80934
          kohafield: ""
80935
          tab: 5
80936
          authorised_value: ""
80937
          authtypecode: ""
80938
          value_builder: ""
80939
          isurl:
80940
          hidden: 1
80941
          frameworkcode: "HLD"
80942
          seealso: ""
80943
          link: ""
80944
          defaultvalue:
80945
80946
        - tagfield: "541"
80947
          tagsubfield: "o"
80948
          liblibrarian: "Type of unit"
80949
          libopac: "Type of unit"
80950
          repeatable: 1
80951
          mandatory: 0
80952
          kohafield: ""
80953
          tab: 5
80954
          authorised_value: ""
80955
          authtypecode: ""
80956
          value_builder: ""
80957
          isurl:
80958
          hidden: 1
80959
          frameworkcode: "HLD"
80960
          seealso: ""
80961
          link: ""
80962
          defaultvalue:
80963
80964
        - tagfield: "561"
80965
          tagsubfield: "3"
80966
          liblibrarian: "Materials specified"
80967
          libopac: "Materials specified"
80968
          repeatable: 0
80969
          mandatory: 0
80970
          kohafield: ""
80971
          tab: 5
80972
          authorised_value:
80973
          authtypecode:
80974
          value_builder: ""
80975
          isurl:
80976
          hidden: -6
80977
          frameworkcode: "HLD"
80978
          seealso: ""
80979
          link: ""
80980
          defaultvalue:
80981
80982
        - tagfield: "561"
80983
          tagsubfield: "5"
80984
          liblibrarian: "Institution to which field applies"
80985
          libopac: "Institution to which field applies"
80986
          repeatable: 0
80987
          mandatory: 0
80988
          kohafield: ""
80989
          tab: 5
80990
          authorised_value: ""
80991
          authtypecode: ""
80992
          value_builder: ""
80993
          isurl:
80994
          hidden: -6
80995
          frameworkcode: "HLD"
80996
          seealso: ""
80997
          link: ""
80998
          defaultvalue:
80999
81000
        - tagfield: "561"
81001
          tagsubfield: "6"
81002
          liblibrarian: "Linkage"
81003
          libopac: "Linkage"
81004
          repeatable: 0
81005
          mandatory: 0
81006
          kohafield: ""
81007
          tab: 5
81008
          authorised_value: ""
81009
          authtypecode: ""
81010
          value_builder: ""
81011
          isurl:
81012
          hidden: -6
81013
          frameworkcode: "HLD"
81014
          seealso: ""
81015
          link: ""
81016
          defaultvalue:
81017
81018
        - tagfield: "561"
81019
          tagsubfield: "8"
81020
          liblibrarian: "Field link and sequence number"
81021
          libopac: "Field link and sequence number"
81022
          repeatable: 1
81023
          mandatory: 0
81024
          kohafield: ""
81025
          tab: 5
81026
          authorised_value: ""
81027
          authtypecode: ""
81028
          value_builder: ""
81029
          isurl:
81030
          hidden: -6
81031
          frameworkcode: "HLD"
81032
          seealso: ""
81033
          link: ""
81034
          defaultvalue:
81035
81036
        - tagfield: "561"
81037
          tagsubfield: "a"
81038
          liblibrarian: "History"
81039
          libopac: "History"
81040
          repeatable: 0
81041
          mandatory: 0
81042
          kohafield: ""
81043
          tab: 5
81044
          authorised_value: ""
81045
          authtypecode: ""
81046
          value_builder: ""
81047
          isurl:
81048
          hidden: 6
81049
          frameworkcode: "HLD"
81050
          seealso: ""
81051
          link: ""
81052
          defaultvalue:
81053
81054
        - tagfield: "561"
81055
          tagsubfield: "b"
81056
          liblibrarian: "Time of collation [OBSOLETE]"
81057
          libopac: "Time of collation [OBSOLETE]"
81058
          repeatable: 0
81059
          mandatory: 0
81060
          kohafield: ""
81061
          tab: 5
81062
          authorised_value: ""
81063
          authtypecode: ""
81064
          value_builder: ""
81065
          isurl:
81066
          hidden: 6
81067
          frameworkcode: "HLD"
81068
          seealso: ""
81069
          link: ""
81070
          defaultvalue:
81071
81072
        - tagfield: "561"
81073
          tagsubfield: "u"
81074
          liblibrarian: "Uniform Resource Identifier"
81075
          libopac: "Uniform Resource Identifier"
81076
          repeatable: 1
81077
          mandatory: 0
81078
          kohafield: ""
81079
          tab: 5
81080
          authorised_value: ""
81081
          authtypecode: ""
81082
          value_builder: ""
81083
          isurl:
81084
          hidden: -6
81085
          frameworkcode: "HLD"
81086
          seealso: ""
81087
          link: ""
81088
          defaultvalue:
81089
81090
        - tagfield: "562"
81091
          tagsubfield: "3"
81092
          liblibrarian: "Materials specified"
81093
          libopac: "Materials specified"
81094
          repeatable: 0
81095
          mandatory: 0
81096
          kohafield: ""
81097
          tab: 5
81098
          authorised_value:
81099
          authtypecode:
81100
          value_builder: ""
81101
          isurl:
81102
          hidden: -6
81103
          frameworkcode: "HLD"
81104
          seealso: ""
81105
          link: ""
81106
          defaultvalue:
81107
81108
        - tagfield: "562"
81109
          tagsubfield: "5"
81110
          liblibrarian: "Institution to which field applies"
81111
          libopac: "Institution to which field applies"
81112
          repeatable: 0
81113
          mandatory: 0
81114
          kohafield: ""
81115
          tab: -1
81116
          authorised_value:
81117
          authtypecode:
81118
          value_builder: ""
81119
          isurl:
81120
          hidden: -6
81121
          frameworkcode: "HLD"
81122
          seealso: ""
81123
          link: ""
81124
          defaultvalue:
81125
81126
        - tagfield: "562"
81127
          tagsubfield: "6"
81128
          liblibrarian: "Linkage"
81129
          libopac: "Linkage"
81130
          repeatable: 0
81131
          mandatory: 0
81132
          kohafield: ""
81133
          tab: 5
81134
          authorised_value:
81135
          authtypecode:
81136
          value_builder: ""
81137
          isurl:
81138
          hidden: -6
81139
          frameworkcode: "HLD"
81140
          seealso: ""
81141
          link: ""
81142
          defaultvalue:
81143
81144
        - tagfield: "562"
81145
          tagsubfield: "8"
81146
          liblibrarian: "Field link and sequence number"
81147
          libopac: "Field link and sequence number"
81148
          repeatable: 1
81149
          mandatory: 0
81150
          kohafield: ""
81151
          tab: 5
81152
          authorised_value:
81153
          authtypecode:
81154
          value_builder: ""
81155
          isurl:
81156
          hidden: -6
81157
          frameworkcode: "HLD"
81158
          seealso: ""
81159
          link: ""
81160
          defaultvalue:
81161
81162
        - tagfield: "562"
81163
          tagsubfield: "a"
81164
          liblibrarian: "Identifying markings"
81165
          libopac: "Identifying markings"
81166
          repeatable: 1
81167
          mandatory: 0
81168
          kohafield: ""
81169
          tab: 5
81170
          authorised_value:
81171
          authtypecode:
81172
          value_builder: ""
81173
          isurl:
81174
          hidden: -1
81175
          frameworkcode: "HLD"
81176
          seealso: ""
81177
          link: ""
81178
          defaultvalue:
81179
81180
        - tagfield: "562"
81181
          tagsubfield: "b"
81182
          liblibrarian: "Copy identification"
81183
          libopac: "Copy identification"
81184
          repeatable: 1
81185
          mandatory: 0
81186
          kohafield: ""
81187
          tab: 5
81188
          authorised_value:
81189
          authtypecode:
81190
          value_builder: ""
81191
          isurl:
81192
          hidden: -1
81193
          frameworkcode: "HLD"
81194
          seealso: ""
81195
          link: ""
81196
          defaultvalue:
81197
81198
        - tagfield: "562"
81199
          tagsubfield: "c"
81200
          liblibrarian: "Version identification"
81201
          libopac: "Version identification"
81202
          repeatable: 1
81203
          mandatory: 0
81204
          kohafield: ""
81205
          tab: 5
81206
          authorised_value:
81207
          authtypecode:
81208
          value_builder: ""
81209
          isurl:
81210
          hidden: -1
81211
          frameworkcode: "HLD"
81212
          seealso: ""
81213
          link: ""
81214
          defaultvalue:
81215
81216
        - tagfield: "562"
81217
          tagsubfield: "d"
81218
          liblibrarian: "Presentation format"
81219
          libopac: "Presentation format"
81220
          repeatable: 1
81221
          mandatory: 0
81222
          kohafield: ""
81223
          tab: 5
81224
          authorised_value:
81225
          authtypecode:
81226
          value_builder: ""
81227
          isurl:
81228
          hidden: -1
81229
          frameworkcode: "HLD"
81230
          seealso: ""
81231
          link: ""
81232
          defaultvalue:
81233
81234
        - tagfield: "562"
81235
          tagsubfield: "e"
81236
          liblibrarian: "Number of copies"
81237
          libopac: "Number of copies"
81238
          repeatable: 1
81239
          mandatory: 0
81240
          kohafield: ""
81241
          tab: 5
81242
          authorised_value:
81243
          authtypecode:
81244
          value_builder: ""
81245
          isurl:
81246
          hidden: -1
81247
          frameworkcode: "HLD"
81248
          seealso: ""
81249
          link: ""
81250
          defaultvalue:
81251
81252
        - tagfield: "563"
81253
          tagsubfield: "3"
81254
          liblibrarian: "Materials specified"
81255
          libopac: "Materials specified"
81256
          repeatable: 0
81257
          mandatory: 0
81258
          kohafield: ""
81259
          tab: 5
81260
          authorised_value:
81261
          authtypecode:
81262
          value_builder: ""
81263
          isurl:
81264
          hidden: -6
81265
          frameworkcode: "HLD"
81266
          seealso: ""
81267
          link: ""
81268
          defaultvalue:
81269
81270
        - tagfield: "563"
81271
          tagsubfield: "5"
81272
          liblibrarian: "Institution to which field applies"
81273
          libopac: "Institution to which field applies"
81274
          repeatable: 0
81275
          mandatory: 0
81276
          kohafield: ""
81277
          tab: -1
81278
          authorised_value:
81279
          authtypecode:
81280
          value_builder: ""
81281
          isurl:
81282
          hidden: -6
81283
          frameworkcode: "HLD"
81284
          seealso: ""
81285
          link: ""
81286
          defaultvalue:
81287
81288
        - tagfield: "563"
81289
          tagsubfield: "6"
81290
          liblibrarian: "Linkage"
81291
          libopac: "Linkage"
81292
          repeatable: 0
81293
          mandatory: 0
81294
          kohafield: ""
81295
          tab: 5
81296
          authorised_value:
81297
          authtypecode:
81298
          value_builder: ""
81299
          isurl:
81300
          hidden: -6
81301
          frameworkcode: "HLD"
81302
          seealso: ""
81303
          link: ""
81304
          defaultvalue:
81305
81306
        - tagfield: "563"
81307
          tagsubfield: "8"
81308
          liblibrarian: "Field link and sequence number"
81309
          libopac: "Field link and sequence number"
81310
          repeatable: 1
81311
          mandatory: 0
81312
          kohafield: ""
81313
          tab: 5
81314
          authorised_value:
81315
          authtypecode:
81316
          value_builder: ""
81317
          isurl:
81318
          hidden: -6
81319
          frameworkcode: "HLD"
81320
          seealso: ""
81321
          link: ""
81322
          defaultvalue:
81323
81324
        - tagfield: "563"
81325
          tagsubfield: "a"
81326
          liblibrarian: "Binding note"
81327
          libopac: "Binding note"
81328
          repeatable: 0
81329
          mandatory: 0
81330
          kohafield: ""
81331
          tab: 5
81332
          authorised_value:
81333
          authtypecode:
81334
          value_builder: ""
81335
          isurl:
81336
          hidden: -1
81337
          frameworkcode: "HLD"
81338
          seealso: ""
81339
          link: ""
81340
          defaultvalue:
81341
81342
        - tagfield: "563"
81343
          tagsubfield: "u"
81344
          liblibrarian: "Uniform Resource Identifier"
81345
          libopac: "Uniform Resource Identifier"
81346
          repeatable: 1
81347
          mandatory: 0
81348
          kohafield: ""
81349
          tab: 5
81350
          authorised_value:
81351
          authtypecode:
81352
          value_builder: ""
81353
          isurl: 1
81354
          hidden: -1
81355
          frameworkcode: "HLD"
81356
          seealso: ""
81357
          link: ""
81358
          defaultvalue:
81359
81360
        - tagfield: "583"
81361
          tagsubfield: "2"
81362
          liblibrarian: "Source of term"
81363
          libopac: "Source of term"
81364
          repeatable: 0
81365
          mandatory: 0
81366
          kohafield: ""
81367
          tab: 5
81368
          authorised_value:
81369
          authtypecode:
81370
          value_builder: ""
81371
          isurl:
81372
          hidden: -6
81373
          frameworkcode: "HLD"
81374
          seealso: ""
81375
          link: ""
81376
          defaultvalue:
81377
81378
        - tagfield: "583"
81379
          tagsubfield: "3"
81380
          liblibrarian: "Materials specified"
81381
          libopac: "Materials specified"
81382
          repeatable: 0
81383
          mandatory: 0
81384
          kohafield: ""
81385
          tab: 5
81386
          authorised_value:
81387
          authtypecode:
81388
          value_builder: ""
81389
          isurl:
81390
          hidden: -6
81391
          frameworkcode: "HLD"
81392
          seealso: ""
81393
          link: ""
81394
          defaultvalue:
81395
81396
        - tagfield: "583"
81397
          tagsubfield: "5"
81398
          liblibrarian: "Institution to which field applies"
81399
          libopac: "Institution to which field applies"
81400
          repeatable: 0
81401
          mandatory: 0
81402
          kohafield: ""
81403
          tab: 5
81404
          authorised_value: ""
81405
          authtypecode: ""
81406
          value_builder: ""
81407
          isurl:
81408
          hidden: -6
81409
          frameworkcode: "HLD"
81410
          seealso: ""
81411
          link: ""
81412
          defaultvalue:
81413
81414
        - tagfield: "583"
81415
          tagsubfield: "6"
81416
          liblibrarian: "Linkage"
81417
          libopac: "Linkage"
81418
          repeatable: 0
81419
          mandatory: 0
81420
          kohafield: ""
81421
          tab: 5
81422
          authorised_value: ""
81423
          authtypecode: ""
81424
          value_builder: ""
81425
          isurl:
81426
          hidden: -6
81427
          frameworkcode: "HLD"
81428
          seealso: ""
81429
          link: ""
81430
          defaultvalue:
81431
81432
        - tagfield: "583"
81433
          tagsubfield: "8"
81434
          liblibrarian: "Field link and sequence number"
81435
          libopac: "Field link and sequence number"
81436
          repeatable: 1
81437
          mandatory: 0
81438
          kohafield: ""
81439
          tab: 5
81440
          authorised_value: ""
81441
          authtypecode: ""
81442
          value_builder: ""
81443
          isurl:
81444
          hidden: -6
81445
          frameworkcode: "HLD"
81446
          seealso: ""
81447
          link: ""
81448
          defaultvalue:
81449
81450
        - tagfield: "583"
81451
          tagsubfield: "a"
81452
          liblibrarian: "Action"
81453
          libopac: "Action"
81454
          repeatable: 0
81455
          mandatory: 0
81456
          kohafield: ""
81457
          tab: 5
81458
          authorised_value: ""
81459
          authtypecode: ""
81460
          value_builder: ""
81461
          isurl:
81462
          hidden: -1
81463
          frameworkcode: "HLD"
81464
          seealso: ""
81465
          link: ""
81466
          defaultvalue:
81467
81468
        - tagfield: "583"
81469
          tagsubfield: "b"
81470
          liblibrarian: "Action identification"
81471
          libopac: "Action identification"
81472
          repeatable: 1
81473
          mandatory: 0
81474
          kohafield: ""
81475
          tab: 5
81476
          authorised_value: ""
81477
          authtypecode: ""
81478
          value_builder: ""
81479
          isurl:
81480
          hidden: -1
81481
          frameworkcode: "HLD"
81482
          seealso: ""
81483
          link: ""
81484
          defaultvalue:
81485
81486
        - tagfield: "583"
81487
          tagsubfield: "c"
81488
          liblibrarian: "Time/date of action"
81489
          libopac: "Time/date of action"
81490
          repeatable: 1
81491
          mandatory: 0
81492
          kohafield: ""
81493
          tab: 5
81494
          authorised_value: ""
81495
          authtypecode: ""
81496
          value_builder: ""
81497
          isurl:
81498
          hidden: -1
81499
          frameworkcode: "HLD"
81500
          seealso: ""
81501
          link: ""
81502
          defaultvalue:
81503
81504
        - tagfield: "583"
81505
          tagsubfield: "d"
81506
          liblibrarian: "Action interval"
81507
          libopac: "Action interval"
81508
          repeatable: 1
81509
          mandatory: 0
81510
          kohafield: ""
81511
          tab: 5
81512
          authorised_value: ""
81513
          authtypecode: ""
81514
          value_builder: ""
81515
          isurl:
81516
          hidden: -1
81517
          frameworkcode: "HLD"
81518
          seealso: ""
81519
          link: ""
81520
          defaultvalue:
81521
81522
        - tagfield: "583"
81523
          tagsubfield: "e"
81524
          liblibrarian: "Contingency for action"
81525
          libopac: "Contingency for action"
81526
          repeatable: 1
81527
          mandatory: 0
81528
          kohafield: ""
81529
          tab: 5
81530
          authorised_value: ""
81531
          authtypecode: ""
81532
          value_builder: ""
81533
          isurl:
81534
          hidden: -1
81535
          frameworkcode: "HLD"
81536
          seealso: ""
81537
          link: ""
81538
          defaultvalue:
81539
81540
        - tagfield: "583"
81541
          tagsubfield: "f"
81542
          liblibrarian: "Authorization"
81543
          libopac: "Authorization"
81544
          repeatable: 1
81545
          mandatory: 0
81546
          kohafield: ""
81547
          tab: 5
81548
          authorised_value: ""
81549
          authtypecode: ""
81550
          value_builder: ""
81551
          isurl:
81552
          hidden: -1
81553
          frameworkcode: "HLD"
81554
          seealso: ""
81555
          link: ""
81556
          defaultvalue:
81557
81558
        - tagfield: "583"
81559
          tagsubfield: "h"
81560
          liblibrarian: "Jurisdiction"
81561
          libopac: "Jurisdiction"
81562
          repeatable: 1
81563
          mandatory: 0
81564
          kohafield: ""
81565
          tab: 5
81566
          authorised_value: ""
81567
          authtypecode: ""
81568
          value_builder: ""
81569
          isurl:
81570
          hidden: -1
81571
          frameworkcode: "HLD"
81572
          seealso: ""
81573
          link: ""
81574
          defaultvalue:
81575
81576
        - tagfield: "583"
81577
          tagsubfield: "i"
81578
          liblibrarian: "Method of action"
81579
          libopac: "Method of action"
81580
          repeatable: 1
81581
          mandatory: 0
81582
          kohafield: ""
81583
          tab: 5
81584
          authorised_value: ""
81585
          authtypecode: ""
81586
          value_builder: ""
81587
          isurl:
81588
          hidden: -1
81589
          frameworkcode: "HLD"
81590
          seealso: ""
81591
          link: ""
81592
          defaultvalue:
81593
81594
        - tagfield: "583"
81595
          tagsubfield: "j"
81596
          liblibrarian: "Site of action"
81597
          libopac: "Site of action"
81598
          repeatable: 1
81599
          mandatory: 0
81600
          kohafield: ""
81601
          tab: 5
81602
          authorised_value: ""
81603
          authtypecode: ""
81604
          value_builder: ""
81605
          isurl:
81606
          hidden: -1
81607
          frameworkcode: "HLD"
81608
          seealso: ""
81609
          link: ""
81610
          defaultvalue:
81611
81612
        - tagfield: "583"
81613
          tagsubfield: "k"
81614
          liblibrarian: "Action agent"
81615
          libopac: "Action agent"
81616
          repeatable: 1
81617
          mandatory: 0
81618
          kohafield: ""
81619
          tab: 5
81620
          authorised_value: ""
81621
          authtypecode: ""
81622
          value_builder: ""
81623
          isurl:
81624
          hidden: -1
81625
          frameworkcode: "HLD"
81626
          seealso: ""
81627
          link: ""
81628
          defaultvalue:
81629
81630
        - tagfield: "583"
81631
          tagsubfield: "l"
81632
          liblibrarian: "Status"
81633
          libopac: "Status"
81634
          repeatable: 1
81635
          mandatory: 0
81636
          kohafield: ""
81637
          tab: 5
81638
          authorised_value: ""
81639
          authtypecode: ""
81640
          value_builder: ""
81641
          isurl:
81642
          hidden: -1
81643
          frameworkcode: "HLD"
81644
          seealso: ""
81645
          link: ""
81646
          defaultvalue:
81647
81648
        - tagfield: "583"
81649
          tagsubfield: "n"
81650
          liblibrarian: "Extent"
81651
          libopac: "Extent"
81652
          repeatable: 1
81653
          mandatory: 0
81654
          kohafield: ""
81655
          tab: 5
81656
          authorised_value: ""
81657
          authtypecode: ""
81658
          value_builder: ""
81659
          isurl:
81660
          hidden: -1
81661
          frameworkcode: "HLD"
81662
          seealso: ""
81663
          link: ""
81664
          defaultvalue:
81665
81666
        - tagfield: "583"
81667
          tagsubfield: "o"
81668
          liblibrarian: "Type of unit"
81669
          libopac: "Type of unit"
81670
          repeatable: 1
81671
          mandatory: 0
81672
          kohafield: ""
81673
          tab: 5
81674
          authorised_value: ""
81675
          authtypecode: ""
81676
          value_builder: ""
81677
          isurl:
81678
          hidden: -1
81679
          frameworkcode: "HLD"
81680
          seealso: ""
81681
          link: ""
81682
          defaultvalue:
81683
81684
        - tagfield: "583"
81685
          tagsubfield: "u"
81686
          liblibrarian: "Uniform Resource Identifier"
81687
          libopac: "Uniform Resource Identifier"
81688
          repeatable: 1
81689
          mandatory: 0
81690
          kohafield: ""
81691
          tab: 5
81692
          authorised_value: ""
81693
          authtypecode: ""
81694
          value_builder: ""
81695
          isurl: 1
81696
          hidden: -1
81697
          frameworkcode: "HLD"
81698
          seealso: ""
81699
          link: ""
81700
          defaultvalue:
81701
81702
        - tagfield: "583"
81703
          tagsubfield: "x"
81704
          liblibrarian: "Nonpublic note"
81705
          libopac: "Nonpublic note"
81706
          repeatable: 1
81707
          mandatory: 0
81708
          kohafield: ""
81709
          tab: 5
81710
          authorised_value: ""
81711
          authtypecode: ""
81712
          value_builder: ""
81713
          isurl:
81714
          hidden: 4
81715
          frameworkcode: "HLD"
81716
          seealso: ""
81717
          link: ""
81718
          defaultvalue:
81719
81720
        - tagfield: "583"
81721
          tagsubfield: "z"
81722
          liblibrarian: "Public note"
81723
          libopac: "Public note"
81724
          repeatable: 1
81725
          mandatory: 0
81726
          kohafield: ""
81727
          tab: 5
81728
          authorised_value: ""
81729
          authtypecode: ""
81730
          value_builder: ""
81731
          isurl:
81732
          hidden: -1
81733
          frameworkcode: "HLD"
81734
          seealso: ""
81735
          link: ""
81736
          defaultvalue:
81737
81738
        - tagfield: "842"
81739
          tagsubfield: "6"
81740
          liblibrarian: "Linkage"
81741
          libopac: "Linkage"
81742
          repeatable: 0
81743
          mandatory: 0
81744
          kohafield: ""
81745
          tab: 8
81746
          authorised_value: ""
81747
          authtypecode: ""
81748
          value_builder: ""
81749
          isurl:
81750
          hidden: -6
81751
          frameworkcode: "HLD"
81752
          seealso: ""
81753
          link: ""
81754
          defaultvalue:
81755
81756
        - tagfield: "842"
81757
          tagsubfield: "8"
81758
          liblibrarian: "Field link and sequence number"
81759
          libopac: "Field link and sequence number"
81760
          repeatable: 1
81761
          mandatory: 0
81762
          kohafield: ""
81763
          tab: 8
81764
          authorised_value: ""
81765
          authtypecode: ""
81766
          value_builder: ""
81767
          isurl:
81768
          hidden: -6
81769
          frameworkcode: "HLD"
81770
          seealso: ""
81771
          link: ""
81772
          defaultvalue:
81773
81774
        - tagfield: "842"
81775
          tagsubfield: "a"
81776
          liblibrarian: "Textual physical form designator"
81777
          libopac: "Textual physical form designator"
81778
          repeatable: 0
81779
          mandatory: 0
81780
          kohafield: ""
81781
          tab: 8
81782
          authorised_value: ""
81783
          authtypecode: ""
81784
          value_builder: ""
81785
          isurl:
81786
          hidden: -1
81787
          frameworkcode: "HLD"
81788
          seealso: ""
81789
          link: ""
81790
          defaultvalue:
81791
81792
        - tagfield: "843"
81793
          tagsubfield: "3"
81794
          liblibrarian: "Materials specified"
81795
          libopac: "Materials specified"
81796
          repeatable: 0
81797
          mandatory: 0
81798
          kohafield: ""
81799
          tab: 8
81800
          authorised_value:
81801
          authtypecode:
81802
          value_builder: ""
81803
          isurl:
81804
          hidden: -6
81805
          frameworkcode: "HLD"
81806
          seealso: ""
81807
          link: ""
81808
          defaultvalue:
81809
81810
        - tagfield: "843"
81811
          tagsubfield: "5"
81812
          liblibrarian: "Institution to which field applies"
81813
          libopac: "Institution to which field applies"
81814
          repeatable: 0
81815
          mandatory: 0
81816
          kohafield: ""
81817
          tab: 8
81818
          authorised_value:
81819
          authtypecode:
81820
          value_builder: ""
81821
          isurl:
81822
          hidden: -6
81823
          frameworkcode: "HLD"
81824
          seealso: ""
81825
          link: ""
81826
          defaultvalue:
81827
81828
        - tagfield: "843"
81829
          tagsubfield: "6"
81830
          liblibrarian: "Linkage"
81831
          libopac: "Linkage"
81832
          repeatable: 0
81833
          mandatory: 0
81834
          kohafield: ""
81835
          tab: 8
81836
          authorised_value:
81837
          authtypecode:
81838
          value_builder: ""
81839
          isurl:
81840
          hidden: -6
81841
          frameworkcode: "HLD"
81842
          seealso: ""
81843
          link: ""
81844
          defaultvalue:
81845
81846
        - tagfield: "843"
81847
          tagsubfield: "7"
81848
          liblibrarian: "Fixed-length data elements of reproduction"
81849
          libopac: "Fixed-length data elements of reproduction"
81850
          repeatable: 0
81851
          mandatory: 0
81852
          kohafield: ""
81853
          tab: 8
81854
          authorised_value:
81855
          authtypecode:
81856
          value_builder: ""
81857
          isurl:
81858
          hidden: -6
81859
          frameworkcode: "HLD"
81860
          seealso: ""
81861
          link: ""
81862
          defaultvalue:
81863
81864
        - tagfield: "843"
81865
          tagsubfield: "8"
81866
          liblibrarian: "Field link and sequence number"
81867
          libopac: "Field link and sequence number"
81868
          repeatable: 1
81869
          mandatory: 0
81870
          kohafield: ""
81871
          tab: 8
81872
          authorised_value:
81873
          authtypecode:
81874
          value_builder: ""
81875
          isurl:
81876
          hidden: -6
81877
          frameworkcode: "HLD"
81878
          seealso: ""
81879
          link: ""
81880
          defaultvalue:
81881
81882
        - tagfield: "843"
81883
          tagsubfield: "a"
81884
          liblibrarian: "Type of reproduction"
81885
          libopac: "Type of reproduction"
81886
          repeatable: 0
81887
          mandatory: 0
81888
          kohafield: ""
81889
          tab: 8
81890
          authorised_value:
81891
          authtypecode:
81892
          value_builder: ""
81893
          isurl:
81894
          hidden: -1
81895
          frameworkcode: "HLD"
81896
          seealso: ""
81897
          link: ""
81898
          defaultvalue:
81899
81900
        - tagfield: "843"
81901
          tagsubfield: "b"
81902
          liblibrarian: "Place of reproduction"
81903
          libopac: "Place of reproduction"
81904
          repeatable: 1
81905
          mandatory: 0
81906
          kohafield: ""
81907
          tab: 8
81908
          authorised_value:
81909
          authtypecode:
81910
          value_builder: ""
81911
          isurl:
81912
          hidden: -1
81913
          frameworkcode: "HLD"
81914
          seealso: ""
81915
          link: ""
81916
          defaultvalue:
81917
81918
        - tagfield: "843"
81919
          tagsubfield: "c"
81920
          liblibrarian: "Agency responsible for reproduction"
81921
          libopac: "Agency responsible for reproduction"
81922
          repeatable: 1
81923
          mandatory: 0
81924
          kohafield: ""
81925
          tab: 8
81926
          authorised_value:
81927
          authtypecode:
81928
          value_builder: ""
81929
          isurl:
81930
          hidden: -1
81931
          frameworkcode: "HLD"
81932
          seealso: ""
81933
          link: ""
81934
          defaultvalue:
81935
81936
        - tagfield: "843"
81937
          tagsubfield: "d"
81938
          liblibrarian: "Date of reproduction"
81939
          libopac: "Date of reproduction"
81940
          repeatable: 0
81941
          mandatory: 0
81942
          kohafield: ""
81943
          tab: 8
81944
          authorised_value:
81945
          authtypecode:
81946
          value_builder: ""
81947
          isurl:
81948
          hidden: -1
81949
          frameworkcode: "HLD"
81950
          seealso: ""
81951
          link: ""
81952
          defaultvalue:
81953
81954
        - tagfield: "843"
81955
          tagsubfield: "e"
81956
          liblibrarian: "Physical description of reproduction"
81957
          libopac: "Physical description of reproduction"
81958
          repeatable: 0
81959
          mandatory: 0
81960
          kohafield: ""
81961
          tab: 8
81962
          authorised_value:
81963
          authtypecode:
81964
          value_builder: ""
81965
          isurl:
81966
          hidden: -1
81967
          frameworkcode: "HLD"
81968
          seealso: ""
81969
          link: ""
81970
          defaultvalue:
81971
81972
        - tagfield: "843"
81973
          tagsubfield: "f"
81974
          liblibrarian: "Series statement of reproduction"
81975
          libopac: "Series statement of reproduction"
81976
          repeatable: 1
81977
          mandatory: 0
81978
          kohafield: ""
81979
          tab: 8
81980
          authorised_value:
81981
          authtypecode:
81982
          value_builder: ""
81983
          isurl:
81984
          hidden: -1
81985
          frameworkcode: "HLD"
81986
          seealso: ""
81987
          link: ""
81988
          defaultvalue:
81989
81990
        - tagfield: "843"
81991
          tagsubfield: "m"
81992
          liblibrarian: "Dates of publication and/or sequential designation of issues reproduced"
81993
          libopac: "Dates of publication and/or sequential designation of issues reproduced"
81994
          repeatable: 1
81995
          mandatory: 0
81996
          kohafield: ""
81997
          tab: 8
81998
          authorised_value:
81999
          authtypecode:
82000
          value_builder: ""
82001
          isurl:
82002
          hidden: -1
82003
          frameworkcode: "HLD"
82004
          seealso: ""
82005
          link: ""
82006
          defaultvalue:
82007
82008
        - tagfield: "843"
82009
          tagsubfield: "n"
82010
          liblibrarian: "Note about reproduction"
82011
          libopac: "Note about reproduction"
82012
          repeatable: 1
82013
          mandatory: 0
82014
          kohafield: ""
82015
          tab: 8
82016
          authorised_value:
82017
          authtypecode:
82018
          value_builder: ""
82019
          isurl:
82020
          hidden: -1
82021
          frameworkcode: "HLD"
82022
          seealso: ""
82023
          link: ""
82024
          defaultvalue:
82025
82026
        - tagfield: "844"
82027
          tagsubfield: "6"
82028
          liblibrarian: "Linkage"
82029
          libopac: "Linkage"
82030
          repeatable: 0
82031
          mandatory: 0
82032
          kohafield: ""
82033
          tab: 8
82034
          authorised_value: ""
82035
          authtypecode: ""
82036
          value_builder: ""
82037
          isurl:
82038
          hidden: -6
82039
          frameworkcode: "HLD"
82040
          seealso: ""
82041
          link: ""
82042
          defaultvalue:
82043
82044
        - tagfield: "844"
82045
          tagsubfield: "8"
82046
          liblibrarian: "Field link and sequence number"
82047
          libopac: "Field link and sequence number"
82048
          repeatable: 1
82049
          mandatory: 0
82050
          kohafield: ""
82051
          tab: 8
82052
          authorised_value: ""
82053
          authtypecode: ""
82054
          value_builder: ""
82055
          isurl:
82056
          hidden: -6
82057
          frameworkcode: "HLD"
82058
          seealso: ""
82059
          link: ""
82060
          defaultvalue:
82061
82062
        - tagfield: "844"
82063
          tagsubfield: "a"
82064
          liblibrarian: "Name of unit"
82065
          libopac: "Name of unit"
82066
          repeatable: 0
82067
          mandatory: 0
82068
          kohafield: ""
82069
          tab: 8
82070
          authorised_value: ""
82071
          authtypecode: ""
82072
          value_builder: ""
82073
          isurl:
82074
          hidden: -1
82075
          frameworkcode: "HLD"
82076
          seealso: ""
82077
          link: ""
82078
          defaultvalue:
82079
82080
        - tagfield: "845"
82081
          tagsubfield: "2"
82082
          liblibrarian: "Source of term"
82083
          libopac: "Source of term"
82084
          repeatable: 0
82085
          mandatory: 0
82086
          kohafield: ""
82087
          tab: 8
82088
          authorised_value:
82089
          authtypecode:
82090
          value_builder: ""
82091
          isurl:
82092
          hidden: -6
82093
          frameworkcode: "HLD"
82094
          seealso: ""
82095
          link: ""
82096
          defaultvalue:
82097
82098
        - tagfield: "845"
82099
          tagsubfield: "3"
82100
          liblibrarian: "Materials specified"
82101
          libopac: "Materials specified"
82102
          repeatable: 0
82103
          mandatory: 0
82104
          kohafield: ""
82105
          tab: 8
82106
          authorised_value:
82107
          authtypecode:
82108
          value_builder: ""
82109
          isurl:
82110
          hidden: -6
82111
          frameworkcode: "HLD"
82112
          seealso: ""
82113
          link: ""
82114
          defaultvalue:
82115
82116
        - tagfield: "845"
82117
          tagsubfield: "5"
82118
          liblibrarian: "Institution to which field applies"
82119
          libopac: "Institution to which field applies"
82120
          repeatable: 0
82121
          mandatory: 0
82122
          kohafield: ""
82123
          tab: 8
82124
          authorised_value:
82125
          authtypecode:
82126
          value_builder: ""
82127
          isurl:
82128
          hidden: -6
82129
          frameworkcode: "HLD"
82130
          seealso: ""
82131
          link: ""
82132
          defaultvalue:
82133
82134
        - tagfield: "845"
82135
          tagsubfield: "6"
82136
          liblibrarian: "Linkage"
82137
          libopac: "Linkage"
82138
          repeatable: 0
82139
          mandatory: 0
82140
          kohafield: ""
82141
          tab: 8
82142
          authorised_value:
82143
          authtypecode:
82144
          value_builder: ""
82145
          isurl:
82146
          hidden: -6
82147
          frameworkcode: "HLD"
82148
          seealso: ""
82149
          link: ""
82150
          defaultvalue:
82151
82152
        - tagfield: "845"
82153
          tagsubfield: "8"
82154
          liblibrarian: "Field link and sequence number"
82155
          libopac: "Field link and sequence number"
82156
          repeatable: 1
82157
          mandatory: 0
82158
          kohafield: ""
82159
          tab: 8
82160
          authorised_value:
82161
          authtypecode:
82162
          value_builder: ""
82163
          isurl:
82164
          hidden: -6
82165
          frameworkcode: "HLD"
82166
          seealso: ""
82167
          link: ""
82168
          defaultvalue:
82169
82170
        - tagfield: "845"
82171
          tagsubfield: "a"
82172
          liblibrarian: "Terms governing use and reproduction"
82173
          libopac: "Terms governing use and reproduction"
82174
          repeatable: 0
82175
          mandatory: 0
82176
          kohafield: ""
82177
          tab: 8
82178
          authorised_value:
82179
          authtypecode:
82180
          value_builder: ""
82181
          isurl:
82182
          hidden: -6
82183
          frameworkcode: "HLD"
82184
          seealso: ""
82185
          link: ""
82186
          defaultvalue:
82187
82188
        - tagfield: "845"
82189
          tagsubfield: "b"
82190
          liblibrarian: "Jurisdiction"
82191
          libopac: "Jurisdiction"
82192
          repeatable: 0
82193
          mandatory: 0
82194
          kohafield: ""
82195
          tab: 8
82196
          authorised_value:
82197
          authtypecode:
82198
          value_builder: ""
82199
          isurl:
82200
          hidden: -6
82201
          frameworkcode: "HLD"
82202
          seealso: ""
82203
          link: ""
82204
          defaultvalue:
82205
82206
        - tagfield: "845"
82207
          tagsubfield: "c"
82208
          liblibrarian: "Authorization"
82209
          libopac: "Authorization"
82210
          repeatable: 0
82211
          mandatory: 0
82212
          kohafield: ""
82213
          tab: 8
82214
          authorised_value:
82215
          authtypecode:
82216
          value_builder: ""
82217
          isurl:
82218
          hidden: -6
82219
          frameworkcode: "HLD"
82220
          seealso: ""
82221
          link: ""
82222
          defaultvalue:
82223
82224
        - tagfield: "845"
82225
          tagsubfield: "d"
82226
          liblibrarian: "Authorized users"
82227
          libopac: "Authorized users"
82228
          repeatable: 0
82229
          mandatory: 0
82230
          kohafield: ""
82231
          tab: 8
82232
          authorised_value:
82233
          authtypecode:
82234
          value_builder: ""
82235
          isurl:
82236
          hidden: -6
82237
          frameworkcode: "HLD"
82238
          seealso: ""
82239
          link: ""
82240
          defaultvalue:
82241
82242
        - tagfield: "845"
82243
          tagsubfield: "f"
82244
          liblibrarian: "Use and reproduction rights"
82245
          libopac: "Use and reproduction rights"
82246
          repeatable: 1
82247
          mandatory: 0
82248
          kohafield: ""
82249
          tab: 8
82250
          authorised_value:
82251
          authtypecode:
82252
          value_builder: ""
82253
          isurl:
82254
          hidden: -6
82255
          frameworkcode: "HLD"
82256
          seealso: ""
82257
          link: ""
82258
          defaultvalue:
82259
82260
        - tagfield: "845"
82261
          tagsubfield: "g"
82262
          liblibrarian: "Availability date"
82263
          libopac: "Availability date"
82264
          repeatable: 1
82265
          mandatory: 0
82266
          kohafield: ""
82267
          tab: 8
82268
          authorised_value:
82269
          authtypecode:
82270
          value_builder: ""
82271
          isurl:
82272
          hidden: -6
82273
          frameworkcode: "HLD"
82274
          seealso: ""
82275
          link: ""
82276
          defaultvalue:
82277
82278
        - tagfield: "845"
82279
          tagsubfield: "q"
82280
          liblibrarian: "Supplying agency"
82281
          libopac: "Supplying agency"
82282
          repeatable: 0
82283
          mandatory: 0
82284
          kohafield: ""
82285
          tab: 8
82286
          authorised_value:
82287
          authtypecode:
82288
          value_builder: ""
82289
          isurl:
82290
          hidden: -6
82291
          frameworkcode: "HLD"
82292
          seealso: ""
82293
          link: ""
82294
          defaultvalue:
82295
82296
        - tagfield: "845"
82297
          tagsubfield: "u"
82298
          liblibrarian: "Uniform Resource Identifier"
82299
          libopac: "Uniform Resource Identifier"
82300
          repeatable: 1
82301
          mandatory: 0
82302
          kohafield: ""
82303
          tab: 8
82304
          authorised_value:
82305
          authtypecode:
82306
          value_builder: ""
82307
          isurl: 1
82308
          hidden: -6
82309
          frameworkcode: "HLD"
82310
          seealso: ""
82311
          link: ""
82312
          defaultvalue:
82313
82314
        - tagfield: "852"
82315
          tagsubfield: "2"
82316
          liblibrarian: "Source of classification or shelving scheme"
82317
          libopac: "Source of classification or shelving scheme"
82318
          repeatable: 0
82319
          mandatory: 0
82320
          kohafield: ""
82321
          tab: 8
82322
          authorised_value: ""
82323
          authtypecode: ""
82324
          value_builder: ""
82325
          isurl:
82326
          hidden: 5
82327
          frameworkcode: "HLD"
82328
          seealso: ""
82329
          link: ""
82330
          defaultvalue:
82331
82332
        - tagfield: "852"
82333
          tagsubfield: "3"
82334
          liblibrarian: "Materials specified"
82335
          libopac: "Materials specified"
82336
          repeatable: 0
82337
          mandatory: 0
82338
          kohafield: ""
82339
          tab: 8
82340
          authorised_value: ""
82341
          authtypecode: ""
82342
          value_builder: ""
82343
          isurl:
82344
          hidden: 5
82345
          frameworkcode: "HLD"
82346
          seealso: ""
82347
          link: ""
82348
          defaultvalue:
82349
82350
        - tagfield: "852"
82351
          tagsubfield: "6"
82352
          liblibrarian: "Linkage"
82353
          libopac: "Linkage"
82354
          repeatable: 0
82355
          mandatory: 0
82356
          kohafield: ""
82357
          tab: 8
82358
          authorised_value: ""
82359
          authtypecode: ""
82360
          value_builder: ""
82361
          isurl:
82362
          hidden: 5
82363
          frameworkcode: "HLD"
82364
          seealso: ""
82365
          link: ""
82366
          defaultvalue:
82367
82368
        - tagfield: "852"
82369
          tagsubfield: "8"
82370
          liblibrarian: "Sequence number"
82371
          libopac: "Sequence number"
82372
          repeatable: 0
82373
          mandatory: 0
82374
          kohafield: ""
82375
          tab: 8
82376
          authorised_value: ""
82377
          authtypecode: ""
82378
          value_builder: ""
82379
          isurl:
82380
          hidden: 5
82381
          frameworkcode: "HLD"
82382
          seealso: ""
82383
          link: ""
82384
          defaultvalue:
82385
82386
        - tagfield: "852"
82387
          tagsubfield: "a"
82388
          liblibrarian: "Location"
82389
          libopac: "Location"
82390
          repeatable: 0
82391
          mandatory: 0
82392
          kohafield: ""
82393
          tab: 8
82394
          authorised_value: ""
82395
          authtypecode: ""
82396
          value_builder: ""
82397
          isurl:
82398
          hidden: 4
82399
          frameworkcode: "HLD"
82400
          seealso: ""
82401
          link: ""
82402
          defaultvalue:
82403
82404
        - tagfield: "852"
82405
          tagsubfield: "b"
82406
          liblibrarian: "Sublocation or collection"
82407
          libopac: "Sublocation or collection"
82408
          repeatable: 1
82409
          mandatory: 0
82410
          kohafield: "holdings.holdingbranch"
82411
          tab: 8
82412
          authorised_value: "branches"
82413
          authtypecode: ""
82414
          value_builder: ""
82415
          isurl:
82416
          hidden: 4
82417
          frameworkcode: "HLD"
82418
          seealso: ""
82419
          link: ""
82420
          defaultvalue:
82421
82422
        - tagfield: "852"
82423
          tagsubfield: "c"
82424
          liblibrarian: "Shelving location"
82425
          libopac: "Shelving location"
82426
          repeatable: 1
82427
          mandatory: 0
82428
          kohafield: "holdings.location"
82429
          tab: 8
82430
          authorised_value: "LOC"
82431
          authtypecode: ""
82432
          value_builder: ""
82433
          isurl:
82434
          hidden: 4
82435
          frameworkcode: "HLD"
82436
          seealso: ""
82437
          link: ""
82438
          defaultvalue:
82439
82440
        - tagfield: "852"
82441
          tagsubfield: "d"
82442
          liblibrarian: "Former shelving location"
82443
          libopac: "Former shelving location"
82444
          repeatable: 1
82445
          mandatory: 0
82446
          kohafield: ""
82447
          tab: 8
82448
          authorised_value: ""
82449
          authtypecode: ""
82450
          value_builder: ""
82451
          isurl:
82452
          hidden: 1
82453
          frameworkcode: "HLD"
82454
          seealso: ""
82455
          link: ""
82456
          defaultvalue:
82457
82458
        - tagfield: "852"
82459
          tagsubfield: "e"
82460
          liblibrarian: "Address"
82461
          libopac: "Address"
82462
          repeatable: 1
82463
          mandatory: 0
82464
          kohafield: ""
82465
          tab: 8
82466
          authorised_value: ""
82467
          authtypecode: ""
82468
          value_builder: ""
82469
          isurl:
82470
          hidden: 4
82471
          frameworkcode: "HLD"
82472
          seealso: ""
82473
          link: ""
82474
          defaultvalue:
82475
82476
        - tagfield: "852"
82477
          tagsubfield: "f"
82478
          liblibrarian: "Coded location qualifier"
82479
          libopac: "Coded location qualifier"
82480
          repeatable: 1
82481
          mandatory: 0
82482
          kohafield: ""
82483
          tab: 8
82484
          authorised_value: ""
82485
          authtypecode: ""
82486
          value_builder: ""
82487
          isurl:
82488
          hidden: 4
82489
          frameworkcode: "HLD"
82490
          seealso: ""
82491
          link: ""
82492
          defaultvalue:
82493
82494
        - tagfield: "852"
82495
          tagsubfield: "g"
82496
          liblibrarian: "Non-coded location qualifier"
82497
          libopac: "Non-coded location qualifier"
82498
          repeatable: 1
82499
          mandatory: 0
82500
          kohafield: "holdings.ccode"
82501
          tab: 8
82502
          authorised_value: "CCODE"
82503
          authtypecode: ""
82504
          value_builder: ""
82505
          isurl:
82506
          hidden: 4
82507
          frameworkcode: "HLD"
82508
          seealso: ""
82509
          link: ""
82510
          defaultvalue:
82511
82512
        - tagfield: "852"
82513
          tagsubfield: "h"
82514
          liblibrarian: "Classification part"
82515
          libopac: "Classification part"
82516
          repeatable: 0
82517
          mandatory: 0
82518
          kohafield: "holdings.callnumber"
82519
          tab: 8
82520
          authorised_value: ""
82521
          authtypecode: ""
82522
          value_builder: ""
82523
          isurl:
82524
          hidden: 4
82525
          frameworkcode: "HLD"
82526
          seealso: ""
82527
          link: ""
82528
          defaultvalue:
82529
82530
        - tagfield: "852"
82531
          tagsubfield: "i"
82532
          liblibrarian: "Item part"
82533
          libopac: "Item part"
82534
          repeatable: 1
82535
          mandatory: 0
82536
          kohafield: ""
82537
          tab: 8
82538
          authorised_value: ""
82539
          authtypecode: ""
82540
          value_builder: ""
82541
          isurl:
82542
          hidden: 4
82543
          frameworkcode: "HLD"
82544
          seealso: ""
82545
          link: ""
82546
          defaultvalue:
82547
82548
        - tagfield: "852"
82549
          tagsubfield: "j"
82550
          liblibrarian: "Shelving control number"
82551
          libopac: "Shelving control number"
82552
          repeatable: 0
82553
          mandatory: 0
82554
          kohafield: ""
82555
          tab: 8
82556
          authorised_value: ""
82557
          authtypecode: ""
82558
          value_builder: ""
82559
          isurl:
82560
          hidden: 4
82561
          frameworkcode: "HLD"
82562
          seealso: ""
82563
          link: ""
82564
          defaultvalue:
82565
82566
        - tagfield: "852"
82567
          tagsubfield: "k"
82568
          liblibrarian: "Call number prefix"
82569
          libopac: "Call number prefix"
82570
          repeatable: 1
82571
          mandatory: 0
82572
          kohafield: "holdings.callnumber"
82573
          tab: 8
82574
          authorised_value: ""
82575
          authtypecode: ""
82576
          value_builder: ""
82577
          isurl:
82578
          hidden: 4
82579
          frameworkcode: "HLD"
82580
          seealso: ""
82581
          link: ""
82582
          defaultvalue:
82583
82584
        - tagfield: "852"
82585
          tagsubfield: "l"
82586
          liblibrarian: "Shelving form of title"
82587
          libopac: "Shelving form of title"
82588
          repeatable: 0
82589
          mandatory: 0
82590
          kohafield: "holdings.callnumber"
82591
          tab: 8
82592
          authorised_value: ""
82593
          authtypecode: ""
82594
          value_builder: ""
82595
          isurl:
82596
          hidden: 4
82597
          frameworkcode: "HLD"
82598
          seealso: ""
82599
          link: ""
82600
          defaultvalue:
82601
82602
        - tagfield: "852"
82603
          tagsubfield: "m"
82604
          liblibrarian: "Call number suffix"
82605
          libopac: "Call number suffix"
82606
          repeatable: 1
82607
          mandatory: 0
82608
          kohafield: "holdings.callnumber"
82609
          tab: 8
82610
          authorised_value: ""
82611
          authtypecode: ""
82612
          value_builder: ""
82613
          isurl:
82614
          hidden: 4
82615
          frameworkcode: "HLD"
82616
          seealso: ""
82617
          link: ""
82618
          defaultvalue:
82619
82620
        - tagfield: "852"
82621
          tagsubfield: "n"
82622
          liblibrarian: "Country code"
82623
          libopac: "Country code"
82624
          repeatable: 0
82625
          mandatory: 0
82626
          kohafield: ""
82627
          tab: 8
82628
          authorised_value: ""
82629
          authtypecode: ""
82630
          value_builder: ""
82631
          isurl:
82632
          hidden: 4
82633
          frameworkcode: "HLD"
82634
          seealso: ""
82635
          link: ""
82636
          defaultvalue:
82637
82638
        - tagfield: "852"
82639
          tagsubfield: "p"
82640
          liblibrarian: "Piece designation"
82641
          libopac: "Piece designation"
82642
          repeatable: 0
82643
          mandatory: 0
82644
          kohafield: ""
82645
          tab: 8
82646
          authorised_value: ""
82647
          authtypecode: ""
82648
          value_builder: ""
82649
          isurl:
82650
          hidden: 4
82651
          frameworkcode: "HLD"
82652
          seealso: ""
82653
          link: ""
82654
          defaultvalue:
82655
82656
        - tagfield: "852"
82657
          tagsubfield: "q"
82658
          liblibrarian: "Piece physical condition"
82659
          libopac: "Piece physical condition"
82660
          repeatable: 0
82661
          mandatory: 0
82662
          kohafield: ""
82663
          tab: 8
82664
          authorised_value: ""
82665
          authtypecode: ""
82666
          value_builder: ""
82667
          isurl:
82668
          hidden: 4
82669
          frameworkcode: "HLD"
82670
          seealso: ""
82671
          link: ""
82672
          defaultvalue:
82673
82674
        - tagfield: "852"
82675
          tagsubfield: "s"
82676
          liblibrarian: "Copyright article-fee code"
82677
          libopac: "Copyright article-fee code"
82678
          repeatable: 1
82679
          mandatory: 0
82680
          kohafield: ""
82681
          tab: 8
82682
          authorised_value: ""
82683
          authtypecode: ""
82684
          value_builder: ""
82685
          isurl:
82686
          hidden: 4
82687
          frameworkcode: "HLD"
82688
          seealso: ""
82689
          link: ""
82690
          defaultvalue:
82691
82692
        - tagfield: "852"
82693
          tagsubfield: "t"
82694
          liblibrarian: "Copy number"
82695
          libopac: "Copy number"
82696
          repeatable: 0
82697
          mandatory: 0
82698
          kohafield: ""
82699
          tab: 8
82700
          authorised_value: ""
82701
          authtypecode: ""
82702
          value_builder: ""
82703
          isurl:
82704
          hidden: 4
82705
          frameworkcode: "HLD"
82706
          seealso: ""
82707
          link: ""
82708
          defaultvalue:
82709
82710
        - tagfield: "852"
82711
          tagsubfield: "u"
82712
          liblibrarian: "Uniform Resource Identifier"
82713
          libopac: "Uniform Resource Identifier"
82714
          repeatable: 1
82715
          mandatory: 0
82716
          kohafield: ""
82717
          tab: 8
82718
          authorised_value: ""
82719
          authtypecode: ""
82720
          value_builder: ""
82721
          isurl: 1
82722
          hidden: 4
82723
          frameworkcode: "HLD"
82724
          seealso: ""
82725
          link: ""
82726
          defaultvalue:
82727
82728
        - tagfield: "852"
82729
          tagsubfield: "x"
82730
          liblibrarian: "Nonpublic note"
82731
          libopac: "Nonpublic note"
82732
          repeatable: 1
82733
          mandatory: 0
82734
          kohafield: ""
82735
          tab: 8
82736
          authorised_value: ""
82737
          authtypecode: ""
82738
          value_builder: ""
82739
          isurl:
82740
          hidden: 4
82741
          frameworkcode: "HLD"
82742
          seealso: ""
82743
          link: ""
82744
          defaultvalue:
82745
82746
        - tagfield: "852"
82747
          tagsubfield: "z"
82748
          liblibrarian: "Public note"
82749
          libopac: "Public note"
82750
          repeatable: 1
82751
          mandatory: 0
82752
          kohafield: "holdings.public_note"
82753
          tab: 8
82754
          authorised_value: ""
82755
          authtypecode: ""
82756
          value_builder: ""
82757
          isurl:
82758
          hidden: 4
82759
          frameworkcode: "HLD"
82760
          seealso: ""
82761
          link: ""
82762
          defaultvalue:
82763
82764
        - tagfield: "853"
82765
          tagsubfield: "3"
82766
          liblibrarian: "Materials specified"
82767
          libopac: "Materials specified"
82768
          repeatable: 0
82769
          mandatory: 0
82770
          kohafield: ""
82771
          tab: 8
82772
          authorised_value: ""
82773
          authtypecode: ""
82774
          value_builder: ""
82775
          isurl:
82776
          hidden: 5
82777
          frameworkcode: "HLD"
82778
          seealso: ""
82779
          link: ""
82780
          defaultvalue:
82781
82782
        - tagfield: "853"
82783
          tagsubfield: "6"
82784
          liblibrarian: "Linkage"
82785
          libopac: "Linkage"
82786
          repeatable: 0
82787
          mandatory: 0
82788
          kohafield: ""
82789
          tab: 8
82790
          authorised_value: ""
82791
          authtypecode: ""
82792
          value_builder: ""
82793
          isurl:
82794
          hidden: 5
82795
          frameworkcode: "HLD"
82796
          seealso: ""
82797
          link: ""
82798
          defaultvalue:
82799
82800
        - tagfield: "853"
82801
          tagsubfield: "8"
82802
          liblibrarian: "Field link and sequence number"
82803
          libopac: "Field link and sequence number"
82804
          repeatable: 1
82805
          mandatory: 0
82806
          kohafield: ""
82807
          tab: 8
82808
          authorised_value: ""
82809
          authtypecode: ""
82810
          value_builder: ""
82811
          isurl:
82812
          hidden: 5
82813
          frameworkcode: "HLD"
82814
          seealso: ""
82815
          link: ""
82816
          defaultvalue:
82817
82818
        - tagfield: "853"
82819
          tagsubfield: "a"
82820
          liblibrarian: "First level of enumeration"
82821
          libopac: "First level of enumeration"
82822
          repeatable: 0
82823
          mandatory: 0
82824
          kohafield: ""
82825
          tab: 8
82826
          authorised_value: ""
82827
          authtypecode: ""
82828
          value_builder: ""
82829
          isurl:
82830
          hidden: 4
82831
          frameworkcode: "HLD"
82832
          seealso: ""
82833
          link: ""
82834
          defaultvalue:
82835
82836
        - tagfield: "853"
82837
          tagsubfield: "b"
82838
          liblibrarian: "Second level of enumeration"
82839
          libopac: "Second level of enumeration"
82840
          repeatable: 0
82841
          mandatory: 0
82842
          kohafield: ""
82843
          tab: 8
82844
          authorised_value: ""
82845
          authtypecode: ""
82846
          value_builder: ""
82847
          isurl:
82848
          hidden: 4
82849
          frameworkcode: "HLD"
82850
          seealso: ""
82851
          link: ""
82852
          defaultvalue:
82853
82854
        - tagfield: "853"
82855
          tagsubfield: "c"
82856
          liblibrarian: "Third level of enumeration"
82857
          libopac: "Third level of enumeration"
82858
          repeatable: 0
82859
          mandatory: 0
82860
          kohafield: ""
82861
          tab: 8
82862
          authorised_value: ""
82863
          authtypecode: ""
82864
          value_builder: ""
82865
          isurl:
82866
          hidden: 4
82867
          frameworkcode: "HLD"
82868
          seealso: ""
82869
          link: ""
82870
          defaultvalue:
82871
82872
        - tagfield: "853"
82873
          tagsubfield: "d"
82874
          liblibrarian: "Fourth level of enumeration"
82875
          libopac: "Fourth level of enumeration"
82876
          repeatable: 0
82877
          mandatory: 0
82878
          kohafield: ""
82879
          tab: 8
82880
          authorised_value: ""
82881
          authtypecode: ""
82882
          value_builder: ""
82883
          isurl:
82884
          hidden: 4
82885
          frameworkcode: "HLD"
82886
          seealso: ""
82887
          link: ""
82888
          defaultvalue:
82889
82890
        - tagfield: "853"
82891
          tagsubfield: "e"
82892
          liblibrarian: "Fifth level of enumeration"
82893
          libopac: "Fifth level of enumeration"
82894
          repeatable: 0
82895
          mandatory: 0
82896
          kohafield: ""
82897
          tab: 8
82898
          authorised_value: ""
82899
          authtypecode: ""
82900
          value_builder: ""
82901
          isurl:
82902
          hidden: 4
82903
          frameworkcode: "HLD"
82904
          seealso: ""
82905
          link: ""
82906
          defaultvalue:
82907
82908
        - tagfield: "853"
82909
          tagsubfield: "f"
82910
          liblibrarian: "Sixth level of enumeration"
82911
          libopac: "Sixth level of enumeration"
82912
          repeatable: 0
82913
          mandatory: 0
82914
          kohafield: ""
82915
          tab: 8
82916
          authorised_value: ""
82917
          authtypecode: ""
82918
          value_builder: ""
82919
          isurl:
82920
          hidden: 4
82921
          frameworkcode: "HLD"
82922
          seealso: ""
82923
          link: ""
82924
          defaultvalue:
82925
82926
        - tagfield: "853"
82927
          tagsubfield: "g"
82928
          liblibrarian: "Alternative numbering scheme, first level of enumeration"
82929
          libopac: "Alternative numbering scheme, first level of enumeration"
82930
          repeatable: 0
82931
          mandatory: 0
82932
          kohafield: ""
82933
          tab: 8
82934
          authorised_value: ""
82935
          authtypecode: ""
82936
          value_builder: ""
82937
          isurl:
82938
          hidden: 4
82939
          frameworkcode: "HLD"
82940
          seealso: ""
82941
          link: ""
82942
          defaultvalue:
82943
82944
        - tagfield: "853"
82945
          tagsubfield: "h"
82946
          liblibrarian: "Alternative numbering scheme, second level of enumeration"
82947
          libopac: "Alternative numbering scheme, second level of enumeration"
82948
          repeatable: 0
82949
          mandatory: 0
82950
          kohafield: ""
82951
          tab: 8
82952
          authorised_value: ""
82953
          authtypecode: ""
82954
          value_builder: ""
82955
          isurl:
82956
          hidden: 4
82957
          frameworkcode: "HLD"
82958
          seealso: ""
82959
          link: ""
82960
          defaultvalue:
82961
82962
        - tagfield: "853"
82963
          tagsubfield: "i"
82964
          liblibrarian: "First level of chronology"
82965
          libopac: "First level of chronology"
82966
          repeatable: 0
82967
          mandatory: 0
82968
          kohafield: ""
82969
          tab: 8
82970
          authorised_value: ""
82971
          authtypecode: ""
82972
          value_builder: ""
82973
          isurl:
82974
          hidden: 4
82975
          frameworkcode: "HLD"
82976
          seealso: ""
82977
          link: ""
82978
          defaultvalue:
82979
82980
        - tagfield: "853"
82981
          tagsubfield: "j"
82982
          liblibrarian: "Second level of chronology"
82983
          libopac: "Second level of chronology"
82984
          repeatable: 0
82985
          mandatory: 0
82986
          kohafield: ""
82987
          tab: 8
82988
          authorised_value: ""
82989
          authtypecode: ""
82990
          value_builder: ""
82991
          isurl:
82992
          hidden: 4
82993
          frameworkcode: "HLD"
82994
          seealso: ""
82995
          link: ""
82996
          defaultvalue:
82997
82998
        - tagfield: "853"
82999
          tagsubfield: "k"
83000
          liblibrarian: "Third level of chronology"
83001
          libopac: "Third level of chronology"
83002
          repeatable: 0
83003
          mandatory: 0
83004
          kohafield: ""
83005
          tab: 8
83006
          authorised_value: ""
83007
          authtypecode: ""
83008
          value_builder: ""
83009
          isurl:
83010
          hidden: 4
83011
          frameworkcode: "HLD"
83012
          seealso: ""
83013
          link: ""
83014
          defaultvalue:
83015
83016
        - tagfield: "853"
83017
          tagsubfield: "l"
83018
          liblibrarian: "Fourth level of chronology"
83019
          libopac: "Fourth level of chronology"
83020
          repeatable: 0
83021
          mandatory: 0
83022
          kohafield: ""
83023
          tab: 8
83024
          authorised_value: ""
83025
          authtypecode: ""
83026
          value_builder: ""
83027
          isurl:
83028
          hidden: 4
83029
          frameworkcode: "HLD"
83030
          seealso: ""
83031
          link: ""
83032
          defaultvalue:
83033
83034
        - tagfield: "853"
83035
          tagsubfield: "m"
83036
          liblibrarian: "Alternative numbering scheme, chronology"
83037
          libopac: "Alternative numbering scheme, chronology"
83038
          repeatable: 0
83039
          mandatory: 0
83040
          kohafield: ""
83041
          tab: 8
83042
          authorised_value: ""
83043
          authtypecode: ""
83044
          value_builder: ""
83045
          isurl:
83046
          hidden: 4
83047
          frameworkcode: "HLD"
83048
          seealso: ""
83049
          link: ""
83050
          defaultvalue:
83051
83052
        - tagfield: "853"
83053
          tagsubfield: "n"
83054
          liblibrarian: "Pattern note"
83055
          libopac: "Pattern note"
83056
          repeatable: 0
83057
          mandatory: 0
83058
          kohafield: ""
83059
          tab: 8
83060
          authorised_value: ""
83061
          authtypecode: ""
83062
          value_builder: ""
83063
          isurl:
83064
          hidden: 4
83065
          frameworkcode: "HLD"
83066
          seealso: ""
83067
          link: ""
83068
          defaultvalue:
83069
83070
        - tagfield: "853"
83071
          tagsubfield: "p"
83072
          liblibrarian: "Number of pieces per issuance"
83073
          libopac: "Number of pieces per issuance"
83074
          repeatable: 0
83075
          mandatory: 0
83076
          kohafield: ""
83077
          tab: 8
83078
          authorised_value: ""
83079
          authtypecode: ""
83080
          value_builder: ""
83081
          isurl:
83082
          hidden: 4
83083
          frameworkcode: "HLD"
83084
          seealso: ""
83085
          link: ""
83086
          defaultvalue:
83087
83088
        - tagfield: "853"
83089
          tagsubfield: "t"
83090
          liblibrarian: "Copy"
83091
          libopac: "Copy"
83092
          repeatable: 0
83093
          mandatory: 0
83094
          kohafield: ""
83095
          tab: 8
83096
          authorised_value: ""
83097
          authtypecode: ""
83098
          value_builder: ""
83099
          isurl:
83100
          hidden: 4
83101
          frameworkcode: "HLD"
83102
          seealso: ""
83103
          link: ""
83104
          defaultvalue:
83105
83106
        - tagfield: "853"
83107
          tagsubfield: "u"
83108
          liblibrarian: "Bibliographic units per next higher level"
83109
          libopac: "Bibliographic units per next higher level"
83110
          repeatable: 1
83111
          mandatory: 0
83112
          kohafield: ""
83113
          tab: 8
83114
          authorised_value: ""
83115
          authtypecode: ""
83116
          value_builder: ""
83117
          isurl:
83118
          hidden: 4
83119
          frameworkcode: "HLD"
83120
          seealso: ""
83121
          link: ""
83122
          defaultvalue:
83123
83124
        - tagfield: "853"
83125
          tagsubfield: "v"
83126
          liblibrarian: "Numbering continuity"
83127
          libopac: "Numbering continuity"
83128
          repeatable: 1
83129
          mandatory: 0
83130
          kohafield: ""
83131
          tab: 8
83132
          authorised_value: ""
83133
          authtypecode: ""
83134
          value_builder: ""
83135
          isurl:
83136
          hidden: 4
83137
          frameworkcode: "HLD"
83138
          seealso: ""
83139
          link: ""
83140
          defaultvalue:
83141
83142
        - tagfield: "853"
83143
          tagsubfield: "w"
83144
          liblibrarian: "Frequency"
83145
          libopac: "Frequency"
83146
          repeatable: 0
83147
          mandatory: 0
83148
          kohafield: ""
83149
          tab: 8
83150
          authorised_value: ""
83151
          authtypecode: ""
83152
          value_builder: ""
83153
          isurl:
83154
          hidden: 4
83155
          frameworkcode: "HLD"
83156
          seealso: ""
83157
          link: ""
83158
          defaultvalue:
83159
83160
        - tagfield: "853"
83161
          tagsubfield: "x"
83162
          liblibrarian: "Calendar change"
83163
          libopac: "Calendar change"
83164
          repeatable: 0
83165
          mandatory: 0
83166
          kohafield: ""
83167
          tab: 8
83168
          authorised_value: ""
83169
          authtypecode: ""
83170
          value_builder: ""
83171
          isurl:
83172
          hidden: 4
83173
          frameworkcode: "HLD"
83174
          seealso: ""
83175
          link: ""
83176
          defaultvalue:
83177
83178
        - tagfield: "853"
83179
          tagsubfield: "y"
83180
          liblibrarian: "Regularity pattern"
83181
          libopac: "Regularity pattern"
83182
          repeatable: 1
83183
          mandatory: 0
83184
          kohafield: ""
83185
          tab: 8
83186
          authorised_value: ""
83187
          authtypecode: ""
83188
          value_builder: ""
83189
          isurl:
83190
          hidden: 4
83191
          frameworkcode: "HLD"
83192
          seealso: ""
83193
          link: ""
83194
          defaultvalue:
83195
83196
        - tagfield: "853"
83197
          tagsubfield: "z"
83198
          liblibrarian: "Numbering scheme"
83199
          libopac: "Numbering scheme"
83200
          repeatable: 1
83201
          mandatory: 0
83202
          kohafield: ""
83203
          tab: 8
83204
          authorised_value: ""
83205
          authtypecode: ""
83206
          value_builder: ""
83207
          isurl:
83208
          hidden: 4
83209
          frameworkcode: "HLD"
83210
          seealso: ""
83211
          link: ""
83212
          defaultvalue:
83213
83214
        - tagfield: "854"
83215
          tagsubfield: "3"
83216
          liblibrarian: "Materials specified"
83217
          libopac: "Materials specified"
83218
          repeatable: 0
83219
          mandatory: 0
83220
          kohafield: ""
83221
          tab: 8
83222
          authorised_value: ""
83223
          authtypecode: ""
83224
          value_builder: ""
83225
          isurl:
83226
          hidden: 5
83227
          frameworkcode: "HLD"
83228
          seealso: ""
83229
          link: ""
83230
          defaultvalue:
83231
83232
        - tagfield: "854"
83233
          tagsubfield: "6"
83234
          liblibrarian: "Linkage"
83235
          libopac: "Linkage"
83236
          repeatable: 0
83237
          mandatory: 0
83238
          kohafield: ""
83239
          tab: 8
83240
          authorised_value: ""
83241
          authtypecode: ""
83242
          value_builder: ""
83243
          isurl:
83244
          hidden: 5
83245
          frameworkcode: "HLD"
83246
          seealso: ""
83247
          link: ""
83248
          defaultvalue:
83249
83250
        - tagfield: "854"
83251
          tagsubfield: "8"
83252
          liblibrarian: "Field link and sequence number"
83253
          libopac: "Field link and sequence number"
83254
          repeatable: 1
83255
          mandatory: 0
83256
          kohafield: ""
83257
          tab: 8
83258
          authorised_value: ""
83259
          authtypecode: ""
83260
          value_builder: ""
83261
          isurl:
83262
          hidden: 5
83263
          frameworkcode: "HLD"
83264
          seealso: ""
83265
          link: ""
83266
          defaultvalue:
83267
83268
        - tagfield: "854"
83269
          tagsubfield: "a"
83270
          liblibrarian: "First level of enumeration"
83271
          libopac: "First level of enumeration"
83272
          repeatable: 0
83273
          mandatory: 0
83274
          kohafield: ""
83275
          tab: 8
83276
          authorised_value: ""
83277
          authtypecode: ""
83278
          value_builder: ""
83279
          isurl:
83280
          hidden: 4
83281
          frameworkcode: "HLD"
83282
          seealso: ""
83283
          link: ""
83284
          defaultvalue:
83285
83286
        - tagfield: "854"
83287
          tagsubfield: "b"
83288
          liblibrarian: "Second level of enumeration"
83289
          libopac: "Second level of enumeration"
83290
          repeatable: 0
83291
          mandatory: 0
83292
          kohafield: ""
83293
          tab: 8
83294
          authorised_value: ""
83295
          authtypecode: ""
83296
          value_builder: ""
83297
          isurl:
83298
          hidden: 4
83299
          frameworkcode: "HLD"
83300
          seealso: ""
83301
          link: ""
83302
          defaultvalue:
83303
83304
        - tagfield: "854"
83305
          tagsubfield: "c"
83306
          liblibrarian: "Third level of enumeration"
83307
          libopac: "Third level of enumeration"
83308
          repeatable: 0
83309
          mandatory: 0
83310
          kohafield: ""
83311
          tab: 8
83312
          authorised_value: ""
83313
          authtypecode: ""
83314
          value_builder: ""
83315
          isurl:
83316
          hidden: 4
83317
          frameworkcode: "HLD"
83318
          seealso: ""
83319
          link: ""
83320
          defaultvalue:
83321
83322
        - tagfield: "854"
83323
          tagsubfield: "d"
83324
          liblibrarian: "Fourth level of enumeration"
83325
          libopac: "Fourth level of enumeration"
83326
          repeatable: 0
83327
          mandatory: 0
83328
          kohafield: ""
83329
          tab: 8
83330
          authorised_value: ""
83331
          authtypecode: ""
83332
          value_builder: ""
83333
          isurl:
83334
          hidden: 4
83335
          frameworkcode: "HLD"
83336
          seealso: ""
83337
          link: ""
83338
          defaultvalue:
83339
83340
        - tagfield: "854"
83341
          tagsubfield: "e"
83342
          liblibrarian: "Fifth level of enumeration"
83343
          libopac: "Fifth level of enumeration"
83344
          repeatable: 0
83345
          mandatory: 0
83346
          kohafield: ""
83347
          tab: 8
83348
          authorised_value: ""
83349
          authtypecode: ""
83350
          value_builder: ""
83351
          isurl:
83352
          hidden: 4
83353
          frameworkcode: "HLD"
83354
          seealso: ""
83355
          link: ""
83356
          defaultvalue:
83357
83358
        - tagfield: "854"
83359
          tagsubfield: "f"
83360
          liblibrarian: "Sixth level of enumeration"
83361
          libopac: "Sixth level of enumeration"
83362
          repeatable: 0
83363
          mandatory: 0
83364
          kohafield: ""
83365
          tab: 8
83366
          authorised_value: ""
83367
          authtypecode: ""
83368
          value_builder: ""
83369
          isurl:
83370
          hidden: 4
83371
          frameworkcode: "HLD"
83372
          seealso: ""
83373
          link: ""
83374
          defaultvalue:
83375
83376
        - tagfield: "854"
83377
          tagsubfield: "g"
83378
          liblibrarian: "Alternative numbering scheme, first level of enumeration"
83379
          libopac: "Alternative numbering scheme, first level of enumeration"
83380
          repeatable: 0
83381
          mandatory: 0
83382
          kohafield: ""
83383
          tab: 8
83384
          authorised_value: ""
83385
          authtypecode: ""
83386
          value_builder: ""
83387
          isurl:
83388
          hidden: 4
83389
          frameworkcode: "HLD"
83390
          seealso: ""
83391
          link: ""
83392
          defaultvalue:
83393
83394
        - tagfield: "854"
83395
          tagsubfield: "h"
83396
          liblibrarian: "Alternative numbering scheme, second level of enumeration"
83397
          libopac: "Alternative numbering scheme, second level of enumeration"
83398
          repeatable: 0
83399
          mandatory: 0
83400
          kohafield: ""
83401
          tab: 8
83402
          authorised_value: ""
83403
          authtypecode: ""
83404
          value_builder: ""
83405
          isurl:
83406
          hidden: 4
83407
          frameworkcode: "HLD"
83408
          seealso: ""
83409
          link: ""
83410
          defaultvalue:
83411
83412
        - tagfield: "854"
83413
          tagsubfield: "i"
83414
          liblibrarian: "First level of chronology"
83415
          libopac: "First level of chronology"
83416
          repeatable: 0
83417
          mandatory: 0
83418
          kohafield: ""
83419
          tab: 8
83420
          authorised_value: ""
83421
          authtypecode: ""
83422
          value_builder: ""
83423
          isurl:
83424
          hidden: 4
83425
          frameworkcode: "HLD"
83426
          seealso: ""
83427
          link: ""
83428
          defaultvalue:
83429
83430
        - tagfield: "854"
83431
          tagsubfield: "j"
83432
          liblibrarian: "Second level of chronology"
83433
          libopac: "Second level of chronology"
83434
          repeatable: 0
83435
          mandatory: 0
83436
          kohafield: ""
83437
          tab: 8
83438
          authorised_value: ""
83439
          authtypecode: ""
83440
          value_builder: ""
83441
          isurl:
83442
          hidden: 4
83443
          frameworkcode: "HLD"
83444
          seealso: ""
83445
          link: ""
83446
          defaultvalue:
83447
83448
        - tagfield: "854"
83449
          tagsubfield: "k"
83450
          liblibrarian: "Third level of chronology"
83451
          libopac: "Third level of chronology"
83452
          repeatable: 0
83453
          mandatory: 0
83454
          kohafield: ""
83455
          tab: 8
83456
          authorised_value: ""
83457
          authtypecode: ""
83458
          value_builder: ""
83459
          isurl:
83460
          hidden: 4
83461
          frameworkcode: "HLD"
83462
          seealso: ""
83463
          link: ""
83464
          defaultvalue:
83465
83466
        - tagfield: "854"
83467
          tagsubfield: "l"
83468
          liblibrarian: "Fourth level of chronology"
83469
          libopac: "Fourth level of chronology"
83470
          repeatable: 0
83471
          mandatory: 0
83472
          kohafield: ""
83473
          tab: 8
83474
          authorised_value: ""
83475
          authtypecode: ""
83476
          value_builder: ""
83477
          isurl:
83478
          hidden: 4
83479
          frameworkcode: "HLD"
83480
          seealso: ""
83481
          link: ""
83482
          defaultvalue:
83483
83484
        - tagfield: "854"
83485
          tagsubfield: "m"
83486
          liblibrarian: "Alternative numbering scheme, chronology"
83487
          libopac: "Alternative numbering scheme, chronology"
83488
          repeatable: 0
83489
          mandatory: 0
83490
          kohafield: ""
83491
          tab: 8
83492
          authorised_value: ""
83493
          authtypecode: ""
83494
          value_builder: ""
83495
          isurl:
83496
          hidden: 4
83497
          frameworkcode: "HLD"
83498
          seealso: ""
83499
          link: ""
83500
          defaultvalue:
83501
83502
        - tagfield: "854"
83503
          tagsubfield: "n"
83504
          liblibrarian: "Pattern note"
83505
          libopac: "Pattern note"
83506
          repeatable: 0
83507
          mandatory: 0
83508
          kohafield: ""
83509
          tab: 8
83510
          authorised_value: ""
83511
          authtypecode: ""
83512
          value_builder: ""
83513
          isurl:
83514
          hidden: 4
83515
          frameworkcode: "HLD"
83516
          seealso: ""
83517
          link: ""
83518
          defaultvalue:
83519
83520
        - tagfield: "854"
83521
          tagsubfield: "p"
83522
          liblibrarian: "Number of pieces per issuance"
83523
          libopac: "Number of pieces per issuance"
83524
          repeatable: 0
83525
          mandatory: 0
83526
          kohafield: ""
83527
          tab: 8
83528
          authorised_value: ""
83529
          authtypecode: ""
83530
          value_builder: ""
83531
          isurl:
83532
          hidden: 4
83533
          frameworkcode: "HLD"
83534
          seealso: ""
83535
          link: ""
83536
          defaultvalue:
83537
83538
        - tagfield: "854"
83539
          tagsubfield: "t"
83540
          liblibrarian: "Copy"
83541
          libopac: "Copy"
83542
          repeatable: 0
83543
          mandatory: 0
83544
          kohafield: ""
83545
          tab: 8
83546
          authorised_value: ""
83547
          authtypecode: ""
83548
          value_builder: ""
83549
          isurl:
83550
          hidden: 4
83551
          frameworkcode: "HLD"
83552
          seealso: ""
83553
          link: ""
83554
          defaultvalue:
83555
83556
        - tagfield: "854"
83557
          tagsubfield: "u"
83558
          liblibrarian: "Bibliographic units per next higher level"
83559
          libopac: "Bibliographic units per next higher level"
83560
          repeatable: 1
83561
          mandatory: 0
83562
          kohafield: ""
83563
          tab: 8
83564
          authorised_value: ""
83565
          authtypecode: ""
83566
          value_builder: ""
83567
          isurl:
83568
          hidden: 4
83569
          frameworkcode: "HLD"
83570
          seealso: ""
83571
          link: ""
83572
          defaultvalue:
83573
83574
        - tagfield: "854"
83575
          tagsubfield: "v"
83576
          liblibrarian: "Numbering continuity"
83577
          libopac: "Numbering continuity"
83578
          repeatable: 1
83579
          mandatory: 0
83580
          kohafield: ""
83581
          tab: 8
83582
          authorised_value: ""
83583
          authtypecode: ""
83584
          value_builder: ""
83585
          isurl:
83586
          hidden: 4
83587
          frameworkcode: "HLD"
83588
          seealso: ""
83589
          link: ""
83590
          defaultvalue:
83591
83592
        - tagfield: "854"
83593
          tagsubfield: "w"
83594
          liblibrarian: "Frequency"
83595
          libopac: "Frequency"
83596
          repeatable: 0
83597
          mandatory: 0
83598
          kohafield: ""
83599
          tab: 8
83600
          authorised_value: ""
83601
          authtypecode: ""
83602
          value_builder: ""
83603
          isurl:
83604
          hidden: 4
83605
          frameworkcode: "HLD"
83606
          seealso: ""
83607
          link: ""
83608
          defaultvalue:
83609
83610
        - tagfield: "854"
83611
          tagsubfield: "x"
83612
          liblibrarian: "Calendar change"
83613
          libopac: "Calendar change"
83614
          repeatable: 0
83615
          mandatory: 0
83616
          kohafield: ""
83617
          tab: 8
83618
          authorised_value: ""
83619
          authtypecode: ""
83620
          value_builder: ""
83621
          isurl:
83622
          hidden: 4
83623
          frameworkcode: "HLD"
83624
          seealso: ""
83625
          link: ""
83626
          defaultvalue:
83627
83628
        - tagfield: "854"
83629
          tagsubfield: "y"
83630
          liblibrarian: "Regularity pattern"
83631
          libopac: "Regularity pattern"
83632
          repeatable: 1
83633
          mandatory: 0
83634
          kohafield: ""
83635
          tab: 8
83636
          authorised_value: ""
83637
          authtypecode: ""
83638
          value_builder: ""
83639
          isurl:
83640
          hidden: 4
83641
          frameworkcode: "HLD"
83642
          seealso: ""
83643
          link: ""
83644
          defaultvalue:
83645
83646
        - tagfield: "854"
83647
          tagsubfield: "z"
83648
          liblibrarian: "Numbering scheme"
83649
          libopac: "Numbering scheme"
83650
          repeatable: 1
83651
          mandatory: 0
83652
          kohafield: ""
83653
          tab: 8
83654
          authorised_value: ""
83655
          authtypecode: ""
83656
          value_builder: ""
83657
          isurl:
83658
          hidden: 4
83659
          frameworkcode: "HLD"
83660
          seealso: ""
83661
          link: ""
83662
          defaultvalue:
83663
83664
        - tagfield: "855"
83665
          tagsubfield: "3"
83666
          liblibrarian: "Materials specified"
83667
          libopac: "Materials specified"
83668
          repeatable: 0
83669
          mandatory: 0
83670
          kohafield: ""
83671
          tab: 8
83672
          authorised_value: ""
83673
          authtypecode: ""
83674
          value_builder: ""
83675
          isurl:
83676
          hidden: 5
83677
          frameworkcode: "HLD"
83678
          seealso: ""
83679
          link: ""
83680
          defaultvalue:
83681
83682
        - tagfield: "855"
83683
          tagsubfield: "6"
83684
          liblibrarian: "Linkage"
83685
          libopac: "Linkage"
83686
          repeatable: 0
83687
          mandatory: 0
83688
          kohafield: ""
83689
          tab: 8
83690
          authorised_value: ""
83691
          authtypecode: ""
83692
          value_builder: ""
83693
          isurl:
83694
          hidden: 5
83695
          frameworkcode: "HLD"
83696
          seealso: ""
83697
          link: ""
83698
          defaultvalue:
83699
83700
        - tagfield: "855"
83701
          tagsubfield: "8"
83702
          liblibrarian: "Field link and sequence number"
83703
          libopac: "Field link and sequence number"
83704
          repeatable: 1
83705
          mandatory: 0
83706
          kohafield: ""
83707
          tab: 8
83708
          authorised_value: ""
83709
          authtypecode: ""
83710
          value_builder: ""
83711
          isurl:
83712
          hidden: 5
83713
          frameworkcode: "HLD"
83714
          seealso: ""
83715
          link: ""
83716
          defaultvalue:
83717
83718
        - tagfield: "855"
83719
          tagsubfield: "a"
83720
          liblibrarian: "First level of enumeration"
83721
          libopac: "First level of enumeration"
83722
          repeatable: 0
83723
          mandatory: 0
83724
          kohafield: ""
83725
          tab: 8
83726
          authorised_value: ""
83727
          authtypecode: ""
83728
          value_builder: ""
83729
          isurl:
83730
          hidden: 4
83731
          frameworkcode: "HLD"
83732
          seealso: ""
83733
          link: ""
83734
          defaultvalue:
83735
83736
        - tagfield: "855"
83737
          tagsubfield: "b"
83738
          liblibrarian: "Second level of enumeration"
83739
          libopac: "Second level of enumeration"
83740
          repeatable: 0
83741
          mandatory: 0
83742
          kohafield: ""
83743
          tab: 8
83744
          authorised_value: ""
83745
          authtypecode: ""
83746
          value_builder: ""
83747
          isurl:
83748
          hidden: 4
83749
          frameworkcode: "HLD"
83750
          seealso: ""
83751
          link: ""
83752
          defaultvalue:
83753
83754
        - tagfield: "855"
83755
          tagsubfield: "c"
83756
          liblibrarian: "Third level of enumeration"
83757
          libopac: "Third level of enumeration"
83758
          repeatable: 0
83759
          mandatory: 0
83760
          kohafield: ""
83761
          tab: 8
83762
          authorised_value: ""
83763
          authtypecode: ""
83764
          value_builder: ""
83765
          isurl:
83766
          hidden: 4
83767
          frameworkcode: "HLD"
83768
          seealso: ""
83769
          link: ""
83770
          defaultvalue:
83771
83772
        - tagfield: "855"
83773
          tagsubfield: "d"
83774
          liblibrarian: "Fourth level of enumeration"
83775
          libopac: "Fourth level of enumeration"
83776
          repeatable: 0
83777
          mandatory: 0
83778
          kohafield: ""
83779
          tab: 8
83780
          authorised_value: ""
83781
          authtypecode: ""
83782
          value_builder: ""
83783
          isurl:
83784
          hidden: 4
83785
          frameworkcode: "HLD"
83786
          seealso: ""
83787
          link: ""
83788
          defaultvalue:
83789
83790
        - tagfield: "855"
83791
          tagsubfield: "e"
83792
          liblibrarian: "Fifth level of enumeration"
83793
          libopac: "Fifth level of enumeration"
83794
          repeatable: 0
83795
          mandatory: 0
83796
          kohafield: ""
83797
          tab: 8
83798
          authorised_value: ""
83799
          authtypecode: ""
83800
          value_builder: ""
83801
          isurl:
83802
          hidden: 4
83803
          frameworkcode: "HLD"
83804
          seealso: ""
83805
          link: ""
83806
          defaultvalue:
83807
83808
        - tagfield: "855"
83809
          tagsubfield: "f"
83810
          liblibrarian: "Sixth level of enumeration"
83811
          libopac: "Sixth level of enumeration"
83812
          repeatable: 0
83813
          mandatory: 0
83814
          kohafield: ""
83815
          tab: 8
83816
          authorised_value: ""
83817
          authtypecode: ""
83818
          value_builder: ""
83819
          isurl:
83820
          hidden: 4
83821
          frameworkcode: "HLD"
83822
          seealso: ""
83823
          link: ""
83824
          defaultvalue:
83825
83826
        - tagfield: "855"
83827
          tagsubfield: "g"
83828
          liblibrarian: "Alternative numbering scheme, first level of enumeration"
83829
          libopac: "Alternative numbering scheme, first level of enumeration"
83830
          repeatable: 0
83831
          mandatory: 0
83832
          kohafield: ""
83833
          tab: 8
83834
          authorised_value: ""
83835
          authtypecode: ""
83836
          value_builder: ""
83837
          isurl:
83838
          hidden: 4
83839
          frameworkcode: "HLD"
83840
          seealso: ""
83841
          link: ""
83842
          defaultvalue:
83843
83844
        - tagfield: "855"
83845
          tagsubfield: "h"
83846
          liblibrarian: "Alternative numbering scheme, second level of enumeration"
83847
          libopac: "Alternative numbering scheme, second level of enumeration"
83848
          repeatable: 0
83849
          mandatory: 0
83850
          kohafield: ""
83851
          tab: 8
83852
          authorised_value: ""
83853
          authtypecode: ""
83854
          value_builder: ""
83855
          isurl:
83856
          hidden: 4
83857
          frameworkcode: "HLD"
83858
          seealso: ""
83859
          link: ""
83860
          defaultvalue:
83861
83862
        - tagfield: "855"
83863
          tagsubfield: "i"
83864
          liblibrarian: "First level of chronology"
83865
          libopac: "First level of chronology"
83866
          repeatable: 0
83867
          mandatory: 0
83868
          kohafield: ""
83869
          tab: 8
83870
          authorised_value: ""
83871
          authtypecode: ""
83872
          value_builder: ""
83873
          isurl:
83874
          hidden: 4
83875
          frameworkcode: "HLD"
83876
          seealso: ""
83877
          link: ""
83878
          defaultvalue:
83879
83880
        - tagfield: "855"
83881
          tagsubfield: "j"
83882
          liblibrarian: "Second level of chronology"
83883
          libopac: "Second level of chronology"
83884
          repeatable: 0
83885
          mandatory: 0
83886
          kohafield: ""
83887
          tab: 8
83888
          authorised_value: ""
83889
          authtypecode: ""
83890
          value_builder: ""
83891
          isurl:
83892
          hidden: 4
83893
          frameworkcode: "HLD"
83894
          seealso: ""
83895
          link: ""
83896
          defaultvalue:
83897
83898
        - tagfield: "855"
83899
          tagsubfield: "k"
83900
          liblibrarian: "Third level of chronology"
83901
          libopac: "Third level of chronology"
83902
          repeatable: 0
83903
          mandatory: 0
83904
          kohafield: ""
83905
          tab: 8
83906
          authorised_value: ""
83907
          authtypecode: ""
83908
          value_builder: ""
83909
          isurl:
83910
          hidden: 4
83911
          frameworkcode: "HLD"
83912
          seealso: ""
83913
          link: ""
83914
          defaultvalue:
83915
83916
        - tagfield: "855"
83917
          tagsubfield: "l"
83918
          liblibrarian: "Fourth level of chronology"
83919
          libopac: "Fourth level of chronology"
83920
          repeatable: 0
83921
          mandatory: 0
83922
          kohafield: ""
83923
          tab: 8
83924
          authorised_value: ""
83925
          authtypecode: ""
83926
          value_builder: ""
83927
          isurl:
83928
          hidden: 4
83929
          frameworkcode: "HLD"
83930
          seealso: ""
83931
          link: ""
83932
          defaultvalue:
83933
83934
        - tagfield: "855"
83935
          tagsubfield: "m"
83936
          liblibrarian: "Alternative numbering scheme, chronology"
83937
          libopac: "Alternative numbering scheme, chronology"
83938
          repeatable: 0
83939
          mandatory: 0
83940
          kohafield: ""
83941
          tab: 8
83942
          authorised_value: ""
83943
          authtypecode: ""
83944
          value_builder: ""
83945
          isurl:
83946
          hidden: 4
83947
          frameworkcode: "HLD"
83948
          seealso: ""
83949
          link: ""
83950
          defaultvalue:
83951
83952
        - tagfield: "855"
83953
          tagsubfield: "n"
83954
          liblibrarian: "Pattern note"
83955
          libopac: "Pattern note"
83956
          repeatable: 0
83957
          mandatory: 0
83958
          kohafield: ""
83959
          tab: 8
83960
          authorised_value: ""
83961
          authtypecode: ""
83962
          value_builder: ""
83963
          isurl:
83964
          hidden: 4
83965
          frameworkcode: "HLD"
83966
          seealso: ""
83967
          link: ""
83968
          defaultvalue:
83969
83970
        - tagfield: "855"
83971
          tagsubfield: "p"
83972
          liblibrarian: "Number of pieces per issuance"
83973
          libopac: "Number of pieces per issuance"
83974
          repeatable: 0
83975
          mandatory: 0
83976
          kohafield: ""
83977
          tab: 8
83978
          authorised_value: ""
83979
          authtypecode: ""
83980
          value_builder: ""
83981
          isurl:
83982
          hidden: 4
83983
          frameworkcode: "HLD"
83984
          seealso: ""
83985
          link: ""
83986
          defaultvalue:
83987
83988
        - tagfield: "855"
83989
          tagsubfield: "t"
83990
          liblibrarian: "Copy"
83991
          libopac: "Copy"
83992
          repeatable: 0
83993
          mandatory: 0
83994
          kohafield: ""
83995
          tab: 8
83996
          authorised_value: ""
83997
          authtypecode: ""
83998
          value_builder: ""
83999
          isurl:
84000
          hidden: 4
84001
          frameworkcode: "HLD"
84002
          seealso: ""
84003
          link: ""
84004
          defaultvalue:
84005
84006
        - tagfield: "855"
84007
          tagsubfield: "u"
84008
          liblibrarian: "Bibliographic units per next higher level"
84009
          libopac: "Bibliographic units per next higher level"
84010
          repeatable: 1
84011
          mandatory: 0
84012
          kohafield: ""
84013
          tab: 8
84014
          authorised_value: ""
84015
          authtypecode: ""
84016
          value_builder: ""
84017
          isurl:
84018
          hidden: 4
84019
          frameworkcode: "HLD"
84020
          seealso: ""
84021
          link: ""
84022
          defaultvalue:
84023
84024
        - tagfield: "855"
84025
          tagsubfield: "v"
84026
          liblibrarian: "Numbering continuity"
84027
          libopac: "Numbering continuity"
84028
          repeatable: 1
84029
          mandatory: 0
84030
          kohafield: ""
84031
          tab: 8
84032
          authorised_value: ""
84033
          authtypecode: ""
84034
          value_builder: ""
84035
          isurl:
84036
          hidden: 4
84037
          frameworkcode: "HLD"
84038
          seealso: ""
84039
          link: ""
84040
          defaultvalue:
84041
84042
        - tagfield: "855"
84043
          tagsubfield: "w"
84044
          liblibrarian: "Frequency"
84045
          libopac: "Frequency"
84046
          repeatable: 0
84047
          mandatory: 0
84048
          kohafield: ""
84049
          tab: 8
84050
          authorised_value: ""
84051
          authtypecode: ""
84052
          value_builder: ""
84053
          isurl:
84054
          hidden: 4
84055
          frameworkcode: "HLD"
84056
          seealso: ""
84057
          link: ""
84058
          defaultvalue:
84059
84060
        - tagfield: "855"
84061
          tagsubfield: "x"
84062
          liblibrarian: "Calendar change"
84063
          libopac: "Calendar change"
84064
          repeatable: 0
84065
          mandatory: 0
84066
          kohafield: ""
84067
          tab: 8
84068
          authorised_value: ""
84069
          authtypecode: ""
84070
          value_builder: ""
84071
          isurl:
84072
          hidden: 4
84073
          frameworkcode: "HLD"
84074
          seealso: ""
84075
          link: ""
84076
          defaultvalue:
84077
84078
        - tagfield: "855"
84079
          tagsubfield: "y"
84080
          liblibrarian: "Regularity pattern"
84081
          libopac: "Regularity pattern"
84082
          repeatable: 1
84083
          mandatory: 0
84084
          kohafield: ""
84085
          tab: 8
84086
          authorised_value: ""
84087
          authtypecode: ""
84088
          value_builder: ""
84089
          isurl:
84090
          hidden: 4
84091
          frameworkcode: "HLD"
84092
          seealso: ""
84093
          link: ""
84094
          defaultvalue:
84095
84096
        - tagfield: "855"
84097
          tagsubfield: "z"
84098
          liblibrarian: "Numbering scheme"
84099
          libopac: "Numbering scheme"
84100
          repeatable: 1
84101
          mandatory: 0
84102
          kohafield: ""
84103
          tab: 8
84104
          authorised_value: ""
84105
          authtypecode: ""
84106
          value_builder: ""
84107
          isurl:
84108
          hidden: 4
84109
          frameworkcode: "HLD"
84110
          seealso: ""
84111
          link: ""
84112
          defaultvalue:
84113
84114
        - tagfield: "856"
84115
          tagsubfield: "2"
84116
          liblibrarian: "Access method"
84117
          libopac: "Access method"
84118
          repeatable: 0
84119
          mandatory: 0
84120
          kohafield: ""
84121
          tab: 8
84122
          authorised_value: ""
84123
          authtypecode: ""
84124
          value_builder: ""
84125
          isurl: 0
84126
          hidden: 5
84127
          frameworkcode: "HLD"
84128
          seealso: ""
84129
          link: ""
84130
          defaultvalue:
84131
84132
        - tagfield: "856"
84133
          tagsubfield: "3"
84134
          liblibrarian: "Materials specified"
84135
          libopac: "Materials specified"
84136
          repeatable: 0
84137
          mandatory: 0
84138
          kohafield: ""
84139
          tab: 8
84140
          authorised_value: ""
84141
          authtypecode: ""
84142
          value_builder: ""
84143
          isurl: 0
84144
          hidden: 5
84145
          frameworkcode: "HLD"
84146
          seealso: ""
84147
          link: ""
84148
          defaultvalue:
84149
84150
        - tagfield: "856"
84151
          tagsubfield: "6"
84152
          liblibrarian: "Linkage"
84153
          libopac: "Linkage"
84154
          repeatable: 0
84155
          mandatory: 0
84156
          kohafield: ""
84157
          tab: 8
84158
          authorised_value: ""
84159
          authtypecode: ""
84160
          value_builder: ""
84161
          isurl: 0
84162
          hidden: 5
84163
          frameworkcode: "HLD"
84164
          seealso: ""
84165
          link: ""
84166
          defaultvalue:
84167
84168
        - tagfield: "856"
84169
          tagsubfield: "7"
84170
          liblibrarian: "Access status"
84171
          libopac: "Access status"
84172
          repeatable: 0
84173
          mandatory: 0
84174
          kohafield: ""
84175
          tab: 8
84176
          authorised_value: ""
84177
          authtypecode: ""
84178
          value_builder: ""
84179
          isurl: 0
84180
          hidden: 5
84181
          frameworkcode: "HLD"
84182
          seealso: ""
84183
          link: ""
84184
          defaultvalue:
84185
84186
        - tagfield: "856"
84187
          tagsubfield: "8"
84188
          liblibrarian: "Field link and sequence number"
84189
          libopac: "Field link and sequence number"
84190
          repeatable: 1
84191
          mandatory: 0
84192
          kohafield: ""
84193
          tab: 8
84194
          authorised_value: ""
84195
          authtypecode: ""
84196
          value_builder: ""
84197
          isurl: 0
84198
          hidden: 5
84199
          frameworkcode: "HLD"
84200
          seealso: ""
84201
          link: ""
84202
          defaultvalue:
84203
84204
        - tagfield: "856"
84205
          tagsubfield: "a"
84206
          liblibrarian: "Host name"
84207
          libopac: "Host name"
84208
          repeatable: 1
84209
          mandatory: 0
84210
          kohafield: ""
84211
          tab: 8
84212
          authorised_value: ""
84213
          authtypecode: ""
84214
          value_builder: ""
84215
          isurl: 0
84216
          hidden: 4
84217
          frameworkcode: "HLD"
84218
          seealso: ""
84219
          link: ""
84220
          defaultvalue:
84221
84222
        - tagfield: "856"
84223
          tagsubfield: "b"
84224
          liblibrarian: "Access number"
84225
          libopac: "Access number"
84226
          repeatable: 1
84227
          mandatory: 0
84228
          kohafield: ""
84229
          tab: 8
84230
          authorised_value: ""
84231
          authtypecode: ""
84232
          value_builder: ""
84233
          isurl: 0
84234
          hidden: 4
84235
          frameworkcode: "HLD"
84236
          seealso: ""
84237
          link: ""
84238
          defaultvalue:
84239
84240
        - tagfield: "856"
84241
          tagsubfield: "c"
84242
          liblibrarian: "Compression information"
84243
          libopac: "Compression information"
84244
          repeatable: 1
84245
          mandatory: 0
84246
          kohafield: ""
84247
          tab: 8
84248
          authorised_value: ""
84249
          authtypecode: ""
84250
          value_builder: ""
84251
          isurl: 0
84252
          hidden: 4
84253
          frameworkcode: "HLD"
84254
          seealso: ""
84255
          link: ""
84256
          defaultvalue:
84257
84258
        - tagfield: "856"
84259
          tagsubfield: "d"
84260
          liblibrarian: "Path"
84261
          libopac: "Path"
84262
          repeatable: 1
84263
          mandatory: 0
84264
          kohafield: ""
84265
          tab: 8
84266
          authorised_value: ""
84267
          authtypecode: ""
84268
          value_builder: ""
84269
          isurl: 0
84270
          hidden: 4
84271
          frameworkcode: "HLD"
84272
          seealso: ""
84273
          link: ""
84274
          defaultvalue:
84275
84276
        - tagfield: "856"
84277
          tagsubfield: "f"
84278
          liblibrarian: "Electronic name"
84279
          libopac: "Electronic name"
84280
          repeatable: 1
84281
          mandatory: 0
84282
          kohafield: ""
84283
          tab: 8
84284
          authorised_value: ""
84285
          authtypecode: ""
84286
          value_builder: ""
84287
          isurl: 0
84288
          hidden: 4
84289
          frameworkcode: "HLD"
84290
          seealso: ""
84291
          link: ""
84292
          defaultvalue:
84293
84294
        - tagfield: "856"
84295
          tagsubfield: "h"
84296
          liblibrarian: "Processor of request"
84297
          libopac: "Processor of request"
84298
          repeatable: 0
84299
          mandatory: 0
84300
          kohafield: ""
84301
          tab: 8
84302
          authorised_value: ""
84303
          authtypecode: ""
84304
          value_builder: ""
84305
          isurl: 0
84306
          hidden: 4
84307
          frameworkcode: "HLD"
84308
          seealso: ""
84309
          link: ""
84310
          defaultvalue:
84311
84312
        - tagfield: "856"
84313
          tagsubfield: "i"
84314
          liblibrarian: "Instruction"
84315
          libopac: "Instruction"
84316
          repeatable: 1
84317
          mandatory: 0
84318
          kohafield: ""
84319
          tab: 8
84320
          authorised_value: ""
84321
          authtypecode: ""
84322
          value_builder: ""
84323
          isurl: 0
84324
          hidden: 4
84325
          frameworkcode: "HLD"
84326
          seealso: ""
84327
          link: ""
84328
          defaultvalue:
84329
84330
        - tagfield: "856"
84331
          tagsubfield: "j"
84332
          liblibrarian: "Bits per second"
84333
          libopac: "Bits per second"
84334
          repeatable: 0
84335
          mandatory: 0
84336
          kohafield: ""
84337
          tab: 8
84338
          authorised_value: ""
84339
          authtypecode: ""
84340
          value_builder: ""
84341
          isurl: 0
84342
          hidden: 4
84343
          frameworkcode: "HLD"
84344
          seealso: ""
84345
          link: ""
84346
          defaultvalue:
84347
84348
        - tagfield: "856"
84349
          tagsubfield: "k"
84350
          liblibrarian: "Password"
84351
          libopac: "Password"
84352
          repeatable: 0
84353
          mandatory: 0
84354
          kohafield: ""
84355
          tab: 8
84356
          authorised_value: ""
84357
          authtypecode: ""
84358
          value_builder: ""
84359
          isurl: 0
84360
          hidden: 4
84361
          frameworkcode: "HLD"
84362
          seealso: ""
84363
          link: ""
84364
          defaultvalue:
84365
84366
        - tagfield: "856"
84367
          tagsubfield: "l"
84368
          liblibrarian: "Logon"
84369
          libopac: "Logon"
84370
          repeatable: 0
84371
          mandatory: 0
84372
          kohafield: ""
84373
          tab: 8
84374
          authorised_value: ""
84375
          authtypecode: ""
84376
          value_builder: ""
84377
          isurl: 0
84378
          hidden: 4
84379
          frameworkcode: "HLD"
84380
          seealso: ""
84381
          link: ""
84382
          defaultvalue:
84383
84384
        - tagfield: "856"
84385
          tagsubfield: "m"
84386
          liblibrarian: "Contact for access assistance"
84387
          libopac: "Contact for access assistance"
84388
          repeatable: 1
84389
          mandatory: 0
84390
          kohafield: ""
84391
          tab: 8
84392
          authorised_value: ""
84393
          authtypecode: ""
84394
          value_builder: ""
84395
          isurl: 0
84396
          hidden: 4
84397
          frameworkcode: "HLD"
84398
          seealso: ""
84399
          link: ""
84400
          defaultvalue:
84401
84402
        - tagfield: "856"
84403
          tagsubfield: "n"
84404
          liblibrarian: "Name of location of host"
84405
          libopac: "Name of location of host"
84406
          repeatable: 0
84407
          mandatory: 0
84408
          kohafield: ""
84409
          tab: 8
84410
          authorised_value: ""
84411
          authtypecode: ""
84412
          value_builder: ""
84413
          isurl: 0
84414
          hidden: 4
84415
          frameworkcode: "HLD"
84416
          seealso: ""
84417
          link: ""
84418
          defaultvalue:
84419
84420
        - tagfield: "856"
84421
          tagsubfield: "o"
84422
          liblibrarian: "Operating system"
84423
          libopac: "Operating system"
84424
          repeatable: 0
84425
          mandatory: 0
84426
          kohafield: ""
84427
          tab: 8
84428
          authorised_value: ""
84429
          authtypecode: ""
84430
          value_builder: ""
84431
          isurl: 0
84432
          hidden: 4
84433
          frameworkcode: "HLD"
84434
          seealso: ""
84435
          link: ""
84436
          defaultvalue:
84437
84438
        - tagfield: "856"
84439
          tagsubfield: "p"
84440
          liblibrarian: "Port"
84441
          libopac: "Port"
84442
          repeatable: 0
84443
          mandatory: 0
84444
          kohafield: ""
84445
          tab: 8
84446
          authorised_value: ""
84447
          authtypecode: ""
84448
          value_builder: ""
84449
          isurl: 0
84450
          hidden: 4
84451
          frameworkcode: "HLD"
84452
          seealso: ""
84453
          link: ""
84454
          defaultvalue:
84455
84456
        - tagfield: "856"
84457
          tagsubfield: "q"
84458
          liblibrarian: "Electronic format type"
84459
          libopac: "Electronic format type"
84460
          repeatable: 0
84461
          mandatory: 0
84462
          kohafield: ""
84463
          tab: 8
84464
          authorised_value: ""
84465
          authtypecode: ""
84466
          value_builder: ""
84467
          isurl: 0
84468
          hidden: 4
84469
          frameworkcode: "HLD"
84470
          seealso: ""
84471
          link: ""
84472
          defaultvalue:
84473
84474
        - tagfield: "856"
84475
          tagsubfield: "r"
84476
          liblibrarian: "Settings"
84477
          libopac: "Settings"
84478
          repeatable: 0
84479
          mandatory: 0
84480
          kohafield: ""
84481
          tab: 8
84482
          authorised_value: ""
84483
          authtypecode: ""
84484
          value_builder: ""
84485
          isurl: 0
84486
          hidden: 4
84487
          frameworkcode: "HLD"
84488
          seealso: ""
84489
          link: ""
84490
          defaultvalue:
84491
84492
        - tagfield: "856"
84493
          tagsubfield: "s"
84494
          liblibrarian: "File size"
84495
          libopac: "File size"
84496
          repeatable: 1
84497
          mandatory: 0
84498
          kohafield: ""
84499
          tab: 8
84500
          authorised_value: ""
84501
          authtypecode: ""
84502
          value_builder: ""
84503
          isurl: 0
84504
          hidden: 4
84505
          frameworkcode: "HLD"
84506
          seealso: ""
84507
          link: ""
84508
          defaultvalue:
84509
84510
        - tagfield: "856"
84511
          tagsubfield: "t"
84512
          liblibrarian: "Terminal emulation"
84513
          libopac: "Terminal emulation"
84514
          repeatable: 1
84515
          mandatory: 0
84516
          kohafield: ""
84517
          tab: 8
84518
          authorised_value: ""
84519
          authtypecode: ""
84520
          value_builder: ""
84521
          isurl: 0
84522
          hidden: 4
84523
          frameworkcode: "HLD"
84524
          seealso: ""
84525
          link: ""
84526
          defaultvalue:
84527
84528
        - tagfield: "856"
84529
          tagsubfield: "u"
84530
          liblibrarian: "Uniform Resource Identifier"
84531
          libopac: "Uniform Resource Identifier"
84532
          repeatable: 1
84533
          mandatory: 0
84534
          kohafield: ""
84535
          tab: 8
84536
          authorised_value: ""
84537
          authtypecode: ""
84538
          value_builder: ""
84539
          isurl: 1
84540
          hidden: 4
84541
          frameworkcode: "HLD"
84542
          seealso: ""
84543
          link: ""
84544
          defaultvalue:
84545
84546
        - tagfield: "856"
84547
          tagsubfield: "v"
84548
          liblibrarian: "Hours access method available"
84549
          libopac: "Hours access method available"
84550
          repeatable: 1
84551
          mandatory: 0
84552
          kohafield: ""
84553
          tab: 8
84554
          authorised_value: ""
84555
          authtypecode: ""
84556
          value_builder: ""
84557
          isurl: 0
84558
          hidden: 4
84559
          frameworkcode: "HLD"
84560
          seealso: ""
84561
          link: ""
84562
          defaultvalue:
84563
84564
        - tagfield: "856"
84565
          tagsubfield: "w"
84566
          liblibrarian: "Record control number"
84567
          libopac: "Record control number"
84568
          repeatable: 1
84569
          mandatory: 0
84570
          kohafield: ""
84571
          tab: 8
84572
          authorised_value: ""
84573
          authtypecode: ""
84574
          value_builder: ""
84575
          isurl: 0
84576
          hidden: 4
84577
          frameworkcode: "HLD"
84578
          seealso: ""
84579
          link: ""
84580
          defaultvalue:
84581
84582
        - tagfield: "856"
84583
          tagsubfield: "x"
84584
          liblibrarian: "Nonpublic note"
84585
          libopac: "Nonpublic note"
84586
          repeatable: 1
84587
          mandatory: 0
84588
          kohafield: ""
84589
          tab: 8
84590
          authorised_value: ""
84591
          authtypecode: ""
84592
          value_builder: ""
84593
          isurl: 0
84594
          hidden: 4
84595
          frameworkcode: "HLD"
84596
          seealso: ""
84597
          link: ""
84598
          defaultvalue:
84599
84600
        - tagfield: "856"
84601
          tagsubfield: "y"
84602
          liblibrarian: "Link text"
84603
          libopac: "Link text"
84604
          repeatable: 1
84605
          mandatory: 0
84606
          kohafield: ""
84607
          tab: 8
84608
          authorised_value: ""
84609
          authtypecode: ""
84610
          value_builder: ""
84611
          isurl: 0
84612
          hidden: 4
84613
          frameworkcode: "HLD"
84614
          seealso: ""
84615
          link: ""
84616
          defaultvalue:
84617
84618
        - tagfield: "856"
84619
          tagsubfield: "z"
84620
          liblibrarian: "Public note"
84621
          libopac: "Public note"
84622
          repeatable: 1
84623
          mandatory: 0
84624
          kohafield: ""
84625
          tab: 8
84626
          authorised_value: ""
84627
          authtypecode: ""
84628
          value_builder: ""
84629
          isurl: 0
84630
          hidden: 4
84631
          frameworkcode: "HLD"
84632
          seealso: ""
84633
          link: ""
84634
          defaultvalue:
84635
84636
        - tagfield: "863"
84637
          tagsubfield: "6"
84638
          liblibrarian: "Linkage"
84639
          libopac: "Linkage"
84640
          repeatable: 0
84641
          mandatory: 0
84642
          kohafield: ""
84643
          tab: 8
84644
          authorised_value: ""
84645
          authtypecode: ""
84646
          value_builder: ""
84647
          isurl:
84648
          hidden: 5
84649
          frameworkcode: "HLD"
84650
          seealso: ""
84651
          link: ""
84652
          defaultvalue:
84653
84654
        - tagfield: "863"
84655
          tagsubfield: "8"
84656
          liblibrarian: "Field link and sequence number"
84657
          libopac: "Field link and sequence number"
84658
          repeatable: 0
84659
          mandatory: 0
84660
          kohafield: ""
84661
          tab: 8
84662
          authorised_value: ""
84663
          authtypecode: ""
84664
          value_builder: ""
84665
          isurl:
84666
          hidden: 5
84667
          frameworkcode: "HLD"
84668
          seealso: ""
84669
          link: ""
84670
          defaultvalue:
84671
84672
        - tagfield: "863"
84673
          tagsubfield: "a"
84674
          liblibrarian: "First level of enumeration"
84675
          libopac: "First level of enumeration"
84676
          repeatable: 0
84677
          mandatory: 0
84678
          kohafield: "holdings.summary"
84679
          tab: 8
84680
          authorised_value: ""
84681
          authtypecode: ""
84682
          value_builder: ""
84683
          isurl: 0
84684
          hidden: 4
84685
          frameworkcode: "HLD"
84686
          seealso: ""
84687
          link: ""
84688
          defaultvalue:
84689
84690
        - tagfield: "863"
84691
          tagsubfield: "b"
84692
          liblibrarian: "Second level of enumeration"
84693
          libopac: "Second level of enumeration"
84694
          repeatable: 0
84695
          mandatory: 0
84696
          kohafield: "holdings.summary"
84697
          tab: 8
84698
          authorised_value: ""
84699
          authtypecode: ""
84700
          value_builder: ""
84701
          isurl: 0
84702
          hidden: 4
84703
          frameworkcode: "HLD"
84704
          seealso: ""
84705
          link: ""
84706
          defaultvalue:
84707
84708
        - tagfield: "863"
84709
          tagsubfield: "c"
84710
          liblibrarian: "Third level of enumeration"
84711
          libopac: "Third level of enumeration"
84712
          repeatable: 0
84713
          mandatory: 0
84714
          kohafield: ""
84715
          tab: 8
84716
          authorised_value: ""
84717
          authtypecode: ""
84718
          value_builder: ""
84719
          isurl: 0
84720
          hidden: 4
84721
          frameworkcode: "HLD"
84722
          seealso: ""
84723
          link: ""
84724
          defaultvalue:
84725
84726
        - tagfield: "863"
84727
          tagsubfield: "d"
84728
          liblibrarian: "Fourth level of enumeration"
84729
          libopac: "Fourth level of enumeration"
84730
          repeatable: 0
84731
          mandatory: 0
84732
          kohafield: ""
84733
          tab: 8
84734
          authorised_value: ""
84735
          authtypecode: ""
84736
          value_builder: ""
84737
          isurl: 0
84738
          hidden: 4
84739
          frameworkcode: "HLD"
84740
          seealso: ""
84741
          link: ""
84742
          defaultvalue:
84743
84744
        - tagfield: "863"
84745
          tagsubfield: "e"
84746
          liblibrarian: "Fifth level of enumeration"
84747
          libopac: "Fifth level of enumeration"
84748
          repeatable: 0
84749
          mandatory: 0
84750
          kohafield: ""
84751
          tab: 8
84752
          authorised_value: ""
84753
          authtypecode: ""
84754
          value_builder: ""
84755
          isurl: 0
84756
          hidden: 4
84757
          frameworkcode: "HLD"
84758
          seealso: ""
84759
          link: ""
84760
          defaultvalue:
84761
84762
        - tagfield: "863"
84763
          tagsubfield: "f"
84764
          liblibrarian: "Sixth level of enumeration"
84765
          libopac: "Sixth level of enumeration"
84766
          repeatable: 0
84767
          mandatory: 0
84768
          kohafield: ""
84769
          tab: 8
84770
          authorised_value: ""
84771
          authtypecode: ""
84772
          value_builder: ""
84773
          isurl: 0
84774
          hidden: 4
84775
          frameworkcode: "HLD"
84776
          seealso: ""
84777
          link: ""
84778
          defaultvalue:
84779
84780
        - tagfield: "863"
84781
          tagsubfield: "g"
84782
          liblibrarian: "Alternative numbering scheme, first level of enumeration"
84783
          libopac: "Alternative numbering scheme, first level of enumeration"
84784
          repeatable: 0
84785
          mandatory: 0
84786
          kohafield: ""
84787
          tab: 8
84788
          authorised_value: ""
84789
          authtypecode: ""
84790
          value_builder: ""
84791
          isurl: 0
84792
          hidden: 4
84793
          frameworkcode: "HLD"
84794
          seealso: ""
84795
          link: ""
84796
          defaultvalue:
84797
84798
        - tagfield: "863"
84799
          tagsubfield: "h"
84800
          liblibrarian: "Alternative numbering scheme, second level of enumeration"
84801
          libopac: "Alternative numbering scheme, second level of enumeration"
84802
          repeatable: 0
84803
          mandatory: 0
84804
          kohafield: ""
84805
          tab: 8
84806
          authorised_value: ""
84807
          authtypecode: ""
84808
          value_builder: ""
84809
          isurl: 0
84810
          hidden: 4
84811
          frameworkcode: "HLD"
84812
          seealso: ""
84813
          link: ""
84814
          defaultvalue:
84815
84816
        - tagfield: "863"
84817
          tagsubfield: "i"
84818
          liblibrarian: "First level of chronology"
84819
          libopac: "First level of chronology"
84820
          repeatable: 0
84821
          mandatory: 0
84822
          kohafield: "holdings.summary"
84823
          tab: 8
84824
          authorised_value: ""
84825
          authtypecode: ""
84826
          value_builder: ""
84827
          isurl: 0
84828
          hidden: 4
84829
          frameworkcode: "HLD"
84830
          seealso: ""
84831
          link: ""
84832
          defaultvalue:
84833
84834
        - tagfield: "863"
84835
          tagsubfield: "j"
84836
          liblibrarian: "Second level of chronology"
84837
          libopac: "Second level of chronology"
84838
          repeatable: 0
84839
          mandatory: 0
84840
          kohafield: ""
84841
          tab: 8
84842
          authorised_value: ""
84843
          authtypecode: ""
84844
          value_builder: ""
84845
          isurl: 0
84846
          hidden: 4
84847
          frameworkcode: "HLD"
84848
          seealso: ""
84849
          link: ""
84850
          defaultvalue:
84851
84852
        - tagfield: "863"
84853
          tagsubfield: "k"
84854
          liblibrarian: "Third level of chronology"
84855
          libopac: "Third level of chronology"
84856
          repeatable: 0
84857
          mandatory: 0
84858
          kohafield: ""
84859
          tab: 8
84860
          authorised_value: ""
84861
          authtypecode: ""
84862
          value_builder: ""
84863
          isurl: 0
84864
          hidden: 4
84865
          frameworkcode: "HLD"
84866
          seealso: ""
84867
          link: ""
84868
          defaultvalue:
84869
84870
        - tagfield: "863"
84871
          tagsubfield: "l"
84872
          liblibrarian: "Fourth level of chronology"
84873
          libopac: "Fourth level of chronology"
84874
          repeatable: 0
84875
          mandatory: 0
84876
          kohafield: ""
84877
          tab: 8
84878
          authorised_value: ""
84879
          authtypecode: ""
84880
          value_builder: ""
84881
          isurl: 0
84882
          hidden: 4
84883
          frameworkcode: "HLD"
84884
          seealso: ""
84885
          link: ""
84886
          defaultvalue:
84887
84888
        - tagfield: "863"
84889
          tagsubfield: "m"
84890
          liblibrarian: "Alternative numbering scheme, chronology"
84891
          libopac: "Alternative numbering scheme, chronology"
84892
          repeatable: 0
84893
          mandatory: 0
84894
          kohafield: ""
84895
          tab: 8
84896
          authorised_value: ""
84897
          authtypecode: ""
84898
          value_builder: ""
84899
          isurl: 0
84900
          hidden: 4
84901
          frameworkcode: "HLD"
84902
          seealso: ""
84903
          link: ""
84904
          defaultvalue:
84905
84906
        - tagfield: "863"
84907
          tagsubfield: "n"
84908
          liblibrarian: "Converted Gregorian year"
84909
          libopac: "Converted Gregorian year"
84910
          repeatable: 0
84911
          mandatory: 0
84912
          kohafield: ""
84913
          tab: 8
84914
          authorised_value: ""
84915
          authtypecode: ""
84916
          value_builder: ""
84917
          isurl: 0
84918
          hidden: 4
84919
          frameworkcode: "HLD"
84920
          seealso: ""
84921
          link: ""
84922
          defaultvalue:
84923
84924
        - tagfield: "863"
84925
          tagsubfield: "o"
84926
          liblibrarian: "Type of unit"
84927
          libopac: "Type of unit"
84928
          repeatable: 1
84929
          mandatory: 0
84930
          kohafield: ""
84931
          tab: 8
84932
          authorised_value: ""
84933
          authtypecode: ""
84934
          value_builder: ""
84935
          isurl: 0
84936
          hidden: 4
84937
          frameworkcode: "HLD"
84938
          seealso: ""
84939
          link: ""
84940
          defaultvalue:
84941
84942
        - tagfield: "863"
84943
          tagsubfield: "p"
84944
          liblibrarian: "Piece designation"
84945
          libopac: "Piece designation"
84946
          repeatable: 0
84947
          mandatory: 0
84948
          kohafield: ""
84949
          tab: 8
84950
          authorised_value: ""
84951
          authtypecode: ""
84952
          value_builder: ""
84953
          isurl: 0
84954
          hidden: 4
84955
          frameworkcode: "HLD"
84956
          seealso: ""
84957
          link: ""
84958
          defaultvalue:
84959
84960
        - tagfield: "863"
84961
          tagsubfield: "q"
84962
          liblibrarian: "Piece physical condition"
84963
          libopac: "Piece physical condition"
84964
          repeatable: 0
84965
          mandatory: 0
84966
          kohafield: ""
84967
          tab: 8
84968
          authorised_value: ""
84969
          authtypecode: ""
84970
          value_builder: ""
84971
          isurl: 0
84972
          hidden: 4
84973
          frameworkcode: "HLD"
84974
          seealso: ""
84975
          link: ""
84976
          defaultvalue:
84977
84978
        - tagfield: "863"
84979
          tagsubfield: "s"
84980
          liblibrarian: "Copyright article-fee code"
84981
          libopac: "Copyright article-fee code"
84982
          repeatable: 1
84983
          mandatory: 0
84984
          kohafield: ""
84985
          tab: 8
84986
          authorised_value: ""
84987
          authtypecode: ""
84988
          value_builder: ""
84989
          isurl: 0
84990
          hidden: 4
84991
          frameworkcode: "HLD"
84992
          seealso: ""
84993
          link: ""
84994
          defaultvalue:
84995
84996
        - tagfield: "863"
84997
          tagsubfield: "t"
84998
          liblibrarian: "Copy number"
84999
          libopac: "Copy number"
85000
          repeatable: 0
85001
          mandatory: 0
85002
          kohafield: ""
85003
          tab: 8
85004
          authorised_value: ""
85005
          authtypecode: ""
85006
          value_builder: ""
85007
          isurl: 0
85008
          hidden: 4
85009
          frameworkcode: "HLD"
85010
          seealso: ""
85011
          link: ""
85012
          defaultvalue:
85013
85014
        - tagfield: "863"
85015
          tagsubfield: "v"
85016
          liblibrarian: "Issuing date"
85017
          libopac: "Issuing date"
85018
          repeatable: 1
85019
          mandatory: 0
85020
          kohafield: ""
85021
          tab: 8
85022
          authorised_value: ""
85023
          authtypecode: ""
85024
          value_builder: ""
85025
          isurl: 0
85026
          hidden: 4
85027
          frameworkcode: "HLD"
85028
          seealso: ""
85029
          link: ""
85030
          defaultvalue:
85031
85032
        - tagfield: "863"
85033
          tagsubfield: "w"
85034
          liblibrarian: "Break indicator"
85035
          libopac: "Break indicator"
85036
          repeatable: 0
85037
          mandatory: 0
85038
          kohafield: ""
85039
          tab: 8
85040
          authorised_value: ""
85041
          authtypecode: ""
85042
          value_builder: ""
85043
          isurl: 0
85044
          hidden: 4
85045
          frameworkcode: "HLD"
85046
          seealso: ""
85047
          link: ""
85048
          defaultvalue:
85049
85050
        - tagfield: "863"
85051
          tagsubfield: "x"
85052
          liblibrarian: "Nonpublic note"
85053
          libopac: "Nonpublic note"
85054
          repeatable: 1
85055
          mandatory: 0
85056
          kohafield: ""
85057
          tab: 8
85058
          authorised_value: ""
85059
          authtypecode: ""
85060
          value_builder: ""
85061
          isurl: 0
85062
          hidden: 4
85063
          frameworkcode: "HLD"
85064
          seealso: ""
85065
          link: ""
85066
          defaultvalue:
85067
85068
        - tagfield: "863"
85069
          tagsubfield: "z"
85070
          liblibrarian: "Public note"
85071
          libopac: "Public note"
85072
          repeatable: 1
85073
          mandatory: 0
85074
          kohafield: "holdings.summary"
85075
          tab: 8
85076
          authorised_value: ""
85077
          authtypecode: ""
85078
          value_builder: ""
85079
          isurl: 0
85080
          hidden: 4
85081
          frameworkcode: "HLD"
85082
          seealso: ""
85083
          link: ""
85084
          defaultvalue:
85085
85086
        - tagfield: "864"
85087
          tagsubfield: "6"
85088
          liblibrarian: "Linkage"
85089
          libopac: "Linkage"
85090
          repeatable: 0
85091
          mandatory: 0
85092
          kohafield: ""
85093
          tab: 8
85094
          authorised_value: ""
85095
          authtypecode: ""
85096
          value_builder: ""
85097
          isurl:
85098
          hidden: 5
85099
          frameworkcode: "HLD"
85100
          seealso: ""
85101
          link: ""
85102
          defaultvalue:
85103
85104
        - tagfield: "864"
85105
          tagsubfield: "8"
85106
          liblibrarian: "Field link and sequence number"
85107
          libopac: "Field link and sequence number"
85108
          repeatable: 0
85109
          mandatory: 0
85110
          kohafield: ""
85111
          tab: 8
85112
          authorised_value: ""
85113
          authtypecode: ""
85114
          value_builder: ""
85115
          isurl:
85116
          hidden: 5
85117
          frameworkcode: "HLD"
85118
          seealso: ""
85119
          link: ""
85120
          defaultvalue:
85121
85122
        - tagfield: "864"
85123
          tagsubfield: "a"
85124
          liblibrarian: "First level of enumeration"
85125
          libopac: "First level of enumeration"
85126
          repeatable: 0
85127
          mandatory: 0
85128
          kohafield: ""
85129
          tab: 8
85130
          authorised_value: ""
85131
          authtypecode: ""
85132
          value_builder: ""
85133
          isurl: 0
85134
          hidden: 4
85135
          frameworkcode: "HLD"
85136
          seealso: ""
85137
          link: ""
85138
          defaultvalue:
85139
85140
        - tagfield: "864"
85141
          tagsubfield: "b"
85142
          liblibrarian: "Second level of enumeration"
85143
          libopac: "Second level of enumeration"
85144
          repeatable: 0
85145
          mandatory: 0
85146
          kohafield: ""
85147
          tab: 8
85148
          authorised_value: ""
85149
          authtypecode: ""
85150
          value_builder: ""
85151
          isurl: 0
85152
          hidden: 4
85153
          frameworkcode: "HLD"
85154
          seealso: ""
85155
          link: ""
85156
          defaultvalue:
85157
85158
        - tagfield: "864"
85159
          tagsubfield: "c"
85160
          liblibrarian: "Third level of enumeration"
85161
          libopac: "Third level of enumeration"
85162
          repeatable: 0
85163
          mandatory: 0
85164
          kohafield: ""
85165
          tab: 8
85166
          authorised_value: ""
85167
          authtypecode: ""
85168
          value_builder: ""
85169
          isurl: 0
85170
          hidden: 4
85171
          frameworkcode: "HLD"
85172
          seealso: ""
85173
          link: ""
85174
          defaultvalue:
85175
85176
        - tagfield: "864"
85177
          tagsubfield: "d"
85178
          liblibrarian: "Fourth level of enumeration"
85179
          libopac: "Fourth level of enumeration"
85180
          repeatable: 0
85181
          mandatory: 0
85182
          kohafield: ""
85183
          tab: 8
85184
          authorised_value: ""
85185
          authtypecode: ""
85186
          value_builder: ""
85187
          isurl: 0
85188
          hidden: 4
85189
          frameworkcode: "HLD"
85190
          seealso: ""
85191
          link: ""
85192
          defaultvalue:
85193
85194
        - tagfield: "864"
85195
          tagsubfield: "e"
85196
          liblibrarian: "Fifth level of enumeration"
85197
          libopac: "Fifth level of enumeration"
85198
          repeatable: 0
85199
          mandatory: 0
85200
          kohafield: ""
85201
          tab: 8
85202
          authorised_value: ""
85203
          authtypecode: ""
85204
          value_builder: ""
85205
          isurl: 0
85206
          hidden: 4
85207
          frameworkcode: "HLD"
85208
          seealso: ""
85209
          link: ""
85210
          defaultvalue:
85211
85212
        - tagfield: "864"
85213
          tagsubfield: "f"
85214
          liblibrarian: "Sixth level of enumeration"
85215
          libopac: "Sixth level of enumeration"
85216
          repeatable: 0
85217
          mandatory: 0
85218
          kohafield: ""
85219
          tab: 8
85220
          authorised_value: ""
85221
          authtypecode: ""
85222
          value_builder: ""
85223
          isurl: 0
85224
          hidden: 4
85225
          frameworkcode: "HLD"
85226
          seealso: ""
85227
          link: ""
85228
          defaultvalue:
85229
85230
        - tagfield: "864"
85231
          tagsubfield: "g"
85232
          liblibrarian: "Alternative numbering scheme, first level of enumeration"
85233
          libopac: "Alternative numbering scheme, first level of enumeration"
85234
          repeatable: 0
85235
          mandatory: 0
85236
          kohafield: ""
85237
          tab: 8
85238
          authorised_value: ""
85239
          authtypecode: ""
85240
          value_builder: ""
85241
          isurl: 0
85242
          hidden: 4
85243
          frameworkcode: "HLD"
85244
          seealso: ""
85245
          link: ""
85246
          defaultvalue:
85247
85248
        - tagfield: "864"
85249
          tagsubfield: "h"
85250
          liblibrarian: "Alternative numbering scheme, second level of enumeration"
85251
          libopac: "Alternative numbering scheme, second level of enumeration"
85252
          repeatable: 0
85253
          mandatory: 0
85254
          kohafield: ""
85255
          tab: 8
85256
          authorised_value: ""
85257
          authtypecode: ""
85258
          value_builder: ""
85259
          isurl: 0
85260
          hidden: 4
85261
          frameworkcode: "HLD"
85262
          seealso: ""
85263
          link: ""
85264
          defaultvalue:
85265
85266
        - tagfield: "864"
85267
          tagsubfield: "i"
85268
          liblibrarian: "First level of chronology"
85269
          libopac: "First level of chronology"
85270
          repeatable: 0
85271
          mandatory: 0
85272
          kohafield: ""
85273
          tab: 8
85274
          authorised_value: ""
85275
          authtypecode: ""
85276
          value_builder: ""
85277
          isurl: 0
85278
          hidden: 4
85279
          frameworkcode: "HLD"
85280
          seealso: ""
85281
          link: ""
85282
          defaultvalue:
85283
85284
        - tagfield: "864"
85285
          tagsubfield: "j"
85286
          liblibrarian: "Second level of chronology"
85287
          libopac: "Second level of chronology"
85288
          repeatable: 0
85289
          mandatory: 0
85290
          kohafield: ""
85291
          tab: 8
85292
          authorised_value: ""
85293
          authtypecode: ""
85294
          value_builder: ""
85295
          isurl: 0
85296
          hidden: 4
85297
          frameworkcode: "HLD"
85298
          seealso: ""
85299
          link: ""
85300
          defaultvalue:
85301
85302
        - tagfield: "864"
85303
          tagsubfield: "k"
85304
          liblibrarian: "Third level of chronology"
85305
          libopac: "Third level of chronology"
85306
          repeatable: 0
85307
          mandatory: 0
85308
          kohafield: ""
85309
          tab: 8
85310
          authorised_value: ""
85311
          authtypecode: ""
85312
          value_builder: ""
85313
          isurl: 0
85314
          hidden: 4
85315
          frameworkcode: "HLD"
85316
          seealso: ""
85317
          link: ""
85318
          defaultvalue:
85319
85320
        - tagfield: "864"
85321
          tagsubfield: "l"
85322
          liblibrarian: "Fourth level of chronology"
85323
          libopac: "Fourth level of chronology"
85324
          repeatable: 0
85325
          mandatory: 0
85326
          kohafield: ""
85327
          tab: 8
85328
          authorised_value: ""
85329
          authtypecode: ""
85330
          value_builder: ""
85331
          isurl: 0
85332
          hidden: 4
85333
          frameworkcode: "HLD"
85334
          seealso: ""
85335
          link: ""
85336
          defaultvalue:
85337
85338
        - tagfield: "864"
85339
          tagsubfield: "m"
85340
          liblibrarian: "Alternative numbering scheme, chronology"
85341
          libopac: "Alternative numbering scheme, chronology"
85342
          repeatable: 0
85343
          mandatory: 0
85344
          kohafield: ""
85345
          tab: 8
85346
          authorised_value: ""
85347
          authtypecode: ""
85348
          value_builder: ""
85349
          isurl: 0
85350
          hidden: 4
85351
          frameworkcode: "HLD"
85352
          seealso: ""
85353
          link: ""
85354
          defaultvalue:
85355
85356
        - tagfield: "864"
85357
          tagsubfield: "n"
85358
          liblibrarian: "Converted Gregorian year"
85359
          libopac: "Converted Gregorian year"
85360
          repeatable: 0
85361
          mandatory: 0
85362
          kohafield: ""
85363
          tab: 8
85364
          authorised_value: ""
85365
          authtypecode: ""
85366
          value_builder: ""
85367
          isurl: 0
85368
          hidden: 4
85369
          frameworkcode: "HLD"
85370
          seealso: ""
85371
          link: ""
85372
          defaultvalue:
85373
85374
        - tagfield: "864"
85375
          tagsubfield: "o"
85376
          liblibrarian: "Type of unit"
85377
          libopac: "Type of unit"
85378
          repeatable: 1
85379
          mandatory: 0
85380
          kohafield: ""
85381
          tab: 8
85382
          authorised_value: ""
85383
          authtypecode: ""
85384
          value_builder: ""
85385
          isurl: 0
85386
          hidden: 4
85387
          frameworkcode: "HLD"
85388
          seealso: ""
85389
          link: ""
85390
          defaultvalue:
85391
85392
        - tagfield: "864"
85393
          tagsubfield: "p"
85394
          liblibrarian: "Piece designation"
85395
          libopac: "Piece designation"
85396
          repeatable: 0
85397
          mandatory: 0
85398
          kohafield: ""
85399
          tab: 8
85400
          authorised_value: ""
85401
          authtypecode: ""
85402
          value_builder: ""
85403
          isurl: 0
85404
          hidden: 4
85405
          frameworkcode: "HLD"
85406
          seealso: ""
85407
          link: ""
85408
          defaultvalue:
85409
85410
        - tagfield: "864"
85411
          tagsubfield: "q"
85412
          liblibrarian: "Piece physical condition"
85413
          libopac: "Piece physical condition"
85414
          repeatable: 0
85415
          mandatory: 0
85416
          kohafield: ""
85417
          tab: 8
85418
          authorised_value: ""
85419
          authtypecode: ""
85420
          value_builder: ""
85421
          isurl: 0
85422
          hidden: 4
85423
          frameworkcode: "HLD"
85424
          seealso: ""
85425
          link: ""
85426
          defaultvalue:
85427
85428
        - tagfield: "864"
85429
          tagsubfield: "s"
85430
          liblibrarian: "Copyright article-fee code"
85431
          libopac: "Copyright article-fee code"
85432
          repeatable: 1
85433
          mandatory: 0
85434
          kohafield: ""
85435
          tab: 8
85436
          authorised_value: ""
85437
          authtypecode: ""
85438
          value_builder: ""
85439
          isurl: 0
85440
          hidden: 4
85441
          frameworkcode: "HLD"
85442
          seealso: ""
85443
          link: ""
85444
          defaultvalue:
85445
85446
        - tagfield: "864"
85447
          tagsubfield: "t"
85448
          liblibrarian: "Copy number"
85449
          libopac: "Copy number"
85450
          repeatable: 0
85451
          mandatory: 0
85452
          kohafield: ""
85453
          tab: 8
85454
          authorised_value: ""
85455
          authtypecode: ""
85456
          value_builder: ""
85457
          isurl: 0
85458
          hidden: 4
85459
          frameworkcode: "HLD"
85460
          seealso: ""
85461
          link: ""
85462
          defaultvalue:
85463
85464
        - tagfield: "864"
85465
          tagsubfield: "v"
85466
          liblibrarian: "Issuing date"
85467
          libopac: "Issuing date"
85468
          repeatable: 1
85469
          mandatory: 0
85470
          kohafield: ""
85471
          tab: 8
85472
          authorised_value: ""
85473
          authtypecode: ""
85474
          value_builder: ""
85475
          isurl: 0
85476
          hidden: 4
85477
          frameworkcode: "HLD"
85478
          seealso: ""
85479
          link: ""
85480
          defaultvalue:
85481
85482
        - tagfield: "864"
85483
          tagsubfield: "w"
85484
          liblibrarian: "Break indicator"
85485
          libopac: "Break indicator"
85486
          repeatable: 0
85487
          mandatory: 0
85488
          kohafield: ""
85489
          tab: 8
85490
          authorised_value: ""
85491
          authtypecode: ""
85492
          value_builder: ""
85493
          isurl: 0
85494
          hidden: 4
85495
          frameworkcode: "HLD"
85496
          seealso: ""
85497
          link: ""
85498
          defaultvalue:
85499
85500
        - tagfield: "864"
85501
          tagsubfield: "x"
85502
          liblibrarian: "Nonpublic note"
85503
          libopac: "Nonpublic note"
85504
          repeatable: 1
85505
          mandatory: 0
85506
          kohafield: ""
85507
          tab: 8
85508
          authorised_value: ""
85509
          authtypecode: ""
85510
          value_builder: ""
85511
          isurl: 0
85512
          hidden: 4
85513
          frameworkcode: "HLD"
85514
          seealso: ""
85515
          link: ""
85516
          defaultvalue:
85517
85518
        - tagfield: "864"
85519
          tagsubfield: "z"
85520
          liblibrarian: "Public note"
85521
          libopac: "Public note"
85522
          repeatable: 1
85523
          mandatory: 0
85524
          kohafield: ""
85525
          tab: 8
85526
          authorised_value: ""
85527
          authtypecode: ""
85528
          value_builder: ""
85529
          isurl: 0
85530
          hidden: 4
85531
          frameworkcode: "HLD"
85532
          seealso: ""
85533
          link: ""
85534
          defaultvalue:
85535
85536
        - tagfield: "865"
85537
          tagsubfield: "6"
85538
          liblibrarian: "Linkage"
85539
          libopac: "Linkage"
85540
          repeatable: 0
85541
          mandatory: 0
85542
          kohafield: ""
85543
          tab: 8
85544
          authorised_value: ""
85545
          authtypecode: ""
85546
          value_builder: ""
85547
          isurl:
85548
          hidden: 5
85549
          frameworkcode: "HLD"
85550
          seealso: ""
85551
          link: ""
85552
          defaultvalue:
85553
85554
        - tagfield: "865"
85555
          tagsubfield: "8"
85556
          liblibrarian: "Field link and sequence number"
85557
          libopac: "Field link and sequence number"
85558
          repeatable: 0
85559
          mandatory: 0
85560
          kohafield: ""
85561
          tab: 8
85562
          authorised_value: ""
85563
          authtypecode: ""
85564
          value_builder: ""
85565
          isurl:
85566
          hidden: 5
85567
          frameworkcode: "HLD"
85568
          seealso: ""
85569
          link: ""
85570
          defaultvalue:
85571
85572
        - tagfield: "865"
85573
          tagsubfield: "a"
85574
          liblibrarian: "First level of enumeration"
85575
          libopac: "First level of enumeration"
85576
          repeatable: 0
85577
          mandatory: 0
85578
          kohafield: ""
85579
          tab: 8
85580
          authorised_value: ""
85581
          authtypecode: ""
85582
          value_builder: ""
85583
          isurl: 0
85584
          hidden: 4
85585
          frameworkcode: "HLD"
85586
          seealso: ""
85587
          link: ""
85588
          defaultvalue:
85589
85590
        - tagfield: "865"
85591
          tagsubfield: "b"
85592
          liblibrarian: "Second level of enumeration"
85593
          libopac: "Second level of enumeration"
85594
          repeatable: 0
85595
          mandatory: 0
85596
          kohafield: ""
85597
          tab: 8
85598
          authorised_value: ""
85599
          authtypecode: ""
85600
          value_builder: ""
85601
          isurl: 0
85602
          hidden: 4
85603
          frameworkcode: "HLD"
85604
          seealso: ""
85605
          link: ""
85606
          defaultvalue:
85607
85608
        - tagfield: "865"
85609
          tagsubfield: "c"
85610
          liblibrarian: "Third level of enumeration"
85611
          libopac: "Third level of enumeration"
85612
          repeatable: 0
85613
          mandatory: 0
85614
          kohafield: ""
85615
          tab: 8
85616
          authorised_value: ""
85617
          authtypecode: ""
85618
          value_builder: ""
85619
          isurl: 0
85620
          hidden: 4
85621
          frameworkcode: "HLD"
85622
          seealso: ""
85623
          link: ""
85624
          defaultvalue:
85625
85626
        - tagfield: "865"
85627
          tagsubfield: "d"
85628
          liblibrarian: "Fourth level of enumeration"
85629
          libopac: "Fourth level of enumeration"
85630
          repeatable: 0
85631
          mandatory: 0
85632
          kohafield: ""
85633
          tab: 8
85634
          authorised_value: ""
85635
          authtypecode: ""
85636
          value_builder: ""
85637
          isurl: 0
85638
          hidden: 4
85639
          frameworkcode: "HLD"
85640
          seealso: ""
85641
          link: ""
85642
          defaultvalue:
85643
85644
        - tagfield: "865"
85645
          tagsubfield: "e"
85646
          liblibrarian: "Fifth level of enumeration"
85647
          libopac: "Fifth level of enumeration"
85648
          repeatable: 0
85649
          mandatory: 0
85650
          kohafield: ""
85651
          tab: 8
85652
          authorised_value: ""
85653
          authtypecode: ""
85654
          value_builder: ""
85655
          isurl: 0
85656
          hidden: 4
85657
          frameworkcode: "HLD"
85658
          seealso: ""
85659
          link: ""
85660
          defaultvalue:
85661
85662
        - tagfield: "865"
85663
          tagsubfield: "f"
85664
          liblibrarian: "Sixth level of enumeration"
85665
          libopac: "Sixth level of enumeration"
85666
          repeatable: 0
85667
          mandatory: 0
85668
          kohafield: ""
85669
          tab: 8
85670
          authorised_value: ""
85671
          authtypecode: ""
85672
          value_builder: ""
85673
          isurl: 0
85674
          hidden: 4
85675
          frameworkcode: "HLD"
85676
          seealso: ""
85677
          link: ""
85678
          defaultvalue:
85679
85680
        - tagfield: "865"
85681
          tagsubfield: "g"
85682
          liblibrarian: "Alternative numbering scheme, first level of enumeration"
85683
          libopac: "Alternative numbering scheme, first level of enumeration"
85684
          repeatable: 0
85685
          mandatory: 0
85686
          kohafield: ""
85687
          tab: 8
85688
          authorised_value: ""
85689
          authtypecode: ""
85690
          value_builder: ""
85691
          isurl: 0
85692
          hidden: 4
85693
          frameworkcode: "HLD"
85694
          seealso: ""
85695
          link: ""
85696
          defaultvalue:
85697
85698
        - tagfield: "865"
85699
          tagsubfield: "h"
85700
          liblibrarian: "Alternative numbering scheme, second level of enumeration"
85701
          libopac: "Alternative numbering scheme, second level of enumeration"
85702
          repeatable: 0
85703
          mandatory: 0
85704
          kohafield: ""
85705
          tab: 8
85706
          authorised_value: ""
85707
          authtypecode: ""
85708
          value_builder: ""
85709
          isurl: 0
85710
          hidden: 4
85711
          frameworkcode: "HLD"
85712
          seealso: ""
85713
          link: ""
85714
          defaultvalue:
85715
85716
        - tagfield: "865"
85717
          tagsubfield: "i"
85718
          liblibrarian: "First level of chronology"
85719
          libopac: "First level of chronology"
85720
          repeatable: 0
85721
          mandatory: 0
85722
          kohafield: ""
85723
          tab: 8
85724
          authorised_value: ""
85725
          authtypecode: ""
85726
          value_builder: ""
85727
          isurl: 0
85728
          hidden: 4
85729
          frameworkcode: "HLD"
85730
          seealso: ""
85731
          link: ""
85732
          defaultvalue:
85733
85734
        - tagfield: "865"
85735
          tagsubfield: "j"
85736
          liblibrarian: "Second level of chronology"
85737
          libopac: "Second level of chronology"
85738
          repeatable: 0
85739
          mandatory: 0
85740
          kohafield: ""
85741
          tab: 8
85742
          authorised_value: ""
85743
          authtypecode: ""
85744
          value_builder: ""
85745
          isurl: 0
85746
          hidden: 4
85747
          frameworkcode: "HLD"
85748
          seealso: ""
85749
          link: ""
85750
          defaultvalue:
85751
85752
        - tagfield: "865"
85753
          tagsubfield: "k"
85754
          liblibrarian: "Third level of chronology"
85755
          libopac: "Third level of chronology"
85756
          repeatable: 0
85757
          mandatory: 0
85758
          kohafield: ""
85759
          tab: 8
85760
          authorised_value: ""
85761
          authtypecode: ""
85762
          value_builder: ""
85763
          isurl: 0
85764
          hidden: 4
85765
          frameworkcode: "HLD"
85766
          seealso: ""
85767
          link: ""
85768
          defaultvalue:
85769
85770
        - tagfield: "865"
85771
          tagsubfield: "l"
85772
          liblibrarian: "Fourth level of chronology"
85773
          libopac: "Fourth level of chronology"
85774
          repeatable: 0
85775
          mandatory: 0
85776
          kohafield: ""
85777
          tab: 8
85778
          authorised_value: ""
85779
          authtypecode: ""
85780
          value_builder: ""
85781
          isurl: 0
85782
          hidden: 4
85783
          frameworkcode: "HLD"
85784
          seealso: ""
85785
          link: ""
85786
          defaultvalue:
85787
85788
        - tagfield: "865"
85789
          tagsubfield: "m"
85790
          liblibrarian: "Alternative numbering scheme, chronology"
85791
          libopac: "Alternative numbering scheme, chronology"
85792
          repeatable: 0
85793
          mandatory: 0
85794
          kohafield: ""
85795
          tab: 8
85796
          authorised_value: ""
85797
          authtypecode: ""
85798
          value_builder: ""
85799
          isurl: 0
85800
          hidden: 4
85801
          frameworkcode: "HLD"
85802
          seealso: ""
85803
          link: ""
85804
          defaultvalue:
85805
85806
        - tagfield: "865"
85807
          tagsubfield: "n"
85808
          liblibrarian: "Converted Gregorian year"
85809
          libopac: "Converted Gregorian year"
85810
          repeatable: 0
85811
          mandatory: 0
85812
          kohafield: ""
85813
          tab: 8
85814
          authorised_value: ""
85815
          authtypecode: ""
85816
          value_builder: ""
85817
          isurl: 0
85818
          hidden: 4
85819
          frameworkcode: "HLD"
85820
          seealso: ""
85821
          link: ""
85822
          defaultvalue:
85823
85824
        - tagfield: "865"
85825
          tagsubfield: "o"
85826
          liblibrarian: "Type of unit"
85827
          libopac: "Type of unit"
85828
          repeatable: 1
85829
          mandatory: 0
85830
          kohafield: ""
85831
          tab: 8
85832
          authorised_value: ""
85833
          authtypecode: ""
85834
          value_builder: ""
85835
          isurl: 0
85836
          hidden: 4
85837
          frameworkcode: "HLD"
85838
          seealso: ""
85839
          link: ""
85840
          defaultvalue:
85841
85842
        - tagfield: "865"
85843
          tagsubfield: "p"
85844
          liblibrarian: "Piece designation"
85845
          libopac: "Piece designation"
85846
          repeatable: 0
85847
          mandatory: 0
85848
          kohafield: ""
85849
          tab: 8
85850
          authorised_value: ""
85851
          authtypecode: ""
85852
          value_builder: ""
85853
          isurl: 0
85854
          hidden: 4
85855
          frameworkcode: "HLD"
85856
          seealso: ""
85857
          link: ""
85858
          defaultvalue:
85859
85860
        - tagfield: "865"
85861
          tagsubfield: "q"
85862
          liblibrarian: "Piece physical condition"
85863
          libopac: "Piece physical condition"
85864
          repeatable: 0
85865
          mandatory: 0
85866
          kohafield: ""
85867
          tab: 8
85868
          authorised_value: ""
85869
          authtypecode: ""
85870
          value_builder: ""
85871
          isurl: 0
85872
          hidden: 4
85873
          frameworkcode: "HLD"
85874
          seealso: ""
85875
          link: ""
85876
          defaultvalue:
85877
85878
        - tagfield: "865"
85879
          tagsubfield: "s"
85880
          liblibrarian: "Copyright article-fee code"
85881
          libopac: "Copyright article-fee code"
85882
          repeatable: 1
85883
          mandatory: 0
85884
          kohafield: ""
85885
          tab: 8
85886
          authorised_value: ""
85887
          authtypecode: ""
85888
          value_builder: ""
85889
          isurl: 0
85890
          hidden: 4
85891
          frameworkcode: "HLD"
85892
          seealso: ""
85893
          link: ""
85894
          defaultvalue:
85895
85896
        - tagfield: "865"
85897
          tagsubfield: "t"
85898
          liblibrarian: "Copy number"
85899
          libopac: "Copy number"
85900
          repeatable: 0
85901
          mandatory: 0
85902
          kohafield: ""
85903
          tab: 8
85904
          authorised_value: ""
85905
          authtypecode: ""
85906
          value_builder: ""
85907
          isurl: 0
85908
          hidden: 4
85909
          frameworkcode: "HLD"
85910
          seealso: ""
85911
          link: ""
85912
          defaultvalue:
85913
85914
        - tagfield: "865"
85915
          tagsubfield: "v"
85916
          liblibrarian: "Issuing date"
85917
          libopac: "Issuing date"
85918
          repeatable: 1
85919
          mandatory: 0
85920
          kohafield: ""
85921
          tab: 8
85922
          authorised_value: ""
85923
          authtypecode: ""
85924
          value_builder: ""
85925
          isurl: 0
85926
          hidden: 4
85927
          frameworkcode: "HLD"
85928
          seealso: ""
85929
          link: ""
85930
          defaultvalue:
85931
85932
        - tagfield: "865"
85933
          tagsubfield: "w"
85934
          liblibrarian: "Break indicator"
85935
          libopac: "Break indicator"
85936
          repeatable: 0
85937
          mandatory: 0
85938
          kohafield: ""
85939
          tab: 8
85940
          authorised_value: ""
85941
          authtypecode: ""
85942
          value_builder: ""
85943
          isurl: 0
85944
          hidden: 4
85945
          frameworkcode: "HLD"
85946
          seealso: ""
85947
          link: ""
85948
          defaultvalue:
85949
85950
        - tagfield: "865"
85951
          tagsubfield: "x"
85952
          liblibrarian: "Nonpublic note"
85953
          libopac: "Nonpublic note"
85954
          repeatable: 1
85955
          mandatory: 0
85956
          kohafield: ""
85957
          tab: 8
85958
          authorised_value: ""
85959
          authtypecode: ""
85960
          value_builder: ""
85961
          isurl: 0
85962
          hidden: 4
85963
          frameworkcode: "HLD"
85964
          seealso: ""
85965
          link: ""
85966
          defaultvalue:
85967
85968
        - tagfield: "865"
85969
          tagsubfield: "z"
85970
          liblibrarian: "Public note"
85971
          libopac: "Public note"
85972
          repeatable: 1
85973
          mandatory: 0
85974
          kohafield: ""
85975
          tab: 8
85976
          authorised_value: ""
85977
          authtypecode: ""
85978
          value_builder: ""
85979
          isurl: 0
85980
          hidden: 4
85981
          frameworkcode: "HLD"
85982
          seealso: ""
85983
          link: ""
85984
          defaultvalue:
85985
85986
        - tagfield: "866"
85987
          tagsubfield: "6"
85988
          liblibrarian: "Linkage"
85989
          libopac: "Linkage"
85990
          repeatable: 0
85991
          mandatory: 0
85992
          kohafield: ""
85993
          tab: 8
85994
          authorised_value: ""
85995
          authtypecode: ""
85996
          value_builder: ""
85997
          isurl:
85998
          hidden: 5
85999
          frameworkcode: "HLD"
86000
          seealso: ""
86001
          link: ""
86002
          defaultvalue:
86003
86004
        - tagfield: "866"
86005
          tagsubfield: "8"
86006
          liblibrarian: "Field link and sequence number"
86007
          libopac: "Field link and sequence number"
86008
          repeatable: 1
86009
          mandatory: 0
86010
          kohafield: ""
86011
          tab: 8
86012
          authorised_value: ""
86013
          authtypecode: ""
86014
          value_builder: ""
86015
          isurl:
86016
          hidden: 5
86017
          frameworkcode: "HLD"
86018
          seealso: ""
86019
          link: ""
86020
          defaultvalue:
86021
86022
        - tagfield: "866"
86023
          tagsubfield: "a"
86024
          liblibrarian: "Textual string"
86025
          libopac: "Textual string"
86026
          repeatable: 0
86027
          mandatory: 0
86028
          kohafield: ""
86029
          tab: 8
86030
          authorised_value: ""
86031
          authtypecode: ""
86032
          value_builder: ""
86033
          isurl: 0
86034
          hidden: 4
86035
          frameworkcode: "HLD"
86036
          seealso: ""
86037
          link: ""
86038
          defaultvalue:
86039
86040
        - tagfield: "866"
86041
          tagsubfield: "x"
86042
          liblibrarian: "Nonpublic note"
86043
          libopac: "Nonpublic note"
86044
          repeatable: 1
86045
          mandatory: 0
86046
          kohafield: ""
86047
          tab: 8
86048
          authorised_value: ""
86049
          authtypecode: ""
86050
          value_builder: ""
86051
          isurl: 0
86052
          hidden: 4
86053
          frameworkcode: "HLD"
86054
          seealso: ""
86055
          link: ""
86056
          defaultvalue:
86057
86058
        - tagfield: "866"
86059
          tagsubfield: "z"
86060
          liblibrarian: "Public note"
86061
          libopac: "Public note"
86062
          repeatable: 1
86063
          mandatory: 0
86064
          kohafield: ""
86065
          tab: 8
86066
          authorised_value: ""
86067
          authtypecode: ""
86068
          value_builder: ""
86069
          isurl: 0
86070
          hidden: 4
86071
          frameworkcode: "HLD"
86072
          seealso: ""
86073
          link: ""
86074
          defaultvalue:
86075
86076
        - tagfield: "867"
86077
          tagsubfield: "6"
86078
          liblibrarian: "Linkage"
86079
          libopac: "Linkage"
86080
          repeatable: 0
86081
          mandatory: 0
86082
          kohafield: ""
86083
          tab: 8
86084
          authorised_value: ""
86085
          authtypecode: ""
86086
          value_builder: ""
86087
          isurl:
86088
          hidden: 5
86089
          frameworkcode: "HLD"
86090
          seealso: ""
86091
          link: ""
86092
          defaultvalue:
86093
86094
        - tagfield: "867"
86095
          tagsubfield: "8"
86096
          liblibrarian: "Field link and sequence number"
86097
          libopac: "Field link and sequence number"
86098
          repeatable: 1
86099
          mandatory: 0
86100
          kohafield: ""
86101
          tab: 8
86102
          authorised_value: ""
86103
          authtypecode: ""
86104
          value_builder: ""
86105
          isurl:
86106
          hidden: 5
86107
          frameworkcode: "HLD"
86108
          seealso: ""
86109
          link: ""
86110
          defaultvalue:
86111
86112
        - tagfield: "867"
86113
          tagsubfield: "a"
86114
          liblibrarian: "Textual string"
86115
          libopac: "Textual string"
86116
          repeatable: 0
86117
          mandatory: 0
86118
          kohafield: "holdings.supplements"
86119
          tab: 8
86120
          authorised_value: ""
86121
          authtypecode: ""
86122
          value_builder: ""
86123
          isurl: 0
86124
          hidden: 4
86125
          frameworkcode: "HLD"
86126
          seealso: ""
86127
          link: ""
86128
          defaultvalue:
86129
86130
        - tagfield: "867"
86131
          tagsubfield: "x"
86132
          liblibrarian: "Nonpublic note"
86133
          libopac: "Nonpublic note"
86134
          repeatable: 1
86135
          mandatory: 0
86136
          kohafield: ""
86137
          tab: 8
86138
          authorised_value: ""
86139
          authtypecode: ""
86140
          value_builder: ""
86141
          isurl: 0
86142
          hidden: 4
86143
          frameworkcode: "HLD"
86144
          seealso: ""
86145
          link: ""
86146
          defaultvalue:
86147
86148
        - tagfield: "867"
86149
          tagsubfield: "z"
86150
          liblibrarian: "Public note"
86151
          libopac: "Public note"
86152
          repeatable: 1
86153
          mandatory: 0
86154
          kohafield: "holdings.supplements"
86155
          tab: 8
86156
          authorised_value: ""
86157
          authtypecode: ""
86158
          value_builder: ""
86159
          isurl: 0
86160
          hidden: 4
86161
          frameworkcode: "HLD"
86162
          seealso: ""
86163
          link: ""
86164
          defaultvalue:
86165
86166
        - tagfield: "868"
86167
          tagsubfield: "6"
86168
          liblibrarian: "Linkage"
86169
          libopac: "Linkage"
86170
          repeatable: 0
86171
          mandatory: 0
86172
          kohafield: ""
86173
          tab: 8
86174
          authorised_value: ""
86175
          authtypecode: ""
86176
          value_builder: ""
86177
          isurl:
86178
          hidden: 5
86179
          frameworkcode: "HLD"
86180
          seealso: ""
86181
          link: ""
86182
          defaultvalue:
86183
86184
        - tagfield: "868"
86185
          tagsubfield: "8"
86186
          liblibrarian: "Field link and sequence number"
86187
          libopac: "Field link and sequence number"
86188
          repeatable: 1
86189
          mandatory: 0
86190
          kohafield: ""
86191
          tab: 8
86192
          authorised_value: ""
86193
          authtypecode: ""
86194
          value_builder: ""
86195
          isurl:
86196
          hidden: 5
86197
          frameworkcode: "HLD"
86198
          seealso: ""
86199
          link: ""
86200
          defaultvalue:
86201
86202
        - tagfield: "868"
86203
          tagsubfield: "a"
86204
          liblibrarian: "Textual string"
86205
          libopac: "Textual string"
86206
          repeatable: 0
86207
          mandatory: 0
86208
          kohafield: "holdings.indexes"
86209
          tab: 8
86210
          authorised_value: ""
86211
          authtypecode: ""
86212
          value_builder: ""
86213
          isurl: 0
86214
          hidden: 4
86215
          frameworkcode: "HLD"
86216
          seealso: ""
86217
          link: ""
86218
          defaultvalue:
86219
86220
        - tagfield: "868"
86221
          tagsubfield: "x"
86222
          liblibrarian: "Nonpublic note"
86223
          libopac: "Nonpublic note"
86224
          repeatable: 1
86225
          mandatory: 0
86226
          kohafield: ""
86227
          tab: 8
86228
          authorised_value: ""
86229
          authtypecode: ""
86230
          value_builder: ""
86231
          isurl: 0
86232
          hidden: 4
86233
          frameworkcode: "HLD"
86234
          seealso: ""
86235
          link: ""
86236
          defaultvalue:
86237
86238
        - tagfield: "868"
86239
          tagsubfield: "z"
86240
          liblibrarian: "Public note"
86241
          libopac: "Public note"
86242
          repeatable: 1
86243
          mandatory: 0
86244
          kohafield: "holdings.indexes"
86245
          tab: 8
86246
          authorised_value: ""
86247
          authtypecode: ""
86248
          value_builder: ""
86249
          isurl: 0
86250
          hidden: 4
86251
          frameworkcode: "HLD"
86252
          seealso: ""
86253
          link: ""
86254
          defaultvalue:
86255
86256
        - tagfield: "876"
86257
          tagsubfield: "3"
86258
          liblibrarian: "Materials specified"
86259
          libopac: "Materials specified"
86260
          repeatable: 0
86261
          mandatory: 0
86262
          kohafield: ""
86263
          tab: 8
86264
          authorised_value: ""
86265
          authtypecode: ""
86266
          value_builder: ""
86267
          isurl:
86268
          hidden: 5
86269
          frameworkcode: "HLD"
86270
          seealso: ""
86271
          link: ""
86272
          defaultvalue:
86273
86274
        - tagfield: "876"
86275
          tagsubfield: "6"
86276
          liblibrarian: "Linkage"
86277
          libopac: "Linkage"
86278
          repeatable: 0
86279
          mandatory: 0
86280
          kohafield: ""
86281
          tab: 8
86282
          authorised_value: ""
86283
          authtypecode: ""
86284
          value_builder: ""
86285
          isurl:
86286
          hidden: 5
86287
          frameworkcode: "HLD"
86288
          seealso: ""
86289
          link: ""
86290
          defaultvalue:
86291
86292
        - tagfield: "876"
86293
          tagsubfield: "8"
86294
          liblibrarian: "Sequence number"
86295
          libopac: "Sequence number"
86296
          repeatable: 1
86297
          mandatory: 0
86298
          kohafield: ""
86299
          tab: 8
86300
          authorised_value: ""
86301
          authtypecode: ""
86302
          value_builder: ""
86303
          isurl:
86304
          hidden: 5
86305
          frameworkcode: "HLD"
86306
          seealso: ""
86307
          link: ""
86308
          defaultvalue:
86309
86310
        - tagfield: "876"
86311
          tagsubfield: "a"
86312
          liblibrarian: "Internal item number"
86313
          libopac: "Internal item number"
86314
          repeatable: 0
86315
          mandatory: 0
86316
          kohafield: ""
86317
          tab: 8
86318
          authorised_value: ""
86319
          authtypecode: ""
86320
          value_builder: ""
86321
          isurl:
86322
          hidden: 5
86323
          frameworkcode: "HLD"
86324
          seealso: ""
86325
          link: ""
86326
          defaultvalue:
86327
86328
        - tagfield: "876"
86329
          tagsubfield: "b"
86330
          liblibrarian: "Invalid or canceled internal item number"
86331
          libopac: "Invalid or canceled internal item number"
86332
          repeatable: 1
86333
          mandatory: 0
86334
          kohafield: ""
86335
          tab: 8
86336
          authorised_value: ""
86337
          authtypecode: ""
86338
          value_builder: ""
86339
          isurl:
86340
          hidden: 5
86341
          frameworkcode: "HLD"
86342
          seealso: ""
86343
          link: ""
86344
          defaultvalue:
86345
86346
        - tagfield: "876"
86347
          tagsubfield: "c"
86348
          liblibrarian: "Cost"
86349
          libopac: "Cost"
86350
          repeatable: 1
86351
          mandatory: 0
86352
          kohafield: ""
86353
          tab: 8
86354
          authorised_value: ""
86355
          authtypecode: ""
86356
          value_builder: ""
86357
          isurl:
86358
          hidden: 5
86359
          frameworkcode: "HLD"
86360
          seealso: ""
86361
          link: ""
86362
          defaultvalue:
86363
86364
        - tagfield: "876"
86365
          tagsubfield: "d"
86366
          liblibrarian: "Date acquired"
86367
          libopac: "Date acquired"
86368
          repeatable: 1
86369
          mandatory: 0
86370
          kohafield: ""
86371
          tab: 8
86372
          authorised_value: ""
86373
          authtypecode: ""
86374
          value_builder: ""
86375
          isurl:
86376
          hidden: 5
86377
          frameworkcode: "HLD"
86378
          seealso: ""
86379
          link: ""
86380
          defaultvalue:
86381
86382
        - tagfield: "876"
86383
          tagsubfield: "e"
86384
          liblibrarian: "Source of acquisition"
86385
          libopac: "Source of acquisition"
86386
          repeatable: 1
86387
          mandatory: 0
86388
          kohafield: ""
86389
          tab: 8
86390
          authorised_value: ""
86391
          authtypecode: ""
86392
          value_builder: ""
86393
          isurl:
86394
          hidden: 5
86395
          frameworkcode: "HLD"
86396
          seealso: ""
86397
          link: ""
86398
          defaultvalue:
86399
86400
        - tagfield: "876"
86401
          tagsubfield: "h"
86402
          liblibrarian: "Use restrictions"
86403
          libopac: "Use restrictions"
86404
          repeatable: 1
86405
          mandatory: 0
86406
          kohafield: ""
86407
          tab: 8
86408
          authorised_value: ""
86409
          authtypecode: ""
86410
          value_builder: ""
86411
          isurl:
86412
          hidden: 5
86413
          frameworkcode: "HLD"
86414
          seealso: ""
86415
          link: ""
86416
          defaultvalue:
86417
86418
        - tagfield: "876"
86419
          tagsubfield: "j"
86420
          liblibrarian: "Item status"
86421
          libopac: "Item status"
86422
          repeatable: 1
86423
          mandatory: 0
86424
          kohafield: ""
86425
          tab: 8
86426
          authorised_value: ""
86427
          authtypecode: ""
86428
          value_builder: ""
86429
          isurl:
86430
          hidden: 5
86431
          frameworkcode: "HLD"
86432
          seealso: ""
86433
          link: ""
86434
          defaultvalue:
86435
86436
        - tagfield: "876"
86437
          tagsubfield: "l"
86438
          liblibrarian: "Temporary location"
86439
          libopac: "Temporary location"
86440
          repeatable: 1
86441
          mandatory: 0
86442
          kohafield: ""
86443
          tab: 8
86444
          authorised_value: ""
86445
          authtypecode: ""
86446
          value_builder: ""
86447
          isurl:
86448
          hidden: 5
86449
          frameworkcode: "HLD"
86450
          seealso: ""
86451
          link: ""
86452
          defaultvalue:
86453
86454
        - tagfield: "876"
86455
          tagsubfield: "p"
86456
          liblibrarian: "Piece designation"
86457
          libopac: "Piece designation"
86458
          repeatable: 1
86459
          mandatory: 0
86460
          kohafield: ""
86461
          tab: 8
86462
          authorised_value: ""
86463
          authtypecode: ""
86464
          value_builder: ""
86465
          isurl:
86466
          hidden: 5
86467
          frameworkcode: "HLD"
86468
          seealso: ""
86469
          link: ""
86470
          defaultvalue:
86471
86472
        - tagfield: "876"
86473
          tagsubfield: "r"
86474
          liblibrarian: "Invalid or canceled piece designation"
86475
          libopac: "Invalid or canceled piece designation"
86476
          repeatable: 1
86477
          mandatory: 0
86478
          kohafield: ""
86479
          tab: 8
86480
          authorised_value: ""
86481
          authtypecode: ""
86482
          value_builder: ""
86483
          isurl:
86484
          hidden: 5
86485
          frameworkcode: "HLD"
86486
          seealso: ""
86487
          link: ""
86488
          defaultvalue:
86489
86490
        - tagfield: "876"
86491
          tagsubfield: "t"
86492
          liblibrarian: "Copy number"
86493
          libopac: "Copy number"
86494
          repeatable: 0
86495
          mandatory: 0
86496
          kohafield: ""
86497
          tab: 8
86498
          authorised_value: ""
86499
          authtypecode: ""
86500
          value_builder: ""
86501
          isurl:
86502
          hidden: 5
86503
          frameworkcode: "HLD"
86504
          seealso: ""
86505
          link: ""
86506
          defaultvalue:
86507
86508
        - tagfield: "876"
86509
          tagsubfield: "x"
86510
          liblibrarian: "Nonpublic note"
86511
          libopac: "Nonpublic note"
86512
          repeatable: 1
86513
          mandatory: 0
86514
          kohafield: ""
86515
          tab: 8
86516
          authorised_value: ""
86517
          authtypecode: ""
86518
          value_builder: ""
86519
          isurl:
86520
          hidden: 5
86521
          frameworkcode: "HLD"
86522
          seealso: ""
86523
          link: ""
86524
          defaultvalue:
86525
86526
        - tagfield: "876"
86527
          tagsubfield: "z"
86528
          liblibrarian: "Public note"
86529
          libopac: "Public note"
86530
          repeatable: 1
86531
          mandatory: 0
86532
          kohafield: ""
86533
          tab: 8
86534
          authorised_value: ""
86535
          authtypecode: ""
86536
          value_builder: ""
86537
          isurl:
86538
          hidden: 5
86539
          frameworkcode: "HLD"
86540
          seealso: ""
86541
          link: ""
86542
          defaultvalue:
86543
86544
        - tagfield: "877"
86545
          tagsubfield: "3"
86546
          liblibrarian: "Materials specified"
86547
          libopac: "Materials specified"
86548
          repeatable: 0
86549
          mandatory: 0
86550
          kohafield: ""
86551
          tab: 8
86552
          authorised_value: ""
86553
          authtypecode: ""
86554
          value_builder: ""
86555
          isurl:
86556
          hidden: 5
86557
          frameworkcode: "HLD"
86558
          seealso: ""
86559
          link: ""
86560
          defaultvalue:
86561
86562
        - tagfield: "877"
86563
          tagsubfield: "6"
86564
          liblibrarian: "Linkage"
86565
          libopac: "Linkage"
86566
          repeatable: 0
86567
          mandatory: 0
86568
          kohafield: ""
86569
          tab: 8
86570
          authorised_value: ""
86571
          authtypecode: ""
86572
          value_builder: ""
86573
          isurl:
86574
          hidden: 5
86575
          frameworkcode: "HLD"
86576
          seealso: ""
86577
          link: ""
86578
          defaultvalue:
86579
86580
        - tagfield: "877"
86581
          tagsubfield: "8"
86582
          liblibrarian: "Sequence number"
86583
          libopac: "Sequence number"
86584
          repeatable: 1
86585
          mandatory: 0
86586
          kohafield: ""
86587
          tab: 8
86588
          authorised_value: ""
86589
          authtypecode: ""
86590
          value_builder: ""
86591
          isurl:
86592
          hidden: 5
86593
          frameworkcode: "HLD"
86594
          seealso: ""
86595
          link: ""
86596
          defaultvalue:
86597
86598
        - tagfield: "877"
86599
          tagsubfield: "a"
86600
          liblibrarian: "Internal item number"
86601
          libopac: "Internal item number"
86602
          repeatable: 0
86603
          mandatory: 0
86604
          kohafield: ""
86605
          tab: 8
86606
          authorised_value: ""
86607
          authtypecode: ""
86608
          value_builder: ""
86609
          isurl:
86610
          hidden: 5
86611
          frameworkcode: "HLD"
86612
          seealso: ""
86613
          link: ""
86614
          defaultvalue:
86615
86616
        - tagfield: "877"
86617
          tagsubfield: "b"
86618
          liblibrarian: "Invalid or canceled internal item number"
86619
          libopac: "Invalid or canceled internal item number"
86620
          repeatable: 1
86621
          mandatory: 0
86622
          kohafield: ""
86623
          tab: 8
86624
          authorised_value: ""
86625
          authtypecode: ""
86626
          value_builder: ""
86627
          isurl:
86628
          hidden: 5
86629
          frameworkcode: "HLD"
86630
          seealso: ""
86631
          link: ""
86632
          defaultvalue:
86633
86634
        - tagfield: "877"
86635
          tagsubfield: "c"
86636
          liblibrarian: "Cost"
86637
          libopac: "Cost"
86638
          repeatable: 1
86639
          mandatory: 0
86640
          kohafield: ""
86641
          tab: 8
86642
          authorised_value: ""
86643
          authtypecode: ""
86644
          value_builder: ""
86645
          isurl:
86646
          hidden: 5
86647
          frameworkcode: "HLD"
86648
          seealso: ""
86649
          link: ""
86650
          defaultvalue:
86651
86652
        - tagfield: "877"
86653
          tagsubfield: "d"
86654
          liblibrarian: "Date acquired"
86655
          libopac: "Date acquired"
86656
          repeatable: 1
86657
          mandatory: 0
86658
          kohafield: ""
86659
          tab: 8
86660
          authorised_value: ""
86661
          authtypecode: ""
86662
          value_builder: ""
86663
          isurl:
86664
          hidden: 5
86665
          frameworkcode: "HLD"
86666
          seealso: ""
86667
          link: ""
86668
          defaultvalue:
86669
86670
        - tagfield: "877"
86671
          tagsubfield: "e"
86672
          liblibrarian: "Source of acquisition"
86673
          libopac: "Source of acquisition"
86674
          repeatable: 1
86675
          mandatory: 0
86676
          kohafield: ""
86677
          tab: 8
86678
          authorised_value: ""
86679
          authtypecode: ""
86680
          value_builder: ""
86681
          isurl:
86682
          hidden: 5
86683
          frameworkcode: "HLD"
86684
          seealso: ""
86685
          link: ""
86686
          defaultvalue:
86687
86688
        - tagfield: "877"
86689
          tagsubfield: "h"
86690
          liblibrarian: "Use restrictions"
86691
          libopac: "Use restrictions"
86692
          repeatable: 1
86693
          mandatory: 0
86694
          kohafield: ""
86695
          tab: 8
86696
          authorised_value: ""
86697
          authtypecode: ""
86698
          value_builder: ""
86699
          isurl:
86700
          hidden: 5
86701
          frameworkcode: "HLD"
86702
          seealso: ""
86703
          link: ""
86704
          defaultvalue:
86705
86706
        - tagfield: "877"
86707
          tagsubfield: "j"
86708
          liblibrarian: "Item status"
86709
          libopac: "Item status"
86710
          repeatable: 1
86711
          mandatory: 0
86712
          kohafield: ""
86713
          tab: 8
86714
          authorised_value: ""
86715
          authtypecode: ""
86716
          value_builder: ""
86717
          isurl:
86718
          hidden: 5
86719
          frameworkcode: "HLD"
86720
          seealso: ""
86721
          link: ""
86722
          defaultvalue:
86723
86724
        - tagfield: "877"
86725
          tagsubfield: "l"
86726
          liblibrarian: "Temporary location"
86727
          libopac: "Temporary location"
86728
          repeatable: 1
86729
          mandatory: 0
86730
          kohafield: ""
86731
          tab: 8
86732
          authorised_value: ""
86733
          authtypecode: ""
86734
          value_builder: ""
86735
          isurl:
86736
          hidden: 5
86737
          frameworkcode: "HLD"
86738
          seealso: ""
86739
          link: ""
86740
          defaultvalue:
86741
86742
        - tagfield: "877"
86743
          tagsubfield: "p"
86744
          liblibrarian: "Piece designation"
86745
          libopac: "Piece designation"
86746
          repeatable: 1
86747
          mandatory: 0
86748
          kohafield: ""
86749
          tab: 8
86750
          authorised_value: ""
86751
          authtypecode: ""
86752
          value_builder: ""
86753
          isurl:
86754
          hidden: 5
86755
          frameworkcode: "HLD"
86756
          seealso: ""
86757
          link: ""
86758
          defaultvalue:
86759
86760
        - tagfield: "877"
86761
          tagsubfield: "r"
86762
          liblibrarian: "Invalid or canceled piece designation"
86763
          libopac: "Invalid or canceled piece designation"
86764
          repeatable: 1
86765
          mandatory: 0
86766
          kohafield: ""
86767
          tab: 8
86768
          authorised_value: ""
86769
          authtypecode: ""
86770
          value_builder: ""
86771
          isurl:
86772
          hidden: 5
86773
          frameworkcode: "HLD"
86774
          seealso: ""
86775
          link: ""
86776
          defaultvalue:
86777
86778
        - tagfield: "877"
86779
          tagsubfield: "t"
86780
          liblibrarian: "Copy number"
86781
          libopac: "Copy number"
86782
          repeatable: 0
86783
          mandatory: 0
86784
          kohafield: ""
86785
          tab: 8
86786
          authorised_value: ""
86787
          authtypecode: ""
86788
          value_builder: ""
86789
          isurl:
86790
          hidden: 5
86791
          frameworkcode: "HLD"
86792
          seealso: ""
86793
          link: ""
86794
          defaultvalue:
86795
86796
        - tagfield: "877"
86797
          tagsubfield: "x"
86798
          liblibrarian: "Nonpublic note"
86799
          libopac: "Nonpublic note"
86800
          repeatable: 1
86801
          mandatory: 0
86802
          kohafield: ""
86803
          tab: 8
86804
          authorised_value: ""
86805
          authtypecode: ""
86806
          value_builder: ""
86807
          isurl:
86808
          hidden: 5
86809
          frameworkcode: "HLD"
86810
          seealso: ""
86811
          link: ""
86812
          defaultvalue:
86813
86814
        - tagfield: "877"
86815
          tagsubfield: "z"
86816
          liblibrarian: "Public note"
86817
          libopac: "Public note"
86818
          repeatable: 1
86819
          mandatory: 0
86820
          kohafield: ""
86821
          tab: 8
86822
          authorised_value: ""
86823
          authtypecode: ""
86824
          value_builder: ""
86825
          isurl:
86826
          hidden: 5
86827
          frameworkcode: "HLD"
86828
          seealso: ""
86829
          link: ""
86830
          defaultvalue:
86831
86832
        - tagfield: "878"
86833
          tagsubfield: "3"
86834
          liblibrarian: "Materials specified"
86835
          libopac: "Materials specified"
86836
          repeatable: 0
86837
          mandatory: 0
86838
          kohafield: ""
86839
          tab: 8
86840
          authorised_value: ""
86841
          authtypecode: ""
86842
          value_builder: ""
86843
          isurl:
86844
          hidden: 5
86845
          frameworkcode: "HLD"
86846
          seealso: ""
86847
          link: ""
86848
          defaultvalue:
86849
86850
        - tagfield: "878"
86851
          tagsubfield: "6"
86852
          liblibrarian: "Linkage"
86853
          libopac: "Linkage"
86854
          repeatable: 0
86855
          mandatory: 0
86856
          kohafield: ""
86857
          tab: 8
86858
          authorised_value: ""
86859
          authtypecode: ""
86860
          value_builder: ""
86861
          isurl:
86862
          hidden: 5
86863
          frameworkcode: "HLD"
86864
          seealso: ""
86865
          link: ""
86866
          defaultvalue:
86867
86868
        - tagfield: "878"
86869
          tagsubfield: "8"
86870
          liblibrarian: "Sequence number"
86871
          libopac: "Sequence number"
86872
          repeatable: 1
86873
          mandatory: 0
86874
          kohafield: ""
86875
          tab: 8
86876
          authorised_value: ""
86877
          authtypecode: ""
86878
          value_builder: ""
86879
          isurl:
86880
          hidden: 5
86881
          frameworkcode: "HLD"
86882
          seealso: ""
86883
          link: ""
86884
          defaultvalue:
86885
86886
        - tagfield: "878"
86887
          tagsubfield: "a"
86888
          liblibrarian: "Internal item number"
86889
          libopac: "Internal item number"
86890
          repeatable: 0
86891
          mandatory: 0
86892
          kohafield: ""
86893
          tab: 8
86894
          authorised_value: ""
86895
          authtypecode: ""
86896
          value_builder: ""
86897
          isurl:
86898
          hidden: 5
86899
          frameworkcode: "HLD"
86900
          seealso: ""
86901
          link: ""
86902
          defaultvalue:
86903
86904
        - tagfield: "878"
86905
          tagsubfield: "b"
86906
          liblibrarian: "Invalid or canceled internal item number"
86907
          libopac: "Invalid or canceled internal item number"
86908
          repeatable: 1
86909
          mandatory: 0
86910
          kohafield: ""
86911
          tab: 8
86912
          authorised_value: ""
86913
          authtypecode: ""
86914
          value_builder: ""
86915
          isurl:
86916
          hidden: 5
86917
          frameworkcode: "HLD"
86918
          seealso: ""
86919
          link: ""
86920
          defaultvalue:
86921
86922
        - tagfield: "878"
86923
          tagsubfield: "c"
86924
          liblibrarian: "Cost"
86925
          libopac: "Cost"
86926
          repeatable: 1
86927
          mandatory: 0
86928
          kohafield: ""
86929
          tab: 8
86930
          authorised_value: ""
86931
          authtypecode: ""
86932
          value_builder: ""
86933
          isurl:
86934
          hidden: 5
86935
          frameworkcode: "HLD"
86936
          seealso: ""
86937
          link: ""
86938
          defaultvalue:
86939
86940
        - tagfield: "878"
86941
          tagsubfield: "d"
86942
          liblibrarian: "Date acquired"
86943
          libopac: "Date acquired"
86944
          repeatable: 1
86945
          mandatory: 0
86946
          kohafield: ""
86947
          tab: 8
86948
          authorised_value: ""
86949
          authtypecode: ""
86950
          value_builder: ""
86951
          isurl:
86952
          hidden: 5
86953
          frameworkcode: "HLD"
86954
          seealso: ""
86955
          link: ""
86956
          defaultvalue:
86957
86958
        - tagfield: "878"
86959
          tagsubfield: "e"
86960
          liblibrarian: "Source of acquisition"
86961
          libopac: "Source of acquisition"
86962
          repeatable: 1
86963
          mandatory: 0
86964
          kohafield: ""
86965
          tab: 8
86966
          authorised_value: ""
86967
          authtypecode: ""
86968
          value_builder: ""
86969
          isurl:
86970
          hidden: 5
86971
          frameworkcode: "HLD"
86972
          seealso: ""
86973
          link: ""
86974
          defaultvalue:
86975
86976
        - tagfield: "878"
86977
          tagsubfield: "h"
86978
          liblibrarian: "Use restrictions"
86979
          libopac: "Use restrictions"
86980
          repeatable: 1
86981
          mandatory: 0
86982
          kohafield: ""
86983
          tab: 8
86984
          authorised_value: ""
86985
          authtypecode: ""
86986
          value_builder: ""
86987
          isurl:
86988
          hidden: 5
86989
          frameworkcode: "HLD"
86990
          seealso: ""
86991
          link: ""
86992
          defaultvalue:
86993
86994
        - tagfield: "878"
86995
          tagsubfield: "j"
86996
          liblibrarian: "Item status"
86997
          libopac: "Item status"
86998
          repeatable: 1
86999
          mandatory: 0
87000
          kohafield: ""
87001
          tab: 8
87002
          authorised_value: ""
87003
          authtypecode: ""
87004
          value_builder: ""
87005
          isurl:
87006
          hidden: 5
87007
          frameworkcode: "HLD"
87008
          seealso: ""
87009
          link: ""
87010
          defaultvalue:
87011
87012
        - tagfield: "878"
87013
          tagsubfield: "l"
87014
          liblibrarian: "Temporary location"
87015
          libopac: "Temporary location"
87016
          repeatable: 1
87017
          mandatory: 0
87018
          kohafield: ""
87019
          tab: 8
87020
          authorised_value: ""
87021
          authtypecode: ""
87022
          value_builder: ""
87023
          isurl:
87024
          hidden: 5
87025
          frameworkcode: "HLD"
87026
          seealso: ""
87027
          link: ""
87028
          defaultvalue:
87029
87030
        - tagfield: "878"
87031
          tagsubfield: "p"
87032
          liblibrarian: "Piece designation"
87033
          libopac: "Piece designation"
87034
          repeatable: 1
87035
          mandatory: 0
87036
          kohafield: ""
87037
          tab: 8
87038
          authorised_value: ""
87039
          authtypecode: ""
87040
          value_builder: ""
87041
          isurl:
87042
          hidden: 5
87043
          frameworkcode: "HLD"
87044
          seealso: ""
87045
          link: ""
87046
          defaultvalue:
87047
87048
        - tagfield: "878"
87049
          tagsubfield: "r"
87050
          liblibrarian: "Invalid or canceled piece designation"
87051
          libopac: "Invalid or canceled piece designation"
87052
          repeatable: 1
87053
          mandatory: 0
87054
          kohafield: ""
87055
          tab: 8
87056
          authorised_value: ""
87057
          authtypecode: ""
87058
          value_builder: ""
87059
          isurl:
87060
          hidden: 5
87061
          frameworkcode: "HLD"
87062
          seealso: ""
87063
          link: ""
87064
          defaultvalue:
87065
87066
        - tagfield: "878"
87067
          tagsubfield: "t"
87068
          liblibrarian: "Copy number"
87069
          libopac: "Copy number"
87070
          repeatable: 0
87071
          mandatory: 0
87072
          kohafield: ""
87073
          tab: 8
87074
          authorised_value: ""
87075
          authtypecode: ""
87076
          value_builder: ""
87077
          isurl:
87078
          hidden: 5
87079
          frameworkcode: "HLD"
87080
          seealso: ""
87081
          link: ""
87082
          defaultvalue:
87083
87084
        - tagfield: "878"
87085
          tagsubfield: "x"
87086
          liblibrarian: "Nonpublic note"
87087
          libopac: "Nonpublic note"
87088
          repeatable: 1
87089
          mandatory: 0
87090
          kohafield: ""
87091
          tab: 8
87092
          authorised_value: ""
87093
          authtypecode: ""
87094
          value_builder: ""
87095
          isurl:
87096
          hidden: 5
87097
          frameworkcode: "HLD"
87098
          seealso: ""
87099
          link: ""
87100
          defaultvalue:
87101
87102
        - tagfield: "878"
87103
          tagsubfield: "z"
87104
          liblibrarian: "Public note"
87105
          libopac: "Public note"
87106
          repeatable: 1
87107
          mandatory: 0
87108
          kohafield: ""
87109
          tab: 8
87110
          authorised_value: ""
87111
          authtypecode: ""
87112
          value_builder: ""
87113
          isurl:
87114
          hidden: 5
87115
          frameworkcode: "HLD"
87116
          seealso: ""
87117
          link: ""
87118
          defaultvalue:
87119
87120
        - tagfield: "880"
87121
          tagsubfield: "2"
87122
          liblibrarian: "2"
87123
          libopac: "2"
87124
          repeatable: 1
87125
          mandatory: 0
87126
          kohafield: ""
87127
          tab: 8
87128
          authorised_value: ""
87129
          authtypecode: ""
87130
          value_builder: ""
87131
          isurl:
87132
          hidden: -6
87133
          frameworkcode: "HLD"
87134
          seealso: ""
87135
          link: ""
87136
          defaultvalue:
87137
87138
        - tagfield: "880"
87139
          tagsubfield: "3"
87140
          liblibrarian: "3"
87141
          libopac: "3"
87142
          repeatable: 1
87143
          mandatory: 0
87144
          kohafield: ""
87145
          tab: 8
87146
          authorised_value: ""
87147
          authtypecode: ""
87148
          value_builder: ""
87149
          isurl:
87150
          hidden: -6
87151
          frameworkcode: "HLD"
87152
          seealso: ""
87153
          link: ""
87154
          defaultvalue:
87155
87156
        - tagfield: "880"
87157
          tagsubfield: "4"
87158
          liblibrarian: "4"
87159
          libopac: "4"
87160
          repeatable: 1
87161
          mandatory: 0
87162
          kohafield: ""
87163
          tab: 8
87164
          authorised_value: ""
87165
          authtypecode: ""
87166
          value_builder: ""
87167
          isurl:
87168
          hidden: -6
87169
          frameworkcode: "HLD"
87170
          seealso: ""
87171
          link: ""
87172
          defaultvalue:
87173
87174
        - tagfield: "880"
87175
          tagsubfield: "5"
87176
          liblibrarian: "5"
87177
          libopac: "5"
87178
          repeatable: 1
87179
          mandatory: 0
87180
          kohafield: ""
87181
          tab: 8
87182
          authorised_value: ""
87183
          authtypecode: ""
87184
          value_builder: ""
87185
          isurl:
87186
          hidden: -6
87187
          frameworkcode: "HLD"
87188
          seealso: ""
87189
          link: ""
87190
          defaultvalue:
87191
87192
        - tagfield: "880"
87193
          tagsubfield: "6"
87194
          liblibrarian: "Linkage"
87195
          libopac: "Linkage"
87196
          repeatable: 0
87197
          mandatory: 0
87198
          kohafield: ""
87199
          tab: 8
87200
          authorised_value: ""
87201
          authtypecode: ""
87202
          value_builder: ""
87203
          isurl:
87204
          hidden: -6
87205
          frameworkcode: "HLD"
87206
          seealso: ""
87207
          link: ""
87208
          defaultvalue:
87209
87210
        - tagfield: "880"
87211
          tagsubfield: "7"
87212
          liblibrarian: "7"
87213
          libopac: "7"
87214
          repeatable: 1
87215
          mandatory: 0
87216
          kohafield: ""
87217
          tab: 8
87218
          authorised_value: ""
87219
          authtypecode: ""
87220
          value_builder: ""
87221
          isurl:
87222
          hidden: -6
87223
          frameworkcode: "HLD"
87224
          seealso: ""
87225
          link: ""
87226
          defaultvalue:
87227
87228
        - tagfield: "880"
87229
          tagsubfield: "8"
87230
          liblibrarian: "8"
87231
          libopac: "8"
87232
          repeatable: 1
87233
          mandatory: 0
87234
          kohafield: ""
87235
          tab: 8
87236
          authorised_value: ""
87237
          authtypecode: ""
87238
          value_builder: ""
87239
          isurl:
87240
          hidden: -6
87241
          frameworkcode: "HLD"
87242
          seealso: ""
87243
          link: ""
87244
          defaultvalue:
87245
87246
        - tagfield: "880"
87247
          tagsubfield: "9"
87248
          liblibrarian: "9"
87249
          libopac: "9"
87250
          repeatable: 1
87251
          mandatory: 0
87252
          kohafield: ""
87253
          tab: 8
87254
          authorised_value: ""
87255
          authtypecode: ""
87256
          value_builder: ""
87257
          isurl:
87258
          hidden: -6
87259
          frameworkcode: "HLD"
87260
          seealso: ""
87261
          link: ""
87262
          defaultvalue:
87263
87264
        - tagfield: "880"
87265
          tagsubfield: "a"
87266
          liblibrarian: "a"
87267
          libopac: "a"
87268
          repeatable: 1
87269
          mandatory: 0
87270
          kohafield: ""
87271
          tab: 8
87272
          authorised_value: ""
87273
          authtypecode: ""
87274
          value_builder: ""
87275
          isurl:
87276
          hidden: -6
87277
          frameworkcode: "HLD"
87278
          seealso: ""
87279
          link: ""
87280
          defaultvalue:
87281
87282
        - tagfield: "880"
87283
          tagsubfield: "b"
87284
          liblibrarian: "b"
87285
          libopac: "b"
87286
          repeatable: 1
87287
          mandatory: 0
87288
          kohafield: ""
87289
          tab: 8
87290
          authorised_value: ""
87291
          authtypecode: ""
87292
          value_builder: ""
87293
          isurl:
87294
          hidden: -6
87295
          frameworkcode: "HLD"
87296
          seealso: ""
87297
          link: ""
87298
          defaultvalue:
87299
87300
        - tagfield: "880"
87301
          tagsubfield: "c"
87302
          liblibrarian: "c"
87303
          libopac: "c"
87304
          repeatable: 1
87305
          mandatory: 0
87306
          kohafield: ""
87307
          tab: 8
87308
          authorised_value: ""
87309
          authtypecode: ""
87310
          value_builder: ""
87311
          isurl:
87312
          hidden: -6
87313
          frameworkcode: "HLD"
87314
          seealso: ""
87315
          link: ""
87316
          defaultvalue:
87317
87318
        - tagfield: "880"
87319
          tagsubfield: "d"
87320
          liblibrarian: "d"
87321
          libopac: "d"
87322
          repeatable: 1
87323
          mandatory: 0
87324
          kohafield: ""
87325
          tab: 8
87326
          authorised_value: ""
87327
          authtypecode: ""
87328
          value_builder: ""
87329
          isurl:
87330
          hidden: -6
87331
          frameworkcode: "HLD"
87332
          seealso: ""
87333
          link: ""
87334
          defaultvalue:
87335
87336
        - tagfield: "880"
87337
          tagsubfield: "e"
87338
          liblibrarian: "e"
87339
          libopac: "e"
87340
          repeatable: 1
87341
          mandatory: 0
87342
          kohafield: ""
87343
          tab: 8
87344
          authorised_value: ""
87345
          authtypecode: ""
87346
          value_builder: ""
87347
          isurl:
87348
          hidden: -6
87349
          frameworkcode: "HLD"
87350
          seealso: ""
87351
          link: ""
87352
          defaultvalue:
87353
87354
        - tagfield: "880"
87355
          tagsubfield: "f"
87356
          liblibrarian: "f"
87357
          libopac: "f"
87358
          repeatable: 1
87359
          mandatory: 0
87360
          kohafield: ""
87361
          tab: 8
87362
          authorised_value: ""
87363
          authtypecode: ""
87364
          value_builder: ""
87365
          isurl:
87366
          hidden: -6
87367
          frameworkcode: "HLD"
87368
          seealso: ""
87369
          link: ""
87370
          defaultvalue:
87371
87372
        - tagfield: "880"
87373
          tagsubfield: "g"
87374
          liblibrarian: "g"
87375
          libopac: "g"
87376
          repeatable: 1
87377
          mandatory: 0
87378
          kohafield: ""
87379
          tab: 8
87380
          authorised_value: ""
87381
          authtypecode: ""
87382
          value_builder: ""
87383
          isurl:
87384
          hidden: -6
87385
          frameworkcode: "HLD"
87386
          seealso: ""
87387
          link: ""
87388
          defaultvalue:
87389
87390
        - tagfield: "880"
87391
          tagsubfield: "h"
87392
          liblibrarian: "h"
87393
          libopac: "h"
87394
          repeatable: 1
87395
          mandatory: 0
87396
          kohafield: ""
87397
          tab: 8
87398
          authorised_value: ""
87399
          authtypecode: ""
87400
          value_builder: ""
87401
          isurl:
87402
          hidden: -6
87403
          frameworkcode: "HLD"
87404
          seealso: ""
87405
          link: ""
87406
          defaultvalue:
87407
87408
        - tagfield: "880"
87409
          tagsubfield: "i"
87410
          liblibrarian: "i"
87411
          libopac: "i"
87412
          repeatable: 1
87413
          mandatory: 0
87414
          kohafield: ""
87415
          tab: 8
87416
          authorised_value: ""
87417
          authtypecode: ""
87418
          value_builder: ""
87419
          isurl:
87420
          hidden: -6
87421
          frameworkcode: "HLD"
87422
          seealso: ""
87423
          link: ""
87424
          defaultvalue:
87425
87426
        - tagfield: "880"
87427
          tagsubfield: "j"
87428
          liblibrarian: "j"
87429
          libopac: "j"
87430
          repeatable: 1
87431
          mandatory: 0
87432
          kohafield: ""
87433
          tab: 8
87434
          authorised_value: ""
87435
          authtypecode: ""
87436
          value_builder: ""
87437
          isurl:
87438
          hidden: -6
87439
          frameworkcode: "HLD"
87440
          seealso: ""
87441
          link: ""
87442
          defaultvalue:
87443
87444
        - tagfield: "880"
87445
          tagsubfield: "k"
87446
          liblibrarian: "k"
87447
          libopac: "k"
87448
          repeatable: 1
87449
          mandatory: 0
87450
          kohafield: ""
87451
          tab: 8
87452
          authorised_value: ""
87453
          authtypecode: ""
87454
          value_builder: ""
87455
          isurl:
87456
          hidden: -6
87457
          frameworkcode: "HLD"
87458
          seealso: ""
87459
          link: ""
87460
          defaultvalue:
87461
87462
        - tagfield: "880"
87463
          tagsubfield: "l"
87464
          liblibrarian: "l"
87465
          libopac: "l"
87466
          repeatable: 1
87467
          mandatory: 0
87468
          kohafield: ""
87469
          tab: 8
87470
          authorised_value: ""
87471
          authtypecode: ""
87472
          value_builder: ""
87473
          isurl:
87474
          hidden: -6
87475
          frameworkcode: "HLD"
87476
          seealso: ""
87477
          link: ""
87478
          defaultvalue:
87479
87480
        - tagfield: "880"
87481
          tagsubfield: "m"
87482
          liblibrarian: "m"
87483
          libopac: "m"
87484
          repeatable: 1
87485
          mandatory: 0
87486
          kohafield: ""
87487
          tab: 8
87488
          authorised_value: ""
87489
          authtypecode: ""
87490
          value_builder: ""
87491
          isurl:
87492
          hidden: -6
87493
          frameworkcode: "HLD"
87494
          seealso: ""
87495
          link: ""
87496
          defaultvalue:
87497
87498
        - tagfield: "880"
87499
          tagsubfield: "n"
87500
          liblibrarian: "n"
87501
          libopac: "n"
87502
          repeatable: 1
87503
          mandatory: 0
87504
          kohafield: ""
87505
          tab: 8
87506
          authorised_value: ""
87507
          authtypecode: ""
87508
          value_builder: ""
87509
          isurl:
87510
          hidden: -6
87511
          frameworkcode: "HLD"
87512
          seealso: ""
87513
          link: ""
87514
          defaultvalue:
87515
87516
        - tagfield: "880"
87517
          tagsubfield: "o"
87518
          liblibrarian: "o"
87519
          libopac: "o"
87520
          repeatable: 1
87521
          mandatory: 0
87522
          kohafield: ""
87523
          tab: 8
87524
          authorised_value: ""
87525
          authtypecode: ""
87526
          value_builder: ""
87527
          isurl:
87528
          hidden: -6
87529
          frameworkcode: "HLD"
87530
          seealso: ""
87531
          link: ""
87532
          defaultvalue:
87533
87534
        - tagfield: "880"
87535
          tagsubfield: "p"
87536
          liblibrarian: "p"
87537
          libopac: "p"
87538
          repeatable: 1
87539
          mandatory: 0
87540
          kohafield: ""
87541
          tab: 8
87542
          authorised_value: ""
87543
          authtypecode: ""
87544
          value_builder: ""
87545
          isurl:
87546
          hidden: -6
87547
          frameworkcode: "HLD"
87548
          seealso: ""
87549
          link: ""
87550
          defaultvalue:
87551
87552
        - tagfield: "880"
87553
          tagsubfield: "q"
87554
          liblibrarian: "q"
87555
          libopac: "q"
87556
          repeatable: 1
87557
          mandatory: 0
87558
          kohafield: ""
87559
          tab: 8
87560
          authorised_value: ""
87561
          authtypecode: ""
87562
          value_builder: ""
87563
          isurl:
87564
          hidden: -6
87565
          frameworkcode: "HLD"
87566
          seealso: ""
87567
          link: ""
87568
          defaultvalue:
87569
87570
        - tagfield: "880"
87571
          tagsubfield: "r"
87572
          liblibrarian: "r"
87573
          libopac: "r"
87574
          repeatable: 1
87575
          mandatory: 0
87576
          kohafield: ""
87577
          tab: 8
87578
          authorised_value: ""
87579
          authtypecode: ""
87580
          value_builder: ""
87581
          isurl:
87582
          hidden: -6
87583
          frameworkcode: "HLD"
87584
          seealso: ""
87585
          link: ""
87586
          defaultvalue:
87587
87588
        - tagfield: "880"
87589
          tagsubfield: "s"
87590
          liblibrarian: "s"
87591
          libopac: "s"
87592
          repeatable: 1
87593
          mandatory: 0
87594
          kohafield: ""
87595
          tab: 8
87596
          authorised_value: ""
87597
          authtypecode: ""
87598
          value_builder: ""
87599
          isurl:
87600
          hidden: -6
87601
          frameworkcode: "HLD"
87602
          seealso: ""
87603
          link: ""
87604
          defaultvalue:
87605
87606
        - tagfield: "880"
87607
          tagsubfield: "t"
87608
          liblibrarian: "t"
87609
          libopac: "t"
87610
          repeatable: 1
87611
          mandatory: 0
87612
          kohafield: ""
87613
          tab: 8
87614
          authorised_value: ""
87615
          authtypecode: ""
87616
          value_builder: ""
87617
          isurl:
87618
          hidden: -6
87619
          frameworkcode: "HLD"
87620
          seealso: ""
87621
          link: ""
87622
          defaultvalue:
87623
87624
        - tagfield: "880"
87625
          tagsubfield: "u"
87626
          liblibrarian: "u"
87627
          libopac: "u"
87628
          repeatable: 1
87629
          mandatory: 0
87630
          kohafield: ""
87631
          tab: 8
87632
          authorised_value: ""
87633
          authtypecode: ""
87634
          value_builder: ""
87635
          isurl:
87636
          hidden: -6
87637
          frameworkcode: "HLD"
87638
          seealso: ""
87639
          link: ""
87640
          defaultvalue:
87641
87642
        - tagfield: "880"
87643
          tagsubfield: "v"
87644
          liblibrarian: "v"
87645
          libopac: "v"
87646
          repeatable: 1
87647
          mandatory: 0
87648
          kohafield: ""
87649
          tab: 8
87650
          authorised_value: ""
87651
          authtypecode: ""
87652
          value_builder: ""
87653
          isurl:
87654
          hidden: -6
87655
          frameworkcode: "HLD"
87656
          seealso: ""
87657
          link: ""
87658
          defaultvalue:
87659
87660
        - tagfield: "880"
87661
          tagsubfield: "w"
87662
          liblibrarian: "w"
87663
          libopac: "w"
87664
          repeatable: 1
87665
          mandatory: 0
87666
          kohafield: ""
87667
          tab: 8
87668
          authorised_value: ""
87669
          authtypecode: ""
87670
          value_builder: ""
87671
          isurl:
87672
          hidden: -6
87673
          frameworkcode: "HLD"
87674
          seealso: ""
87675
          link: ""
87676
          defaultvalue:
87677
87678
        - tagfield: "880"
87679
          tagsubfield: "x"
87680
          liblibrarian: "x"
87681
          libopac: "x"
87682
          repeatable: 1
87683
          mandatory: 0
87684
          kohafield: ""
87685
          tab: 8
87686
          authorised_value: ""
87687
          authtypecode: ""
87688
          value_builder: ""
87689
          isurl:
87690
          hidden: -6
87691
          frameworkcode: "HLD"
87692
          seealso: ""
87693
          link: ""
87694
          defaultvalue:
87695
87696
        - tagfield: "880"
87697
          tagsubfield: "y"
87698
          liblibrarian: "y"
87699
          libopac: "y"
87700
          repeatable: 1
87701
          mandatory: 0
87702
          kohafield: ""
87703
          tab: 8
87704
          authorised_value: ""
87705
          authtypecode: ""
87706
          value_builder: ""
87707
          isurl:
87708
          hidden: -6
87709
          frameworkcode: "HLD"
87710
          seealso: ""
87711
          link: ""
87712
          defaultvalue:
87713
87714
        - tagfield: "880"
87715
          tagsubfield: "z"
87716
          liblibrarian: "z"
87717
          libopac: "z"
87718
          repeatable: 1
87719
          mandatory: 0
87720
          kohafield: ""
87721
          tab: 8
87722
          authorised_value: ""
87723
          authtypecode: ""
87724
          value_builder: ""
87725
          isurl:
87726
          hidden: -6
87727
          frameworkcode: "HLD"
87728
          seealso: ""
87729
          link: ""
87730
          defaultvalue:
87731
87732
        - tagfield: "883"
87733
          tagsubfield: "0"
87734
          liblibrarian: "Authority record control number or standard number"
87735
          libopac: "Authority record control number or standard number"
87736
          repeatable: 1
87737
          mandatory: 0
87738
          kohafield: ""
87739
          tab: 8
87740
          authorised_value: ""
87741
          authtypecode: ""
87742
          value_builder: ""
87743
          isurl:
87744
          hidden: -6
87745
          frameworkcode: "HLD"
87746
          seealso: ""
87747
          link: ""
87748
          defaultvalue:
87749
87750
        - tagfield: "883"
87751
          tagsubfield: "1"
87752
          liblibrarian: "Real World Object URI"
87753
          libopac: "Real World Object URI"
87754
          repeatable: 1
87755
          mandatory: 0
87756
          kohafield: ""
87757
          tab: 8
87758
          authorised_value: ""
87759
          authtypecode: ""
87760
          value_builder: ""
87761
          isurl:
87762
          hidden: -6
87763
          frameworkcode: "HLD"
87764
          seealso: ""
87765
          link: ""
87766
          defaultvalue:
87767
87768
        - tagfield: "883"
87769
          tagsubfield: "8"
87770
          liblibrarian: "Field link and sequence number"
87771
          libopac: "Field link and sequence number"
87772
          repeatable: 1
87773
          mandatory: 0
87774
          kohafield: ""
87775
          tab: 8
87776
          authorised_value: ""
87777
          authtypecode: ""
87778
          value_builder: ""
87779
          isurl:
87780
          hidden: -6
87781
          frameworkcode: "HLD"
87782
          seealso: ""
87783
          link: ""
87784
          defaultvalue:
87785
87786
        - tagfield: "883"
87787
          tagsubfield: "a"
87788
          liblibrarian: "Generation process"
87789
          libopac: "Generation process"
87790
          repeatable: 0
87791
          mandatory: 0
87792
          kohafield: ""
87793
          tab: 8
87794
          authorised_value: ""
87795
          authtypecode: ""
87796
          value_builder: ""
87797
          isurl:
87798
          hidden: -6
87799
          frameworkcode: "HLD"
87800
          seealso: ""
87801
          link: ""
87802
          defaultvalue:
87803
87804
        - tagfield: "883"
87805
          tagsubfield: "c"
87806
          liblibrarian: "Confidence value"
87807
          libopac: "Confidence value"
87808
          repeatable: 0
87809
          mandatory: 0
87810
          kohafield: ""
87811
          tab: 8
87812
          authorised_value: ""
87813
          authtypecode: ""
87814
          value_builder: ""
87815
          isurl:
87816
          hidden: -6
87817
          frameworkcode: "HLD"
87818
          seealso: ""
87819
          link: ""
87820
          defaultvalue:
87821
87822
        - tagfield: "883"
87823
          tagsubfield: "d"
87824
          liblibrarian: "Generation date"
87825
          libopac: "Generation date"
87826
          repeatable: 0
87827
          mandatory: 0
87828
          kohafield: ""
87829
          tab: 8
87830
          authorised_value: ""
87831
          authtypecode: ""
87832
          value_builder: ""
87833
          isurl:
87834
          hidden: -6
87835
          frameworkcode: "HLD"
87836
          seealso: ""
87837
          link: ""
87838
          defaultvalue:
87839
87840
        - tagfield: "883"
87841
          tagsubfield: "q"
87842
          liblibrarian: "Generation agency"
87843
          libopac: "Generation agency"
87844
          repeatable: 0
87845
          mandatory: 0
87846
          kohafield: ""
87847
          tab: 8
87848
          authorised_value: ""
87849
          authtypecode: ""
87850
          value_builder: ""
87851
          isurl:
87852
          hidden: -6
87853
          frameworkcode: "HLD"
87854
          seealso: ""
87855
          link: ""
87856
          defaultvalue:
87857
87858
        - tagfield: "883"
87859
          tagsubfield: "u"
87860
          liblibrarian: "Uniform Resource Identifier"
87861
          libopac: "Uniform Resource Identifier"
87862
          repeatable: 0
87863
          mandatory: 0
87864
          kohafield: ""
87865
          tab: 8
87866
          authorised_value: ""
87867
          authtypecode: ""
87868
          value_builder: ""
87869
          isurl:
87870
          hidden: -6
87871
          frameworkcode: "HLD"
87872
          seealso: ""
87873
          link: ""
87874
          defaultvalue:
87875
87876
        - tagfield: "883"
87877
          tagsubfield: "w"
87878
          liblibrarian: "Bibliographic record control number"
87879
          libopac: "Bibliographic record control number"
87880
          repeatable: 1
87881
          mandatory: 0
87882
          kohafield: ""
87883
          tab: 8
87884
          authorised_value: ""
87885
          authtypecode: ""
87886
          value_builder: ""
87887
          isurl:
87888
          hidden: -6
87889
          frameworkcode: "HLD"
87890
          seealso: ""
87891
          link: ""
87892
          defaultvalue:
87893
87894
        - tagfield: "883"
87895
          tagsubfield: "x"
87896
          liblibrarian: "Validity end date"
87897
          libopac: "Validity end date"
87898
          repeatable: 0
87899
          mandatory: 0
87900
          kohafield: ""
87901
          tab: 8
87902
          authorised_value: ""
87903
          authtypecode: ""
87904
          value_builder: ""
87905
          isurl:
87906
          hidden: -6
87907
          frameworkcode: "HLD"
87908
          seealso: ""
87909
          link: ""
87910
          defaultvalue:
87911
87912
        - tagfield: "884"
87913
          tagsubfield: "a"
87914
          liblibrarian: "Conversion process"
87915
          libopac: "Conversion process"
87916
          repeatable: 0
87917
          mandatory: 0
87918
          kohafield: ""
87919
          tab: 8
87920
          authorised_value: ""
87921
          authtypecode: ""
87922
          value_builder: ""
87923
          isurl:
87924
          hidden: -6
87925
          frameworkcode: "HLD"
87926
          seealso: ""
87927
          link: ""
87928
          defaultvalue:
87929
87930
        - tagfield: "884"
87931
          tagsubfield: "g"
87932
          liblibrarian: "Conversion date"
87933
          libopac: "Conversion date"
87934
          repeatable: 0
87935
          mandatory: 0
87936
          kohafield: ""
87937
          tab: 8
87938
          authorised_value: ""
87939
          authtypecode: ""
87940
          value_builder: ""
87941
          isurl:
87942
          hidden: -6
87943
          frameworkcode: "HLD"
87944
          seealso: ""
87945
          link: ""
87946
          defaultvalue:
87947
87948
        - tagfield: "884"
87949
          tagsubfield: "k"
87950
          liblibrarian: "Identifier of source metadata"
87951
          libopac: "Identifier of source metadata"
87952
          repeatable: 0
87953
          mandatory: 0
87954
          kohafield: ""
87955
          tab: 8
87956
          authorised_value: ""
87957
          authtypecode: ""
87958
          value_builder: ""
87959
          isurl:
87960
          hidden: -6
87961
          frameworkcode: "HLD"
87962
          seealso: ""
87963
          link: ""
87964
          defaultvalue:
87965
87966
        - tagfield: "884"
87967
          tagsubfield: "q"
87968
          liblibrarian: "Conversion agency"
87969
          libopac: "Conversion agency"
87970
          repeatable: 0
87971
          mandatory: 0
87972
          kohafield: ""
87973
          tab: 8
87974
          authorised_value: ""
87975
          authtypecode: ""
87976
          value_builder: ""
87977
          isurl:
87978
          hidden: -6
87979
          frameworkcode: "HLD"
87980
          seealso: ""
87981
          link: ""
87982
          defaultvalue:
87983
87984
        - tagfield: "884"
87985
          tagsubfield: "u"
87986
          liblibrarian: "Uniform Resource Identifier"
87987
          libopac: "Uniform Resource Identifier"
87988
          repeatable: 1
87989
          mandatory: 0
87990
          kohafield: ""
87991
          tab: 8
87992
          authorised_value: ""
87993
          authtypecode: ""
87994
          value_builder: ""
87995
          isurl:
87996
          hidden: -6
87997
          frameworkcode: "HLD"
87998
          seealso: ""
87999
          link: ""
88000
          defaultvalue:
88001
88002
        - tagfield: "942"
88003
          tagsubfield: "n"
88004
          liblibrarian: "Suppress in OPAC"
88005
          libopac: "Suppress in OPAC"
88006
          repeatable: 0
88007
          mandatory: 0
88008
          kohafield: "holdings.suppress"
88009
          tab: 9
88010
          authorised_value: ""
88011
          authtypecode: ""
88012
          value_builder: ""
88013
          isurl: 0
88014
          hidden: 4
88015
          frameworkcode: "HLD"
88016
          seealso: ""
88017
          link: ""
88018
          defaultvalue:
88019
88020
        - tagfield: "999"
88021
          tagsubfield: "c"
88022
          liblibrarian: "Koha biblionumber"
88023
          libopac: "Koha biblionumber"
88024
          repeatable: 0
88025
          mandatory: 0
88026
          kohafield: "biblio.biblionumber"
88027
          tab: -1
88028
          authorised_value:
88029
          authtypecode:
88030
          value_builder: ""
88031
          isurl:
88032
          hidden: -5
88033
          frameworkcode: "HLD"
88034
          seealso: ""
88035
          link: ""
88036
          defaultvalue:
88037
88038
        - tagfield: "999"
88039
          tagsubfield: "e"
88040
          liblibrarian: "Koha holding_id"
88041
          libopac: "Koha holding_id"
88042
          repeatable: 0
88043
          mandatory: 0
88044
          kohafield: "holdings.holding_id"
88045
          tab: -1
88046
          authorised_value:
88047
          authtypecode:
88048
          value_builder: ""
88049
          isurl:
88050
          hidden: -5
88051
          frameworkcode: "HLD"
88052
          seealso: ""
88053
          link: ""
88054
          defaultvalue:
88055
88056
88057
sql_statements:
88058
  - "UPDATE marc_subfield_structure SET maxlength=24 WHERE tagfield='000';"
88059
  - "UPDATE marc_subfield_structure SET maxlength=40 WHERE tagfield='008';"
88060
88061
  # Create the ACQ framework based on the default framework, fields 952 only
88062
  - "INSERT INTO marc_tag_structure(tagfield, liblibrarian, libopac, repeatable, mandatory, authorised_value, frameworkcode)
88063
     SELECT tagfield, liblibrarian, libopac, repeatable, mandatory, authorised_value, 'ACQ' FROM marc_tag_structure WHERE tagfield='952' AND frameworkcode='';"
88064
88065
  - "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)
88066
     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='';"
88067
88068
  - "INSERT INTO marc_tag_structure(tagfield, liblibrarian, libopac, repeatable, mandatory, authorised_value, frameworkcode)
88069
     SELECT tagfield, liblibrarian, libopac, repeatable, mandatory, authorised_value, 'ACQ'
88070
     FROM marc_tag_structure
88071
     WHERE frameworkcode='' AND tagfield IN (
88072
       SELECT tagfield
88073
       FROM marc_subfield_structure
88074
       WHERE (
88075
             kohafield='biblio.title'
88076
         OR  kohafield='biblio.author'
88077
         OR  kohafield='biblioitems.publishercode'
88078
         OR  kohafield='biblioitems.editionstatement'
88079
         OR  kohafield='biblio.copyrightdate'
88080
         OR  kohafield='biblioitems.isbn'
88081
         OR  kohafield='biblio.seriestitle'
88082
       ) AND frameworkcode=''
88083
     );"
88084
88085
  - "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)
88086
     SELECT tagfield, tagsubfield, liblibrarian, libopac, repeatable, mandatory, kohafield, tab, authorised_value, authtypecode, value_builder, isurl, hidden, 'ACQ', seealso, link, defaultvalue, maxlength
88087
     FROM marc_subfield_structure
88088
     WHERE frameworkcode=''
88089
     AND kohafield IN ('biblio.title', 'biblio.author', 'biblioitems.publishercode', 'biblioitems.editionstatement', 'biblio.copyrightdate', 'biblioitems.isbn', 'biblio.seriestitle' );"
78103
88090
78104
  - "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)
78105
     SELECT tagfield, tagsubfield, liblibrarian, libopac, repeatable, mandatory, kohafield, tab, authorised_value, authtypecode, value_builder, isurl, hidden, 'ACQ', seealso, link, defaultvalue, maxlength
78106
     FROM marc_subfield_structure
78107
     WHERE frameworkcode=''
78108
     AND kohafield IN ('biblio.title', 'biblio.author', 'biblioitems.publishercode', 'biblioitems.editionstatement', 'biblio.copyrightdate', 'biblioitems.isbn', 'biblio.seriestitle' );"
(-)a/installer/data/mysql/kohastructure.sql (-2 / +49 lines)
Lines 664-669 CREATE TABLE `deleteditems` ( Link Here
664
  `copynumber` varchar(32) default NULL, -- copy number (MARC21 952$t)
664
  `copynumber` varchar(32) default NULL, -- copy number (MARC21 952$t)
665
  `stocknumber` varchar(32) default NULL, -- inventory number (MARC21 952$i)
665
  `stocknumber` varchar(32) default NULL, -- inventory number (MARC21 952$i)
666
  `new_status` VARCHAR(32) DEFAULT NULL, -- 'new' value, you can put whatever free-text information. This field is intented to be managed by the automatic_item_modification_by_age cronjob.
666
  `new_status` VARCHAR(32) DEFAULT NULL, -- 'new' value, you can put whatever free-text information. This field is intented to be managed by the automatic_item_modification_by_age cronjob.
667
  `holding_id` int(11) default NULL, -- foreign key from holdings table used to link this item to the right holdings record
667
  PRIMARY KEY  (`itemnumber`),
668
  PRIMARY KEY  (`itemnumber`),
668
  KEY `delitembarcodeidx` (`barcode`),
669
  KEY `delitembarcodeidx` (`barcode`),
669
  KEY `delitemstocknumberidx` (`stocknumber`),
670
  KEY `delitemstocknumberidx` (`stocknumber`),
Lines 822-832 CREATE TABLE `import_items` ( Link Here
822
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
823
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
823
824
824
--
825
--
826
-- Table structure for table `holdings`
827
--
828
829
DROP TABLE IF EXISTS `holdings`;
830
CREATE TABLE `holdings` ( -- table that stores summary holdings information
831
  `holding_id` int(11) NOT NULL auto_increment, -- unique identifier assigned to each holdings record
832
  `biblionumber` int(11) NOT NULL default 0, -- foreign key from biblio table used to link this record to the right bib record
833
  `frameworkcode` varchar(4) NOT NULL default '', -- foreign key from the biblio_framework table to identify which framework was used in cataloging this record
834
  `holdingbranch` varchar(10) default NULL, -- foreign key from the branches table for the library that owns this record (MARC21 852$a)
835
  `location` varchar(80) default NULL, -- authorized value for the shelving location for this record (MARC21 852$b)
836
  `ccode` varchar(80) default NULL, -- authorized value for the collection code associated with this item (MARC21 852$g)
837
  `callnumber` varchar(255) default NULL, -- call number (852$h+$i in MARC21)
838
  `suppress` tinyint(1) default NULL, -- Boolean indicating whether the record is suppressed in OPAC
839
  `timestamp` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, -- date and time this record was last touched
840
  `datecreated` DATE NOT NULL, -- the date this record was added to Koha
841
	`deleted_on` DATETIME DEFAULT NULL, -- the date this record was deleted
842
  PRIMARY KEY  (`holding_id`),
843
  KEY `hldnoidx` (`holding_id`),
844
  KEY `hldbibnoidx` (`biblionumber`),
845
  KEY `timestamp` (`timestamp`),
846
  CONSTRAINT `holdings_ibfk_1` FOREIGN KEY (`biblionumber`) REFERENCES `biblio` (`biblionumber`) ON DELETE CASCADE ON UPDATE CASCADE,
847
  CONSTRAINT `holdings_ibfk_2` FOREIGN KEY (`holdingbranch`) REFERENCES `branches` (`branchcode`) ON UPDATE CASCADE
848
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
849
850
--
851
-- Table structure for table `holdings_metadata`
852
--
853
854
DROP TABLE IF EXISTS `holdings_metadata`;
855
CREATE TABLE `holdings_metadata` (
856
  `id` INT(11) NOT NULL AUTO_INCREMENT,
857
  `holding_id` INT(11) NOT NULL,
858
  `format` VARCHAR(16) NOT NULL,
859
  `schema` VARCHAR(16) NOT NULL,
860
  `metadata` LONGTEXT NOT NULL,
861
	`deleted_on` DATETIME DEFAULT NULL, -- the date this record was deleted
862
  PRIMARY KEY(id),
863
  UNIQUE KEY `holdings_metadata_uniq_key` (`holding_id`,`format`,`schema`),
864
  KEY `hldnoidx` (`holding_id`),
865
  CONSTRAINT `holdings_metadata_fk_1` FOREIGN KEY (`holding_id`) REFERENCES `holdings` (`holding_id`) ON DELETE CASCADE ON UPDATE CASCADE
866
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
867
868
--
825
-- Table structure for table `items`
869
-- Table structure for table `items`
826
--
870
--
827
871
828
DROP TABLE IF EXISTS `items`;
872
DROP TABLE IF EXISTS `items`;
829
CREATE TABLE `items` ( -- holdings/item information
873
CREATE TABLE `items` ( -- item information
830
  `itemnumber` int(11) NOT NULL auto_increment, -- primary key and unique identifier added by Koha
874
  `itemnumber` int(11) NOT NULL auto_increment, -- primary key and unique identifier added by Koha
831
  `biblionumber` int(11) NOT NULL default 0, -- foreign key from biblio table used to link this item to the right bib record
875
  `biblionumber` int(11) NOT NULL default 0, -- foreign key from biblio table used to link this item to the right bib record
832
  `biblioitemnumber` int(11) NOT NULL default 0, -- foreign key from the biblioitems table to link to item to additional information
876
  `biblioitemnumber` int(11) NOT NULL default 0, -- foreign key from the biblioitems table to link to item to additional information
Lines 872-877 CREATE TABLE `items` ( -- holdings/item information Link Here
872
  `copynumber` varchar(32) default NULL, -- copy number (MARC21 952$t)
916
  `copynumber` varchar(32) default NULL, -- copy number (MARC21 952$t)
873
  `stocknumber` varchar(32) default NULL, -- inventory number (MARC21 952$i)
917
  `stocknumber` varchar(32) default NULL, -- inventory number (MARC21 952$i)
874
  `new_status` VARCHAR(32) DEFAULT NULL, -- 'new' value, you can put whatever free-text information. This field is intented to be managed by the automatic_item_modification_by_age cronjob.
918
  `new_status` VARCHAR(32) DEFAULT NULL, -- 'new' value, you can put whatever free-text information. This field is intented to be managed by the automatic_item_modification_by_age cronjob.
919
  `holding_id` int(11) default NULL, -- foreign key from holdings table used to link this item to the right holdings record
875
  PRIMARY KEY  (`itemnumber`),
920
  PRIMARY KEY  (`itemnumber`),
876
  UNIQUE KEY `itembarcodeidx` (`barcode`),
921
  UNIQUE KEY `itembarcodeidx` (`barcode`),
877
  KEY `itemstocknumberidx` (`stocknumber`),
922
  KEY `itemstocknumberidx` (`stocknumber`),
Lines 884-893 CREATE TABLE `items` ( -- holdings/item information Link Here
884
  KEY `items_ccode` (`ccode`),
929
  KEY `items_ccode` (`ccode`),
885
  KEY `itype_idx` (`itype`),
930
  KEY `itype_idx` (`itype`),
886
  KEY `timestamp` (`timestamp`),
931
  KEY `timestamp` (`timestamp`),
932
  KEY `hldid_idx` (`holding_id`),
887
  CONSTRAINT `items_ibfk_1` FOREIGN KEY (`biblioitemnumber`) REFERENCES `biblioitems` (`biblioitemnumber`) ON DELETE CASCADE ON UPDATE CASCADE,
933
  CONSTRAINT `items_ibfk_1` FOREIGN KEY (`biblioitemnumber`) REFERENCES `biblioitems` (`biblioitemnumber`) ON DELETE CASCADE ON UPDATE CASCADE,
888
  CONSTRAINT `items_ibfk_2` FOREIGN KEY (`homebranch`) REFERENCES `branches` (`branchcode`) ON UPDATE CASCADE,
934
  CONSTRAINT `items_ibfk_2` FOREIGN KEY (`homebranch`) REFERENCES `branches` (`branchcode`) ON UPDATE CASCADE,
889
  CONSTRAINT `items_ibfk_3` FOREIGN KEY (`holdingbranch`) REFERENCES `branches` (`branchcode`) ON UPDATE CASCADE,
935
  CONSTRAINT `items_ibfk_3` FOREIGN KEY (`holdingbranch`) REFERENCES `branches` (`branchcode`) ON UPDATE CASCADE,
890
  CONSTRAINT `items_ibfk_4` FOREIGN KEY (`biblionumber`) REFERENCES `biblio` (`biblionumber`) ON DELETE CASCADE ON UPDATE CASCADE
936
  CONSTRAINT `items_ibfk_4` FOREIGN KEY (`biblionumber`) REFERENCES `biblio` (`biblionumber`) ON DELETE CASCADE ON UPDATE CASCADE,
937
  CONSTRAINT `items_ibfk_5` FOREIGN KEY (`holding_id`) REFERENCES `holdings` (`holding_id`) ON DELETE CASCADE ON UPDATE CASCADE
891
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
938
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
892
939
893
--
940
--
(-)a/installer/data/mysql/mandatory/auth_val_cat.sql (+1 lines)
Lines 22-27 INSERT IGNORE INTO authorised_value_categories( category_name, is_system ) Link Here
22
INSERT IGNORE INTO authorised_value_categories( category_name, is_system )
22
INSERT IGNORE INTO authorised_value_categories( category_name, is_system )
23
    VALUES
23
    VALUES
24
    ('branches', 1),
24
    ('branches', 1),
25
    ('holdings', 1),
25
    ('itemtypes', 1),
26
    ('itemtypes', 1),
26
    ('cn_source', 1);
27
    ('cn_source', 1);
27
28
(-)a/installer/data/mysql/nb-NO/marcflavour/marc21/mandatory/marc21_framework_DEFAULT.sql (-1 / +541 lines)
Lines 50-56 INSERT INTO `marc_subfield_structure` (`tagfield`, `tagsubfield`, `liblibrarian` Link Here
50
		('999', 'a', 'Item type [OBSOLETE]', 'Item type [OBSOLETE]', 0, 0, NULL, -1, NULL, NULL, '', NULL, -5, '', '', '', NULL),
50
		('999', 'a', 'Item type [OBSOLETE]', 'Item type [OBSOLETE]', 0, 0, NULL, -1, NULL, NULL, '', NULL, -5, '', '', '', NULL),
51
		('999', 'b', 'Koha Dewey Subclass [OBSOLETE]', 'Koha Dewey Subclass [OBSOLETE]', 0, 0, NULL, 0, NULL, NULL, '', NULL, -5, '', '', '', NULL),
51
		('999', 'b', 'Koha Dewey Subclass [OBSOLETE]', 'Koha Dewey Subclass [OBSOLETE]', 0, 0, NULL, 0, NULL, NULL, '', NULL, -5, '', '', '', NULL),
52
		('999', 'c', 'Koha biblionumber', 'Koha biblionumber', 0, 0, 'biblio.biblionumber', -1, NULL, NULL, '', NULL, -5, '', '', '', NULL),
52
		('999', 'c', 'Koha biblionumber', 'Koha biblionumber', 0, 0, 'biblio.biblionumber', -1, NULL, NULL, '', NULL, -5, '', '', '', NULL),
53
		('999', 'd', 'Koha biblioitemnumber', 'Koha biblioitemnumber', 0, 0, 'biblioitems.biblioitemnumber', -1, NULL, NULL, '', NULL, -5, '', '', '', NULL);
53
		('999', 'd', 'Koha biblioitemnumber', 'Koha biblioitemnumber', 0, 0, 'biblioitems.biblioitemnumber', -1, NULL, NULL, '', NULL, -5, '', '', '', NULL),
54
		('999', 'e', 'Koha holding_id', 'Koha holding_id', 0, 0, 'holdings.holding_id', -1, NULL, NULL, '', NULL, -5, '', '', '', NULL);
54
55
55
56
56
-- ******************************************************
57
-- ******************************************************
Lines 123-128 INSERT INTO `marc_subfield_structure` (`tagfield`, `tagsubfield`, `liblibrarian` Link Here
123
		('952', 'h', 'Serial Enumeration / chronology','Serial Enumeration / chronology', 0, 0, 'items.enumchron', 10, '', '', '', 0, 0, '', '', '', NULL),
124
		('952', 'h', 'Serial Enumeration / chronology','Serial Enumeration / chronology', 0, 0, 'items.enumchron', 10, '', '', '', 0, 0, '', '', '', NULL),
124
		('952', 'i', 'Inventory number','Inventory number', 0, 0, 'items.stocknumber', 10, '', '', '', 0, 0, '', '', '', NULL),
125
		('952', 'i', 'Inventory number','Inventory number', 0, 0, 'items.stocknumber', 10, '', '', '', 0, 0, '', '', '', NULL),
125
		('952', 'j', 'Shelving control number', 'Shelving control number', 0, 0, 'items.stack', 10, 'STACK', '', '', NULL, -1, '', '', '', NULL),
126
		('952', 'j', 'Shelving control number', 'Shelving control number', 0, 0, 'items.stack', 10, 'STACK', '', '', NULL, -1, '', '', '', NULL),
127
        ('952', 'k', 'Holdings record',  'Holdings record',  0, 0, 'items.holding_id', 10, 'holdings', '', '', NULL, 0,  '', '', '', NULL),
126
		('952', 'l', 'Total Checkouts', 'Total Checkouts', 0, 0, 'items.issues', 10, '', '', '', NULL, -5, '', '', '', NULL),
128
		('952', 'l', 'Total Checkouts', 'Total Checkouts', 0, 0, 'items.issues', 10, '', '', '', NULL, -5, '', '', '', NULL),
127
		('952', 'm', 'Total Renewals', 'Total Renewals', 0, 0, 'items.renewals', 10, '', '', '', NULL, -5, '', '', '', NULL),
129
		('952', 'm', 'Total Renewals', 'Total Renewals', 0, 0, 'items.renewals', 10, '', '', '', NULL, -5, '', '', '', NULL),
128
		('952', 'n', 'Total Holds', 'Total Holds', 0, 0, 'items.reserves', 10, '', '', '', NULL, -5, '', '', '', NULL),
130
		('952', 'n', 'Total Holds', 'Total Holds', 0, 0, 'items.reserves', 10, '', '', '', NULL, -5, '', '', '', NULL),
Lines 3998-4000 INSERT INTO `marc_subfield_structure` (`tagfield`, `tagsubfield`, `liblibrarian` Link Here
3998
4000
3999
UPDATE `marc_subfield_structure` SET maxlength=24 WHERE tagfield='000';
4001
UPDATE `marc_subfield_structure` SET maxlength=24 WHERE tagfield='000';
4000
UPDATE `marc_subfield_structure` SET maxlength=40 WHERE tagfield='008';
4002
UPDATE `marc_subfield_structure` SET maxlength=40 WHERE tagfield='008';
4003
4004
-- HOLDINGS RECORD FRAMEWORK
4005
4006
INSERT IGNORE INTO `biblio_framework` VALUES ('HLD', 'Default holdings framework');
4007
INSERT IGNORE INTO `marc_tag_structure` (`tagfield`, `liblibrarian`, `libopac`, `repeatable`, `mandatory`, `authorised_value`, `frameworkcode`) VALUES
4008
        ('999', 'SYSTEM CONTROL NUMBERS (KOHA)', 'SYSTEM CONTROL NUMBERS (KOHA)', 1, 0, '', 'HLD');
4009
4010
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
4011
        ('999', 'c', 'Koha biblionumber', 'Koha biblionumber', 0, 0, 'biblio.biblionumber', -1, NULL, NULL, '', NULL, -5, 'HLD', '', '', NULL),
4012
        ('999', 'e', 'Koha holding_id', 'Koha holding_id', 0, 0, 'holdings.holding_id', -1, NULL, NULL, '', NULL, -5, 'HLD', '', '', NULL);
4013
4014
4015
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
4016
        ('942', 'n', 'Suppress in OPAC', 'Suppress in OPAC', 0, 0, 'holdings.suppress', 9, '', '', '', 0, 0, 'HLD', '', '', NULL);
4017
4018
INSERT IGNORE INTO `marc_tag_structure` (`tagfield`, `liblibrarian`, `libopac`, `repeatable`, `mandatory`, `authorised_value`, `frameworkcode`) VALUES
4019
        ('000', 'LEADER', 'LEADER', 0, 1, '', 'HLD'),
4020
        ('001', 'CONTROL NUMBER', 'CONTROL NUMBER', 0, 0, '', 'HLD'),
4021
        ('003', 'CONTROL NUMBER IDENTIFIER', 'CONTROL NUMBER IDENTIFIER', 0, 1, '', 'HLD'),
4022
        ('005', 'DATE AND TIME OF LATEST TRANSACTION', 'DATE AND TIME OF LATEST TRANSACTION', 0, 1, '', 'HLD'),
4023
        ('006', 'FIXED-LENGTH DATA ELEMENTS--ADDITIONAL MATERIAL CHARACTERISTICS', 'FIXED-LENGTH DATA ELEMENTS--ADDITIONAL MATERIAL CHARACTERISTICS', 1, 0, '', 'HLD'),
4024
        ('007', 'PHYSICAL DESCRIPTION FIXED FIELD--GENERAL INFORMATION', 'PHYSICAL DESCRIPTION FIXED FIELD--GENERAL INFORMATION', 1, 0, '', 'HLD'),
4025
        ('008', 'FIXED-LENGTH DATA ELEMENTS--GENERAL INFORMATION', 'FIXED-LENGTH DATA ELEMENTS--GENERAL INFORMATION', 0, 1, '', 'HLD');
4026
4027
INSERT IGNORE INTO `marc_tag_structure` (`tagfield`, `liblibrarian`, `libopac`, `repeatable`, `mandatory`, `authorised_value`, `frameworkcode`) VALUES
4028
        ('010', 'LIBRARY OF CONGRESS CONTROL NUMBER', 'LIBRARY OF CONGRESS CONTROL NUMBER', 0, 0, '', 'HLD'),
4029
        ('014', 'LINKAGE NUMBER', 'LINKAGE NUMBER', 1, 0, '', 'HLD'),
4030
        ('016', 'NATIONAL BIBLIOGRAPHIC AGENCY CONTROL NUMBER', 'NATIONAL BIBLIOGRAPHIC AGENCY CONTROL NUMBER', 1, 0, '', 'HLD'),
4031
        ('017', 'COPYRIGHT OR LEGAL DEPOSIT NUMBER', 'COPYRIGHT OR LEGAL DEPOSIT NUMBER', 1, 0, '', 'HLD'),
4032
        ('020', 'INTERNATIONAL STANDARD BOOK NUMBER', 'INTERNATIONAL STANDARD BOOK NUMBER', 1, 0, NULL, 'HLD'),
4033
        ('022', 'INTERNATIONAL STANDARD SERIAL NUMBER', 'INTERNATIONAL STANDARD SERIAL NUMBER', 1, 0, NULL, 'HLD'),
4034
        ('024', 'OTHER STANDARD IDENTIFIER', 'OTHER STANDARD IDENTIFIER', 1, 0, NULL, 'HLD'),
4035
        ('027', 'STANDARD TECHNICAL REPORT NUMBER', 'STANDARD TECHNICAL REPORT NUMBER', 1, 0, '', 'HLD'),
4036
        ('030', 'CODEN DESIGNATION', 'CODEN DESIGNATION', 1, 0, '', 'HLD'),
4037
        ('035', 'SYSTEM CONTROL NUMBER', 'SYSTEM CONTROL NUMBER', 1, 0, NULL, 'HLD'),
4038
        ('040', 'CATALOGING SOURCE', 'CATALOGING SOURCE', 0, 1, NULL, 'HLD'),
4039
        ('066', 'CHARACTER SETS PRESENT', 'CHARACTER SETS PRESENT', 0, 0, NULL, 'HLD'),
4040
        ('337', 'MEDIA TYPE', 'MEDIA TYPE', 1, 0, NULL, 'HLD'),
4041
        ('338', 'CARRIER TYPE', 'CARRIER TYPE', 1, 0, NULL, 'HLD'),
4042
        ('347', 'DIGITAL FILE CHARACTERISTICS', 'DIGITAL FILE CHARACTERISTICS', 1, 0, NULL, 'HLD'),
4043
        ('506', 'RESTRICTIONS ON ACCESS NOTE', 'RESTRICTIONS ON ACCESS NOTE', 1, 0, NULL, 'HLD'),
4044
        ('538', 'SYSTEM DETAILS NOTE', 'SYSTEM DETAILS NOTE', 1, 0, NULL, 'HLD'),
4045
        ('541', 'IMMEDIATE SOURCE OF ACQUISITION NOTE', 'IMMEDIATE SOURCE OF ACQUISITION NOTE', 1, 0, NULL, 'HLD'),
4046
        ('561', 'OWNERSHIP AND CUSTODIAL HISTORY', 'OWNERSHIP AND CUSTODIAL HISTORY', 1, 0, NULL, 'HLD'),
4047
        ('562', 'COPY AND VERSION IDENTIFICATION NOTE', 'COPY AND VERSION IDENTIFICATION NOTE', 1, 0, NULL, 'HLD'),
4048
        ('563', 'BINDING INFORMATION', 'BINDING INFORMATION', 1, 0, NULL, 'HLD'),
4049
        ('583', 'ACTION NOTE', 'ACTION NOTE', 1, 0, NULL, 'HLD'),
4050
        ('842', 'TEXTUAL PHYSICAL FORM DESIGNATOR', 'TEXTUAL PHYSICAL FORM DESIGNATOR', 0, 0, NULL, 'HLD'),
4051
        ('843', 'REPRODUCTION NOTE', 'REPRODUCTION NOTE', 1, 0, NULL, 'HLD'),
4052
        ('844', 'NAME OF UNIT', 'NAME OF UNIT', 0, 0, NULL, 'HLD'),
4053
        ('845', 'TERMS GOVERNING USE AND REPRODUCTION NOTE', 'TERMS GOVERNING USE AND REPRODUCTION NOTE', 1, 0, NULL, 'HLD'),
4054
        ('850', 'HOLDING INSTITUTION', 'HOLDING INSTITUTION', 1, 0, NULL, 'HLD'),
4055
        ('852', 'LOCATION', 'LOCATION', 1, 0, NULL, 'HLD'),
4056
        ('853', 'CAPTIONS AND PATTERN--BASIC BIBLIOGRAPHIC UNIT', 'CAPTIONS AND PATTERN--BASIC BIBLIOGRAPHIC UNIT', 1, 0, NULL, 'HLD'),
4057
        ('854', 'CAPTIONS AND PATTERN--SUPPLEMENTARY MATERIAL', 'CAPTIONS AND PATTERN--SUPPLEMENTARY MATERIAL', 1, 0, NULL, 'HLD'),
4058
        ('855', 'CAPTIONS AND PATTERN--INDEXES', 'CAPTIONS AND PATTERN--INDEXES', 1, 0, NULL, 'HLD'),
4059
        ('856', 'ELECTRONIC LOCATION AND ACCESS', 'ELECTRONIC LOCATION AND ACCESS', 1, 0, NULL, 'HLD'),
4060
        ('863', 'ENUMERATION AND CHRONOLOGY--BASIC BIBLIOGRAPHIC UNIT', 'ENUMERATION AND CHRONOLOGY--BASIC BIBLIOGRAPHIC UNIT', 1, 0, NULL, 'HLD'),
4061
        ('864', 'ENUMERATION AND CHRONOLOGY--SUPPLEMENTARY MATERIAL', 'ENUMERATION AND CHRONOLOGY--SUPPLEMENTARY MATERIAL', 1, 0, NULL, 'HLD'),
4062
        ('865', 'ENUMERATION AND CHRONOLOGY--INDEXES', 'ENUMERATION AND CHRONOLOGY--INDEXES', 1, 0, NULL, 'HLD'),
4063
        ('866', 'TEXTUAL HOLDINGS--BASIC BIBLIOGRAPHIC UNIT', 'TEXTUAL HOLDINGS--BASIC BIBLIOGRAPHIC UNIT', 1, 0, NULL, 'HLD'),
4064
        ('867', 'TEXTUAL HOLDINGS--SUPPLEMENTARY MATERIAL', 'TEXTUAL HOLDINGS--SUPPLEMENTARY MATERIAL', 1, 0, NULL, 'HLD'),
4065
        ('868', 'TEXTUAL HOLDINGS--INDEXES', 'TEXTUAL HOLDINGS--INDEXES', 1, 0, NULL, 'HLD'),
4066
        ('876', 'ITEM INFORMATION--BASIC BIBLIOGRAPHIC UNIT', 'ITEM INFORMATION--BASIC BIBLIOGRAPHIC UNIT', 1, 0, NULL, 'HLD'),
4067
        ('877', 'ITEM INFORMATION--SUPPLEMENTARY MATERIAL', 'ITEM INFORMATION--SUPPLEMENTARY MATERIAL', 1, 0, NULL, 'HLD'),
4068
        ('878', 'ITEM INFORMATION--INDEXES', 'ITEM INFORMATION--INDEXES', 1, 0, NULL, 'HLD');
4069
4070
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
4071
        ('000', '@', 'fixed length control field', 'fixed length control field', 0, 1, '', 0, '', '', 'marc21_leader_holdings.pl', 0, 0, 'HLD', '', '', NULL),
4072
        ('001', '@', 'control field', 'control field', 0, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL),
4073
        ('003', '@', 'control field', 'control field', 0, 1, '', 0, '', '', 'marc21_orgcode.pl', 0, 0, 'HLD', '', '', NULL),
4074
        ('005', '@', 'control field', 'control field', 0, 1, '', 0, '', '', 'marc21_field_005.pl', 0, 0, 'HLD', '', '', NULL),
4075
        ('006', '@', 'fixed length control field', 'fixed length control field', 0, 0, '', 0, '', '', 'marc21_field_006.pl', 0, -1, 'HLD', '', '', NULL),
4076
        ('007', '@', 'fixed length control field', 'fixed length control field', 0, 0, '', 0, '', '', 'marc21_field_007.pl', 0, 0, 'HLD', '', '', NULL),
4077
        ('008', '@', 'fixed length control field', 'fixed length control field', 0, 1, '', 0, '', '', 'marc21_field_008_holdings.pl', 0, 0, 'HLD', '', '', NULL),
4078
        ('010', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 0, '', '', NULL, 0, -6, 'HLD', '', '', NULL),
4079
        ('010', 'a', 'LC control number', 'LC control number', 0, 0, 'biblioitems.lccn', 0, '', '', '', 0, 0, 'HLD', '', '', NULL),
4080
        ('010', 'b', 'NUCMC control number', 'NUCMC control number', 1, 0, '', 0, '', '', '', 0, -1, '', '', '', NULL),
4081
        ('010', 'z', 'Canceled/invalid LC control number', 'Canceled/invalid LC control number', 1, 0, '', 0, '', '', '', 0, -1, 'HLD', '', '', NULL),
4082
        ('014', '6', 'Linkage', 'Linkage', 0, 0, '', 0, '', '', '', 0, -6, '', '', '', NULL),
4083
        ('014', 'a', 'Linkage number', 'Linkage number', 0, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL),
4084
        ('014', 'b', 'Source of number', 'Source of number', 0, 0, '', 0, '', '', '', 0, -1, 'HLD', '', '', NULL),
4085
        ('014', 'z', 'Canceled/invalid linkage number', 'Canceled/invalid linkage number', 1, 0, '', 0, '', '', '', 0, -1, 'HLD', '', '', NULL),
4086
        ('016', '2', 'Source', 'Source', 0, 0, '', 0, '', '', '', 0, 0, '', '', '', NULL),
4087
        ('016', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL),
4088
        ('016', 'a', 'Record control number', 'Record control number', 0, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL),
4089
        ('016', 'z', 'Canceled/invalid control number', 'Canceled/invalid control number', 1, 0, '', 0, '', '', '', 0, -1, 'HLD', '', '', NULL),
4090
        ('017', '2', 'Source', 'Source', 0, 0, '', 0, '', '', '', 0, -6, '', '', '', NULL),
4091
        ('017', '6', 'Linkage', 'Linkage', 0, 0, '', 0, '', '', '', 0, -6, '', '', '', NULL),
4092
        ('017', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL),
4093
        ('017', 'a', 'Copyright or legal deposit number', 'Copyright or legal deposit number', 1, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL),
4094
        ('017', 'b', 'Assigning agency', 'Assigning agency', 0, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL),
4095
        ('017', 'd', 'Date', 'Date', 0, 0, '', 0, '', '', NULL, 0, -6, 'HLD', '', '', NULL),
4096
        ('017', 'i', 'Display text', 'Display text', 0, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL),
4097
        ('017', 'z', 'Canceled/invalid copyright or legal deposit number', 'Canceled/invalid copyright or legal deposit number', 1, 0, '', 0, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4098
        ('020', '6', 'Linkage', 'Linkage', 0, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL),
4099
        ('020', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL),
4100
        ('020', 'a', 'International Standard Book Number', 'International Standard Book Number', 0, 0, 'biblioitems.isbn', 0, '', '', '', 0, 0, 'HLD', '', '', NULL),
4101
        ('020', 'c', 'Terms of availability', 'Terms of availability', 0, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL),
4102
        ('020', 'q', 'Qualifying information', 'Qualifying information', 1, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL),
4103
        ('020', 'z', 'Canceled/invalid ISBN', 'Canceled/invalid ISBN', 1, 0, '', 0, '', '', '', 0, -1, 'HLD', '', '', NULL),
4104
        ('022', '2', 'Source', 'Source', 0, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL),
4105
        ('022', '6', 'Linkage', 'Linkage', 0, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL),
4106
        ('022', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL),
4107
        ('022', 'a', 'International Standard Serial Number', 'International Standard Serial Number', 0, 0, 'biblioitems.issn', 0, '', '', '', 0, 0, 'HLD', '', '', NULL),
4108
        ('022', 'l', 'ISSN-L', 'ISSN-L', 0, 0, '', 0, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4109
        ('022', 'm', 'Canceled ISSN-L', 'Canceled ISSN-L', 1, 0, '', 0, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4110
        ('022', 'y', 'Incorrect ISSN', 'Incorrect ISSN', 1, 0, '', 0, '', '', '', 0, -1, 'HLD', '', '', NULL),
4111
        ('022', 'z', 'Canceled ISSN', 'Canceled ISSN', 1, 0, '', 0, '', '', '', 0, -1, 'HLD', '', '', NULL),
4112
        ('024', '2', 'Source of number or code', 'Source of number or code', 0, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL),
4113
        ('024', '6', 'Linkage', 'Linkage', 0, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL),
4114
        ('024', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL),
4115
        ('024', 'a', 'Standard number or code', 'Standard number or code', 0, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL),
4116
        ('024', 'b', 'Additional codes following the standard number [OBSOLETE]', 'Additional codes following the standard number [OBSOLETE]', 0, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL),
4117
        ('024', 'c', 'Terms of availability', 'Terms of availability', 0, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL),
4118
        ('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),
4119
        ('024', 'q', 'Qualifying information', 'Qualifying information', 1, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL),
4120
        ('024', 'z', 'Canceled/invalid standard number or code', 'Canceled/invalid standard number or code', 1, 0, '', 0, '', '', '', 0, -1, 'HLD', '', '', NULL),
4121
        ('027', '6', 'Linkage', 'Linkage', 0, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL),
4122
        ('027', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL),
4123
        ('027', 'a', 'Standard technical report number', 'Standard technical report number', 0, 0, '', 0, '', '', '', 0, -1, 'HLD', '', '', NULL),
4124
        ('027', 'q', 'Qualifying information', 'Qualifying information', 1, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL),
4125
        ('027', 'z', 'Canceled/invalid number', 'Canceled/invalid number', 1, 0, '', 0, '', '', '', 0, -1, 'HLD', '', '', NULL),
4126
        ('030', '6', 'Linkage', 'Linkage', 0, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL),
4127
        ('030', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL),
4128
        ('030', 'a', 'CODEN', 'CODEN', 0, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL),
4129
        ('030', 'z', 'Canceled/invalid CODEN', 'Canceled/invalid CODEN', 1, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL),
4130
        ('035', '6', 'Linkage', 'Linkage', 0, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL),
4131
        ('035', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL),
4132
        ('035', 'a', 'System control number', 'System control number', 0, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL),
4133
        ('035', 'z', 'Canceled/invalid control number', 'Canceled/invalid control number', 1, 0, '', 0, '', '', '', 0, -1, 'HLD', '', '', NULL),
4134
        ('040', '6', 'Linkage', 'Linkage', 0, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL),
4135
        ('040', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 0, '', '', '', 0, -6, 'HLD', '', '', NULL),
4136
        ('040', 'a', 'Original cataloging agency', 'Original cataloging agency', 0, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL),
4137
        ('040', 'b', 'Language of cataloging', 'Language of cataloging', 0, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL),
4138
        ('040', 'c', 'Transcribing agency', 'Transcribing agency', 0, 1, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL),
4139
        ('040', 'd', 'Modifying agency', 'Modifying agency', 1, 0, '', 0, '', '', '', 0, 0, 'HLD', '', '', NULL),
4140
        ('066', 'a', 'Primary G0 character set', 'Primary G0 character set', 0, 0, NULL, 0, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
4141
        ('066', 'b', 'Primary G1 character set', 'Primary G1 character set', 0, 0, NULL, 0, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
4142
        ('066', 'c', 'Alternate G0 or G1 character set', 'Alternate G0 or G1 character set', 1, 0, NULL, 0, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
4143
        ('337', '0', 'Authority record control number or standard number', 'Authority record control number or standard number', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4144
        ('337', '1', 'Real World Object URI', 'Real World Object URI', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4145
        ('337', '2', 'Source', 'Source', 0, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4146
        ('337', '3', 'Materials specified', 'Materials specified', 0, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4147
        ('337', '6', 'Linkage', 'Linkage', 0, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4148
        ('337', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4149
        ('337', 'a', 'Media type term', 'Media type term', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4150
        ('337', 'b', 'Media type code', 'Media type code', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4151
        ('338', '0', 'Authority record control number or standard number', 'Authority record control number or standard number', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4152
        ('338', '1', 'Real World Object URI', 'Real World Object URI', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4153
        ('338', '2', 'Source', 'Source', 0, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4154
        ('338', '3', 'Materials specified', 'Materials specified', 0, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4155
        ('338', '6', 'Linkage', 'Linkage', 0, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4156
        ('338', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4157
        ('338', 'a', 'Carrier type term', 'Carrier type term', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4158
        ('338', 'b', 'Carrier type code', 'Carrier type code', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4159
        ('347', 'a', 'File type', 'File type', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4160
        ('347', '0', 'Authority record control number or standard number', 'Authority record control number or standard number', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4161
        ('347', '1', 'Real World Object URI', 'Real World Object URI', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4162
        ('347', '2', 'Source', 'Source', 0, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4163
        ('347', '3', 'Materials specified', 'Materials specified', 0, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4164
        ('347', '6', 'Linkage', 'Linkage', 0, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4165
        ('347', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4166
        ('347', 'b', 'Encoding format', 'Encoding format', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4167
        ('347', 'c', 'File size', 'File size', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4168
        ('347', 'd', 'Resolution', 'Resolution', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4169
        ('347', 'e', 'Regional encoding', 'Regional encoding', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4170
        ('347', 'f', 'Encoded bitrate', 'Encoded bitrate', 1, 0, '', 3, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4171
        ('506', '2', 'Source of term', 'Source of term', 0, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4172
        ('506', '3', 'Materials specified', 'Materials specified', 0, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4173
        ('506', '5', 'Institution to which field applies', 'Institution to which field applies', 0, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4174
        ('506', '6', 'Linkage', 'Linkage', 0, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4175
        ('506', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4176
        ('506', 'a', 'Terms governing access', 'Terms governing access', 0, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4177
        ('506', 'b', 'Jurisdiction', 'Jurisdiction', 1, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4178
        ('506', 'c', 'Physical access provisions', 'Physical access provisions', 1, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4179
        ('506', 'd', 'Authorized users', 'Authorized users', 1, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4180
        ('506', 'e', 'Authorization', 'Authorization', 1, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4181
        ('506', 'f', 'Standardized terminology for access restriction', 'Standardized terminology for access restriction', 1, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4182
        ('506', 'u', 'Uniform Resource Identifier', 'Uniform Resource Identifier', 1, 0, '', 5, '', '', '', 1, -6, 'HLD', '', '', NULL),
4183
        ('538', '3', 'Materials specified', 'Materials specified', 0, 0, NULL, 5, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
4184
        ('538', '5', 'Institution to which field applies', 'Institution to which field applies', 1, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4185
        ('538', '6', 'Linkage', 'Linkage', 0, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4186
        ('538', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4187
        ('538', 'a', 'System details note', 'System details note', 0, 0, '', 5, '', '', '', NULL, -1, 'HLD', '', '', NULL),
4188
        ('538', 'i', 'Display text', 'Display text', 0, 0, '', 5, '', '', '', NULL, -1, 'HLD', '', '', NULL),
4189
        ('538', 'u', 'Uniform Resource Identifier', 'Uniform Resource Identifier', 1, 0, '', 5, '', '', '', 1, -1, 'HLD', '', '', NULL),
4190
        ('541', '3', 'Materials specified', 'Materials specified', 0, 0, NULL, 5, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
4191
        ('541', '5', 'Institution to which field applies', 'Institution to which field applies', 0, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4192
        ('541', '6', 'Linkage', 'Linkage', 0, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4193
        ('541', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4194
        ('541', 'a', 'Source of acquisition', 'Source of acquisition', 0, 0, '', 5, '', '', '', NULL, 1, 'HLD', '', '', NULL),
4195
        ('541', 'b', 'Address', 'Address', 0, 0, '', 5, '', '', '', NULL, 1, 'HLD', '', '', NULL),
4196
        ('541', 'c', 'Method of acquisition', 'Method of acquisition', 0, 0, '', 5, '', '', '', NULL, 1, 'HLD', '', '', NULL),
4197
        ('541', 'd', 'Date of acquisition', 'Date of acquisition', 0, 0, '', 5, '', '', '', NULL, 1, 'HLD', '', '', NULL),
4198
        ('541', 'e', 'Accession number', 'Accession number', 0, 0, '', 5, '', '', '', NULL, 1, 'HLD', '', '', NULL),
4199
        ('541', 'f', 'Owner', 'Owner', 0, 0, '', 5, '', '', '', NULL, 1, 'HLD', '', '', NULL),
4200
        ('541', 'h', 'Purchase price', 'Purchase price', 0, 0, '', 5, '', '', '', NULL, 1, 'HLD', '', '', NULL),
4201
        ('541', 'n', 'Extent', 'Extent', 1, 0, '', 5, '', '', '', NULL, 1, 'HLD', '', '', NULL),
4202
        ('541', 'o', 'Type of unit', 'Type of unit', 1, 0, '', 5, '', '', '', NULL, 1, 'HLD', '', '', NULL),
4203
        ('561', '3', 'Materials specified', 'Materials specified', 0, 0, NULL, 5, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
4204
        ('561', '5', 'Institution to which field applies', 'Institution to which field applies', 0, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4205
        ('561', '6', 'Linkage', 'Linkage', 0, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4206
        ('561', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4207
        ('561', 'a', 'History', 'History', 0, 0, '', 5, '', '', '', NULL, 6, 'HLD', '', '', NULL),
4208
        ('561', 'b', 'Time of collation [OBSOLETE]', 'Time of collation [OBSOLETE]', 0, 0, '', 5, '', '', '', NULL, 6, 'HLD', '', '', NULL),
4209
        ('561', 'u', 'Uniform Resource Identifier', 'Uniform Resource Identifier', 1, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4210
        ('562', '3', 'Materials specified', 'Materials specified', 0, 0, NULL, 5, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
4211
        ('562', '5', 'Institution to which field applies', 'Institution to which field applies', 0, 0, NULL, -1, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
4212
        ('562', '6', 'Linkage', 'Linkage', 0, 0, NULL, 5, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
4213
        ('562', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, NULL, 5, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
4214
        ('562', 'a', 'Identifying markings', 'Identifying markings', 1, 0, NULL, 5, NULL, NULL, '', NULL, -1, 'HLD', '', '', NULL),
4215
        ('562', 'b', 'Copy identification', 'Copy identification', 1, 0, NULL, 5, NULL, NULL, '', NULL, -1, 'HLD', '', '', NULL),
4216
        ('562', 'c', 'Version identification', 'Version identification', 1, 0, NULL, 5, NULL, NULL, '', NULL, -1, 'HLD', '', '', NULL),
4217
        ('562', 'd', 'Presentation format', 'Presentation format', 1, 0, NULL, 5, NULL, NULL, '', NULL, -1, 'HLD', '', '', NULL),
4218
        ('562', 'e', 'Number of copies', 'Number of copies', 1, 0, NULL, 5, NULL, NULL, '', NULL, -1, 'HLD', '', '', NULL),
4219
        ('563', '3', 'Materials specified', 'Materials specified', 0, 0, NULL, 5, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
4220
        ('563', '5', 'Institution to which field applies', 'Institution to which field applies', 0, 0, NULL, -1, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
4221
        ('563', '6', 'Linkage', 'Linkage', 0, 0, NULL, 5, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
4222
        ('563', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, NULL, 5, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
4223
        ('563', 'a', 'Binding note', 'Binding note', 0, 0, NULL, 5, NULL, NULL, '', NULL, -1, 'HLD', '', '', NULL),
4224
        ('563', 'u', 'Uniform Resource Identifier', 'Uniform Resource Identifier', 1, 0, NULL, 5, NULL, NULL, '', 1, -1, 'HLD', '', '', NULL),
4225
        ('583', '2', 'Source of term', 'Source of term', 0, 0, NULL, 5, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
4226
        ('583', '3', 'Materials specified', 'Materials specified', 0, 0, NULL, 5, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
4227
        ('583', '5', 'Institution to which field applies', 'Institution to which field applies', 0, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4228
        ('583', '6', 'Linkage', 'Linkage', 0, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4229
        ('583', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4230
        ('583', 'a', 'Action', 'Action', 0, 0, '', 5, '', '', '', NULL, -1, 'HLD', '', '', NULL),
4231
        ('583', 'b', 'Action identification', 'Action identification', 1, 0, '', 5, '', '', '', NULL, -1, 'HLD', '', '', NULL),
4232
        ('583', 'c', 'Time/date of action', 'Time/date of action', 1, 0, '', 5, '', '', '', NULL, -1, 'HLD', '', '', NULL),
4233
        ('583', 'd', 'Action interval', 'Action interval', 1, 0, '', 5, '', '', '', NULL, -1, 'HLD', '', '', NULL),
4234
        ('583', 'e', 'Contingency for action', 'Contingency for action', 1, 0, '', 5, '', '', '', NULL, -1, 'HLD', '', '', NULL),
4235
        ('583', 'f', 'Authorization', 'Authorization', 1, 0, '', 5, '', '', '', NULL, -1, 'HLD', '', '', NULL),
4236
        ('583', 'h', 'Jurisdiction', 'Jurisdiction', 1, 0, '', 5, '', '', '', NULL, -1, 'HLD', '', '', NULL),
4237
        ('583', 'i', 'Method of action', 'Method of action', 1, 0, '', 5, '', '', '', NULL, -1, 'HLD', '', '', NULL),
4238
        ('583', 'j', 'Site of action', 'Site of action', 1, 0, '', 5, '', '', '', NULL, -1, 'HLD', '', '', NULL),
4239
        ('583', 'k', 'Action agent', 'Action agent', 1, 0, '', 5, '', '', '', NULL, -1, 'HLD', '', '', NULL),
4240
        ('583', 'l', 'Status', 'Status', 1, 0, '', 5, '', '', '', NULL, -1, 'HLD', '', '', NULL),
4241
        ('583', 'n', 'Extent', 'Extent', 1, 0, '', 5, '', '', '', NULL, -1, 'HLD', '', '', NULL),
4242
        ('583', 'o', 'Type of unit', 'Type of unit', 1, 0, '', 5, '', '', '', NULL, -1, 'HLD', '', '', NULL),
4243
        ('583', 'u', 'Uniform Resource Identifier', 'Uniform Resource Identifier', 1, 0, '', 5, '', '', '', 1, -1, 'HLD', '', '', NULL),
4244
        ('583', 'x', 'Nonpublic note', 'Nonpublic note', 1, 0, '', 5, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4245
        ('583', 'z', 'Public note', 'Public note', 1, 0, '', 5, '', '', '', NULL, -1, 'HLD', '', '', NULL),
4246
        ('842', '6', 'Linkage', 'Linkage', 0, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4247
        ('842', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4248
        ('842', 'a', 'Textual physical form designator', 'Textual physical form designator', 0, 0, '', 8, '', '', '', NULL, -1, 'HLD', '', '', NULL),
4249
        ('843', '3', 'Materials specified', 'Materials specified', 0, 0, NULL, 8, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
4250
        ('843', '5', 'Institution to which field applies', 'Institution to which field applies', 0, 0, NULL, -1, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
4251
        ('843', '6', 'Linkage', 'Linkage', 0, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4252
        ('843', '7', 'Fixed-length data elements of reproduction', 'Fixed-length data elements of reproduction', 0, 0, NULL, 8, NULL, NULL, '', NULL, -6, 'HLD', '', '', NULL),
4253
        ('843', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4254
        ('843', 'a', 'Type of reproduction', 'Type of reproduction', 0, 0, NULL, 8, NULL, NULL, '', NULL, -1, 'HLD', '', '', NULL),
4255
        ('843', 'b', 'Place of reproduction', 'Place of reproduction', 1, 0, NULL, 8, NULL, NULL, '', NULL, -1, 'HLD', '', '', NULL),
4256
        ('843', 'c', 'Agency responsible for reproduction', 'Agency responsible for reproduction', 1, 0, NULL, 8, NULL, NULL, '', NULL, -1, 'HLD', '', '', NULL),
4257
        ('843', 'd', 'Date of reproduction', 'Date of reproduction', 0, 0, NULL, 8, NULL, NULL, '', NULL, -1, 'HLD', '', '', NULL),
4258
        ('843', 'e', 'Physical description of reproduction', 'Physical description of reproduction', 0, 0, NULL, 8, NULL, NULL, '', NULL, -1, 'HLD', '', '', NULL),
4259
        ('843', 'f', 'Series statement of reproduction', 'Series statement of reproduction', 1, 0, NULL, 8, NULL, NULL, '', NULL, -1, 'HLD', '', '', NULL),
4260
        ('843', 'm', 'Dates and/or sequential designation of issues reproduced', 'Dates and/or sequential designation of issues reproduced', 1, 0, NULL, 8, NULL, NULL, '', NULL, -1, 'HLD', '', '', NULL),
4261
        ('843', 'n', 'Note about reproduction', 'Note about reproduction', 1, 0, NULL, 8, NULL, NULL, '', NULL, -1, 'HLD', '', '', NULL),
4262
        ('844', '6', 'Linkage', 'Linkage', 0, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4263
        ('844', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4264
        ('844', 'a', 'Name of unit', 'Name of unit', 0, 0, '', 8, '', '', '', NULL, -1, 'HLD', '', '', NULL),
4265
        ('845', 'a', 'Terms governing use and reproduction', 'Terms governing use and reproduction', 0, 0, '', 5, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4266
        ('845', 'b', 'Jurisdiction', 'Jurisdiction', 0, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4267
        ('845', 'c', 'Authorization', 'Authorization', 0, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4268
        ('845', 'd', 'Authorized users', 'Authorized users', 0, 0, '', 8, '', '', '', NULL, -6, 'HLD', '', '', NULL),
4269
        ('845', 'u', 'Uniform Resource Identifier', 'Uniform Resource Identifier', 1, 0, '', 8, '', '', '', 1, -6, 'HLD', '', '', NULL),
4270
        ('850', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, NULL, 8, NULL, NULL, '', NULL, 4, 'HLD', '', '', NULL),
4271
        ('850', 'a', 'Holding institution', 'Holding institution', 1, 0, NULL, 8, NULL, NULL, '', NULL, 4, 'HLD', '', '', NULL),
4272
        ('850', 'b', 'Holdings (NR) (MU VM SE) [OBSOLETE]', 'Holdings (NR) (MU VM SE) [OBSOLETE]', 0, 0, NULL, 8, NULL, NULL, '', NULL, 4, 'HLD', '', '', NULL),
4273
        ('850', 'd', 'Inclusive dates (NR) (MU VM SE) [OBSOLETE]', 'Inclusive dates (NR) (MU VM SE) [OBSOLETE]', 0, 0, NULL, 8, NULL, NULL, '', NULL, 4, 'HLD', '', '', NULL),
4274
        ('850', 'e', 'Retention statement (NR) (CF MU VM SE) [OBSOLETE]', 'Retention statement (NR) (CF MU VM SE) [OBSOLETE]', 0, 0, NULL, 8, NULL, NULL, '', NULL, 4, 'HLD', '', '', NULL),
4275
        ('852', '2', 'Source of classification or shelving scheme', 'Source of classification or shelving scheme', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4276
        ('852', '3', 'Materials specified', 'Materials specified', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4277
        ('852', '6', 'Linkage', 'Linkage', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4278
        ('852', '8', 'Sequence number', 'Sequence number', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4279
        ('852', 'a', 'Location', 'Location', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4280
        ('852', 'b', 'Sublocation or collection', 'Sublocation or collection', 1, 0, 'holdings.holdingbranch', 8, 'branches', '', '', NULL, 4, 'HLD', '', '', NULL),
4281
        ('852', 'c', 'Shelving location', 'Shelving location', 1, 0, 'holdings.location', 8, 'LOC', '', '', NULL, 4, 'HLD', '', '', NULL),
4282
        ('852', 'd', 'Former shelving location', 'Former shelving location', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4283
        ('852', 'e', 'Address', 'Address', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4284
        ('852', 'f', 'Coded location qualifier', 'Coded location qualifier', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4285
        ('852', 'g', 'Non-coded location qualifier', 'Non-coded location qualifier', 1, 0, 'holdings.ccode', 8, 'CCODE', '', '', NULL, 4, 'HLD', '', '', NULL),
4286
        ('852', 'h', 'Classification part', 'Classification part', 0, 0, 'holdings.callnumber', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4287
        ('852', 'i', 'Item part', 'Item part', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4288
        ('852', 'j', 'Shelving control number', 'Shelving control number', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4289
        ('852', 'k', 'Call number prefix', 'Call number prefix', 1, 0, 'holdings.callnumber', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4290
        ('852', 'l', 'Shelving form of title', 'Shelving form of title', 0, 0, 'holdings.callnumber', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4291
        ('852', 'm', 'Call number suffix', 'Call number suffix', 1, 0, 'holdings.callnumber', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4292
        ('852', 'n', 'Country code', 'Country code', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4293
        ('852', 'p', 'Piece designation', 'Piece designation', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4294
        ('852', 'q', 'Piece physical condition', 'Piece physical condition', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4295
        ('852', 's', 'Copyright article-fee code', 'Copyright article-fee code', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4296
        ('852', 't', 'Copy number', 'Copy number', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4297
        ('852', 'u', 'Uniform Resource Identifier', 'Uniform Resource Identifier', 1, 0, '', 8, '', '', '', 1, 4, 'HLD', '', '', NULL),
4298
        ('852', 'x', 'Nonpublic note', 'Nonpublic note', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4299
        ('852', 'z', 'Public note', 'Public note', 1, 0, 'holdings.public_note', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4300
        ('853', '3', 'Materials specified', 'Materials specified', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4301
        ('853', '6', 'Linkage', 'Linkage', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4302
        ('853', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4303
        ('853', 'a', 'First level of enumeration', 'First level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4304
        ('853', 'b', 'Second level of enumeration', 'Second level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4305
        ('853', 'c', 'Third level of enumeration', 'Third level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4306
        ('853', 'd', 'Fourth level of enumeration', 'Fourth level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4307
        ('853', 'e', 'Fifth level of enumeration', 'Fifth level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4308
        ('853', 'f', 'Sixth level of enumeration', 'Sixth level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4309
        ('853', 'g', 'Alternative numbering scheme, first level of enumeration', 'Alternative numbering scheme, first level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4310
        ('853', 'h', 'Alternative numbering scheme, second level of enumeration', 'Alternative numbering scheme, second level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4311
        ('853', 'i', 'First level of chronology', 'First level of chronology', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4312
        ('853', 'j', 'Second level of chronology', 'Second level of chronology', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4313
        ('853', 'k', 'Third level of chronology', 'Third level of chronology', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4314
        ('853', 'l', 'Fourth level of chronology', 'Fourth level of chronology', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4315
        ('853', 'm', 'Alternative numbering scheme, chronology', 'Alternative numbering scheme, chronology', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4316
        ('853', 'n', 'Pattern note', 'Pattern note', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4317
        ('853', 'p', 'Number of pieces per issuance', 'Number of pieces per issuance', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4318
        ('853', 't', 'Copy', 'Copy', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4319
        ('853', 'u', 'Bibliographic units per next higher level', 'Bibliographic units per next higher level', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4320
        ('853', 'v', 'Numbering continuity', 'Numbering continuity', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4321
        ('853', 'w', 'Frequency', 'Frequency', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4322
        ('853', 'x', 'Calendar change', 'Calendar change', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4323
        ('853', 'y', 'Regularity pattern', 'Regularity pattern', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4324
        ('853', 'z', 'Numbering scheme', 'Numbering scheme', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4325
        ('854', '3', 'Materials specified', 'Materials specified', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4326
        ('854', '6', 'Linkage', 'Linkage', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4327
        ('854', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4328
        ('854', 'a', 'First level of enumeration', 'First level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4329
        ('854', 'b', 'Second level of enumeration', 'Second level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4330
        ('854', 'c', 'Third level of enumeration', 'Third level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4331
        ('854', 'd', 'Fourth level of enumeration', 'Fourth level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4332
        ('854', 'e', 'Fifth level of enumeration', 'Fifth level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4333
        ('854', 'f', 'Sixth level of enumeration', 'Sixth level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4334
        ('854', 'g', 'Alternative numbering scheme, first level of enumeration', 'Alternative numbering scheme, first level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4335
        ('854', 'h', 'Alternative numbering scheme, second level of enumeration', 'Alternative numbering scheme, second level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4336
        ('854', 'i', 'First level of chronology', 'First level of chronology', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4337
        ('854', 'j', 'Second level of chronology', 'Second level of chronology', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4338
        ('854', 'k', 'Third level of chronology', 'Third level of chronology', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4339
        ('854', 'l', 'Fourth level of chronology', 'Fourth level of chronology', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4340
        ('854', 'm', 'Alternative numbering scheme, chronology', 'Alternative numbering scheme, chronology', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4341
        ('854', 'n', 'Pattern note', 'Pattern note', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4342
        ('854', 'p', 'Number of pieces per issuance', 'Number of pieces per issuance', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4343
        ('854', 't', 'Copy', 'Copy', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4344
        ('854', 'u', 'Bibliographic units per next higher level', 'Bibliographic units per next higher level', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4345
        ('854', 'v', 'Numbering continuity', 'Numbering continuity', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4346
        ('854', 'w', 'Frequency', 'Frequency', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4347
        ('854', 'x', 'Calendar change', 'Calendar change', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4348
        ('854', 'y', 'Regularity pattern', 'Regularity pattern', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4349
        ('854', 'z', 'Numbering scheme', 'Numbering scheme', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4350
        ('855', '3', 'Materials specified', 'Materials specified', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4351
        ('855', '6', 'Linkage', 'Linkage', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4352
        ('855', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4353
        ('855', 'a', 'First level of enumeration', 'First level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4354
        ('855', 'b', 'Second level of enumeration', 'Second level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4355
        ('855', 'c', 'Third level of enumeration', 'Third level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4356
        ('855', 'd', 'Fourth level of enumeration', 'Fourth level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4357
        ('855', 'e', 'Fifth level of enumeration', 'Fifth level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4358
        ('855', 'f', 'Sixth level of enumeration', 'Sixth level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4359
        ('855', 'g', 'Alternative numbering scheme, first level of enumeration', 'Alternative numbering scheme, first level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4360
        ('855', 'h', 'Alternative numbering scheme, second level of enumeration', 'Alternative numbering scheme, second level of enumeration', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4361
        ('855', 'i', 'First level of chronology', 'First level of chronology', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4362
        ('855', 'j', 'Second level of chronology', 'Second level of chronology', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4363
        ('855', 'k', 'Third level of chronology', 'Third level of chronology', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4364
        ('855', 'l', 'Fourth level of chronology', 'Fourth level of chronology', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4365
        ('855', 'm', 'Alternative numbering scheme, chronology', 'Alternative numbering scheme, chronology', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4366
        ('855', 'n', 'Pattern note', 'Pattern note', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4367
        ('855', 'p', 'Number of pieces per issuance', 'Number of pieces per issuance', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4368
        ('855', 't', 'Copy', 'Copy', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4369
        ('855', 'u', 'Bibliographic units per next higher level', 'Bibliographic units per next higher level', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4370
        ('855', 'v', 'Numbering continuity', 'Numbering continuity', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4371
        ('855', 'w', 'Frequency', 'Frequency', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4372
        ('855', 'x', 'Calendar change', 'Calendar change', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4373
        ('855', 'y', 'Regularity pattern', 'Regularity pattern', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4374
        ('855', 'z', 'Numbering scheme', 'Numbering scheme', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4375
        ('856', '2', 'Access method', 'Access method', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4376
        ('856', '3', 'Materials specified', 'Materials specified', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4377
        ('856', '6', 'Linkage', 'Linkage', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4378
        ('856', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4379
        ('856', 'a', 'Host name', 'Host name', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4380
        ('856', 'b', 'Access number', 'Access number', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4381
        ('856', 'c', 'Compression information', 'Compression information', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4382
        ('856', 'd', 'Path', 'Path', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4383
        ('856', 'f', 'Electronic name', 'Electronic name', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4384
        ('856', 'h', 'Processor of request', 'Processor of request', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4385
        ('856', 'i', 'Instruction', 'Instruction', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4386
        ('856', 'j', 'Bits per second', 'Bits per second', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4387
        ('856', 'k', 'Password', 'Password', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4388
        ('856', 'l', 'Logon', 'Logon', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4389
        ('856', 'm', 'Contact for access assistance', 'Contact for access assistance', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4390
        ('856', 'n', 'Name of location of host', 'Name of location of host', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4391
        ('856', 'o', 'Operating system', 'Operating system', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4392
        ('856', 'p', 'Port', 'Port', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4393
        ('856', 'q', 'Electronic format type', 'Electronic format type', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4394
        ('856', 'r', 'Settings', 'Settings', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4395
        ('856', 's', 'File size', 'File size', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4396
        ('856', 't', 'Terminal emulation', 'Terminal emulation', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4397
        ('856', 'u', 'Uniform Resource Identifier', 'Uniform Resource Identifier', 1, 0, 'biblioitems.url', 8, '', '', '', 1, 4, 'HLD', '', '', NULL),
4398
        ('856', 'v', 'Hours access method available', 'Hours access method available', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4399
        ('856', 'w', 'Record control number', 'Record control number', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4400
        ('856', 'x', 'Nonpublic note', 'Nonpublic note', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4401
        ('856', 'y', 'Link text', 'Link text', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4402
        ('856', 'z', 'Public note', 'Public note', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4403
        ('863', '6', 'Linkage', 'Linkage', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4404
        ('863', '8', 'Field link and sequence number', 'Field link and sequence number', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4405
        ('863', 'a', 'First level of enumeration', 'First level of enumeration', 0, 0, 'holdings.summary', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4406
        ('863', 'b', 'Second level of enumeration', 'Second level of enumeration', 0, 0, 'holdings.summary', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4407
        ('863', 'c', 'Third level of enumeration', 'Third level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4408
        ('863', 'd', 'Fourth level of enumeration', 'Fourth level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4409
        ('863', 'e', 'Fifth level of enumeration', 'Fifth level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4410
        ('863', 'f', 'Sixth level of enumeration', 'Sixth level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4411
        ('863', 'g', 'Alternative numbering scheme, first level of enumeration', 'Alternative numbering scheme, first level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4412
        ('863', 'h', 'Alternative numbering scheme, second level of enumeration', 'Alternative numbering scheme, second level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4413
        ('863', 'i', 'First level of chronology', 'First level of chronology', 0, 0, 'holdings.summary', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4414
        ('863', 'j', 'Second level of chronology', 'Second level of chronology', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4415
        ('863', 'k', 'Third level of chronology', 'Third level of chronology', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4416
        ('863', 'l', 'Fourth level of chronology', 'Fourth level of chronology', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4417
        ('863', 'm', 'Alternative numbering scheme, chronology', 'Alternative numbering scheme, chronology', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4418
        ('863', 'n', 'Converted Gregorian year', 'Converted Gregorian year', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4419
        ('863', 'o', 'Type of unit', 'Type of unit', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4420
        ('863', 'p', 'Piece designation', 'Piece designation', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4421
        ('863', 'q', 'Piece physical condition', 'Piece physical condition', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4422
        ('863', 's', 'Copyright article-fee code', 'Copyright article-fee code', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4423
        ('863', 't', 'Copy number', 'Copy number', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4424
        ('863', 'v', 'Issuing date', 'Issuing date', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4425
        ('863', 'w', 'Break indicator', 'Break indicator', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4426
        ('863', 'x', 'Nonpublic note', 'Nonpublic note', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4427
        ('863', 'z', 'Public note', 'Public note', 1, 0, 'holdings.summary', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4428
        ('864', '6', 'Linkage', 'Linkage', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4429
        ('864', '8', 'Field link and sequence number', 'Field link and sequence number', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4430
        ('864', 'a', 'First level of enumeration', 'First level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4431
        ('864', 'b', 'Second level of enumeration', 'Second level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4432
        ('864', 'c', 'Third level of enumeration', 'Third level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4433
        ('864', 'd', 'Fourth level of enumeration', 'Fourth level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4434
        ('864', 'e', 'Fifth level of enumeration', 'Fifth level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4435
        ('864', 'f', 'Sixth level of enumeration', 'Sixth level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4436
        ('864', 'g', 'Alternative numbering scheme, first level of enumeration', 'Alternative numbering scheme, first level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4437
        ('864', 'h', 'Alternative numbering scheme, second level of enumeration', 'Alternative numbering scheme, second level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4438
        ('864', 'i', 'First level of chronology', 'First level of chronology', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4439
        ('864', 'j', 'Second level of chronology', 'Second level of chronology', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4440
        ('864', 'k', 'Third level of chronology', 'Third level of chronology', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4441
        ('864', 'l', 'Fourth level of chronology', 'Fourth level of chronology', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4442
        ('864', 'm', 'Alternative numbering scheme, chronology', 'Alternative numbering scheme, chronology', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4443
        ('864', 'n', 'Converted Gregorian year', 'Converted Gregorian year', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4444
        ('864', 'o', 'Type of unit', 'Type of unit', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4445
        ('864', 'p', 'Piece designation', 'Piece designation', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4446
        ('864', 'q', 'Piece physical condition', 'Piece physical condition', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4447
        ('864', 's', 'Copyright article-fee code', 'Copyright article-fee code', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4448
        ('864', 't', 'Copy number', 'Copy number', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4449
        ('864', 'v', 'Issuing date', 'Issuing date', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4450
        ('864', 'w', 'Break indicator', 'Break indicator', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4451
        ('864', 'x', 'Nonpublic note', 'Nonpublic note', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4452
        ('864', 'z', 'Public note', 'Public note', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4453
        ('865', '6', 'Linkage', 'Linkage', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4454
        ('865', '8', 'Field link and sequence number', 'Field link and sequence number', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4455
        ('865', 'a', 'First level of enumeration', 'First level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4456
        ('865', 'b', 'Second level of enumeration', 'Second level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4457
        ('865', 'c', 'Third level of enumeration', 'Third level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4458
        ('865', 'd', 'Fourth level of enumeration', 'Fourth level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4459
        ('865', 'e', 'Fifth level of enumeration', 'Fifth level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4460
        ('865', 'f', 'Sixth level of enumeration', 'Sixth level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4461
        ('865', 'g', 'Alternative numbering scheme, first level of enumeration', 'Alternative numbering scheme, first level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4462
        ('865', 'h', 'Alternative numbering scheme, second level of enumeration', 'Alternative numbering scheme, second level of enumeration', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4463
        ('865', 'i', 'First level of chronology', 'First level of chronology', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4464
        ('865', 'j', 'Second level of chronology', 'Second level of chronology', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4465
        ('865', 'k', 'Third level of chronology', 'Third level of chronology', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4466
        ('865', 'l', 'Fourth level of chronology', 'Fourth level of chronology', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4467
        ('865', 'm', 'Alternative numbering scheme, chronology', 'Alternative numbering scheme, chronology', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4468
        ('865', 'n', 'Converted Gregorian year', 'Converted Gregorian year', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4469
        ('865', 'o', 'Type of unit', 'Type of unit', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4470
        ('865', 'p', 'Piece designation', 'Piece designation', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4471
        ('865', 'q', 'Piece physical condition', 'Piece physical condition', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4472
        ('865', 's', 'Copyright article-fee code', 'Copyright article-fee code', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4473
        ('865', 't', 'Copy number', 'Copy number', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4474
        ('865', 'v', 'Issuing date', 'Issuing date', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4475
        ('865', 'w', 'Break indicator', 'Break indicator', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4476
        ('865', 'x', 'Nonpublic note', 'Nonpublic note', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4477
        ('865', 'z', 'Public note', 'Public note', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4478
        ('866', '6', 'Linkage', 'Linkage', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4479
        ('866', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4480
        ('866', 'a', 'Textual string', 'Textual string', 0, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4481
        ('866', 'x', 'Nonpublic note', 'Nonpublic note', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4482
        ('866', 'z', 'Public note', 'Public note', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4483
        ('867', '6', 'Linkage', 'Linkage', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4484
        ('867', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4485
        ('867', 'a', 'Textual string', 'Textual string', 0, 0, 'holdings.supplements', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4486
        ('867', 'x', 'Nonpublic note', 'Nonpublic note', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4487
        ('867', 'z', 'Public note', 'Public note', 1, 0, 'holdings.supplements', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4488
        ('868', '6', 'Linkage', 'Linkage', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4489
        ('868', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4490
        ('868', 'a', 'Textual string', 'Textual string', 0, 0, 'holdings.indexes', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4491
        ('868', 'x', 'Nonpublic note', 'Nonpublic note', 1, 0, '', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4492
        ('868', 'z', 'Public note', 'Public note', 1, 0, 'holdings.indexes', 8, '', '', '', 0, 4, 'HLD', '', '', NULL),
4493
        ('876', '3', 'Materials specified', 'Materials specified', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4494
        ('876', '6', 'Linkage', 'Linkage', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4495
        ('876', '8', 'Sequence number', 'Sequence number', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4496
        ('876', 'a', 'Internal item number', 'Internal item number', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4497
        ('876', 'b', 'Invalid or canceled internal item number', 'Invalid or canceled internal item number', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4498
        ('876', 'c', 'Cost', 'Cost', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4499
        ('876', 'd', 'Date acquired', 'Date acquired', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4500
        ('876', 'e', 'Source of acquisition', 'Source of acquisition', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4501
        ('876', 'h', 'Use restrictions', 'Use restrictions', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4502
        ('876', 'j', 'Item status', 'Item status', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4503
        ('876', 'l', 'Temporary location', 'Temporary location', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4504
        ('876', 'p', 'Piece designation', 'Piece designation', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4505
        ('876', 'r', 'Invalid or canceled piece designation', 'Invalid or canceled piece designation', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4506
        ('876', 't', 'Copy number', 'Copy number', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4507
        ('876', 'x', 'Nonpublic note', 'Nonpublic note', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4508
        ('876', 'z', 'Public note', 'Public note', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4509
        ('877', '3', 'Materials specified', 'Materials specified', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4510
        ('877', '6', 'Linkage', 'Linkage', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4511
        ('877', '8', 'Sequence number', 'Sequence number', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4512
        ('877', 'a', 'Internal item number', 'Internal item number', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4513
        ('877', 'b', 'Invalid or canceled internal item number', 'Invalid or canceled internal item number', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4514
        ('877', 'c', 'Cost', 'Cost', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4515
        ('877', 'd', 'Date acquired', 'Date acquired', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4516
        ('877', 'e', 'Source of acquisition', 'Source of acquisition', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4517
        ('877', 'h', 'Use restrictions', 'Use restrictions', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4518
        ('877', 'j', 'Item status', 'Item status', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4519
        ('877', 'l', 'Temporary location', 'Temporary location', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4520
        ('877', 'p', 'Piece designation', 'Piece designation', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4521
        ('877', 'r', 'Invalid or canceled piece designation', 'Invalid or canceled piece designation', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4522
        ('877', 't', 'Copy number', 'Copy number', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4523
        ('877', 'x', 'Nonpublic note', 'Nonpublic note', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4524
        ('877', 'z', 'Public note', 'Public note', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4525
        ('878', '3', 'Materials specified', 'Materials specified', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4526
        ('878', '6', 'Linkage', 'Linkage', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4527
        ('878', '8', 'Sequence number', 'Sequence number', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4528
        ('878', 'a', 'Internal item number', 'Internal item number', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4529
        ('878', 'b', 'Invalid or canceled internal item number', 'Invalid or canceled internal item number', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4530
        ('878', 'c', 'Cost', 'Cost', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4531
        ('878', 'd', 'Date acquired', 'Date acquired', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4532
        ('878', 'e', 'Source of acquisition', 'Source of acquisition', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4533
        ('878', 'h', 'Use restrictions', 'Use restrictions', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4534
        ('878', 'j', 'Item status', 'Item status', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4535
        ('878', 'l', 'Temporary location', 'Temporary location', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4536
        ('878', 'p', 'Piece designation', 'Piece designation', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4537
        ('878', 'r', 'Invalid or canceled piece designation', 'Invalid or canceled piece designation', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4538
        ('878', 't', 'Copy number', 'Copy number', 0, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4539
        ('878', 'x', 'Nonpublic note', 'Nonpublic note', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL),
4540
        ('878', 'z', 'Public note', 'Public note', 1, 0, '', 8, '', '', '', NULL, 4, 'HLD', '', '', NULL);
(-)a/installer/data/mysql/sysprefs.sql (+1 lines)
Lines 617-622 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
617
('SubscriptionHistory','simplified','simplified|full','Define the display preference for serials issue history in OPAC','Choice'),
617
('SubscriptionHistory','simplified','simplified|full','Define the display preference for serials issue history in OPAC','Choice'),
618
('SubscriptionLog','1',NULL,'If ON, enables subscriptions log','YesNo'),
618
('SubscriptionLog','1',NULL,'If ON, enables subscriptions log','YesNo'),
619
('suggestion','1','','If ON, enables patron suggestions feature in OPAC','YesNo'),
619
('suggestion','1','','If ON, enables patron suggestions feature in OPAC','YesNo'),
620
('SummaryHoldings', '0', NULL, 'If ON, enables support for holdings records.', 'YesNo'),
620
('SuspendHoldsIntranet','1','Allow holds to be suspended from the intranet.',NULL,'YesNo'),
621
('SuspendHoldsIntranet','1','Allow holds to be suspended from the intranet.',NULL,'YesNo'),
621
('SuspendHoldsOpac','1','Allow holds to be suspended from the OPAC.',NULL,'YesNo'),
622
('SuspendHoldsOpac','1','Allow holds to be suspended from the OPAC.',NULL,'YesNo'),
622
('SuspensionsCalendar','noSuspensionsWhenClosed','ignoreCalendar|noSuspensionsWhenClosed','Specify whether to use the Calendar in calculating suspension expiration','Choice'),
623
('SuspensionsCalendar','noSuspensionsWhenClosed','ignoreCalendar|noSuspensionsWhenClosed','Specify whether to use the Calendar in calculating suspension expiration','Choice'),
(-)a/koha-tmpl/intranet-tmpl/prog/css/addholding.css (+346 lines)
Line 0 Link Here
1
form {
2
    display: block;
3
}
4
5
div#toolbar {
6
    border: 0;
7
}
8
9
#addholdingtabs .ui-tabs-nav {
10
    display: none;
11
}
12
13
.ui-tabs-panel h3 {
14
    font-size: 140%;
15
    margin: .3em 0;
16
}
17
18
.ui-tabs-panel ul {
19
    margin-bottom: 0;
20
    padding-left: 0;
21
}
22
23
ul li.tag, ul li.tag li.subfield_line {
24
    list-style-type: none;
25
    position: relative;
26
    padding-left: 30px;
27
}
28
29
ul li.tag::before {
30
    position: absolute;
31
    font-size: .8em;
32
    top: 0;
33
    left: 10px;
34
    content: " ";
35
}
36
37
38
ul li.tag.sortable_tag::before,
39
ul li.tag li.subfield_line::before {
40
    color: #999;
41
    cursor: move;
42
    position: absolute;
43
    font-family: 'FontAwesome';
44
    font-size: .8em;
45
    top: 0;
46
    left: 10px;
47
    content: "\f0c9";
48
}
49
50
ul li.tag::before {
51
    padding-top: 1.7em;
52
}
53
54
li.ui-sortable-helper {
55
    background-color: #e0e0e0;
56
    max-height: 150px;
57
    padding: 2px;
58
    border-radius: 4px;
59
}
60
61
li.ui-sortable-helper ul li {
62
	display: none !important;
63
}
64
65
.sortable_subfield .ui-sortable-helper input.flat {
66
	background-color: transparent;
67
}
68
69
ul li.tag li.subfield_line.ui-sortable-helper::before {
70
    top: 5px;
71
}
72
73
.buttonPlus {
74
	font-weight : bold;
75
	text-decoration : none;
76
}
77
78
.buttonMinus {
79
	font-weight : bold;
80
	text-decoration : none;
81
}
82
83
a.expandfield {
84
	text-decoration : none;
85
}
86
87
.toptabs .ui-tabs-nav li a {
88
	padding : .2em 1.2em;
89
}
90
91
.tag {
92
    border-bottom: 2px solid #D5E6E9;
93
    clear: both;
94
    padding: .7em 0;
95
}
96
97
li.subfield_line {
98
    padding-bottom: .3em;
99
    float: left;
100
    clear: left;
101
    width: 100%;
102
}
103
104
li.subfield_line label {
105
    font-size:89%;
106
    float: left;
107
	 padding-right : .4em;
108
    width: 16em;
109
    text-align: left;
110
    clear:left;
111
}
112
113
.subfieldcode img {
114
    cursor: pointer;
115
}
116
117
.tag_title {
118
	font-size : 90%;
119
	padding : .2em 0;
120
}
121
122
.tagnum {
123
	font-size : 130%;
124
	font-weight : bold;
125
	color : #000;
126
	padding : .1em .3em .1em 0;
127
}
128
129
a.tagnum {
130
	font-size : 110%;
131
	font-weight : bold;
132
	color : #000;
133
	padding : .1em .3em .1em 0;
134
	text-decoration : none;
135
}
136
137
.subfield {
138
	color : #00698a;
139
	float: left;
140
	width: 10em;
141
	text-align:right;
142
}
143
144
.subfield.subfield_mandatory {
145
    color: #C00;
146
}
147
148
.subfieldcode {
149
	display: block;
150
	float: left;
151
}
152
153
.labelsubfield {
154
	float:left;
155
}
156
157
.input_marceditor {
158
	float:left;
159
	width:30em;
160
}
161
162
.indicator {
163
    width: 1em;
164
    box-sizing: content-box;
165
}
166
167
#cataloguing_additem_newitem fieldset.rows label, #cataloguing_additem_newitem fieldset.rows span.label {
168
	font-size : 100%;
169
	width : 25%;
170
}
171
172
#cataloguing_additem_newitem fieldset.rows li {
173
	padding-bottom : 3px;
174
}
175
#cataloguing_additem_newitem .input_marceditor {
176
	width : auto;
177
}
178
179
#cataloguing_additem_newitem textarea.input_marceditor {
180
     width : 31em;
181
}
182
183
.mandatory_marker {
184
	color: red;
185
}
186
.linktools { display: block; white-space: nowrap; }
187
.linktools a { font-size : 75%; display:block;text-decoration:none;}
188
.linktools a {margin:0 2px;padding:2px;background-color:#FFF;text-align:center; }
189
.linktools a:first-child { border-bottom: 1px solid #DDD; }
190
.linktools a:hover { background-color: #FFC; }
191
.subfield_controls { margin : 0 .5em; }
192
193
#cataloguing_additem_itemlist {
194
	margin-bottom : 1em;
195
}
196
.yui-gf div.first {
197
	width : 19%;
198
}
199
200
.yui-gf .yui-u {
201
	width: 79.2%;
202
}
203
204
tbody tr.active:nth-child(2n+1) td,
205
tbody tr.active td {
206
    background-color: #FFFFCC;
207
}
208
209
#loading {
210
    background-color: #FFF;
211
    cursor: wait;
212
    height: 100%;
213
    left: 0;
214
    opacity: .7;
215
    position: fixed;
216
    top: 0;
217
    width: 100%;
218
    z-index: 1000;
219
}
220
#loading div {
221
    background : transparent url(../img/loading.gif) top left no-repeat;
222
    font-size : 175%;
223
    font-weight: bold;
224
    height: 2em;
225
    left: 50%;
226
    margin: -1em 0 0 -2.5em;
227
    padding-left : 50px;
228
    position: absolute;
229
    top: 50%;
230
    width: 15em;
231
}
232
233
.ui-tabs .ui-tabs-panel {
234
    border: 0;
235
    padding: 0;
236
}
237
238
.toolbar-tabs-container {
239
    margin: 3em -5px -5px -5px;
240
}
241
242
.toolbar-tabs {
243
    background-color: #FFF;
244
    clear: both;
245
    display: flex;
246
    flex-direction: row;
247
    justify-content: center;
248
    margin-bottom: 0;
249
    padding-left: 0;
250
}
251
252
.toolbar-tabs li {
253
    background-color: #fff;
254
    display: flex;
255
    justify-content: center;
256
    flex-grow: 1;
257
    text-align: center;
258
    margin-bottom: 0;
259
}
260
261
.toolbar-tabs li a {
262
    border: 1px solid #EDF4F6;
263
    border-left: 0;
264
    border-right: 1px solid #EDF4F6;
265
    border-bottom-right-radius: 5px;
266
    border-bottom-left-radius: 5px;
267
    display: block;
268
    font-weight: bold;
269
    padding: .3em 1.5em;
270
    width: 100%;
271
}
272
273
.toolbar-tabs li.selected a {
274
    background-color: #EDF4F6;
275
    border-right: 1px solid #C3D6DB;
276
    border-bottom: 1px solid #C3D6DB;
277
    font-weight: bold;
278
}
279
280
.toolbar-tabs li.selected a:hover {
281
    background-color: #EDF4F6;
282
}
283
284
.toolbar-tabs li a:hover {
285
    background-color: #F4F8F9;
286
}
287
288
.toolbar-tabs li:first-child a {
289
    border-left: 1px solid #EDF4F6;
290
}
291
292
.tag_anchors_list {
293
    background-color: #FFF;
294
    clear: both;
295
    display: block;
296
    font-size: 95%;
297
    margin-bottom: 0;
298
    padding-left: 0;
299
}
300
301
.tag_anchor.selected {
302
    font-weight: bold;
303
}
304
305
.tag_anchors {
306
    display: none;
307
    padding: .5em 0;
308
}
309
310
.tag_anchors a {
311
    border-right: 1px solid #EDF4F6;
312
    display: inline-block;
313
    padding: 0 .4em;
314
}
315
316
.tag_anchors.tab_selected {
317
    display: inline-block;
318
}
319
320
@media (min-width: 768px) {
321
    li.subfield_line label {
322
        width: 20em;
323
    }
324
325
    .input_marceditor {
326
        width: 50em;
327
    }
328
329
    .subfield {
330
        width: 14em;
331
    }
332
}
333
334
@media (min-width: 1200px) {
335
    li.subfield_line label {
336
        width: 25em;
337
    }
338
339
    .input_marceditor {
340
        width: 60em;
341
    }
342
343
    .subfield {
344
        width: 16em;
345
    }
346
}
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc (+4 lines)
Lines 10-15 CAN_user_serials_create_subscription ) %] Link Here
10
             <li><a id="newbiblio" href="/cgi-bin/koha/cataloguing/addbiblio.pl">New record</a></li>
10
             <li><a id="newbiblio" href="/cgi-bin/koha/cataloguing/addbiblio.pl">New record</a></li>
11
            [% END %]
11
            [% END %]
12
12
13
            [% IF ( Koha.Preference('SummaryHoldings') && CAN_user_editcatalogue_edit_items ) %]
14
            <li><a id="newholding" href="/cgi-bin/koha/cataloguing/addholding.pl?biblionumber=[% biblionumber | uri %]#addholding">New holdings record</a></li>
15
            [% END %]
16
13
            [% IF ( CAN_user_editcatalogue_edit_items ) %]
17
            [% IF ( CAN_user_editcatalogue_edit_items ) %]
14
             <li><a id="newitem" href="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% biblionumber | html %]#additema">New item</a></li>
18
             <li><a id="newitem" href="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% biblionumber | html %]#additema">New item</a></li>
15
            [% END %]
19
            [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt (-2 / +1 lines)
Lines 132-138 Link Here
132
    <tbody>
132
    <tbody>
133
    <tr>
133
    <tr>
134
        <td>&nbsp;</td>
134
        <td>&nbsp;</td>
135
        <td>Default framework</td>
135
        <td>Default bibliographic framework</td>
136
        <td>
136
        <td>
137
          <div class="btn-group dropup">
137
          <div class="btn-group dropup">
138
            <a class="btn btn-default btn-xs dropdown-toggle" id="frameworkactions[% loo.frameworkcode | html %]" role="button" data-toggle="dropdown" href="#">
138
            <a class="btn btn-default btn-xs dropdown-toggle" id="frameworkactions[% loo.frameworkcode | html %]" role="button" data-toggle="dropdown" href="#">
Lines 196-202 Link Here
196
          </div>
196
          </div>
197
        </td>
197
        </td>
198
    </tr>
198
    </tr>
199
200
    [% FOREACH loo IN frameworks %]
199
    [% FOREACH loo IN frameworks %]
201
        <tr>
200
        <tr>
202
            <td>[% loo.frameworkcode | html %]</td>
201
            <td>[% loo.frameworkcode | html %]</td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref (+7 lines)
Lines 295-297 Cataloging: Link Here
295
            - "All values of repeating tags and subfields will be printed with the given RIS tag."
295
            - "All values of repeating tags and subfields will be printed with the given RIS tag."
296
            - "<br/>"
296
            - "<br/>"
297
            - "Use of TY ( record type ) as a key will <i>replace</i> the default TY with the field value of your choosing."
297
            - "Use of TY ( record type ) as a key will <i>replace</i> the default TY with the field value of your choosing."
298
    Holdings:
299
        -
300
            - pref: SummaryHoldings
301
              choices:
302
                  yes: Use
303
                  no: "Don't use"
304
            - summary holdings records.
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-6 / +72 lines)
Lines 6-11 Link Here
6
[% USE Branches %]
6
[% USE Branches %]
7
[% USE Biblio %]
7
[% USE Biblio %]
8
[% USE TablesSettings %]
8
[% USE TablesSettings %]
9
[% USE Holdings %]
9
[% PROCESS 'i18n.inc' %]
10
[% PROCESS 'i18n.inc' %]
10
[% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %]
11
[% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %]
11
[% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %]
12
[% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %]
Lines 29-34 Link Here
29
    [% END %]
30
    [% END %]
30
[% END %]
31
[% END %]
31
32
33
[% ShowSummaryHoldings = Koha.Preference('SummaryHoldings') %]
34
32
[% SET footerjs = 1 %]
35
[% SET footerjs = 1 %]
33
[% INCLUDE 'doc-head-open.inc' %]
36
[% INCLUDE 'doc-head-open.inc' %]
34
<title>Koha &rsaquo; Catalog &rsaquo;
37
<title>Koha &rsaquo; Catalog &rsaquo;
Lines 220-235 Link Here
220
<ul>
223
<ul>
221
    [% IF (SeparateHoldings) %]
224
    [% IF (SeparateHoldings) %]
222
        <li>
225
        <li>
223
            <a href="#holdings">[% Branches.GetLoggedInBranchname | html %] holdings ([% itemloop.size() || 0 | html %])</a>
226
            <a href="#holdings">[% Branches.GetLoggedInBranchname | html %] [% IF (ShowSummaryHoldings) %]items[% ELSE %]holdings[% END %] ([% itemloop.size() || 0 | html %])</a>
224
        </li>
227
        </li>
225
        <li>
228
        <li>
226
            <a href="#otherholdings">Other holdings ([% otheritemloop.size() || 0 | html %])</a>
229
            <a href="#otherholdings">[% IF (ShowSummaryHoldings) %]Other items[% ELSE %]Other holdings[% END %] ([% otheritemloop.size() || 0 | html %])</a>
227
        </li>
230
        </li>
228
    [% ELSE %]
231
    [% ELSE %]
229
        <li>
232
        <li>
230
            <a href="#holdings">Holdings ([% itemloop.size() || 0 | html %])</a>
233
            <a href="#holdings">[% IF (ShowSummaryHoldings) %]Items[% ELSE %]Holdings[% END %] ([% itemloop.size() || 0 | html %])</a>
231
        </li>
234
        </li>
232
    [% END %]
235
    [% END %]
236
    [% IF (ShowSummaryHoldings) %]
237
        <li><a href="#summaryholdings">Holdings ([% summary_holdings.count() || 0 | html %])</a></li>
238
    [% END %]
233
[% IF ( MARCNOTES || notes ) %]<li><a href="#description">Descriptions ([% ( MARCNOTES.size || 1 ) | html %])</a></li>[% END %]
239
[% IF ( MARCNOTES || notes ) %]<li><a href="#description">Descriptions ([% ( MARCNOTES.size || 1 ) | html %])</a></li>[% END %]
234
[% IF ( subscriptionsnumber ) %]<li><a href="#subscriptions">Subscriptions</a></li>[% END %]
240
[% IF ( subscriptionsnumber ) %]<li><a href="#subscriptions">Subscriptions</a></li>[% END %]
235
[% IF Koha.Preference('AcquisitionDetails') %]<li><a href="#acq_details">Acquisition details</a></li>[% END %]
241
[% IF Koha.Preference('AcquisitionDetails') %]<li><a href="#acq_details">Acquisition details</a></li>[% END %]
Lines 251-256 Link Here
251
[% END %]
257
[% END %]
252
</ul>
258
</ul>
253
259
260
[% IF ( ShowSummaryHoldings ) %]
261
    <div id="summaryholdings">
262
263
    [% IF ( summary_holdings ) %]
264
        <div class="summaryholdings_table_controls">
265
        </div>
266
        <table class="summaryholdings_table">
267
            <thead>
268
                <tr>
269
                    <th>Library</th>
270
                    <th>Location</th>
271
                    <th>Collection</th>
272
                    <th>Call number</th>
273
                    <th>Status</th>
274
                    [% IF ( CAN_user_editcatalogue_edit_items ) %]<th class="NoSort">&nbsp;</th>[% END %]
275
                </tr>
276
            </thead>
277
            <tbody>
278
                [% FOREACH holding IN summary_holdings %]
279
                    <tr>
280
                        <td class="branch">[% UNLESS ( singlebranchmode ) %][% Branches.GetName( holding.holdingbranch ) | html %] [% END %]</td>
281
                        <td class="location"><span class="shelvingloc">[% holding.location | html %]</span>
282
                        <td class="collection">[% holding.ccode | html %]</span>
283
                        <td class="itemcallnumber">[% IF ( holding.callnumber ) %] [% holding.callnumber | html %][% END %]</td>
284
                        <td class="status">
285
                            [% IF ( holding.suppress ) %]
286
                                <span class="suppressed">Suppressed in OPAC</span>
287
                            [% END %]
288
                        </td>
289
                    [% IF CAN_user_editcatalogue_edit_items %]
290
                        <td class="actions">
291
                            <a class="btn btn-default btn-xs" href="/cgi-bin/koha/cataloguing/addholding.pl?op=edit&biblionumber=[% holding.biblionumber | uri %]&holding_id=[% holding.holding_id | uri %]#editholding"><i class="fa fa-pencil"></i> Edit</a>
292
                            <a class="btn btn-default btn-xs delete" href="/cgi-bin/koha/cataloguing/addholding.pl?op=delete&biblionumber=[% holding.biblionumber | uri %]&holding_id=[% holding.holding_id | uri %]"><i class="fa fa-eraser"></i> Delete</a>
293
                            <a class="btn btn-default btn-xs" href="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% holding.biblionumber | uri %]&holding_id=[% holding.holding_id | uri %]#additema"><i class="fa fa-plus"></i> Add item</a>
294
                            <a class="btn btn-default btn-xs previewMARC" href="/cgi-bin/koha/catalogue/showmarc.pl?holding_id=[% holding.holding_id | uri %]&amp;viewas=html" title="MARC">Show MARC</a>
295
                        </td>
296
                    [% END %]
297
                    </tr>
298
                [% END %]
299
            </tbody>
300
        </table>
301
    [% ELSE %]
302
        <div id="noitems">No holdings records</div>
303
    [% END %]
304
305
    </div>
306
[% END %]
307
254
[% items_table_block_iter = 0 %]
308
[% items_table_block_iter = 0 %]
255
[% BLOCK items_table %]
309
[% BLOCK items_table %]
256
    [% items_table_block_iter = items_table_block_iter + 1 %]
310
    [% items_table_block_iter = items_table_block_iter + 1 %]
Lines 274-279 Link Here
274
            <tr>
328
            <tr>
275
                [% IF (StaffDetailItemSelection) %]<th id="[% tab | html %]_checkbox" data-colname="[% tab | html %]_checkbox" class="NoSort"></th>[% END %]
329
                [% IF (StaffDetailItemSelection) %]<th id="[% tab | html %]_checkbox" data-colname="[% tab | html %]_checkbox" class="NoSort"></th>[% END %]
276
                [% IF ( item_level_itypes ) %]<th id="[% tab | html %]_itype" data-colname="[% tab | html %]_itype">Item type</th>[% END %]
330
                [% IF ( item_level_itypes ) %]<th id="[% tab | html %]_itype" data-colname="[% tab | html %]_itype">Item type</th>[% END %]
331
                [% IF ( ShowSummaryHoldings ) %]<th>Holdings record</th>[% END %]
277
                <th id="[% tab | html %]_holdingbranch" data-colname="[% tab | html %]_holdingbranch">Current location</th>
332
                <th id="[% tab | html %]_holdingbranch" data-colname="[% tab | html %]_holdingbranch">Current location</th>
278
                <th id="[% tab | html %]_homebranch" data-colname="[% tab | html %]_homebranch">Home library</th>
333
                <th id="[% tab | html %]_homebranch" data-colname="[% tab | html %]_homebranch">Home library</th>
279
                [% IF ( itemdata_ccode ) %]<th id="[% tab | html %]_ccode" data-colname="[% tab | html %]_ccode">Collection</th>[% END %]
334
                [% IF ( itemdata_ccode ) %]<th id="[% tab | html %]_ccode" data-colname="[% tab | html %]_ccode">Collection</th>[% END %]
Lines 319-324 Link Here
319
                            <span class="itypedesc">[% item.translated_description | html %]</span>
374
                            <span class="itypedesc">[% item.translated_description | html %]</span>
320
                        </td>
375
                        </td>
321
                    [% END %]
376
                    [% END %]
377
                    [% IF ( ShowSummaryHoldings ) %]
378
                        <td class="holding">[% Holdings.GetLocation(item.holding_id) | html %]</td>
379
                    [% END %]
322
                    <td class="location">[% UNLESS ( singlebranchmode ) %][% Branches.GetName( item.branchcode ) | html %] [% END %]</td>
380
                    <td class="location">[% UNLESS ( singlebranchmode ) %][% Branches.GetName( item.branchcode ) | html %] [% END %]</td>
323
                    <td class="homebranch">
381
                    <td class="homebranch">
324
                        <span class="homebranchdesc">[% Branches.GetName(item.homebranch) | html %]</span>
382
                        <span class="homebranchdesc">[% Branches.GetName(item.homebranch) | html %]</span>
Lines 1143-1156 Note that permanent location is a code, and location may be an authval. Link Here
1143
                    $("input[name='itemnumber'][type='checkbox']", $("#"+tab)).prop('checked', false);
1201
                    $("input[name='itemnumber'][type='checkbox']", $("#"+tab)).prop('checked', false);
1144
                    itemSelectionBuildActionLinks(tab);
1202
                    itemSelectionBuildActionLinks(tab);
1145
                });
1203
                });
1204
1205
                $('a.delete').click(function() {
1206
                    return confirm(_("Are you sure?"));
1207
                });
1146
            });
1208
            });
1147
        [% END %]
1209
        [% END %]
1148
1210
1149
        $(document).ready(function() {
1211
        $(document).ready(function() {
1150
            $('#bibliodetails').tabs();
1212
            $('#bibliodetails').tabs();
1151
        [% IF count == 0 and ( Koha.Preference('HTML5MediaEnabled') == 'staff' or Koha.Preference('HTML5MediaEnabled') == 'both' ) %]
1213
            [% IF count == 0 %]
1152
            $('#bibliodetails').tabs("option", "active", $('#media_tab').index() );
1214
                [% IF ShowSummaryHoldings and (summary_holdings.count() || 0) %]
1153
        [% END %]
1215
                    $('#bibliodetails').tabs("option", "active", $('#summaryholdings').index() );
1216
                [% ELSIF Koha.Preference('HTML5MediaEnabled') == 'staff' or Koha.Preference('HTML5MediaEnabled') == 'both' %]
1217
                    $('#bibliodetails').tabs("option", "active", $('#media_tab').index() );
1218
                [% END %]
1219
            [% END %]
1154
            $('#search-form').focus();
1220
            $('#search-form').focus();
1155
            $('.thumbnails > li > .remove').click(function() {
1221
            $('.thumbnails > li > .remove').click(function() {
1156
                var result = confirm(_("Are you sure you want to delete this cover image?"));
1222
                var result = confirm(_("Are you sure you want to delete this cover image?"));
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt (+2 lines)
Lines 4-9 Link Here
4
[% USE Koha %]
4
[% USE Koha %]
5
[% USE Branches %]
5
[% USE Branches %]
6
[% USE Price %]
6
[% USE Price %]
7
[% USE Holdings %]
7
[% SET footerjs = 1 %]
8
[% SET footerjs = 1 %]
8
[% INCLUDE 'doc-head-open.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
9
<title>Koha &rsaquo; Catalog &rsaquo; Item details for [% INCLUDE 'biblio-title-head.inc' %]</title>
10
<title>Koha &rsaquo; Catalog &rsaquo; Item details for [% INCLUDE 'biblio-title-head.inc' %]</title>
Lines 66-71 Link Here
66
         [% END %][% END %]</h4>
67
         [% END %][% END %]</h4>
67
            <div class="rows">
68
            <div class="rows">
68
            <ol class="bibliodetails">
69
            <ol class="bibliodetails">
70
            <li><span class="label">Holdings record:</span> [% Holdings.GetLocation( ITEM_DAT.holding_id ) | html %]&nbsp;</li>
69
            <li><span class="label">Home library:</span> [% Branches.GetName( ITEM_DAT.homebranch ) | html %]&nbsp;</li>
71
            <li><span class="label">Home library:</span> [% Branches.GetName( ITEM_DAT.homebranch ) | html %]&nbsp;</li>
70
	    [% IF ( item_level_itypes ) %]
72
	    [% IF ( item_level_itypes ) %]
71
            <li><span class="label">Item type:</span> [% ITEM_DAT.itype | html %]&nbsp;</li>
73
            <li><span class="label">Item type:</span> [% ITEM_DAT.itype | html %]&nbsp;</li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt (+14 lines)
Lines 3-8 Link Here
3
[% USE Asset %]
3
[% USE Asset %]
4
[% USE Koha %]
4
[% USE Koha %]
5
[% USE Biblio %]
5
[% USE Biblio %]
6
[% USE Holdings %]
6
[% USE KohaDates %]
7
[% USE KohaDates %]
7
[% PROCESS 'i18n.inc' %]
8
[% PROCESS 'i18n.inc' %]
8
[% SET footerjs = 1 %]
9
[% SET footerjs = 1 %]
Lines 523-528 Link Here
523
524
524
                                            <td>
525
                                            <td>
525
                                                <div class="availability">
526
                                                <div class="availability">
527
                                                    [% IF ( SEARCH_RESULT.summary_holdings ) %]
528
                                                        <div class="holdings">
529
                                                            <strong>Holdings</strong>
530
                                                            <ul>
531
                                                            [% FOREACH holding IN SEARCH_RESULT.summary_holdings %]
532
                                                                <li>
533
                                                                    [% Holdings.GetLocation(holding) | html %]
534
                                                                </li>
535
                                                            [% END %]
536
                                                            </ul>
537
                                                        </div>
538
                                                    [% END %]
539
526
                                                    [% IF ( SEARCH_RESULT.items_count ) %]
540
                                                    [% IF ( SEARCH_RESULT.items_count ) %]
527
                                                        <strong>
541
                                                        <strong>
528
                                                            [% IF MaxSearchResultsItemsPerRecordStatusCheck && SEARCH_RESULT.items_count > MaxSearchResultsItemsPerRecordStatusCheck %]
542
                                                            [% IF MaxSearchResultsItemsPerRecordStatusCheck && SEARCH_RESULT.items_count > MaxSearchResultsItemsPerRecordStatusCheck %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addholding.tt (+714 lines)
Line 0 Link Here
1
[% USE raw %]
2
[% USE Asset %]
3
[% USE Koha %]
4
[% INCLUDE 'doc-head-open.inc' %]
5
<title>Koha &rsaquo; Cataloging &rsaquo; [% title | html %] [% IF ( author ) %] by [% author | html %][% END %] (Record #[% biblionumber | html %]) &rsaquo; Holdings</title>
6
[% INCLUDE 'doc-head-close.inc' %]
7
[% Asset.js("lib/hc-sticky.js") | $raw %]
8
[% Asset.js("js/cataloging.js") | $raw %]
9
[% INCLUDE 'strings.inc' %]
10
[% Asset.js("js/browser.js") | $raw %]
11
<script>
12
    var browser = KOHA.browser('[% searchid | html %]', parseInt('[% biblionumber | html %]', 10));
13
    browser.show();
14
15
    $(window).load(function() {
16
        $("#loading").hide();
17
    });
18
    var Sticky;
19
    $(document).ready(function() {
20
        var $tabs = $('#addholdingtabs').tabs().bind('show.ui-tabs', function(e, ui) {
21
            $("#"+ui.panel.id+" input:eq(0)").focus();
22
        });
23
        $( "ul.sortable_field", $tabs ).sortable({
24
            axis: "y",
25
            containment: $("#addholdingtabs")
26
        });
27
        $( "ul.sortable_subfield", $tabs ).sortable({
28
            axis: "y",
29
            containment: "parent"
30
        });
31
32
        [% IF tab %]
33
            link = $("a[href='#[% tab | html %]']");
34
            selectTab( link );
35
        [% END %]
36
37
38
        Sticky = $("#toolbar");
39
        Sticky.hcSticky({
40
            stickTo: "#f",
41
            stickyClass: "floating"
42
        });
43
44
        /* check cookie to hide/show marcdocs*/
45
        if( Cookies.get("marcdocs_[% borrowernumber | html %]") == 'hide'){
46
            toggleMARCdocLinks(false);
47
        } else {
48
            toggleMARCdocLinks(true);
49
        }
50
51
        $("#marcDocsSelect").click(function(){
52
            if( Cookies.get("marcdocs_[% borrowernumber | html %]") == 'hide'){
53
                toggleMARCdocLinks(true);
54
            } else {
55
                toggleMARCdocLinks(false);
56
            }
57
        });
58
59
        /* check cookie to hide/show marc tags*/
60
        var marctags_cookie = Cookies.get("marctags_[% borrowernumber | html %]");
61
        if( marctags_cookie == 'hide'){
62
            toggleMARCTagLinks(false);
63
        } else if( marctags_cookie == 'show'){
64
            toggleMARCTagLinks(true)
65
        } else {
66
            [% UNLESS Koha.Preference("hide_marc") %]
67
                toggleMARCTagLinks(true)
68
            [% ELSE %]
69
                toggleMARCTagLinks(false);
70
            [% END %]
71
        }
72
73
        $("#marcTagsSelect").click(function(){
74
            if( Cookies.get("marctags_[% borrowernumber | html %]") == 'hide'){
75
                toggleMARCTagLinks(true)
76
            } else {
77
                toggleMARCTagLinks(false);
78
            }
79
        });
80
81
        $("#saverecord").click(function(){
82
            $(".btn-group").removeClass("open");
83
            onOption();
84
            return false;
85
        });
86
87
        $("#saveandview").click(function(){
88
            $(".btn-group").removeClass("open");
89
            redirect("view");
90
            return false;
91
        });
92
93
        $("#saveanditems").click(function(){
94
            $(".btn-group").removeClass("open");
95
            redirect("items");
96
            return false;
97
        });
98
        $("#saveandcontinue").click(function(){
99
            $(".btn-group").removeClass("open");
100
            var tab = $("#addholdingtabs li.ui-tabs-active:first a").attr('href');
101
            tab = tab.replace('#', '');
102
            $("#current_tab").val(tab);
103
            redirect("just_save", tab);
104
            return false;
105
        });
106
107
        $( '#switcheditor' ).click( function() {
108
109
            if ( !confirm( _("Any changes will not be saved. Continue?") ) ) return false;
110
111
            Cookies.set( 'catalogue_editor_[% logged_in_user.borrowernumber | html %]', 'advanced', { expires: 365, path: '/' } );
112
113
            var holding_id = [% holding_id || "''" | html %];
114
            window.location = '/cgi-bin/koha/cataloguing/editor.pl#catalog/' + biblionumber + '/holdings/' + holding_id;
115
116
            return false;
117
        } );
118
        $(".change-framework").on("click", function(){
119
            var frameworkcode = $(this).data("frameworkcode");
120
            $("#frameworkcode").val( frameworkcode );
121
            Changefwk();
122
        });
123
124
        $(".toolbar-tabs a").on("click",function(e){
125
            e.preventDefault();
126
            selectTab( $(this ) );
127
        });
128
129
        $(".tag_anchor").on("click", function(e){
130
            e.preventDefault();
131
            var toolbar_height = $("#toolbar").outerHeight();
132
            $(".tag_anchor").removeClass("selected");
133
            $(this).addClass("selected");
134
            var link = this.href;
135
            var linkid = link.substring( link.indexOf("#") + 1 );
136
            var dest = $("#" + linkid );
137
            var yoffset = dest.offset();
138
            window.scrollTo( 0, yoffset.top - toolbar_height - 20 );
139
        });
140
141
    });
142
143
    function selectTab( tablink ){
144
        $(".toolbar-tabs li").removeClass("selected");
145
        tablink.parent().addClass("selected");
146
        var tabid = tablink.data("tabid");
147
        $('#addholdingtabs').selectTabByID("#tab" + tabid + "XX");
148
        $(".tag_anchors").removeClass("tab_selected").hide();
149
        $(".tag_anchors_" + tabid ).addClass("tab_selected").show();
150
    }
151
152
    function redirect(dest){
153
        $("#redirect").attr("value",dest);
154
        return Check();
155
    }
156
157
    [% IF ( CAN_user_editcatalogue_edit_items ) %]
158
        var onOption = function () {
159
            return Check();
160
        }
161
    [% END %]
162
163
    function Dopop(link,i) {
164
        defaultvalue = document.getElementById(i).value;
165
        window.open(link+"&result="+defaultvalue,"valuebuilder",'width=700,height=550,toolbar=false,scrollbars=yes');
166
    }
167
168
    function PopupMARCFieldDoc(field) {
169
        [% IF ( marcflavour == 'MARC21' ) %]
170
            _MARC21FieldDoc(field);
171
        [% ELSIF ( marcflavour == 'UNIMARC' ) %]
172
            _UNIMARCFieldDoc(field);
173
        [% END %]
174
    }
175
176
    function _MARC21FieldDoc(field) {
177
        if(field == 0) {
178
            window.open("http://www.loc.gov/marc/holdings/hdleader.html");
179
        } else if (field < 900) {
180
            window.open("http://www.loc.gov/marc/holdings/hd" + ("000"+field).slice(-3) + ".html");
181
        } else {
182
            window.open("http://www.loc.gov/marc/holdings/hd9xx.html");
183
        }
184
    }
185
186
    function _UNIMARCFieldDoc(field) {
187
        /* http://archive.ifla.org/VI/3/p1996-1/ is an outdated version of UNIMARC, but
188
        seems to be the only version available that can be linked to per tag.  More recent
189
        versions of the UNIMARC standard are available on the IFLA website only as
190
        PDFs!
191
        */
192
        var url;
193
        if (field == 0) {
194
            url = "http://archive.ifla.org/VI/3/p1996-1/uni.htm";
195
        } else {
196
            var first = field.substring(0,1);
197
            url = "http://archive.ifla.org/VI/3/p1996-1/uni" + first + ".htm#";
198
            if (first == 0) url = url + "b";
199
            url = first == 9
200
                ? "http://archive.ifla.org/VI/3/p1996-1/uni9.htm"
201
                : url + field;
202
        }
203
        window.open(url);
204
    }
205
206
    /*
207
    * Functions to hide/show marc docs and tags links
208
    */
209
210
    function toggleMARCdocLinks(flag){
211
        if( flag === true ){
212
            $(".marcdocs").show();
213
            $.cookie("marcdocs_[% borrowernumber | html %]",'show', { path: "/", expires: 365 });
214
            $("#marcDocsSelect i").addClass('fa-check-square-o').removeClass('fa-square-o');
215
        } else {
216
            $(".marcdocs").hide();
217
            $.cookie("marcdocs_[% borrowernumber | html %]",'hide', { path: "/", expires: 365 });
218
            $("#marcDocsSelect i").removeClass('fa-check-square-o').addClass('fa-square-o');
219
        }
220
    }
221
222
    function toggleMARCTagLinks(flag){
223
        if( flag === true ){
224
            $(".tagnum").show();
225
            $(".subfieldcode").show();
226
            $.cookie("marctags_[% borrowernumber | html %]",'show', { path: "/", expires: 365 });
227
            $("#marcTagsSelect i").addClass('fa-check-square-o').removeClass('fa-square-o');
228
        } else {
229
            $(".tagnum").hide();
230
            $(".subfieldcode").hide();
231
            $.cookie("marctags_[% borrowernumber | html %]",'hide', { path: "/", expires: 365 });
232
            $("#marcTagsSelect i").removeClass('fa-check-square-o').addClass('fa-square-o');
233
        }
234
    }
235
236
    /**
237
    * check if mandatory subfields are written
238
    */
239
    function AreFieldsNotOk(){
240
        var mandatories = new Array();
241
        var mandatoriesfields = new Array();
242
        var tab = new Array();
243
        var label = new Array();
244
        var flag=0;
245
        var tabflag= new Array();
246
        [% FOREACH BIG_LOO IN BIG_LOOP %]
247
            [% FOREACH innerloo IN BIG_LOO.innerloop %]
248
                [% IF ( innerloo.mandatory ) %]
249
                    mandatoriesfields.push(new Array("[% innerloo.tag | html %]","[% innerloo.index | html %][% innerloo.random | html %]","[% innerloo.index | html %]"));
250
                [% END %]
251
                [% FOREACH subfield_loo IN innerloo.subfield_loop %]
252
                    [% IF ( subfield_loo.mandatory ) %]
253
                        mandatories.push("[% subfield_loo.id | html %]");
254
                        tab.push("[% BIG_LOO.number | html %]");
255
                        label.push("[% subfield_loo.marc_lib | $raw %]");
256
                    [% END %]
257
                [% END %]
258
            [% END %]
259
        [% END %]
260
        var StrAlert = _("Can't save this record because the following field aren't filled:");
261
        StrAlert += "\n\n";
262
        for (var i=0,len=mandatories.length; i<len ; i++) {
263
            var tag=mandatories[i].substr(4,3);
264
            var subfield=mandatories[i].substr(17,1);
265
            var tagnumber=mandatories[i].substr(19,mandatories[i].lastIndexOf("_")-19);
266
            if (tabflag[tag+subfield+tagnumber] ==  null) {
267
                tabflag[tag+subfield+tagnumber]=new Array();
268
                tabflag[tag+subfield+tagnumber][0]=0;
269
            }
270
            if (tabflag[tag+subfield+tagnumber][0] != 1 && (document.getElementById(mandatories[i]) != null && ! document.getElementById(mandatories[i]).value || document.getElementById(mandatories[i]) == null)) {
271
                tabflag[tag+subfield+tagnumber][0] = 0 + tabflag[tag+subfield+tagnumber] ;
272
                document.getElementById(mandatories[i]).setAttribute('class','subfield_not_filled');
273
                $('#' + mandatories[i]).focus();
274
                tabflag[tag+subfield+tagnumber][1]=label[i];
275
                tabflag[tag+subfield+tagnumber][2]=tab[i];
276
            } else {
277
                tabflag[tag+subfield+tagnumber][0] = 1;
278
            }
279
        }
280
        for (var tagsubfieldid in tabflag) {
281
        if (tabflag[tagsubfieldid][0]==0) {
282
            var tag=tagsubfieldid.substr(0,3);
283
            var subfield=tagsubfieldid.substr(3,1);
284
            StrAlert += "\t* "+_("tag %s subfield %s %s in tab %s").format(tag, subfield, tabflag[tagsubfieldid][1], tabflag[tagsubfieldid][2]) + "\n";
285
            flag=1;
286
        }
287
        }
288
289
        /* Check for mandatories field(not subfields) */
290
        for (var i=0,len=mandatoriesfields.length; i<len; i++) {
291
            isempty  = true;
292
            arr      = mandatoriesfields[i];
293
            divid    = "tag_" + arr[0] + "_" + arr[1];
294
            varegexp = new RegExp("^tag_" + arr[0] + "_code_");
295
296
            if(parseInt(arr[0]) >= 10) {
297
                elem = document.getElementById(divid);
298
                eleminputs = elem.getElementsByTagName('input');
299
300
                for(var j=0,len2=eleminputs.length; j<len2; j++){
301
302
                    if(eleminputs[j].name.match(varegexp) && eleminputs[j].value){
303
                            inputregexp = new RegExp("^tag_" + arr[0] + "_subfield_" + eleminputs[j].value + "_" + arr[2]);
304
305
                            for( var k=0; k<len2; k++){
306
                                if(eleminputs[k].id.match(inputregexp) && eleminputs[k].value){
307
                                    isempty = false
308
                                }
309
                            }
310
311
                            elemselect = elem.getElementsByTagName('select');
312
                            for( var k=0; k<elemselect.length; k++){
313
                                if(elemselect[k].id.match(inputregexp) && elemselect[k].value){
314
                                    isempty = false
315
                                }
316
                            }
317
                    }
318
                }
319
320
                elemtextareas = elem.getElementsByTagName('textarea');
321
                for(var j=0,len2=elemtextareas.length; j<len2; j++){
322
                    // this bit assumes that the only textareas in this context would be for subfields
323
                    if (elemtextareas[j].value) {
324
                        isempty = false;
325
                    }
326
                }
327
            } else {
328
                isempty = false;
329
            }
330
331
            if (isempty) {
332
                flag = 1;
333
                        StrAlert += "\t* " + _("Field %s is mandatory, at least one of its subfields must be filled.").format(arr[0]) + "\n";
334
            }
335
        }
336
337
        if (flag) {
338
            return StrAlert;
339
        } else {
340
            return flag;
341
        }
342
    }
343
344
    /**
345
     *
346
     *
347
     */
348
    function Check(){
349
        var StrAlert = AreFieldsNotOk();
350
        if( ! StrAlert ){
351
            var StrWarning = AreFieldsNotOk(false);
352
            if (StrWarning){
353
                StrWarning += "\n" + _("Are you sure you want to save?");
354
                var r=confirm(StrWarning);
355
                if (! r){
356
                    return false;
357
                }
358
            }
359
            document.f.submit();
360
            return true;
361
        } else {
362
            alert(StrAlert);
363
            return false;
364
        }
365
    }
366
367
    function Changefwk() {
368
        var f = document.f;
369
        f.op.value = "[% op | html %]";
370
        f.biblionumber.value = "[% biblionumber | html %]";
371
        f.holding_id.value = "[% holding_iddata | html %]";
372
        f.changed_framework.value = "changed";
373
        f.submit();
374
    }
375
</script>
376
[% Asset.css("css/addholding.css") | $raw %]
377
378
[% INCLUDE 'select2.inc' %]
379
<script>
380
  $(document).ready(function() {
381
    $('.subfield_line select').select2();
382
  });
383
</script>
384
385
</head>
386
<body id="cat_addholding" class="cat">
387
388
   <div id="loading">
389
       <div>Loading, please wait...</div>
390
   </div>
391
392
    [% INCLUDE 'header.inc' %]
393
394
    <div id="breadcrumbs">
395
        <a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo;
396
        <a href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a> &rsaquo;
397
        Edit <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber | uri %]">[% title | html %] [% IF ( author ) %] by [% author | html %][% END %] (Record #[% biblionumber | html %])</a> &rsaquo;
398
        <a href="/cgi-bin/koha/cataloguing/addholding.pl?biblionumber=[% biblionumber | uri %]">Holdings</a>
399
    </div>
400
401
    <div class="main container-fluid">
402
        <div class="row">
403
            <div class="col-md-10 col-md-offset-1">
404
405
                <h1>
406
                    [% IF ( holding_id ) %]
407
                        Edit holdings record number [% holding_id | html %]
408
                    [% ELSE %]
409
                        Add holdings record
410
                    [% END %]
411
                </h1>
412
413
                [% IF ( error_items_exist ) %]<div class="dialog alert"><strong>This holdings record has items attached.</strong> Please delete them first.</div>[% END %]
414
                [% IF ( error_delete_failed ) %]<div class="dialog alert"><strong>Error deleting the record.</strong></div>[% END %]
415
416
                [% IF ( done ) %]
417
                    <script>
418
                        opener.document.forms['f'].holding_id.value=[% holding_id | html %];
419
                        window.close();
420
                    </script>
421
                [% ELSE %]
422
                    <form method="post" name="f" id="f" action="/cgi-bin/koha/cataloguing/addholding.pl" onsubmit="return Check();">
423
                        <input type="hidden" value="[% IF ( holding_id ) %]view[% ELSE %]holdings[% END %]" id="redirect" name="redirect" />
424
                        <input type="hidden" value="" id="current_tab" name="current_tab" />
425
                [% END %]
426
427
                <div id="toolbar" class="btn-toolbar">
428
                    [% IF CAN_user_editcatalogue_edit_items %]
429
                        <div class="btn-group">
430
                            <button class="btn btn-default" id="saverecord"><i class="fa fa-save"></i> Save</button>
431
                            <button class="btn btn-default dropdown-toggle" data-toggle="dropdown">
432
                            <span class="caret"></span>
433
                            </button>
434
                            <ul class="dropdown-menu">
435
                                <li><a id="saveandview" href="#">Save and view record</a></li>
436
                                <li><a id="saveanditems" href="#">Save and edit items</a></li>
437
                                <li><a id="saveandcontinue" href="#">Save and continue editing</a></li>
438
                            </ul>
439
                        </div>
440
                    [% END %]
441
442
                    <div class="btn-group">
443
                        <button class="btn btn-default dropdown-toggle" data-toggle="dropdown"><i class="fa fa-cog"></i> Settings <span class="caret"></span></button>
444
                        <ul id="settings-menu" class="dropdown-menu">
445
                            [% IF Koha.Preference( 'EnableAdvancedCatalogingEditor' ) == 1 %]
446
                                [% # disabled until supported <li><a href="#" id="switcheditor">Switch to advanced editor</a></li> %]
447
                            [% END %]
448
                            [% IF marcflavour != 'NORMARC' AND NOT advancedMARCEditor %]
449
                                <li>
450
                                    <a href="#" id="marcDocsSelect"><i class="fa fa-check-square-o"></i> Show MARC tag documentation links</a>
451
                                <li>
452
                                    <a href="#" id="marcTagsSelect"><i class="fa fa-check-square-o"></i> Show tags</a>
453
                                </li>
454
                            [% END %]
455
                            <li class="dropdown-header">Change framework</li>
456
                            <li>
457
                                <a href="#" class="change-framework" data-frameworkcode="">
458
                                    [% IF ( frameworkcode ) %]
459
                                       <i class="fa fa-fw">&nbsp;</i>
460
                                    [% ELSE %]
461
                                        <i class="fa fa-fw fa-check"></i>
462
                                    [% END %]
463
                                    Default
464
                                </a>
465
                            </li>
466
                            [% FOREACH framework IN frameworks%]
467
                                <li>
468
                                    <a href="#" class="change-framework" data-frameworkcode="[% framework.frameworkcode | html %]">
469
                                        [% IF framework.frameworkcode == frameworkcode %]
470
                                            <i class="fa fa-fw fa-check"></i>
471
                                        [% ELSE %]
472
                                            <i class="fa fa-fw">&nbsp;</i>
473
                                        [% END %]
474
                                        [% framework.frameworktext | html %]
475
                                    </a>
476
                                </li>
477
                            [% END %]
478
                        </ul> <!-- /#settings-menu -->
479
                    </div> <!-- /.btn-group -->
480
                    <div class="btn-group">
481
                        <a class="btn btn-default" id="cancel" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber | url %]">Cancel</a>
482
                    </div>
483
                    <div class="toolbar-tabs-container">
484
                        [% IF ( BIG_LOOP.size > 1 ) %]
485
                            <ul class="toolbar-tabs">
486
                                [%- FOREACH BIG_LOO IN BIG_LOOP -%]
487
                                    [% IF loop.first %]
488
                                        <li class="selected">
489
                                    [% ELSE %]
490
                                        <li>
491
                                    [% END %]
492
                                        <a data-tabid="[% BIG_LOO.number | html %]" href="#tab[% BIG_LOO.number | html %]XX">[% BIG_LOO.number | html %]</a>
493
                                    </li>
494
                                [%- END -%]
495
                            </ul>
496
                        [% END %]
497
                        <ul class="tag_anchors_list">
498
                            [% FOREACH BIG_LOO IN BIG_LOOP %]
499
                                [% IF loop.first %][% SET tab_selected = "tab_selected" %][% ELSE %][% SET tab_selected = "" %][% END %]
500
                                [% FOREACH innerloo IN BIG_LOO.innerloop %]
501
                                    [% IF ( innerloo.tag ) %]
502
                                        <li class="tag_anchors tag_anchors_[% BIG_LOO.number | html %] [% tab_selected | html %]">
503
                                            <a class="tag_anchor" id="tag_anchor_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]" title="tag_anchor_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]" href="#div_indicator_tag_[% innerloo.tag | uri %]_[% innerloo.index | uri %][% innerloo.random | uri %]">[% innerloo.tag | uri %]</a>
504
                                        </li>
505
                                    [% END %]
506
                                [% END %]
507
                            [% END %]
508
                        </ul>
509
                    </div>
510
                </div>
511
512
                [% IF ( popup ) %]
513
                        <input type="hidden" name="mode" value="popup" />
514
                [% END %]
515
                <input type="hidden" name="op" value="add" />
516
                <input type="hidden" id="frameworkcode" name="frameworkcode" value="[% frameworkcode | html %]" />
517
                <input type="hidden" name="biblionumber" value="[% biblionumber | html %]" />
518
                <input type="hidden" name="holding_id" value="[% holding_id | html %]" />
519
                <input type="hidden" name="changed_framework" value="" />
520
521
                <div id="addholdingtabs" class="toptabs numbered">
522
                    <ul>
523
                        [% FOREACH BIG_LOO IN BIG_LOOP %]
524
                            <li><a href="#tab[% BIG_LOO.number | uri %]XX">[% BIG_LOO.number | html %]</a></li>
525
                        [% END %]
526
                    </ul>
527
528
                    [% FOREACH BIG_LOO IN BIG_LOOP %]
529
                        <div id="tab[% BIG_LOO.number | html %]XX">
530
531
                            [% IF ( BIG_LOOP.size > 1 ) %]
532
                                <h3>Section [% BIG_LOO.number | html %]</h3>
533
                            [% END %]
534
                            [% previous = "" %]
535
                            [% FOREACH innerloo IN BIG_LOO.innerloop %]
536
                                [% IF ( innerloo.tag ) %]
537
                                    [% IF innerloo.tag != previous %]
538
                                        [% IF previous != "" %]
539
                                            </ul>
540
                                        [% END %]
541
                                        [% previous = innerloo.tag %]
542
                                        [% IF ( innerloo.repeatable ) %]
543
                                            <ul class="sortable_field">
544
                                        [% ELSE %]
545
                                            <ul>
546
                                        [% END %]
547
                                    [% END %]
548
                                    [% IF ( innerloo.repeatable ) %]
549
                                        <li class="tag sortable_tag clearfix" id="tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]">
550
                                    [% ELSE %]
551
                                        <li class="tag clearfix" id="tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]">
552
                                    [% END %]
553
                                        <div class="tag_title" id="div_indicator_tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]">
554
                                            [% IF advancedMARCEditor %]
555
                                                <a href="#" tabindex="1" class="tagnum" title="[% innerloo.tag_lib | html %] - Click to Expand this Tag" onclick="ExpandField('tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]'); return false;">[% innerloo.tag | html %]</a>
556
                                            [% ELSE %]
557
                                                <span class="tagnum" title="[% innerloo.tag_lib | html %]">[% innerloo.tag | html %]</span>
558
                                                [% IF marcflavour != 'NORMARC' %]<a href="#" class="marcdocs" onclick="PopupMARCFieldDoc('[% innerloo.tag | html %]'); return false;">&nbsp;?</a>[% END %]
559
                                            [% END %]
560
561
                                            [% IF ( innerloo.fixedfield ) %]
562
                                                <input type="text"
563
                                                    tabindex="1"
564
                                                    class="indicator flat"
565
                                                    style="display:none;"
566
                                                    name="tag_[% innerloo.tag | html %]_indicator1_[% innerloo.index | html %][% innerloo.random | html %]"
567
                                                    size="1"
568
                                                    maxlength="1"
569
                                                    value="[% innerloo.indicator1 | html %]" />
570
                                                <input type="text"
571
                                                    tabindex="1"
572
                                                    class="indicator flat"
573
                                                    style="display:none;"
574
                                                    name="tag_[% innerloo.tag | html %]_indicator2_[% innerloo.index | html %][% innerloo.random | html %]"
575
                                                    size="1"
576
                                                    maxlength="1"
577
                                                    value="[% innerloo.indicator2 | html %]" />
578
                                            [% ELSE %]
579
                                                <input type="text"
580
                                                    tabindex="1"
581
                                                    class="indicator flat"
582
                                                    name="tag_[% innerloo.tag | html %]_indicator1_[% innerloo.index | html %][% innerloo.random | html %]"
583
                                                    size="1"
584
                                                    maxlength="1"
585
                                                    value="[% innerloo.indicator1 | html %]" />
586
                                                <input type="text"
587
                                                    tabindex="1"
588
                                                    class="indicator flat"
589
                                                    name="tag_[% innerloo.tag | html %]_indicator2_[% innerloo.index | html %][% innerloo.random | html %]"
590
                                                    size="1"
591
                                                    maxlength="1"
592
                                                    value="[% innerloo.indicator2 | html %]" />
593
                                            [% END # /IF innerloo.fixedfield %] -
594
595
                                            [% UNLESS advancedMARCEditor %]
596
                                                <a href="#" tabindex="1" class="expandfield" onclick="ExpandField('tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]'); return false;" title="Click to Expand this Tag">[% innerloo.tag_lib | html %]</a>
597
                                            [% END %]
598
599
                                            <span class="field_controls">
600
                                                [% IF ( innerloo.repeatable ) %]
601
                                                    <a href="#" tabindex="1" class="buttonPlus" onclick="CloneField('tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]','0','[% advancedMARCEditor | html %]'); return false;" title="Repeat this Tag">
602
                                                        <img src="[% interface | html %]/[% theme | html %]/img/repeat-tag.png" alt="Repeat this Tag" />
603
                                                    </a>
604
                                                [% END %]
605
                                                <a href="#" tabindex="1" class="buttonMinus" onclick="UnCloneField('tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]'); return false;" title="Delete this Tag">
606
                                                    <img src="[% interface | html %]/[% theme | html %]/img/delete-tag.png" alt="Delete this Tag" />
607
                                                </a>
608
                                            </span> <!-- /.field_controls -->
609
                                        </div> <!-- /div.tag_title -->
610
611
                                        <ul class="sortable_subfield">
612
                                        [% FOREACH subfield_loo IN innerloo.subfield_loop %]
613
                                            <!--  One line on the marc editor -->
614
                                            <li class="subfield_line" style="[% subfield_loo.visibility | html %]" id="subfield[% subfield_loo.tag | html %][% subfield_loo.subfield | html %][% subfield_loo.random | html %]">
615
                                                [% UNLESS advancedMARCEditor %]
616
                                                    [% IF ( subfield_loo.fixedfield ) %]
617
                                                        <label for="tag_[% subfield_loo.tag | html %]_subfield_[% subfield_loo.subfield | html %]_[% subfield_loo.index | html %]_[% subfield_loo.index_subfield | html %]" style="display:none;" class="labelsubfield">
618
                                                    [% ELSE %]
619
                                                        <label for="tag_[% subfield_loo.tag | html %]_subfield_[% subfield_loo.subfield | html %]_[% subfield_loo.index | html %]_[% subfield_loo.index_subfield | html %]" class="labelsubfield">
620
                                                    [% END %]
621
                                                [% END %]
622
623
                                                <span class="subfieldcode">
624
                                                        <input type="text"
625
                                                            title="[% subfield_loo.marc_lib | html %]"
626
                                                            style=" [% IF ( subfield_loo.fixedfield ) %]display:none; [% END %]border:0;"
627
                                                            name="tag_[% subfield_loo.tag | html %]_code_[% subfield_loo.subfield | html %]_[% subfield_loo.index | html %]_[% subfield_loo.index_subfield | html %]"
628
                                                            value="[% subfield_loo.subfield | html %]"
629
                                                            size="1"
630
                                                            maxlength="1"
631
                                                            class="flat"
632
                                                            tabindex="0" />
633
                                                </span>
634
635
                                                [% UNLESS advancedMARCEditor %]
636
                                                        [% IF ( subfield_loo.mandatory ) %]
637
                                                            <span class="subfield subfield_mandatory">
638
                                                        [% ELSIF ( subfield_loo.important ) %]
639
                                                            <span class="subfield subfield_important">
640
                                                        [% ELSE %]
641
                                                            <span class="subfield">
642
                                                        [% END %]
643
                                                        [% subfield_loo.marc_lib | $raw %]
644
                                                        </span>
645
                                                    </label>
646
                                                [% END %]
647
648
                                                [% SET mv = subfield_loo.marc_value %]
649
                                                [% IF ( mv.type == 'text' ) %]
650
                                                    [% IF ( mv.readonly == 1 ) %]
651
                                                        <input type="text" id="[%- mv.id | html -%]" name="[%- mv.name | html -%]" value="[%- mv.value | html -%]" class="input_marceditor readonly" tabindex="1" size="[%- mv.size | html -%]" maxlength="[%- mv.maxlength | html -%]" readonly="readonly" />
652
                                                    [% ELSE %]
653
                                                        <input type="text" id="[%- mv.id | html -%]" name="[%- mv.name | html -%]" value="[%- mv.value | html -%]" class="input_marceditor" tabindex="1" size="[%- mv.size | html -%]" maxlength="[%- mv.maxlength | html -%]" />
654
                                                    [% END %]
655
656
                                                    [% IF ( mv.authtype ) %]
657
                                                        <span class="subfield_controls"><a href="#" class="buttonDot tag_editor" onclick="openAuth(this.parentNode.parentNode.getElementsByTagName('input')[1].id,'[%- mv.authtype | html -%]','holding'); return false;" tabindex="1" title="Tag editor">Tag editor</a></span>
658
                                                    [% END %]
659
                                                [% ELSIF ( mv.type == 'text_complex' ) %]
660
                                                    <input type="text" id="[%- mv.id | html -%]" name="[%- mv.name | html -%]" value="[%- mv.value | html -%]" class="input_marceditor framework_plugin" tabindex="1" size="[%- mv.size | html -%]" maxlength="[%- mv.maxlength | html -%]" />
661
                                                    <span class="subfield_controls">
662
                                                        [% IF mv.noclick %]
663
                                                            <span class="buttonDot tag_editor disabled" tabindex="-1" title="Field autofilled by plugin"></span>
664
                                                        [% ELSE %]
665
                                                            <a href="#" id="buttonDot_[% mv.id | html %]" class="buttonDot tag_editor framework_plugin" tabindex="1" title="Tag editor">Tag editor</a>
666
                                                        [% END %]
667
                                                    </span>
668
                                                    [% mv.javascript | $raw %]
669
                                                [% ELSIF ( mv.type == 'hidden' ) %]
670
                                                    <input tabindex="1" type="hidden" id="[%- mv.id | html -%]" name="[%- mv.name | html -%]" size="[%- mv.size | html -%]" maxlength="[%- mv.maxlength | html -%]" value="[%- mv.value | html -%]" />
671
                                                [% ELSIF ( mv.type == 'textarea' ) %]
672
                                                    <textarea cols="70" rows="4" id="[%- mv.id | html -%]" name="[%- mv.name | html -%]" class="input_marceditor" tabindex="1">[%- mv.value | html -%]</textarea>
673
                                                [% ELSIF ( mv.type == 'select' ) %]
674
                                                    <select name="[%- mv.name | html -%]" tabindex="1" size="1" class="input_marceditor" id="[%- mv.id | html -%]">
675
                                                    [% FOREACH aval IN mv.values %]
676
                                                        [% IF aval == mv.default %]
677
                                                        <option value="[%- aval | html -%]" selected="selected">[%- mv.labels.$aval | html -%]</option>
678
                                                        [% ELSE %]
679
                                                        <option value="[%- aval | html -%]">[%- mv.labels.$aval | html -%]</option>
680
                                                        [% END %]
681
                                                    [% END %]
682
                                                    </select>
683
                                                [% END  # /IF (mv.type...) %]
684
                                                [% IF ( subfield_loo.mandatory ) %]
685
                                                    <span class="required">Required</span>
686
                                                [% ELSIF ( subfield_loo.important ) %]
687
                                                    <span class="important">Important</span>
688
                                                [% END %]
689
                                                <span class="subfield_controls">
690
                                                    [% IF ( subfield_loo.repeatable ) %]
691
                                                        <a href="#" class="buttonPlus" tabindex="1" onclick="CloneSubfield('subfield[% subfield_loo.tag | html %][% subfield_loo.subfield | html %][% subfield_loo.random | html %]','[% advancedMARCEditor | html %]'); return false;">
692
                                                            <img src="[% interface | html %]/[% theme | html %]/img/clone-subfield.png" alt="Clone" title="Clone this subfield" />
693
                                                        </a>
694
                                                        <a href="#" class="buttonMinus" tabindex="1" onclick="UnCloneField('subfield[% subfield_loo.tag | html %][% subfield_loo.subfield | html %][% subfield_loo.random | html %]'); return false;">
695
                                                            <img src="[% interface | html %]/[% theme | html %]/img/delete-subfield.png" alt="Delete" title="Delete this subfield" />
696
                                                        </a>
697
                                                    [% END %]
698
                                                </span>
699
                                            </li> <!-- /.subfield_line -->
700
                                            <!-- End of the line -->
701
                                        [% END # /FOREACH subfield_loop %]
702
                                        </ul> <!--  /.sortable_subfield -->
703
                                    </li> <!-- /.tag.clearfix -->
704
                                [% END %]<!-- if innerloo.tag -->
705
                            [% END %]<!-- BIG_LOO.innerloop -->
706
                            </ul> <!--  /.sortable_field -->
707
                        </div> <!-- /#tabXXX -->
708
                    [% END %]<!-- BIG_LOOP -->
709
                </div><!-- /#addholdingtabs -->
710
            </form> <!-- /name=f -->
711
        </div> <!-- /.col-md-10.col-md-offset-1 -->
712
    </div> <!-- /.row -->
713
714
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_008_holdings.tt (+193 lines)
Line 0 Link Here
1
[% USE raw %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Holdings &rsaquo; 008 builder</title>
4
[% INCLUDE 'doc-head-close.inc' %]
5
</head>
6
<body id="cat_marc21_field_008_holdings" class="cat" style="padding:1em;">
7
<h3>008 Fixed-length data elements</h3>
8
<form name="f_pop" onsubmit="report()" action="">
9
<input type="hidden" name="plugin_name" value="marc21_field_008_holdings.pl" />
10
<input name="f1" value="[% f1 | html %]" type="hidden" />
11
<table>
12
    <tr>
13
        <td>00-05 - Date entered on file</td>
14
        <td>[% f1 | html %]</td>
15
    </tr>
16
    <tr>
17
        <td><label for="f6">06 - Receipt or acquisition status</label></td>
18
        <td>
19
            <select name="f6" id="f6" size="1">
20
                <option value="0"[%- IF ( f60 ) -%] selected="selected"[%- END -%]>0 - Unknown</option>
21
                <option value="1"[%- IF ( f61 ) -%] selected="selected"[%- END -%]>1 - Other receipt or acquisition status</option>
22
                <option value="2"[%- IF ( f62 ) -%] selected="selected"[%- END -%]>2 - Received and complete or ceased</option>
23
                <option value="3"[%- IF ( f63 ) -%] selected="selected"[%- END -%]>3 - On order</option>
24
                <option value="4"[%- IF ( f64 ) -%] selected="selected"[%- END -%]>4 - Currently received</option>
25
                <option value="5"[%- IF ( f65 ) -%] selected="selected"[%- END -%]>5 - Not currently received</option>
26
            </select>
27
        </td>
28
    </tr>
29
    <tr>
30
        <td><label for="f7">07 - Method of acquisition</label></td>
31
        <td>
32
            <select name="f7" id="f7" size="1">
33
                <option value="c"[%- IF ( f7c ) -%] selected="selected"[%- END -%]>c - Cooperative or consortial purchase</option>
34
                <option value="d"[%- IF ( f7d ) -%] selected="selected"[%- END -%]>d - Deposit</option>
35
                <option value="e"[%- IF ( f7e ) -%] selected="selected"[%- END -%]>e - Exchange</option>
36
                <option value="f"[%- IF ( f7f ) -%] selected="selected"[%- END -%]>f - Free</option>
37
                <option value="g"[%- IF ( f7g ) -%] selected="selected"[%- END -%]>g - Gift</option>
38
                <option value="l"[%- IF ( f7l ) -%] selected="selected"[%- END -%]>l - Legal deposit</option>
39
                <option value="m"[%- IF ( f7m ) -%] selected="selected"[%- END -%]>m - Membership</option>
40
                <option value="n"[%- IF ( f7n ) -%] selected="selected"[%- END -%]>n - Non-library purchase</option>
41
                <option value="p"[%- IF ( f7p ) -%] selected="selected"[%- END -%]>p - Purchase</option>
42
                <option value="q"[%- IF ( f7q ) -%] selected="selected"[%- END -%]>q - Lease</option>
43
                <option value="u"[%- IF ( f7u ) -%] selected="selected"[%- END -%]>u - Unknown</option>
44
                <option value="z"[%- IF ( f7z ) -%] selected="selected"[%- END -%]>z - Other method of acquisition</option>
45
            </select>
46
        </td>
47
    </tr>
48
    <tr>
49
        <td><label for="f8">08-11 - Expected acquisition end date</label></td>
50
        <td><input type="text" name="f8" id="f8" maxlength="4" size="5" value="[% f8 | html %]" /></td>
51
    </tr>
52
    <tr>
53
        <td><label for="f12">12- General retention policy</label></td>
54
        <td>
55
            <select name="f12" id="f12" size="1">
56
                <option value="0"[%- IF ( f120 ) -%] selected="selected"[%- END -%]>0 - Unknown</option>
57
                <option value="1"[%- IF ( f121 ) -%] selected="selected"[%- END -%]>1 - Other general retention policy</option>
58
                <option value="2"[%- IF ( f122 ) -%] selected="selected"[%- END -%]>2 - Retained except as replaced by updates</option>
59
                <option value="3"[%- IF ( f123 ) -%] selected="selected"[%- END -%]>3 - Sample issue retained</option>
60
                <option value="4"[%- IF ( f124 ) -%] selected="selected"[%- END -%]>4 - Retained until replaced by microform</option>
61
                <option value="5"[%- IF ( f125 ) -%] selected="selected"[%- END -%]>5 - Retained until replaced by cumulation, replacement volume, or revision</option>
62
                <option value="6"[%- IF ( f126 ) -%] selected="selected"[%- END -%]>6 - Retained for a limited period</option>
63
                <option value="7"[%- IF ( f127 ) -%] selected="selected"[%- END -%]>7 - Not retained</option>
64
                <option value="8"[%- IF ( f128 ) -%] selected="selected"[%- END -%]>8 - Permanently retained</option>
65
            </select>
66
        </td>
67
    </tr>
68
    <tr>
69
        <td><label for="f13">13 - Policy type</label></td>
70
        <td>
71
            <select name="f13" id="f13" size="1">
72
                <option value=" "[%- IF ( f13 ) -%] selected="selected"[%- END -%]># - No information provided</option>
73
                <option value="l"[%- IF ( f13l ) -%] selected="selected"[%- END -%]>l - Latest</option>
74
                <option value="p"[%- IF ( f13p ) -%] selected="selected"[%- END -%]>p - Previous</option>
75
            </select>
76
        </td>
77
    </tr>
78
    <tr>
79
        <td><label for="f14">14 - Number of units</label></td>
80
        <td>
81
            <select name="f14" id="f14" size="1">
82
                <option value=" "[%- IF ( f14 ) -%] selected="selected"[%- END -%]># - No information provided</option>
83
                <option value="1"[%- IF ( f141 ) -%] selected="selected"[%- END -%]>1</option>
84
                <option value="2"[%- IF ( f142 ) -%] selected="selected"[%- END -%]>2</option>
85
                <option value="3"[%- IF ( f143 ) -%] selected="selected"[%- END -%]>3</option>
86
                <option value="4"[%- IF ( f144 ) -%] selected="selected"[%- END -%]>4</option>
87
                <option value="5"[%- IF ( f145 ) -%] selected="selected"[%- END -%]>5</option>
88
                <option value="6"[%- IF ( f146 ) -%] selected="selected"[%- END -%]>6</option>
89
                <option value="7"[%- IF ( f147 ) -%] selected="selected"[%- END -%]>7</option>
90
                <option value="8"[%- IF ( f148 ) -%] selected="selected"[%- END -%]>8</option>
91
                <option value="9"[%- IF ( f149 ) -%] selected="selected"[%- END -%]>9 </option>
92
            </select>
93
        </td>
94
    </tr>
95
    <tr>
96
        <td><label for="f15">15 - Unit type</label></td>
97
        <td>
98
            <select name="f15" id="f15" size="1">
99
                <option value=" "[%- IF ( f15 ) -%] selected="selected"[%- END -%]># - No information provided</option>
100
                <option value="m"[%- IF ( f15m ) -%] selected="selected"[%- END -%]>m - Month(s)</option>
101
                <option value="w"[%- IF ( f15w ) -%] selected="selected"[%- END -%]>w - Week(s)</option>
102
                <option value="y"[%- IF ( f15y ) -%] selected="selected"[%- END -%]>y - Year(s)</option>
103
                <option value="e"[%- IF ( f15e ) -%] selected="selected"[%- END -%]>e - Edition(s)</option>
104
                <option value="i"[%- IF ( f15i ) -%] selected="selected"[%- END -%]>i - Issue(s)</option>
105
                <option value="s"[%- IF ( f15s ) -%] selected="selected"[%- END -%]>s - Supplement(s)</option>
106
            </select>
107
        </td>
108
    </tr>
109
    <tr>
110
        <td><label for="f16">16 - Completeness</label></td>
111
        <td>
112
            <select name="f16" id="f16" size="1">
113
                <option value="0"[%- IF ( f160 ) -%] selected="selected"[%- END -%]>0 - Other</option>
114
                <option value="1"[%- IF ( f161 ) -%] selected="selected"[%- END -%]>1 - Complete</option>
115
                <option value="2"[%- IF ( f162 ) -%] selected="selected"[%- END -%]>2 - Incomplete</option>
116
                <option value="3"[%- IF ( f163 ) -%] selected="selected"[%- END -%]>3 - Scattered</option>
117
                <option value="4"[%- IF ( f164 ) -%] selected="selected"[%- END -%]>4 - Not applicable</option>
118
            </select>
119
        </td>
120
    </tr>
121
    <tr>
122
        <td><label for="f17">17-19 - Number of copies reported</label></td>
123
        <td><input type="text" name="f17" id="f17" maxlength="3" size="4" value="[% f17 | html %]" /></td>
124
    </tr>
125
    <tr>
126
        <td><label for="f20">20 - Lending policy</label></td>
127
        <td>
128
            <select name="f20" id="f20" size="1">
129
                <option value="a"[%- IF ( f20a ) -%] selected="selected"[%- END -%]>a - Will lend</option>
130
                <option value="b"[%- IF ( f20b ) -%] selected="selected"[%- END -%]>b - Will not lend</option>
131
                <option value="c"[%- IF ( f20c ) -%] selected="selected"[%- END -%]>c - Will lend hard copy only</option>
132
                <option value="l"[%- IF ( f20l ) -%] selected="selected"[%- END -%]>l - Limited lending policy</option>
133
                <option value="u"[%- IF ( f20u ) -%] selected="selected"[%- END -%]>u - Unknown</option>
134
            </select>
135
        </td>
136
    </tr>
137
    <tr>
138
        <td><label for="f21">21 - Reproduction policy</label></td>
139
        <td>
140
            <select name="f21" id="f21" size="1">
141
                <option value="a"[%- IF ( f21a ) -%] selected="selected"[%- END -%]>a - Will reproduce</option>
142
                <option value="b"[%- IF ( f21b ) -%] selected="selected"[%- END -%]>b - Will not reproduce</option>
143
                <option value="u"[%- IF ( f21u ) -%] selected="selected"[%- END -%]>u - Unknown</option>
144
            </select>
145
        </td>
146
    </tr>
147
    <tr>
148
        <td><label for="f22">22-24 - Language</label></td>
149
        <td><input type="text" name="f22" id="f22" maxlength="3" size="4" value="[% f22 | html %]" /></td>
150
    </tr>
151
    <tr>
152
        <td><label for="f25">25 - Separate or composite copy report</label></td>
153
        <td>
154
            <select name="f25" id="f25" size="1">
155
                <option value="0"[%- IF ( f250 ) -%] selected="selected"[%- END -%]>0 - Separate copy report</option>
156
                <option value="1"[%- IF ( f251 ) -%] selected="selected"[%- END -%]>1 - Composite copy report</option>
157
            </select>
158
        </td>
159
    </tr>
160
    <tr>
161
        <td><label for="f26">26-31 - Date of report</label></td>
162
        <td><input type="text" name="f26" id="f26" maxlength="6" size="7" value="[% f26 | html %]" /></td>
163
    </tr>
164
</table>
165
<fieldset class="action"><input type="submit" value="OK" /> <a href="#" class="cancel close">Cancel</a></fieldset>
166
</form>
167
<script>
168
    function report() {
169
        var doc   = opener.document;
170
        var field = doc.getElementById("[% index | html %]");
171
172
        field.value =
173
        document.f_pop.f1.value+
174
        document.f_pop.f6.value+
175
        document.f_pop.f7.value+
176
        (document.f_pop.f8.value + '    ').substr(0, 4)+
177
        document.f_pop.f12.value+
178
        document.f_pop.f13.value+
179
        document.f_pop.f14.value+
180
        document.f_pop.f15.value+
181
        document.f_pop.f16.value+
182
        (document.f_pop.f17.value + '   ').substr(0, 3)+
183
        document.f_pop.f20.value+
184
        document.f_pop.f21.value+
185
        (document.f_pop.f22.value + '   ').substr(0, 3)+
186
        document.f_pop.f25.value+
187
        document.f_pop.f26.value;
188
        self.close();
189
        return false;
190
    }
191
</script>
192
193
[% INCLUDE 'popup-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_leader_holdings.tt (+103 lines)
Line 0 Link Here
1
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Holdings &rsaquo; 000 - Leader builder</title>
3
[% INCLUDE 'doc-head-close.inc' %]
4
</head>
5
<body id="cat_marc21_leader_holdings" class="cat" style="padding:1em;">
6
<form name="f_pop" onsubmit="report()" action="">
7
<input type="hidden" name="plugin_name" value="marc21_leader_holdings.pl" />
8
<h3>000 - Leader</h3>
9
<table>
10
    <tr>
11
        <td><span class="label">0-4 Record size</span></td>
12
        <td>(auto-filled)</td>
13
    </tr>
14
    <tr>
15
        <td><label for="f5">5 - Record status</label></td>
16
        <td>
17
            <select name="f5" id="f5" size="1">
18
                <option value="c"[%- IF ( f5c ) -%] selected="selected"[%- END -%]>c - Corrected or revised</option>
19
                <option value="d"[%- IF ( f5d ) -%] selected="selected"[%- END -%]>d - Deleted</option>
20
                <option value="n"[%- IF ( f5n ) -%] selected="selected"[%- END -%]>n - New</option>
21
            </select>
22
        </td>
23
    </tr>
24
    <tr>
25
        <td><label for="f6">6 - Type of record</label></td>
26
        <td>
27
            <select name="f6" id="f6" size="1">
28
                <option value="u"[%- IF ( f6u ) -%] selected="selected"[%- END -%]>u - Unknown</option>
29
                <option value="v"[%- IF ( f6v ) -%] selected="selected"[%- END -%]>v - Multipart item holdings</option>
30
                <option value="x"[%- IF ( f6x ) -%] selected="selected"[%- END -%]>x - Single-part item holdings</option>
31
                <option value="y"[%- IF ( f6y ) -%] selected="selected"[%- END -%]>y - Serial item holdings</option>
32
            </select>
33
        </td>
34
    </tr>
35
    <tr>
36
        <tr>07-08 - Undefined</tr>
37
        <tr>  </tr>
38
    </tr>
39
    <tr>
40
        <td>9 - Character coding scheme</td>
41
        <td>a - UCS/Unicode (auto-filled)</td>
42
    </tr>
43
    <tr>
44
        <td>10-16 - indicator/subfields/size</td>
45
        <td>(auto-filled)</td>
46
    </tr>
47
    <tr>
48
        <td><label for="f17">17 - Encoding level</label></td>
49
        <td>
50
            <select name="f17" id="f17" size="1">
51
                <option value="1"[%- IF ( f171 ) -%] selected="selected"[%- END -%]>1 - Holdings level 1</option>
52
                <option value="2"[%- IF ( f172 ) -%] selected="selected"[%- END -%]>2 - Holdings level 2</option>
53
                <option value="3"[%- IF ( f173 ) -%] selected="selected"[%- END -%]>3 - Holdings level 3</option>
54
                <option value="4"[%- IF ( f174 ) -%] selected="selected"[%- END -%]>4 - Holdings level 4</option>
55
                <option value="5"[%- IF ( f175 ) -%] selected="selected"[%- END -%]>5 - Holdings level 4 with piece designation</option>
56
                <option value="m"[%- IF ( f17m ) -%] selected="selected"[%- END -%]>m - Mixed level</option>
57
                <option value="u"[%- IF ( f17u ) -%] selected="selected"[%- END -%]>u - Unknown</option>
58
                <option value="z"[%- IF ( f17z ) -%] selected="selected"[%- END -%]>z - Other level</option>
59
            </select>
60
        </td>
61
    </tr>
62
    <tr>
63
        <td><label for="f18">18 - Item information in record</label></td>
64
        <td>
65
            <select name="f18" id="f18" size="1">
66
                <option value="i"[%- IF ( f18i ) -%] selected="selected"[%- END -%]>i - Item information</option>
67
                <option value="n"[%- IF ( f18n ) -%] selected="selected"[%- END -%]>n - No item information</option>
68
            </select>
69
        </td>
70
    </tr>
71
    <tr>
72
        <td>19 - Undefined</td>
73
        <td></td>
74
    </tr>
75
    <tr>
76
        <td>20-24 - entry map &amp; lengths</td>
77
        <td>(auto-filled)</td>
78
    </tr>
79
80
</table>
81
<fieldset class="action"><input type="submit" value="OK" /> <a href="#" class="cancel close">Cancel</a></fieldset>
82
</form>
83
<script>
84
    function report() {
85
        var doc   = opener.document;
86
        var field = doc.getElementById("[% index | html %]");
87
88
        field.value =
89
        '     '+
90
        document.f_pop.f5.value+
91
        document.f_pop.f6.value+
92
        '  '+
93
        'a'+ // MARC21 UNICODE flag - must be 'a' for Koha
94
        '22     '+
95
        document.f_pop.f17.value+
96
        document.f_pop.f18.value+
97
        ' '+
98
        '4500';
99
        self.close();
100
        return false;
101
    }
102
</script>
103
[% INCLUDE 'popup-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt (+2 lines)
Lines 263-268 fieldset.rows label.viewlog { Link Here
263
                                                        <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% loopro.biblionumber | uri %]" title="Display detail for this biblio">Biblio [% loopro.biblionumber | html %]</a>
263
                                                        <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% loopro.biblionumber | uri %]" title="Display detail for this biblio">Biblio [% loopro.biblionumber | html %]</a>
264
                                                    [% ELSIF ( loopro.info.substr(0, 6) == 'biblio' ) %]
264
                                                    [% ELSIF ( loopro.info.substr(0, 6) == 'biblio' ) %]
265
                                                        <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% loopro.object | uri %]" title="Display detail for this biblio">Biblio [% loopro.object | html %]</a>
265
                                                        <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% loopro.object | uri %]" title="Display detail for this biblio">Biblio [% loopro.object | html %]</a>
266
                                                    [% ELSIF ( loopro.info.substr(0, 7) == 'holding' ) %]
267
                                                        <a href="/cgi-bin/koha/cataloguing/addholding.pl?op=edit&amp;holding_id=[% loopro.object | uri %]" title="Display detail for this holding">Holding [% loopro.object | html %]</a>
266
                                                    [% ELSE %]
268
                                                    [% ELSE %]
267
                                                        [% loopro.object | html %]
269
                                                        [% loopro.object | html %]
268
                                                    [% END %]
270
                                                    [% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (+28 lines)
Lines 6-11 Link Here
6
[% USE Branches %]
6
[% USE Branches %]
7
[% USE TablesSettings %]
7
[% USE TablesSettings %]
8
[% USE AuthorisedValues %]
8
[% USE AuthorisedValues %]
9
[% USE Holdings %]
9
[% SET TagsShowEnabled = ( ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsShowOnDetail ) %]
10
[% SET TagsShowEnabled = ( ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsShowOnDetail ) %]
10
[% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsInputOnDetail ) %]
11
[% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsInputOnDetail ) %]
11
[% IF Koha.Preference('AmazonAssocTag') %]
12
[% IF Koha.Preference('AmazonAssocTag') %]
Lines 628-633 Link Here
628
                                [% END %]
629
                                [% END %]
629
                            [% END %]
630
                            [% END %]
630
                        [% END # IF itemloop.size %]
631
                        [% END # IF itemloop.size %]
632
                        [% IF summary_holdings %]
633
                            [% FOREACH holding IN summary_holdings %]
634
                                [% UNLESS holding.suppress %]
635
                                    [% holding_details = Holdings.GetDetails(holding) %]
636
                                    [% IF holding_details.public_note || holding_details.summary || holding_details.supplements || holding_details.indexes %]
637
                                        <span class="summary-holdings">
638
                                            <br>
639
                                            <strong>Additional information for [% Holdings.GetLocation(holding, 1) | html %]</strong>
640
                                            <ul>
641
                                                [% IF holding_details.public_note %]
642
                                                    <li>Public note: [% holding_details.public_note | html %]</li>
643
                                                [% END %]
644
                                                [% IF holding_details.summary %]
645
                                                    <li>Summary: [% holding_details.summary | html %]</li>
646
                                                [% END %]
647
                                                [% IF holding_details.supplements %]
648
                                                    <li>Supplements: [% holding_details.supplements | html %]</li>
649
                                                [% END %]
650
                                                [% IF holding_details.indexes %]
651
                                                    <li>Indexes: [% holding_details.indexes | html %]</li>
652
                                                [% END %]
653
                                            </ul>
654
                                        </span>
655
                                    [% END %]
656
                                [% END %]
657
                            [% END %]
658
                        [% END %]
631
                        [% PROCESS 'shelfbrowser.inc' %]
659
                        [% PROCESS 'shelfbrowser.inc' %]
632
                        [% INCLUDE shelfbrowser tab='holdings' %]
660
                        [% INCLUDE shelfbrowser tab='holdings' %]
633
                        <br style="clear:both;" />
661
                        <br style="clear:both;" />
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt (+10 lines)
Lines 1-6 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% USE Koha %]
3
[% USE Koha %]
4
[% USE Holdings %]
4
[% SET TagsShowEnabled = ( ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsShowOnList ) %]
5
[% SET TagsShowEnabled = ( ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsShowOnList ) %]
5
[% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsInputOnList ) %]
6
[% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsInputOnList ) %]
6
[% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %]
7
[% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %]
Lines 457-462 Link Here
457
                                                                    [% END %]
458
                                                                    [% END %]
458
                                                                [% ELSE %]
459
                                                                [% ELSE %]
459
                                                                    <span class="unavailable">No items available:</span>
460
                                                                    <span class="unavailable">No items available:</span>
461
                                                                    [% IF ( SEARCH_RESULT.summary_holdings ) %]
462
                                                                        <span class="summary-holdings">
463
                                                                            [% FOREACH holding IN SEARCH_RESULT.summary_holdings %]
464
                                                                                [% UNLESS holding.suppress %]
465
                                                                                    [% Holdings.GetLocation(holding, 1) | html %],
466
                                                                                [% END %]
467
                                                                            [% END %]
468
                                                                        </span>
469
                                                                    [% END %]
460
                                                                [% END %]
470
                                                                [% END %]
461
                                                            [% END # / IF SEARCH_RESULT.available_items_loop.size %]
471
                                                            [% END # / IF SEARCH_RESULT.available_items_loop.size %]
462
472
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl (-2 / +17 lines)
Lines 4-12 Link Here
4
<xsl:stylesheet version="1.0"
4
<xsl:stylesheet version="1.0"
5
  xmlns:marc="http://www.loc.gov/MARC21/slim"
5
  xmlns:marc="http://www.loc.gov/MARC21/slim"
6
  xmlns:items="http://www.koha-community.org/items"
6
  xmlns:items="http://www.koha-community.org/items"
7
  xmlns:holdings="http://www.koha-community.org/holdings"
7
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
8
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
8
  xmlns:str="http://exslt.org/strings"
9
  xmlns:str="http://exslt.org/strings"
9
  exclude-result-prefixes="marc items">
10
  exclude-result-prefixes="marc items holdings">
10
    <xsl:import href="MARC21slimUtils.xsl"/>
11
    <xsl:import href="MARC21slimUtils.xsl"/>
11
    <xsl:output method = "html" indent="yes" omit-xml-declaration = "yes" encoding="UTF-8"/>
12
    <xsl:output method = "html" indent="yes" omit-xml-declaration = "yes" encoding="UTF-8"/>
12
    <xsl:key name="item-by-status" match="items:item" use="items:status"/>
13
    <xsl:key name="item-by-status" match="items:item" use="items:status"/>
Lines 1232-1238 Link Here
1232
                            </xsl:for-each>
1233
                            </xsl:for-each>
1233
                            (<xsl:value-of select="$AlternateHoldingsCount"/>)
1234
                            (<xsl:value-of select="$AlternateHoldingsCount"/>)
1234
                            </xsl:when>
1235
                            </xsl:when>
1235
                            <xsl:otherwise><span class="noitems">No items available </span> </xsl:otherwise>
1236
                            <xsl:otherwise>
1237
                                <span class="noitems">No items available </span>
1238
                                <xsl:if test="//holdings:holdings/holdings:holding/holdings:suppress[.='0']">:
1239
                                    <xsl:for-each select="//holdings:holdings/holdings:holding[./holdings:suppress='0']">
1240
                                        <xsl:if test="position() > 1">, </xsl:if>
1241
                                        <xsl:value-of select="./holdings:holdingbranch"/>
1242
                                        <xsl:if test="string-length(./holdings:location) > 0">
1243
                                        - <xsl:value-of select="./holdings:location"/>
1244
                                        </xsl:if>
1245
                                        <xsl:if test="string-length(./holdings:callnumber) > 0">
1246
                                        - <xsl:value-of select="./holdings:callnumber"/>
1247
                                        </xsl:if>
1248
                                    </xsl:for-each>
1249
                                </xsl:if>
1250
                            </xsl:otherwise>
1236
                        </xsl:choose>
1251
                        </xsl:choose>
1237
				   </xsl:when>
1252
				   </xsl:when>
1238
                   <xsl:when test="count(key('item-by-status', 'available'))>0">
1253
                   <xsl:when test="count(key('item-by-status', 'available'))>0">
(-)a/opac/opac-detail.pl (+7 lines)
Lines 771-776 if (scalar(@itemloop) == 0 || scalar(@otheritemloop) == 0) { Link Here
771
    }
771
    }
772
}
772
}
773
773
774
# Fetch summary holdings
775
if (C4::Context->preference('SummaryHoldings')) {
776
    my $summary_holdings = Koha::Holdings->search({ biblionumber => $biblionumber, deleted_on => undef });
777
    $template->param( summary_holdings => $summary_holdings );
778
}
779
780
774
## get notes and subjects from MARC record
781
## get notes and subjects from MARC record
775
if (!C4::Context->preference("OPACXSLTDetailsDisplay") ) {
782
if (!C4::Context->preference("OPACXSLTDetailsDisplay") ) {
776
    my $marcisbnsarray   = GetMarcISBN    ($record,$marcflavour);
783
    my $marcisbnsarray   = GetMarcISBN    ($record,$marcflavour);
(-)a/t/db_dependent/Koha/Holding.t (+156 lines)
Line 0 Link Here
1
#!/usr/bin/perl
2
3
# This file is part of Koha.
4
#
5
# Koha is free software; you can redistribute it and/or modify it
6
# under the terms of the GNU General Public License as published by
7
# the Free Software Foundation; either version 3 of the License, or
8
# (at your option) any later version.
9
#
10
# Koha is distributed in the hope that it will be useful, but
11
# WITHOUT ANY WARRANTY; without even the implied warranty of
12
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
# GNU General Public License for more details.
14
#
15
# You should have received a copy of the GNU General Public License
16
# along with Koha; if not, see <http://www.gnu.org/licenses>.
17
18
use Modern::Perl;
19
20
use Test::More tests => 3;
21
22
use t::lib::TestBuilder;
23
24
use C4::Biblio;
25
26
use Koha::BiblioFrameworks;
27
use Koha::Database;
28
use Koha::Libraries;
29
use Koha::Library;
30
use Koha::MarcSubfieldStructures;
31
32
BEGIN {
33
    use_ok('Koha::Holding');
34
    use_ok('Koha::Holdings');
35
}
36
37
my $schema = Koha::Database->new->schema;
38
39
subtest 'Koha::Holding tests' => sub {
40
41
    plan tests => 19;
42
43
    $schema->storage->txn_begin;
44
45
    # Add a framework
46
    my $frameworkcode = 'HLD';
47
    my $existing_mss = Koha::MarcSubfieldStructures->search({frameworkcode => $frameworkcode});
48
    $existing_mss->delete() if $existing_mss;
49
    my $existing_fw = Koha::BiblioFrameworks->find({frameworkcode => $frameworkcode});
50
    $existing_fw->delete() if $existing_fw;
51
    Koha::BiblioFramework->new({
52
        frameworkcode => $frameworkcode,
53
        frameworktext => 'Holdings'
54
    })->store();
55
    Koha::MarcSubfieldStructure->new({
56
        frameworkcode => $frameworkcode,
57
        tagfield => 852,
58
        tagsubfield => 'b',
59
        kohafield => 'holdings.holdingbranch'
60
    })->store();
61
    Koha::MarcSubfieldStructure->new({
62
        frameworkcode => $frameworkcode,
63
        tagfield => 852,
64
        tagsubfield => 'c',
65
        kohafield => 'holdings.location'
66
    })->store();
67
    Koha::MarcSubfieldStructure->new({
68
        frameworkcode => $frameworkcode,
69
        tagfield => 942,
70
        tagsubfield => 'n',
71
        kohafield => 'holdings.suppress'
72
    })->store();
73
    Koha::MarcSubfieldStructure->new({
74
        frameworkcode => $frameworkcode,
75
        tagfield => 999,
76
        tagsubfield => 'c',
77
        kohafield => 'biblio.biblionumber'
78
    })->store();
79
    Koha::MarcSubfieldStructure->new({
80
        frameworkcode => $frameworkcode,
81
        tagfield => 999,
82
        tagsubfield => 'e',
83
        kohafield => 'holdings.holding_id'
84
    })->store();
85
86
    # Add a branch
87
    Koha::Library->new({ branchcode => 'ABC', branchname => 'Abc' })->store() unless Koha::Libraries->find({ branchcode => 'ABC' });
88
89
    # Add a biblio
90
    my $title = 'Oranges and Peaches';
91
    my $record = MARC::Record->new();
92
    my $field = MARC::Field->new('245','','','a' => $title);
93
    $record->append_fields( $field );
94
    my ($biblionumber) = C4::Biblio::AddBiblio($record, '');
95
96
    # Add a holdings record
97
    my $holding_marc = MARC::Record->new();
98
    $holding_marc->append_fields(MARC::Field->new('852','','','b' => 'ABC', 'c' => 'DEF'));
99
    my $new_holding = Koha::Holding->new({ biblionumber => $biblionumber, frameworkcode => $frameworkcode });
100
    is ($new_holding->set_marc({record => $holding_marc}), $new_holding, 'set_marc() returns the object');
101
    is($new_holding->store(), $new_holding, 'store() returns the object on create');
102
    is(defined $new_holding->holding_id(), 1, 'Newly added holdings record has a holding_id');
103
104
    # Check that the added record can be found and looks right
105
    my $holding = Koha::Holdings->find($new_holding->holding_id());
106
    is(ref $holding, 'Koha::Holding', 'Found a Koha::Holding object');
107
    is($holding->frameworkcode(), $frameworkcode, 'Framework code correct in Koha::Holding object');
108
    is($holding->holdingbranch(), 'ABC', 'Location correct in Koha::Holding object');
109
110
    my $branch = $holding->holding_branch();
111
    is(ref $branch, 'Koha::Library', 'holding_branch() returns a Koha::Library object');
112
    is($branch->branchname(), 'Abc', 'holding_branch() returns correct library');
113
114
    my $metadata = $holding->metadata;
115
    is( ref $metadata, 'Koha::Holdings::Metadata', 'Method metadata() returned a Koha::Holdings::Metadata object');
116
117
    my $holding_marc2 = $metadata->record;
118
    is(ref $holding_marc2, 'MARC::Record', 'Method record() returned a MARC::Record object');
119
    is($holding_marc2->field('852')->subfield('b'), 'ABC', 'Location in 852$b matches location from original record object');
120
121
    # Test updating the record
122
    $holding_marc2->append_fields(MARC::Field->new('942','','','n' => '1'));
123
    is($holding->set_marc({record => $holding_marc2}), $holding, 'set_marc() returns the object on update');
124
    is($holding->store(), $holding, 'store() returns the object on update');
125
126
    is($holding->suppress(), 1, 'Holdings record is suppressed');
127
128
    # Test misc methods
129
    my %mapping = Koha::Holding->get_marc_field_mapping({ field => 'holdings.location' });
130
    is_deeply(
131
        \%mapping,
132
        {852 => 'c'},
133
        'get_marc_field_mapping returns correct data'
134
    );
135
136
    my $fields = Koha::Holding->marc_to_koha_fields({ record => $holding_marc2 });
137
    is_deeply(
138
        $fields,
139
        {
140
            holdingbranch => 'ABC',
141
            location => 'DEF',
142
            suppress => 1,
143
            holding_id => $new_holding->holding_id()
144
        },
145
        'marc_to_koha_fields returns correct data'
146
    );
147
148
    # Test deletion
149
    is(defined $holding->deleted_on(), '', 'Holdings record not marked as deleted');
150
    $holding->delete();
151
    $holding = Koha::Holdings->find($new_holding->holding_id());
152
    is(defined $holding->deleted_on(), 1, 'Holdings record marked as deleted');
153
    is(defined $holding->metadata()->deleted_on(), 1, 'Holdings metadata record marked as deleted');
154
155
    $schema->storage->txn_rollback;
156
};
(-)a/t/db_dependent/Koha/Holdings.t (+113 lines)
Line 0 Link Here
1
#!/usr/bin/perl
2
3
# This file is part of Koha.
4
#
5
# Koha is free software; you can redistribute it and/or modify it
6
# under the terms of the GNU General Public License as published by
7
# the Free Software Foundation; either version 3 of the License, or
8
# (at your option) any later version.
9
#
10
# Koha is distributed in the hope that it will be useful, but
11
# WITHOUT ANY WARRANTY; without even the implied warranty of
12
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
# GNU General Public License for more details.
14
#
15
# You should have received a copy of the GNU General Public License
16
# along with Koha; if not, see <http://www.gnu.org/licenses>.
17
18
use Modern::Perl;
19
20
use Test::More tests => 2;
21
22
use t::lib::TestBuilder;
23
24
use C4::Biblio;
25
26
use Koha::BiblioFrameworks;
27
use Koha::Database;
28
use Koha::MarcSubfieldStructures;
29
30
BEGIN {
31
    use_ok('Koha::Holdings');
32
}
33
34
my $schema = Koha::Database->new->schema;
35
36
subtest 'Koha::Holdings tests' => sub {
37
38
    plan tests => 3;
39
40
    $schema->storage->txn_begin;
41
42
    # Add a framework
43
    my $frameworkcode = 'HLD';
44
    my $existing_mss = Koha::MarcSubfieldStructures->search({frameworkcode => $frameworkcode});
45
    $existing_mss->delete() if $existing_mss;
46
    my $existing_fw = Koha::BiblioFrameworks->find({frameworkcode => $frameworkcode});
47
    $existing_fw->delete() if $existing_fw;
48
    Koha::BiblioFramework->new({
49
        frameworkcode => $frameworkcode,
50
        frameworktext => 'Holdings'
51
    })->store();
52
    Koha::MarcSubfieldStructure->new({
53
        frameworkcode => $frameworkcode,
54
        tagfield => 852,
55
        tagsubfield => 'b',
56
        kohafield => 'holdings.holdingbranch'
57
    })->store();
58
    Koha::MarcSubfieldStructure->new({
59
        frameworkcode => $frameworkcode,
60
        tagfield => 852,
61
        tagsubfield => 'c',
62
        kohafield => 'holdings.location'
63
    })->store();
64
    Koha::MarcSubfieldStructure->new({
65
        frameworkcode => $frameworkcode,
66
        tagfield => 999,
67
        tagsubfield => 'c',
68
        kohafield => 'biblio.biblionumber'
69
    })->store();
70
    Koha::MarcSubfieldStructure->new({
71
        frameworkcode => $frameworkcode,
72
        tagfield => 999,
73
        tagsubfield => 'e',
74
        kohafield => 'holdings.holding_id'
75
    })->store();
76
77
    # Add branches
78
    Koha::Library->new({ branchcode => 'ABC', branchname => 'Abc' })->store() unless Koha::Libraries->find({ branchcode => 'ABC' });
79
    Koha::Library->new({ branchcode => 'BCD', branchname => 'Bcd' })->store() unless Koha::Libraries->find({ branchcode => 'BCD' });
80
81
    # Add a biblio
82
    my $title = 'Oranges and Peaches';
83
    my $record = MARC::Record->new();
84
    my $field = MARC::Field->new('245','','','a' => $title);
85
    $record->append_fields( $field );
86
    my ($biblionumber) = C4::Biblio::AddBiblio($record, '');
87
88
    # Add a couple of holdings records
89
    my $holding_marc = MARC::Record->new();
90
    $holding_marc->append_fields(MARC::Field->new('852','','','b' => 'ABC', 'c' => 'DEF'));
91
    my $new_holding = Koha::Holding->new({ biblionumber => $biblionumber, frameworkcode => $frameworkcode });
92
    $new_holding->set_marc({record => $holding_marc})->store();
93
94
    $holding_marc = MARC::Record->new();
95
    $holding_marc->append_fields(MARC::Field->new('852','','','b' => 'BCD', 'c' => 'DEF'));
96
    $new_holding = Koha::Holding->new({ biblionumber => $biblionumber, frameworkcode => $frameworkcode });
97
    $new_holding->set_marc({record => $holding_marc})->store();
98
99
    # Add and delete a holdings record
100
    $holding_marc = MARC::Record->new();
101
    $holding_marc->append_fields(MARC::Field->new('852','','','b' => 'BCD', 'c' => 'DEF'));
102
    $new_holding = Koha::Holding->new({ biblionumber => $biblionumber, frameworkcode => $frameworkcode });
103
    $new_holding->set_marc({record => $holding_marc})->store();
104
    $new_holding->delete();
105
106
    # Test results
107
    my $fields = Koha::Holdings->get_embeddable_marc_fields({ biblionumber => $biblionumber});
108
    is(scalar(@{$fields}), 2, 'get_embeddable_marc_fields returns two fields');
109
    is($fields->[0]->as_string, 'ABC DEF', 'get_embeddable_marc_fields returns correct data in first field');
110
    is($fields->[1]->as_string, 'BCD DEF', 'get_embeddable_marc_fields returns correct data in second field');
111
112
    $schema->storage->txn_rollback;
113
};
(-)a/t/db_dependent/Koha/Item.t (-5 / +41 lines)
Lines 24-29 use Test::More tests => 7; Link Here
24
use C4::Biblio;
24
use C4::Biblio;
25
use C4::Circulation;
25
use C4::Circulation;
26
26
27
use Koha::Holdings;
27
use Koha::Items;
28
use Koha::Items;
28
use Koha::Database;
29
use Koha::Database;
29
use Koha::Old::Items;
30
use Koha::Old::Items;
Lines 503-511 subtest 'renewal_branchcode' => sub { Link Here
503
    $schema->storage->txn_rollback;
504
    $schema->storage->txn_rollback;
504
};
505
};
505
506
506
subtest 'move_to_biblio() tests' => sub {
507
subtest 'adopt_holdings_from_biblio() tests' => sub {
507
508
    plan tests => 19;
508
    plan tests => 12;
509
509
510
    $schema->storage->txn_begin;
510
    $schema->storage->txn_begin;
511
511
Lines 516-529 subtest 'move_to_biblio() tests' => sub { Link Here
516
516
517
    my $source_biblionumber = $source_biblio->biblionumber;
517
    my $source_biblionumber = $source_biblio->biblionumber;
518
518
519
    my $library = $builder->build_object({ class => 'Koha::Libraries' });
520
521
    my $holding_marc = MARC::Record->new();
522
    $holding_marc->append_fields(MARC::Field->new('852','','','b' => $library->branchcode));
523
    my $source_holding = Koha::Holding->new({ biblionumber => $source_biblionumber, frameworkcode => '' });
524
    $source_holding->set_marc({record => $holding_marc});
525
    $source_holding->store();
526
527
    my $standalone_holding = Koha::Holding->new({ biblionumber => $source_biblionumber, frameworkcode => '' });
528
    $standalone_holding->set_marc({record => $holding_marc});
529
    $standalone_holding->store();
530
519
    my $item1 = $builder->build_sample_item({ biblionumber => $source_biblionumber });
531
    my $item1 = $builder->build_sample_item({ biblionumber => $source_biblionumber });
532
    $item1->set({ holding_id => $source_holding->holding_id() })->store();
520
    my $item2 = $builder->build_sample_item({ biblionumber => $source_biblionumber });
533
    my $item2 = $builder->build_sample_item({ biblionumber => $source_biblionumber });
534
    $item2->set({ holding_id => $source_holding->holding_id() })->store();
521
535
522
    my $itemnumber1 = $item1->itemnumber;
536
    my $itemnumber1 = $item1->itemnumber;
523
    my $itemnumber2 = $item2->itemnumber;
537
    my $itemnumber2 = $item2->itemnumber;
524
538
525
    my $library = $builder->build_object({ class => 'Koha::Libraries' });
526
527
    my $patron = $builder->build_object({
539
    my $patron = $builder->build_object({
528
        class => 'Koha::Patrons',
540
        class => 'Koha::Patrons',
529
        value => { branchcode => $library->branchcode, }
541
        value => { branchcode => $library->branchcode, }
Lines 574-579 subtest 'move_to_biblio() tests' => sub { Link Here
574
    @result = $dbh->selectrow_array('SELECT biblionumber FROM items WHERE itemnumber = ?', undef, $itemnumber2);
586
    @result = $dbh->selectrow_array('SELECT biblionumber FROM items WHERE itemnumber = ?', undef, $itemnumber2);
575
    is($result[0], $source_biblionumber, 'Correct biblionumber in the unmoved item');
587
    is($result[0], $source_biblionumber, 'Correct biblionumber in the unmoved item');
576
588
589
    my $target_holdings = $target_biblio->holdings();
590
    is($target_holdings->count, 1, 'Holdings record created in target biblio');
591
592
    @result = $dbh->selectrow_array('SELECT holding_id FROM items WHERE itemnumber = ?', undef, $itemnumber1);
593
    is($result[0], $target_holdings->next()->holding_id(), 'Correct holding_id in the moved item');
594
595
    @result = $dbh->selectrow_array('SELECT holding_id FROM items WHERE itemnumber = ?', undef, $itemnumber2);
596
    is($result[0], $source_holding->holding_id(), 'Correct holding_id in the unmoved item');
597
577
    @result = $dbh->selectrow_array('SELECT biblionumber FROM aqorders WHERE ordernumber = ?', undef, $ordernumber1);
598
    @result = $dbh->selectrow_array('SELECT biblionumber FROM aqorders WHERE ordernumber = ?', undef, $ordernumber1);
578
    is($result[0], $target_biblio->biblionumber, 'Correct biblionumber in aqorders for order with the moved item');
599
    is($result[0], $target_biblio->biblionumber, 'Correct biblionumber in aqorders for order with the moved item');
579
600
Lines 604-608 subtest 'move_to_biblio() tests' => sub { Link Here
604
    @result = $dbh->selectrow_array('SELECT biblionumber FROM linktracker WHERE itemnumber = ?', undef, $itemnumber2);
625
    @result = $dbh->selectrow_array('SELECT biblionumber FROM linktracker WHERE itemnumber = ?', undef, $itemnumber2);
605
    is($result[0], $source_biblionumber, 'Correct biblionumber in linktracker for unmoved item');
626
    is($result[0], $source_biblionumber, 'Correct biblionumber in linktracker for unmoved item');
606
627
628
    @result = $dbh->selectrow_array('SELECT biblionumber FROM linktracker WHERE itemnumber = ?', undef, $itemnumber1);
629
    is($result[0], $target_biblio->biblionumber, 'Correct biblionumber in linktracker for moved item');
630
631
    @result = $dbh->selectrow_array('SELECT biblionumber FROM linktracker WHERE itemnumber = ?', undef, $itemnumber2);
632
    is($result[0], $source_biblionumber, 'Correct biblionumber in linktracker for unmoved item');
633
634
    # Move everything
635
    $target_biblio->adopt_holdings_from_biblio($source_biblio);
636
637
    @result = $dbh->selectrow_array('SELECT biblionumber FROM holdings WHERE holding_id = ?', undef, $standalone_holding->holding_id);
638
    is($result[0], $target_biblio->biblionumber, 'Correct biblionumber in the standalone holdings record');
639
640
    @result = $dbh->selectrow_array('SELECT holding_id FROM items WHERE itemnumber = ?', undef, $itemnumber2);
641
    is($result[0], $source_holding->holding_id(), 'Correct holding_id in the second moved item');
642
607
    $schema->storage->txn_rollback;
643
    $schema->storage->txn_rollback;
608
};
644
};
(-)a/tools/stage-marc-import.pl (-2 / +1 lines)
Lines 93-99 if ($completedJobID) { Link Here
93
93
94
    my ( $errors, $marcrecords );
94
    my ( $errors, $marcrecords );
95
    if( $format eq 'MARCXML' ) {
95
    if( $format eq 'MARCXML' ) {
96
        ( $errors, $marcrecords ) = C4::ImportBatch::RecordsFromMARCXMLFile( $file, $encoding);
96
        ( $errors, $marcrecords ) = C4::ImportBatch::RecordsFromMARCXMLFile( $file, $record_type, $encoding);
97
    } elsif( $format eq 'ISO2709' ) {
97
    } elsif( $format eq 'ISO2709' ) {
98
        ( $errors, $marcrecords ) = C4::ImportBatch::RecordsFromISO2709File( $file, $record_type, $encoding );
98
        ( $errors, $marcrecords ) = C4::ImportBatch::RecordsFromISO2709File( $file, $record_type, $encoding );
99
    } else { # plugin based
99
    } else { # plugin based
100
- 

Return to bug 20447