Collections user balance API / batch file output collections-user-balance-info-batch-api
authorBill Erickson <berick@esilibrary.com>
Thu, 12 Apr 2012 15:44:44 +0000 (11:44 -0400)
committerBill Erickson <berick@esilibrary.com>
Thu, 12 Apr 2012 15:44:44 +0000 (11:44 -0400)
commit9441877c328b1756ff158389b12794cae86fe645
treef0e28f43909bb554465669d85447e6bf1a8f9b8d
parent9ba6cd4b02d01aa4bd75e937771f8233f468a0d2
Collections user balance API / batch file output

New API open-ils.collections.user_balance_summary.generate,
which generates summary information on patron balance owed for all open
transactions that occurred at the requested location.  Optional flag
supports including per-xact summary information as well.  The summary
information is written to an XML file and placed in a protected, shared
web directory for download after the file has been generated.

During creation, the output file will have a .tmp suffix, allowing
clients to poll for file completion.

Includes a new opensrf.xml app_setting for open-ils.collections to
specifiy the batch file directory as well as a sample Apache config in
eg_vhost.conf

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/examples/apache/eg_vhost.conf
Open-ILS/examples/opensrf.xml.example
Open-ILS/src/perlmods/lib/OpenILS/Application/Collections.pm