From: Joe Date: Tue, 12 Aug 2014 21:46:20 +0000 (+0200) Subject: Wrong parameter when saving Item Adjustment X-Git-Tag: 2.3-final~122 X-Git-Url: https://delta.frontaccounting.com/gitweb/?p=fa-stable.git;a=commitdiff_plain;h=47ec8984593ac1d72e3eb6300a8475b012044e21 Wrong parameter when saving Item Adjustment --- diff --git a/inventory/includes/db/items_adjust_db.inc b/inventory/includes/db/items_adjust_db.inc index f9ecd6f3..6e95c257 100644 --- a/inventory/includes/db/items_adjust_db.inc +++ b/inventory/includes/db/items_adjust_db.inc @@ -130,7 +130,7 @@ function add_stock_adjustment_item($adj_id, $stock_id, $location, $date_, $type, update_average_material_cost(null, $stock_id, $standard_cost, $quantity, $date_); add_stock_move(ST_INVADJUST, $stock_id, $adj_id, $location, - $date_, $reference, $quantity, $standard_cost, $type); + $date_, $reference, $quantity, $standard_cost); if ($standard_cost > 0) {