Something like this should do the trick. If you run this script make sure the lines 4-6 are correct for your install.
On Mon, 2009-06-29 at 10:26 -0400, Roche III, Edward wrote: > I understand what you are saying but I am not a programmer by any > stretch of the imagination. I follow and edit the code but to actually a > script is beyond my skill set at this point. So if someone can help me > out here that if not if someone can tell who to contact that can help > that would great as well. > > Thanks! > Ed > > Edward J. Roche > Network Administrator > Solanco School District > 717.786.2151 x2437 > > "At the End of the Day, Did You Play to Win or Not to Lose?" > > > > -----Original Message----- > From: MJ Ray [mailto:m...@phonecoop.coop] > Sent: Monday, June 29, 2009 6:09 AM > To: r...@praxis.com.au; Roche III, Edward > Cc: koha-devel@lists.koha.org > Subject: Re: [Koha-devel] updateitem.pl > > "Roche III, Edward" <edward_ro...@solanco.k12.pa.us> wrote: > > But I need to do it for about 9000 items. Is there a way to run it > > for all the items at once? If not, that is problem. What if someone > > wants to change their barcodes from their previous software (like us) > > they will need to do this process for each?!?!? [...] > > Essentially, I'd write a script to call > C4::Items::ModItem($item_changes, $biblionumber, $itemnumber) where > $item_changes is a hash containing appropriate keys. > perldoc C4/Items.pm is fairy detailed. > > Hope that gets you started, -- Michael Hafen Systems Analyst and Programmer Washington County School District Utah, USA for Koha checkout http://development.washk12.org/gitweb/ or git://development.washk12.org/koha
touch_all_copy_barcodes.pl
Description: Perl program
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha.org http://lists.koha.org/mailman/listinfo/koha-devel