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

Indranil Das Gupta indradg at l2c2.co.in
Sun Jul 10 09:32:01 CEST 2022


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
Twitter : indradg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20220710/3b160a77/attachment.htm>


More information about the Koha-devel mailing list