# Getting the record
my $biblio = Koha::Biblios->find($biblionumber);
return unless $biblio;
my $record = eval { $biblio->metadata_record( { embed_items => 1, itemnumbers => $itemnumbers } ); };
my $record = eval { $biblio->metadata->record( { embed_items => 1, itemnumbers => $itemnumbers } ); };
return unless $record;
# Getting the framework
-