[Koha-devel] Can we set arbitrary due date via SIP2 end-point

dcook at prosentient.com.au dcook at prosentient.com.au
Mon Jul 11 03:32:39 CEST 2022


Alas, I’d have to dig through the code to figure it out. I think Bywater do a fair bit with SIP so Kyle might know. 

 

David Cook

Senior Software Engineer

Prosentient Systems

Suite 7.03

6a Glen St

Milsons Point NSW 2061

Australia

 

Office: 02 9212 0899

Online: 02 8005 0595

 

From: Koha-devel <koha-devel-bounces at lists.koha-community.org> On Behalf Of Indranil Das Gupta
Sent: Sunday, 10 July 2022 5:32 PM
To: Koha-devel <koha-devel at lists.koha-community.org>
Subject: [Koha-devel] Can we set arbitrary due date via SIP2 end-point

 

Hi all,

 

The case: Koha 21.05.x on Debian 10.12 (standard package installation). Circ rules are defined, 15 days per checkout. SIP2 is also working. The RFID vendor wants to provide options of "1 day" / "15 days" / "365 days" to any itemtype from the SC RFID kiosk (based on the fact that from Koha's checkout page we can set arbitrary due dates overriding the calendar and issuelength rules.

 

This is what I have tried so far from the server CLI telnetting to port 8023:

INPUT - 11NY20220710    02583620230710    000000AOMAIN|AA1|AB22918|AC|CH|

 

RESPONSE - 121NNY20220710    124122AOMAIN|AA1|AB22918|AJECOLOGICAL METHODS|AH20220725    235900|

As can be seen from AH in response it is being set at 15 days (instead of 365 days as supplied with "nb due date" in the CHECKOUT msg)

 

Looking at the SIP2 code i see $overriden_duedate is going in as undef

Am I missing something OR is it how it is atm?

thanks in advance

 

Indranil Das Gupta
L2C2 Technologies

Phone : +91-98300-20971

WWW : http://www.l2c2.co.in
Blog    : http://blog.l2c2.co.in
IRC     : indradg on irc://irc.freenode.net <http://irc.freenode.net> 
Twitter : indradg

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20220711/0d0d6cde/attachment.htm>


More information about the Koha-devel mailing list