[open-ils-commits] [GIT] Evergreen ILS branch master updated. 8b47e5eca74b1cbc78ad20db074136601648b5ca

Evergreen Git git at git.evergreen-ils.org
Mon Mar 11 16:30:48 EDT 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  8b47e5eca74b1cbc78ad20db074136601648b5ca (commit)
      from  6a48cea6545fcae474b95581eca2ef0b6c4572ad (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 8b47e5eca74b1cbc78ad20db074136601648b5ca
Author: Bill Erickson <berick at esilibrary.com>
Date:   Wed Nov 21 10:12:39 2012 -0500

    extract PO name from picklist upload
    
    If a PO name is encoded in a lineitem (via provider attribute
    definition), extract that PO name when creating a new purchase order
    from lineitems that were previously only linked to a selection list.
    This allows staff to create selection lists first, then orders second,
    while retaining the encoded purchase order name.
    
    Signed-off-by: Bill Erickson <berick at esilibrary.com>
    Signed-off-by: Mike Rylander <mrylander at gmail.com>

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm
index 8ec6538..e47e398 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm
@@ -1789,6 +1789,10 @@ sub create_purchase_order_api {
         }
     }
 
+    # see if we have a PO name encoded in any of our lineitems
+    my $evt = extract_po_name($mgr, $po, $li_ids);
+    return $evt if $evt;
+
     # commit before starting the asset creation
     $e->xact_commit;
 

-----------------------------------------------------------------------

Summary of changes:
 .../perlmods/lib/OpenILS/Application/Acq/Order.pm  |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list