[Koha-bugs] [Bug 22784] Archiving Purchase Suggestions
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jan 7 16:27:26 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22784
ByWater Sandboxes <bws.sandboxes at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #95538|0 |1
is obsolete| |
--- Comment #28 from ByWater Sandboxes <bws.sandboxes at gmail.com> ---
Created attachment 96905
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=96905&action=edit
Bug 22784: Add a cronjob to archive suggestions given age or status criteria
In order to deal automatically with suggestions that need to be
archived, this cronjob will help to add the "archived" flag following
their age or status.
Test plan:
- Execute the script with the --help parameter and read the documentation.
- Does it make sense?
- Use it without the --confirm flag and try several combination
For instance you will want to archive suggestions that have been
rejected for more than a week:
perl misc/cronjobs/archive_purchase_suggestions.pl
--age-date-field=rejecteddate --age=weeks:1
or even suggestion that have been suggested for more than a year and
have a ORDERED status:
perl misc/cronjobs/archive_purchase_suggestions.pl
--age-date-field=suggesteddate --age=years:1 --status=ORDERED
- Use it with the --confirm flag and make sure the suggestions have been
archived.
Sponsored-by: BULAC - http://www.bulac.fr/
Signed-off-by: Séverine QUEUNE <severine.queune at bulac.fr>
Signed-off-by: Kelly McElligott <kelly at bywatersolutions.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list