Acq: Line item batch update API method
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Tue, 12 Feb 2013 19:40:27 +0000 (14:40 -0500)
committerBill Erickson <berick@esilibrary.com>
Wed, 13 Mar 2013 20:01:39 +0000 (16:01 -0400)
commitb448ee300ee1d259e9512e0505056e0c3c68e7e0
treef88c8a345358693bbc39657b428b12498177b208
parentf6ac572987d68c443e16998aeb633990c37e389b
Acq: Line item batch update API method

This new method gives you a server-side way to make batch updates to
all the copies of a target set of lineitems.  Permissions are checked
for each target object.  The method returns OpenILS::Event instances
for all kinds of permission problems and other errors.  IDs of lineitems
affected are streamed back to the client in the successful case.

This also expands distribution formulae to contain more (optional)
fields so that they can be used to make updates to copies on all the
same fields that you can just specify individually.  IDL and interface
changes to support the new fields are included.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/examples/fm_IDL.xml
Open-ILS/src/extras/ils_events.xml
Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Lineitem.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Lineitem/BatchUpdate.pm [new file with mode: 0644]
Open-ILS/src/sql/Pg/200.schema.acq.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.acq.distribution_formula.expansion.sql [new file with mode: 0644]
Open-ILS/src/templates/conify/global/acq/distribution_formula.tt2
Open-ILS/web/js/ui/default/conify/global/acq/distribution_formula.js