projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0000799: function void_work_order misses void_bank_trans
[fa-stable.git]
/
manufacturing
/
includes
/
db
/
work_orders_db.inc
diff --git
a/manufacturing/includes/db/work_orders_db.inc
b/manufacturing/includes/db/work_orders_db.inc
index 3609fe05cb4a9e88d3508bbe8a4cb96ca44758c0..2aed7c1912876680a39523f78f77e181dc342497 100644
(file)
--- 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 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);
// 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 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);
// clear the requirements units received
void_wo_requirements($woid);