[Koha-devel] updateitem.pl

Michael Hafen mdhafen at tech.washk12.org
Mon Jun 29 17:43:00 CEST 2009


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:mjr at phonecoop.coop] 
> Sent: Monday, June 29, 2009 6:09 AM
> To: rick at praxis.com.au; Roche III, Edward
> Cc: koha-devel at lists.koha.org
> Subject: Re: [Koha-devel] updateitem.pl
> 
> "Roche III, Edward" <edward_roche at 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: touch_all_copy_barcodes.pl
Type: application/x-perl
Size: 586 bytes
Desc: not available
URL: </pipermail/koha-devel/attachments/20090629/682afc48/attachment-0003.bin>


More information about the Koha-devel mailing list