Updating multiple Marc Item Records
I need to create a perl script to update wrong information in the item table. The holdingbranch data is wrong. How can I simultaneously change the data in the koha items table and the item data in the marc structure? Can anyone please help?
I need to create a perl script to update wrong information in the item table. The holdingbranch data is wrong.
How can I simultaneously change the data in the koha items table and the item data in the marc structure?
You have to use Koha API to modify items. Take a look at C4::Item ModItem function (in C4/Item.pm file). -- Frédéric DEMIANS http://www.tamil.fr/u/fdemians.html
Thanks Frederic I do not see Items.pm I forgot to mention, this is still Koha 2.2.9. Any suggestions? ----- Original Message ----- From: "Frederic Demians" <frederic@tamil.fr> To: "C W Nel" <zang@zang.co.za> Cc: <koha-devel@lists.koha.org> Sent: Tuesday, October 14, 2008 2:37 PM Subject: Re: [Koha-devel] Updating multiple Marc Item Records
I need to create a perl script to update wrong information in the item table. The holdingbranch data is wrong. How can I simultaneously change the data in the koha items table and the item data in the marc structure?
You have to use Koha API to modify items. Take a look at C4::Item ModItem function (in C4/Item.pm file).
-- Frédéric DEMIANS http://www.tamil.fr/u/fdemians.html
-- No virus found in this incoming message. Checked by AVG. Version: 7.5.524 / Virus Database: 270.8.0/1724 - Release Date: 10/14/2008 2:02 AM
participants (2)
-
C W Nel -
Frederic Demians