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:48:03 +0000 (11:48 -0400)
commit1edb729441393e32b85a33363313754da7f1713c
tree15230a014e8e09d93da8cad2dc3122703626bc62
parentba572b67a7b29c98c59bf10a996f505f59c99721
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