DCB-928 Supplier-side cancellation
Key Notes
Re-requesting is not possible in FOLIO currently, so this will not be available to 62 of 81 libraries until EBSCO make API changes..
Iteration 1: Detect Supplier Cancellation
Extend tracking to check for cancelled lending request. Exit if not.
If found, handle
change DCB supplier request local_request_status to CANCELLED
change DCB patron request status to NOT_SUPPLIED_CURRENT_SUPPLIER
Iteration 2: Terminate Supplier Cancelled Request
Add hook new transition NOT_SUPPLIED_CURRENT_SUPPLIER to
transition patron request at borrower to CANCELLED
transition DCB patron request status to NO_ITEMS_AVAILABLE_AT_ANY_AGENCY (which is currently a terminal state that does not clean up records)
NOTIFICATION TO PATRON AUTOMATICALLY HANDLED?
Iteration 3: Re-resolve request
Add condition to NOT_SUPPLIED_CURRENT_SUPPLIER to handle re-resolution, excluding cancelling agency
If alternative item is selectable, then
Iteration 3.1
delete existing DCB supplier request … can no longer update supplier
create new DCB supplier request
place request at new supplier for selected item
Iteration 3.2
update request at borrower with new fulfilment details (not supported in FOLIO)
If no alternative item is selectable, complete Terminate Supplier Cancelled Request
NOTE: work that is needed by EBSCO in mod-dcb, locate or other modules to support FOLIO borrower request updates
Iteration 4: Cancel terminated supplier requests
Transition DCB patron requests in state NO_ITEMS_AVAILABLE_AT_ANY_AGENCY to CANCELLED (which progresses to COMPLETED)
Iteration 5: Add logging for request traceability
NOTE: This could happen in parallel to other iteration
Add supplier request details to audit log after resolution
Operated as a Community Resource by the Open Library Foundation