Removed 995$9 and: root@koha:/usr/share/koha/bin/migration_tools# perl bulkmarcimport.pl -b -file book-test.mrc -c UNIMARC .ERROR: Adding items to bib 1 failed: DBIx::Class::Row::store_column(): No such column 'stocknumber ' on Koha::Schema::Result::Item at /usr/share/koha/lib/Koha/Object.pm line 79 How to fix?
пт, 30 дек. 2022 г. в 22:05, Igor A. Sychev <igor.a.syc...@gmail.com>: > Thanks for the answer. > Removed $995 and: > root@koha:/usr/share/koha/bin/migration_tools# perl bulkmarcimport.pl -b > -file book-test.mrc -c UNIMARC > .ERROR: Adding items to bib 1 failed: DBIx::Class::Row::store_column(): No > such column 'stocknumber ' on Koha::Schema::Result::Item at > /usr/share/koha/lib/Koha/Object.pm line 79 > How to fix? > > пт, 23 дек. 2022 г. в 03:05, Fridolin SOMERS <fridolin.som...@biblibre.com > >: > >> Indeed, >> 995$9 is for Koha internal id of item = itemnumber, the primary key in >> table items. >> >> Le 21/12/2022 à 13:16, gvera...@dataly.gr a écrit : >> > Remove subfield 9 and it will import >> > >> > Παραθέτοντας από "Igor A. Sychev" <igor.a.syc...@gmail.com>: >> > >> >> Hello! >> >> There are records with items in UNIMARC format. >> >> Records are imported. >> >> Items are not imported. >> >> Why is this happening? >> >> Are there other options for importing items? >> >> >> >> Example: >> >> ... >> >> <datafield tag="995" ind1=" " ind2=" "> >> >> <subfield code="5">2001-01-01</subfield> >> >> <subfield code="9">1</subfield> >> >> <subfield code="a">NF</subfield> >> >> <subfield code="b">TPU</subfield> >> >> <subfield code="c">TPU</subfield> >> >> <subfield code="f">13821000185704</subfield> >> >> <subfield code="j">95-1389</subfield> >> >> <subfield code="k">95-1389</subfield> >> >> <subfield code="q">3700,00</subfield> >> >> <subfield code="r">BK</subfield> >> >> </datafield> >> >> ... >> >> >> >> Good Luck! >> >> _______________________________________________ >> >> >> >> Koha mailing list http://koha-community.org >> >> Koha@lists.katipo.co.nz >> >> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha >> > >> > >> > >> > _______________________________________________ >> > >> > Koha mailing list http://koha-community.org >> > Koha@lists.katipo.co.nz >> > Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha >> >> -- >> Fridolin SOMERS <fridolin.som...@biblibre.com> >> Software and system maintainer 🦄 >> BibLibre, France >> _______________________________________________ >> >> Koha mailing list http://koha-community.org >> Koha@lists.katipo.co.nz >> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha >> > _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha