]> git.evergreen-ils.org Git - working/Evergreen.git/commit
Support Purchase Order name extraction from upload
authorBill Erickson <berick@esilibrary.com>
Tue, 17 Jul 2012 15:08:35 +0000 (11:08 -0400)
committerMike Rylander <mrylander@gmail.com>
Tue, 24 Jul 2012 16:40:00 +0000 (12:40 -0400)
commitb1c9f9c8b030060aa4df4ebc98c37cc05f5f6207
treed6f9cdf8bdff850c428e3ddac2912e9d9efdecc1
parent967a96332af446b7224e4c236b6a3a87f601b2a1
Support Purchase Order name extraction from upload

It's now possible to extract a purchase order name from a MARC order
record file received from a vendor.  If the provider has an attribute
definition (Admin -> Server Admin -> Acquisitions -> Providers ->
Attribute Definitions) configured with code "purchase_order" and the
order record contains a PO name at the configured MARC field/subfield,
the PO name will be used for the newly created purchase order.

Example attribute configuration:

code            => purchase_order
xpath           => //*[@tag="980"]/*[@code="p"]
Is Identifier   => false

*note 980p is arbitrary

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm