Hi, Is there an easy way to recreate the data that belongs in the items table from Marc records with the appropriate information? We have some records that have item information, but do not have a corresponding item. The item data is there from an old import. Running Koha 3 using Marc21 schema. Thanks, Andrew -- Andrew Yager, Managing Director (MACS BCompSc MCP) Real World Technology Solutions Pty Ltd ph: 1300 798 718 or (02) 9563 4840 fax: (02) 9563 4848 mob: 0405 152 568 http://www.rwts.com.au/ or http://www.stonebridgecomputing.com.au/
Hi, 2009/5/26 Andrew Yager <andrew@rwts.com.au>:
Is there an easy way to recreate the data that belongs in the items table from Marc records with the appropriate information? We have some records that have item information, but do not have a corresponding item. The item data is there from an old import.
There isn't a script to do that, but it would be fairly easy to construct one. Pseudocode for it would be something like: for each bib for each 952 in bib build MARC::Record that includes the item field my $item_parsed = TransformMarcToKoha($dbh, $source_item_marc, $frameworkcode); next if $item_parsed->{itemnumber} has a corresponding items row call AddItemFromMarc($source_item_marc, $biblionumber) Regards, Galen -- Galen Charlton VP, Research & Development, LibLime galen.charlton@liblime.com p: 1-888-564-2457 x709 skype: gmcharlt
participants (2)
-
Andrew Yager -
Galen Charlton