New API should parse circulation rules and prevent deletion of the policy if it is referenced by circulation rules. When it is safe to delete the policy, it needs to use DELETE endpoint of a corresponding REST API and delete the policy:
Loan policy - mod-circulation-storage
Request policy - mod-circulation-storage
Patron notice policy - mod-circulation-storage
Overdue fine policy - mod-feesfines
Lost item fee policy - mod-feesfines
Environment
None
Potential Workaround
None
Checklist
hide
Activity
Show:
Stephanie Buck February 18, 2025 at 2:00 PM
, does this impact all institutions? What versions of FOLIO does this need to happen in?
Create a new API for “safe“ policy deletion.
New API should parse circulation rules and prevent deletion of the policy if it is referenced by circulation rules. When it is safe to delete the policy, it needs to use DELETE endpoint of a corresponding REST API and delete the policy:
Loan policy - mod-circulation-storage
Request policy - mod-circulation-storage
Patron notice policy - mod-circulation-storage
Overdue fine policy - mod-feesfines
Lost item fee policy - mod-feesfines