From: erickson Date: Fri, 27 Mar 2009 18:36:49 +0000 (+0000) Subject: set the provider on the lineitem at po create time. respond after lineitem update X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=894b30fc842e430fc275e77a76760efe0a3ed516;p=evergreen%2Fmasslnc.git set the provider on the lineitem at po create time. respond after lineitem update git-svn-id: svn://svn.open-ils.org/ILS/trunk@12702 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Acq/Financials.pm b/Open-ILS/src/perlmods/OpenILS/Application/Acq/Financials.pm index 77f7810a78..c7e0a07eb4 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Acq/Financials.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Acq/Financials.pm @@ -579,10 +579,12 @@ sub create_purchase_order { ]) 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}) {