Deleting a line item should delete its empty bib record
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Right now we have a library setting for "Delete bib if all copies are deleted via Acquisitions lineitem cancellation." But we don't have a setting or functionality to delete a bib if the lineitem is just deleted.
To Test:
1. Upload a file via Load MARC Order Records where it will create a bib record that doesn't currently exist on your new PO.
2. Note the bib ID on one of the newly created bibs linked to a line item
3. Delete the line items on the purchase order
4. Pull up the bib by its ID. It is not deleted and is empty.
I propose that either (1) a similar library setting be created to delete bib if line item is deleted or (2) just have the bib delete (if there are no holdings) happen as part of the line item deletion process. I'd prefer option #2, but wasn't sure if there was a workflow where you *wouldn't* want that to happen. If that flexibility *is* needed, maybe the line item delete/bib delete process could reference the "Retain empty bib records" library setting instead of creating a whole new one.
Changed in evergreen: | |
status: | New → Confirmed |