ACQ order record fetcher and uploader script collab/berick/acq-order-file-reader
authorBill Erickson <berick@esilibrary.com>
Mon, 23 Jul 2012 14:44:41 +0000 (10:44 -0400)
committerBill Erickson <berick@esilibrary.com>
Mon, 23 Jul 2012 17:58:00 +0000 (13:58 -0400)
commit601d207fc776de32cb8236bd779cbf437602265f
tree8e8c2f8ccb9d64f7a510cc2a61c620b06bebfa27
parentfc6469fcb532709e595e0746aeaa6ff2f2fa0beb
ACQ order record fetcher and uploader script

Some ACQ vendors support delivering MARC order record files directly
from their order system to an ILS via FTP.  (I've heard this called
"one-click" ordering in the past).  This commit includes a script to
seek out such order record files and pass them on to the Acquisitions
service for PO creation and potential activation.

The script supports a number of options, configured in opensrf.xml,
including which Vandelay (record import) options to use during record
import/merge/overlay.  See opensrf.xml.example for details.

Example:

./acq_order_reader.pl \
    --user admin \
    --password demo123 \
    -poll-interval 3 \
    --debug &

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/examples/opensrf.xml.example
Open-ILS/src/support-scripts/acq_order_reader.pl [new file with mode: 0755]