archiving stat cats with aged circulation
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Evergreen | Status tracked in Main | |||||
Main |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Wishlist Item
We have a real need to retain patron stat cats and copy stat cats for statistical purposes. I have attached an sql statement that sets up a trigger to capture copy stat cat and patron stat cat information when transactions are deleted and moved to the aged circulation table. I set up an archiving mechanism for the copy stat cats because copy stat cats may be deleted changed over time and having it linked to a production table could cause statistical info to be lost. In looking at course reserves, for instance, we have libraries who may be interested in using a copy stat cat like anthro101 which might be used for 2 semesters and then removed. Under the current design, getting circ statistics would be lost once the stat cat is separated from the copy and deleted.
Found an error in my attached code. Attached is the corrected statement.