Purpose: To identify fees/fines that need to be transferred to Cornell's bursar office.
Story: As a staff member who processes transfers, I need to transfer outstanding student fees/fines to the bursar after they have been outstanding for 9 or more days.
To allow this module to be used by other institutions, the maximum number of days and the patron groups will be parameters that are passed to the module rather than hard-coded. For example, Cornell's parameters would be something like:
-parameterdays 9 -parameterpgs 'Undergraduate', 'Graduate', 'CU Undergraduate', 'CU Graduate'
(Note: The last two patron groups may not be migrated to FOLIO; not sure yet, but this is just an example.)
There are two new APIs for transferring fees/fines. They are https://s3.amazonaws.com/foliodocs/api/mod-feesfines/accounts.html (for one action) and https://s3.amazonaws.com/foliodocs/api/mod-feesfines/accounts-bulk.html (for bulk actions). Everything that happens when you trigger a transfer manually online will also happen when you trigger a transfer via the API (such as creating a transfer 'action' and generating a patron notice, assuming one has been set up (Cornell does not send notices for transfers, so we don't need to worry about them). The endpoints related to transfer are
(Note: Please contact Oleksandr Kurash of the Vega team for help with the APIs.)
- Given user has a status of 'Active' and a patron group that matches one of those passed as a parameter (parameterpgs)
- When fee/fine billed date > parameterdays ago AND outstanding fee/fine amount > 0.00
- Then call the API to transfer the fee/fine