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=1a155b93f7cd9b3b28dbb9521bb54731d6718a90;p=textcart.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 3609fe0..2aed7c1 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);