[open-ils-commits] r12702 - trunk/Open-ILS/src/perlmods/OpenILS/Application/Acq (erickson)

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Mar 27 14:36:53 EDT 2009


Author: erickson
Date: 2009-03-27 14:36:49 -0400 (Fri, 27 Mar 2009)
New Revision: 12702

Modified:
   trunk/Open-ILS/src/perlmods/OpenILS/Application/Acq/Financials.pm
Log:
set the provider on the lineitem at po create time.  respond after lineitem update

Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Acq/Financials.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Acq/Financials.pm	2009-03-27 14:33:16 UTC (rev 12701)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Acq/Financials.pm	2009-03-27 18:36:49 UTC (rev 12702)
@@ -579,10 +579,12 @@
             ]) or return $e->die_event;
 
             # point the lineitems at the new PO
+            $li->provider($po->provider);
             $li->purchase_order($po->id);
             $li->editor($e->requestor->id);
             $li->edit_time('now');
             $e->update_acq_lineitem($li) or return $e->die_event;
+            $respond->(action => 'update_lineitem');
         
             # create the bibs/volumes/copies in the Evergreen database
             if($$args{create_assets}) {



More information about the open-ils-commits mailing list