[Koha-bugs] [Bug 36431] New: SIP2: Checkin does not show difference between WasTransfered and NeedsTransfer

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 26 15:41:02 CET 2024


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36431

            Bug ID: 36431
           Summary: SIP2: Checkin does not show difference between
                    WasTransfered and NeedsTransfer
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: SIP2
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: m.de.rooy at rijksmuseum.nl
        QA Contact: testopia at bugs.koha-community.org

If you enable AutomaticItemReturn, SIP will trigger an eventual transfer to
home branch when checking in. If disabled, it will not but the station receives
an alert to notify the user.

But the SIP response for both cases is actually the same. The code shows this:

    if ($messages->{NeedsTransfer}) {
        $self->{item}->destination_loc($messages->{NeedsTransfer});
        $self->alert_type('04');            # send to other branch
    }
    if ($messages->{WasTransfered}) { # set into transit so tell unit
        $self->{item}->destination_loc($item->homebranch);
        $self->alert_type('04');            # send to other branch
    }

The destination location will be the same in both cases. And the alert number
is the same too. How could the SIP station 'know' that the transfer is done
already or still needs to?

Both SIP responses contains AO holding branch, AQ destination, CT destination
and CV 04.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list