ucdavis / Peaks

https://getpeaks.ucdavis.edu/
MIT License
7 stars 2 forks source link

Equipment Record Mass-Update Enhancement #1361

Closed UCDFeedbackBot closed 3 months ago

UCDFeedbackBot commented 3 months ago

It can be common to queue equipment disposals to Surplus in large batches. However, noting that an item is disposed of in PEAKS is a manual task that must be done by modifying each individual equipment record. Currently, there is no way to perform any sort of mass update on existing equipment records in PEAKS. This can be a hassle when one sends, say, 50+ items to Aggie Surplus.

I propose that a mass-update feature be added, which would allow equipment managers to update multiple equipment records simultaneously. The proposed feature would allow users with the Equip Master or Departmental Admin roles to upload a .csv with rows containing equipment serial numbers and disposal dates; PEAKS would then iterate through the rows to modify each equipment record in the following manner:

Revoke any existing assignment Add the tag value "Disposed" Do something like adding "{newline} Sent to Surplus on %date%" to the Notes field

Ideally, the third item would not add a new string to the Notes field, but instead add a new Attribute entry with the “Disposal Date” key (see my previous enhancement request and date value pulled from the .csv.

Thanks much for considering this!

Votes: 1 Author: jsylvest Voters: jsylvest

UCDFeedbackBot commented 3 months ago

Updated this issue a little to fix a comment problem

Author: jsylvest

UCDFeedbackBot commented 3 months ago

Updated this issue a little to fix a comment problem

Author: jsylvest