]> git.evergreen-ils.org Git - working/Evergreen.git/commit
serials: API for safe deleting subscriptions
authorJason Etheridge <jason@equinoxinitiative.org>
Mon, 22 May 2017 21:28:17 +0000 (17:28 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Tue, 30 May 2017 16:06:49 +0000 (12:06 -0400)
commited33305cdc49ad75fb74b4a470a5df1c2544a6f6
tree4fb470f42649f8cefb58e1084aa29282bcd0cada
parent312eb5bbf805d7050aad367e8c8ce17d0b343bdf
serials: API for safe deleting subscriptions

and distributions and streams.

open-ils.serial.subscription.safe_delete
open-ils.serial.distribution.safe_delete
open-ils.serial.stream.safe_delete
open-ils.serial.subscription.safe_delete.dry_run
open-ils.serial.distribution.safe_delete.dry_run
open-ils.serial.stream.safe_delete.dry_run

Won't delete if there are attached serial.item's with a status other
than Expected, or if there are any attached non-deleted serial.unit's.

dry_run variants behave exactly the same except they don't actually
delete anything.

Signed-off-by: Jason Etheridge <jason@equinoxinitiative.org>
Open-ILS/src/extras/ils_events.xml
Open-ILS/src/perlmods/lib/OpenILS/Application/Serial.pm