Batch checkin in 18.05 koha
Hi everyone! How to batch checkin in 18.05 koha? Best regards -- *Muhammad Arshad Iqbal* Assistant Librarian at Academic Directorate, National University of Science and Technology (NUST) Islamabad. Phone number:051-90851371 Cell no.+923444900809
Arshad, You could prepare an offline circulation file (.koc file) and import from that. The file format is described at https://wiki.koha-community.org/wiki/Koha_offline_circulation_file_format Hope this helps, Chris Brown On Wed, Oct 31, 2018 at 4:16 AM Arshad Iqbal <arshadsanwal@gmail.com> wrote:
Hi everyone! How to batch checkin in 18.05 koha? Best regards
--
*Muhammad Arshad Iqbal* Assistant Librarian at Academic Directorate, National University of Science and Technology (NUST) Islamabad. Phone number:051-90851371 Cell no.+923444900809 _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
Without offline plugin not possible On Oct 31, 2018 11:51 AM, "Chris Brown" <chris@stayawake.co.uk> wrote:
Arshad,
You could prepare an offline circulation file (.koc file) and import from that.
The file format is described at https://wiki.koha-community.org/wiki/Koha_ offline_circulation_file_format
Hope this helps,
Chris Brown
On Wed, Oct 31, 2018 at 4:16 AM Arshad Iqbal <arshadsanwal@gmail.com> wrote:
Hi everyone! How to batch checkin in 18.05 koha? Best regards
--
*Muhammad Arshad Iqbal* Assistant Librarian at Academic Directorate, National University of Science and Technology (NUST) Islamabad. Phone number:051-90851371 Cell no.+923444900809 _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
Arshad, Well, I guess it depends what you're starting from. For example if you have a file containing a list of the barcodes of the books you want to check in it would be easy to write a little script (awk / python / bash -- whatever you're comfortable with) to produce a .koc file with a list of "return" actions in it then upload that into Koha. No plugins required. Best Regards, Chris Brown On Wed, Oct 31, 2018 at 7:38 AM Arshad Iqbal <arshadsanwal@gmail.com> wrote:
Without offline plugin not possible On Oct 31, 2018 11:51 AM, "Chris Brown" <chris@stayawake.co.uk> wrote:
Arshad,
You could prepare an offline circulation file (.koc file) and import from that.
The file format is described at https://wiki.koha-community.org/wiki/Koha_offline_circulation_file_format
Hope this helps,
Chris Brown
On Wed, Oct 31, 2018 at 4:16 AM Arshad Iqbal <arshadsanwal@gmail.com> wrote:
Hi everyone! How to batch checkin in 18.05 koha? Best regards
--
*Muhammad Arshad Iqbal* Assistant Librarian at Academic Directorate, National University of Science and Technology (NUST) Islamabad. Phone number:051-90851371 Cell no.+923444900809 _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
Without offline plugin not possible
Koha has no built-in tool for batch checkins like there is for batch checkouts. There is an open bug report for this feature, but as far as I know no one is working on it: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19814 -- Owen -- Web Developer Athens County Public Libraries https://www.myacpl.org
This feature can be added in koha coming version.. On Oct 31, 2018 4:58 PM, "Owen Leonard" <oleonard@myacpl.org> wrote:
Without offline plugin not possible
Koha has no built-in tool for batch checkins like there is for batch
checkouts.
There is an open bug report for this feature, but as far as I know no one is working on it:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19814
-- Owen
-- Web Developer Athens County Public Libraries https://www.myacpl.org _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
On Wed, Oct 31, 2018 at 08:27:08PM +0500, Arshad Iqbal wrote:
This feature can be added in koha coming version.. On Oct 31, 2018 4:58 PM, "Owen Leonard" <oleonard@myacpl.org> wrote:
Without offline plugin not possible
Koha has no built-in tool for batch checkins like there is for batch
checkouts.
There is an open bug report for this feature, but as far as I know no one is working on it:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19814
If you're feeling adventurous, you might try doing this from the command line using a simple script; something like this (totally untested!): # ----------------------------------------------------------------------- #!/usr/bin/perl use strict; use warnings; use C4::Context; use C4::Circulation; while (<STDIN>) { chomp; s/\r$//; my $result = ProcessOfflineReturn({ 'barcode' => $_ }); if ($result =~ /success/i) { print STDERR "OK $_\n"; } else { print STDERR "ERR $_ $result\n"; } } # ----------------------------------------------------------------------- Save it as /foo/bar/checkin.pl (just for the sake of example), make it executable (chmod a+x /foo/bar/checkin.pl) and invoke it like this: koha-shell -c /foo/bar/checkin.pl < /foo/my/file.txt Where /foo/my/file.txt is just a bunch of item barcodes, one per line. The ProcessOfflineReturn() function takes care of everything for you -- look up the item given its barcode, find the patron who checked it out, mark it returned, etc. It's defined in the file /usr/share/koha/lib/C4/Circulation.pm around line 3726 if you want to see exactly what it does. (I find the Koha source code remarkably easy to read and generally have no trouble figuring out how to use it from a Perl script, though it helps that I've been programming in Perl for a long, long time.) Paul. -- Paul Hoffman <paul@flo.org> Software Services Manager Fenway Library Organization 550 Huntington Ave. Boston, MA 02115 (617) 442-2384
Your suggestion is looking tricky.. On Oct 31, 2018 9:50 PM, "Paul Hoffman" <paul@flo.org> wrote:
On Wed, Oct 31, 2018 at 08:27:08PM +0500, Arshad Iqbal wrote:
This feature can be added in koha coming version.. On Oct 31, 2018 4:58 PM, "Owen Leonard" <oleonard@myacpl.org> wrote:
Without offline plugin not possible
Koha has no built-in tool for batch checkins like there is for batch
checkouts.
There is an open bug report for this feature, but as far as I know no one is working on it:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19814
If you're feeling adventurous, you might try doing this from the command
using a simple script; something like this (totally untested!):
# ----------------------------------------------------------------------- #!/usr/bin/perl
use strict; use warnings;
use C4::Context; use C4::Circulation;
while (<STDIN>) { chomp; s/\r$//; my $result = ProcessOfflineReturn({ 'barcode' => $_ }); if ($result =~ /success/i) { print STDERR "OK $_\n"; } else { print STDERR "ERR $_ $result\n"; } } # -----------------------------------------------------------------------
Save it as /foo/bar/checkin.pl (just for the sake of example), make it executable (chmod a+x /foo/bar/checkin.pl) and invoke it like this:
koha-shell -c /foo/bar/checkin.pl < /foo/my/file.txt
Where /foo/my/file.txt is just a bunch of item barcodes, one per line.
The ProcessOfflineReturn() function takes care of everything for you -- look up the item given its barcode, find the patron who checked it out, mark it returned, etc. It's defined in the file /usr/share/koha/lib/C4/Circulation.pm around line 3726 if you want to see exactly what it does. (I find the Koha source code remarkably easy to read and generally have no trouble figuring out how to use it from a Perl script, though it helps that I've been
line programming in
Perl for a long, long time.)
Paul.
-- Paul Hoffman <paul@flo.org> Software Services Manager Fenway Library Organization 550 Huntington Ave. Boston, MA 02115 (617) 442-2384
Actually we have configured RFID with koha, in our self checkout and checkin workstation have a feature of batch checkout and batch checkin, in current release koha give only option of batch checkout. I need help in how to enable batch check in koha???? On Nov 1, 2018 5:16 AM, "Arshad Iqbal" <arshadsanwal@gmail.com> wrote:
Your suggestion is looking tricky..
On Oct 31, 2018 9:50 PM, "Paul Hoffman" <paul@flo.org> wrote:
On Wed, Oct 31, 2018 at 08:27:08PM +0500, Arshad Iqbal wrote:
This feature can be added in koha coming version.. On Oct 31, 2018 4:58 PM, "Owen Leonard" <oleonard@myacpl.org> wrote:
Without offline plugin not possible
Koha has no built-in tool for batch checkins like there is for batch
checkouts.
There is an open bug report for this feature, but as far as I know
no
one is working on it:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19814
If you're feeling adventurous, you might try doing this from the command line using a simple script; something like this (totally untested!):
#
#!/usr/bin/perl
use strict; use warnings;
use C4::Context; use C4::Circulation;
while (<STDIN>) { chomp; s/\r$//; my $result = ProcessOfflineReturn({ 'barcode' => $_ }); if ($result =~ /success/i) { print STDERR "OK $_\n"; } else { print STDERR "ERR $_ $result\n"; } } #
Save it as /foo/bar/checkin.pl (just for the sake of example), make it executable (chmod a+x /foo/bar/checkin.pl) and invoke it like this:
koha-shell -c /foo/bar/checkin.pl < /foo/my/file.txt
Where /foo/my/file.txt is just a bunch of item barcodes, one per line.
The ProcessOfflineReturn() function takes care of everything for you --
the item given its barcode, find the patron who checked it out, mark it returned, etc. It's defined in the file /usr/share/koha/lib/C4/Circulation.pm around line 3726 if you want to see exactly what it does. (I find the Koha source code remarkably easy to read and generally have no trouble figuring out how to use it from a Perl script, though it helps that I've been
look up programming in
Perl for a long, long time.)
Paul.
-- Paul Hoffman <paul@flo.org> Software Services Manager Fenway Library Organization 550 Huntington Ave. Boston, MA 02115 (617) 442-2384
I need help in how to enable batch check in koha????
Koha has no built-in tool for batch checkins like there is for batch checkouts. If you want a batch checkin feature you have to build it yourself or pay someone else to build it for you: https://koha-community.org/support/paid-support/ -- Owen -- Web Developer Athens County Public Libraries https://www.myacpl.org
There is a bug in Bugzilla for this, if you would like to contribute/add your voice. https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19814 <https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19814> There is also a quote on Bywater’s Crowdsourced Development page: http://devs.bywatersolutions.com/2018/01/05/2018-01-05-batch-checkin-module/ <http://devs.bywatersolutions.com/2018/01/05/2018-01-05-batch-checkin-module/> Marti Fuerst Systems Librarian Huntsville-Madison County Public Library 915 Monroe St, Huntsville, AL 35801 http://hmcpl.org/ — mfuerst@hmcpl.org
On Oct 31, 2018, at 11:50 AM, Paul Hoffman <paul@flo.org> wrote:
On Wed, Oct 31, 2018 at 08:27:08PM +0500, Arshad Iqbal wrote:
This feature can be added in koha coming version.. On Oct 31, 2018 4:58 PM, "Owen Leonard" <oleonard@myacpl.org> wrote:
Without offline plugin not possible
Koha has no built-in tool for batch checkins like there is for batch
checkouts.
There is an open bug report for this feature, but as far as I know no one is working on it:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19814
If you're feeling adventurous, you might try doing this from the command line using a simple script; something like this (totally untested!):
# ----------------------------------------------------------------------- #!/usr/bin/perl
use strict; use warnings;
use C4::Context; use C4::Circulation;
while (<STDIN>) { chomp; s/\r$//; my $result = ProcessOfflineReturn({ 'barcode' => $_ }); if ($result =~ /success/i) { print STDERR "OK $_\n"; } else { print STDERR "ERR $_ $result\n"; } } # -----------------------------------------------------------------------
Save it as /foo/bar/checkin.pl (just for the sake of example), make it executable (chmod a+x /foo/bar/checkin.pl) and invoke it like this:
koha-shell -c /foo/bar/checkin.pl < /foo/my/file.txt
Where /foo/my/file.txt is just a bunch of item barcodes, one per line.
The ProcessOfflineReturn() function takes care of everything for you -- look up the item given its barcode, find the patron who checked it out, mark it returned, etc. It's defined in the file /usr/share/koha/lib/C4/Circulation.pm around line 3726 if you want to see exactly what it does. (I find the Koha source code remarkably easy to read and generally have no trouble figuring out how to use it from a Perl script, though it helps that I've been programming in Perl for a long, long time.)
Paul.
-- Paul Hoffman <paul@flo.org> Software Services Manager Fenway Library Organization 550 Huntington Ave. Boston, MA 02115 (617) 442-2384 _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
participants (5)
-
Arshad Iqbal -
Chris Brown -
Martha Fuerst -
Owen Leonard -
Paul Hoffman