ACQ support for two-step vandelay imports
authorBill Erickson <berick@esilibrary.com>
Wed, 2 May 2012 13:55:06 +0000 (09:55 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Thu, 30 Aug 2012 15:47:47 +0000 (11:47 -0400)
commit23bb2a43464704a13db9b5b37201a716588e2e5f
tree73298339326ef8746c79770ef59119edf1d6e2da
parentfdcab6cb9db557faa4a556d8306e87b6b2e80186
ACQ support for two-step vandelay imports

If a lineitm is loaded into a queue via ACQ+Vandelay and a later attempt
is made to load the record into the catalog via ACQ+Vandelay, the
attempt will fail, because ACQ+Vandelay treats all
not-yet-fully-imported lineitems as new to vandelay.  This change
inspects lineitems at vandelay processing time to determine if they are
already linked to a VL record or if a new one is needed.  It also
removes the requirement that a queue be provided when all records in
process are already linked to a VL record (which already lives in a
queue).

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm