From 4ad1d8bbc150b061272c93eec2bc81ebbeb93c91 Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Fri, 13 May 2011 09:29:42 +0200 Subject: [PATCH] 0000799: function void_work_order misses void_bank_trans --- manufacturing/includes/db/work_orders_db.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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); -- 2.30.2