From: Martin Helmling martin.helmling@octosoft.eu Date: Wed, 25 Sep 2019 14:57:50 +0000 (+0200) Subject: Lagerbuchungen mit Produktionsdokumenten anzeigen X-Git-Tag: kivitendo-mebil_0.1-0~9^2~614 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=1a98dbafd0a6f2c5bcb35badaeea6bcf5b0e84a4;p=kivitendo-erp.git Lagerbuchungen mit Produktionsdokumenten anzeigen Wie Lieferscheine und Aufträge werden nun auch Produktionsaufträge angezeigt. zu #11061 --- diff --git a/SL/Helper/Inventory.pm b/SL/Helper/Inventory.pm index 5fc15ea0e..804e17f9a 100644 --- a/SL/Helper/Inventory.pm +++ b/SL/Helper/Inventory.pm @@ -267,6 +267,7 @@ sub produce_assembly { my $bin = $params{bin} or Carp::croak("need target bin"); my $chargenumber = $params{chargenumber}; my $bestbefore = $params{bestbefore}; + my $oe_id = $params{oe_id}; my $comment = $params{comment} // ''; my $production_order_item = $params{production_order_item}; @@ -304,6 +305,7 @@ sub produce_assembly { trans_type => $trans_type_out, shippingdate => $shippingdate, employee => SL::DB::Manager::Employee->current, + oe_id => $oe_id, ); } @@ -324,6 +326,7 @@ sub produce_assembly { comment => $comment, prod => $production_order_item, employee => SL::DB::Manager::Employee->current, + oe_id => $oe_id, ); SL::DB->client->with_transaction(sub {