ACQ support for two-step vandelay imports user/kmlussier/acq-support-two-step-vandelay-import-signoff
authorBill Erickson <berick@esilibrary.com>
Wed, 2 May 2012 13:55:06 +0000 (09:55 -0400)
committerKathy Lussier <klussier@masslnc.org>
Thu, 2 Aug 2012 15:22:45 +0000 (11:22 -0400)
commitfe901d4b34aa914949f2aa2662da21ac7aaa5953
treeb1d3aac67c0e4f245aa32299c04818553e3681a4
parentca2b77886d873c6ba103d77ad157a9174ea0382b
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