12 Jun
2008
12 Jun
'08
5:37 p.m.
Is there a way to have Koha automatically set the item type in 942c based on the information found from the fixed information field 000_6 when importing records?
Not directly in Koha for the time being. Staged MARC records (in Koha tools) has to be improved in this area. A hook procedure could be associated to a batch import doing specific biblio records modifications: -creating 942$c field, -creating item tags 952 or 995. For now, you can do that easily with a Perl script and MARC::Record module: * loop on ISO2709 file for example * read 000_6 code * from this code fix a Koha Item Type code * add a 942$c $new_record->append_fields(MARC::Field->new( "942", '', '', c => $typedoc )); -- Frédéric