details:   /erp/stable/2.50/rev/8b560d9f0ec9
changeset: 9437:8b560d9f0ec9
user:      Javier Etxarri <javier.echarri <at> openbravo.com>
date:      Thu May 19 10:20:19 2011 +0200
summary:   Fixes issue 16974: it is possible select a Withholding inactive

diffstat:

 src-db/database/sourcedata/AD_VAL_RULE.xml |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 2ea674a2e961 -r 8b560d9f0ec9 src-db/database/sourcedata/AD_VAL_RULE.xml
--- a/src-db/database/sourcedata/AD_VAL_RULE.xml        Wed May 18 18:44:30 
2011 +0200
+++ b/src-db/database/sourcedata/AD_VAL_RULE.xml        Thu May 19 10:20:19 
2011 +0200
@@ -1288,7 +1288,7 @@
               FROM C_BP_Withholding w , C_BPartner b
               WHERE w.C_BPartner_ID=b.C_BPartner_ID
               AND w.C_Withholding_ID=C_Withholding.C_Withholding_ID
-              AND W.C_BPartner_ID=@C_BPartner_ID@)]]></CODE>
+              AND W.C_BPartner_ID=@C_BPartner_ID@  AND 
w.isactive='Y')]]></CODE>
 <!--324A9767D9B94A8A8154DEB3ACA6E063-->  
<AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--324A9767D9B94A8A8154DEB3ACA6E063--></AD_VAL_RULE>
 

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to