]> git.evergreen-ils.org Git - Evergreen.git/commit
ACQ API for setting the lineitem order identifier
authorBill Erickson <berick@esilibrary.com>
Mon, 21 Jan 2013 19:51:48 +0000 (14:51 -0500)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Wed, 13 Mar 2013 19:12:13 +0000 (15:12 -0400)
commit0008979452c1f80ff31bb286043423270e9a8030
treeb2e02e1b1e62658aa902258c85fce1a5ba974bd3
parent78c557188c0da4dd93be367d95c4f02d36a68394
ACQ API for setting the lineitem order identifier

API: open-ils.acq.lineitem.order_identifier.set

Given an existing lineitem_attr (typically a marc_attr), this will
create a matching local_attr to store the name and value and mark
the attr as the order_ident.  Any existing local_attr marked as
order_ident is removed.  When necessary, the value (isbn, issn, upc) is
added to the record first to create the marc attribute.  If the lineitem
is linked to a bib record and the user has the correct permissions, any
new data will also be applied to the bib record.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm