From c9b8ad08645675a40f96bdeaa23b1d0e62d772e6 Mon Sep 17 00:00:00 2001 From: Philip Reetz Date: Mon, 11 Jun 2007 12:03:32 +0000 Subject: [PATCH] Der letzte Einkauspreis wurde nicht geladen und daher auch keine MArgenberechnung --- SL/IS.pm | 2 +- bin/mozilla/io.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SL/IS.pm b/SL/IS.pm index 84baa08cb..b47944bdc 100644 --- a/SL/IS.pm +++ b/SL/IS.pm @@ -1794,7 +1794,7 @@ sub retrieve_item { my $query = qq|SELECT p.id, p.partnumber, p.description, p.sellprice, - p.listprice, p.inventory_accno_id, + p.listprice, p.inventory_accno_id, p.lastcost, c1.accno AS inventory_accno, c1.new_chart_id AS inventory_new_chart, diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index c32509c1f..8eb6363cf 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -706,7 +706,7 @@ sub item_selected { map { $form->{"${_}_$i"} = $form->{"new_${_}_$j"} } qw(id partnumber description sellprice listprice inventory_accno income_accno expense_accno bin unit weight assembly taxaccounts - partsgroup formel longdescription not_discountable partnotes); + partsgroup formel longdescription not_discountable partnotes lastcost); if ($form->{"part_payment_id_$i"} ne "") { $form->{payment_id} = $form->{"part_payment_id_$i"}; } -- 2.20.1