Bug 34868: Add ability for SIP2 to distinguish missing item from other lost types
authorKyle M Hall <kyle@bywatersolutions.com>
Thu, 21 Sep 2023 15:44:49 +0000 (11:44 -0400)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 10 Nov 2023 13:59:38 +0000 (10:59 -0300)
commit5788a0f2626a715a4d9c245685b335b4038b3e32
tree0cf18fa6a5bfdb2308b14368f9f002444d65dab4
parented6fd4d161877dec1161b0adbd71ee6112d31cd2
Bug 34868: Add ability for SIP2 to distinguish missing item from other lost types

The SIP circulation status specifies that a 12 means an item is lost, and 13 means an item is missing. In Koha, missing items are simply a type of lost item so we never send a 13. This is an important distinction for some SIP based inventory tools. It would be good to be able to specify when lost status means "missing" at the SIP login level.

Test Plan:
1) Apply this patch
2) prove t/db_dependent/SIP/Transaction.t

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
C4/SIP/ILS/Item.pm
C4/SIP/Sip/MsgType.pm
etc/SIPconfig.xml
t/db_dependent/SIP/Transaction.t