ACQ support for two-step vandelay imports collab/berick/acq-support-two-step-vandelay-import
authorBill Erickson <berick@esilibrary.com>
Wed, 2 May 2012 13:55:06 +0000 (09:55 -0400)
committerBill Erickson <berick@esilibrary.com>
Wed, 2 May 2012 14:34:56 +0000 (10:34 -0400)
commitf52f22545e7d43acdf7cec3fa5a98c0c31b70ec8
treeec3321ac22bb84da1ea78183955c17c0ec6409ab
parent430c235ea5f46150bbfc15fe3a0e08792f61ad25
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>
Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm