From: Joe Hunt Date: Fri, 13 May 2011 07:29:42 +0000 (+0200) Subject: 0000799: function void_work_order misses void_bank_trans X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=4ad1d8bbc150b061272c93eec2bc81ebbeb93c91;p=fa-stable.git 0000799: function void_work_order misses void_bank_trans --- diff --git a/manufacturing/includes/db/work_orders_db.inc b/manufacturing/includes/db/work_orders_db.inc index 3609fe05..2aed7c19 100644 --- a/manufacturing/includes/db/work_orders_db.inc +++ b/manufacturing/includes/db/work_orders_db.inc @@ -421,8 +421,8 @@ function void_work_order($woid) // void all related stock moves void_stock_move(ST_WORKORDER, $woid); - // void any related gl trans - void_gl_trans(ST_WORKORDER, $woid, true); + // void any related bank/gl trans + void_bank_trans(ST_WORKORDER, $woid, true); // clear the requirements units received void_wo_requirements($woid); @@ -480,8 +480,8 @@ function void_work_order($woid) // void all related stock moves void_stock_move(ST_WORKORDER, $woid); - // void any related gl trans - void_gl_trans(ST_WORKORDER, $woid, true); + // void any related bank/gl trans + void_bank_trans(ST_WORKORDER, $woid, true); // clear the requirements units received void_wo_requirements($woid);