From: Joe Hunt Date: Mon, 18 Aug 2008 10:53:11 +0000 (+0000) Subject: Bug [0000038] Voiding a cost update doesn't void even if it says so. There will now... X-Git-Tag: v2.4.2~19^2~1865 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=f7d1f5b42d002953b431e140b3625cb5b9549007;p=fa-stable.git Bug [0000038] Voiding a cost update doesn't void even if it says so. There will now be an error msg saying that this can not be done. --- diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 3a4e7c63..6f47bdbc 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -19,6 +19,11 @@ Legend: ! -> Note $ -> Affected files +18-Aug-2008 Joe Hunt +# Bug [0000038] Voiding a cost update doesn't void even if it says so. There will now be an error msg saying + that this can not be done. +$ /admin/db/voiding_db.inc + 18-Aug-2008 Joe Hunt # Bug [0000037] Price diff and deliveries between po receive and supp invoice. $ /purchase/includes/db/grn_db.inc diff --git a/admin/db/voiding_db.inc b/admin/db/voiding_db.inc index b90194ff..1b74929c 100644 --- a/admin/db/voiding_db.inc +++ b/admin/db/voiding_db.inc @@ -79,6 +79,7 @@ function void_transaction($type, $type_no, $date_, $memo_) break; case systypes::cost_update() : // it's a stock cost update + return false; break; }