details:   /erp/stable/2.50/rev/00e1c11bb422
changeset: 9385:00e1c11bb422
user:      Egoitz Castillo <egoitz.castillo <at> openbravo.com>
date:      Fri Apr 29 11:07:33 2011 +0200
summary:   Fixed issue 16926. Put the cursor on qty field after select Product

details:   /erp/stable/2.50/rev/8f21eaa989d0
changeset: 9386:8f21eaa989d0
user:      Egoitz Castillo <egoitz.castillo <at> openbravo.com>
date:      Fri Apr 29 11:35:42 2011 +0200
summary:   Fixed Issue 15941. wrong validation on c_periodcontrol_log

diffstat:

 src-db/database/sourcedata/AD_VAL_RULE.xml                      |  2 +-
 src/org/openbravo/erpCommon/ad_callouts/SL_Invoice_Product.java |  6 ++++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 9819d4fc58e9 -r 8f21eaa989d0 src-db/database/sourcedata/AD_VAL_RULE.xml
--- a/src-db/database/sourcedata/AD_VAL_RULE.xml        Fri Apr 29 12:18:44 
2011 +0200
+++ b/src-db/database/sourcedata/AD_VAL_RULE.xml        Fri Apr 29 11:35:42 
2011 +0200
@@ -1653,7 +1653,7 @@
 <!--C9A72C5855CB4E29AFEB5DC17A5A9177-->  <NAME><![CDATA[C_Calendar and C_Year 
of an organization]]></NAME>
 <!--C9A72C5855CB4E29AFEB5DC17A5A9177-->  <DESCRIPTION><![CDATA[It ensures the 
calendar combobox shows always the calendar of the selected 
organization]]></DESCRIPTION>
 <!--C9A72C5855CB4E29AFEB5DC17A5A9177-->  <TYPE><![CDATA[S]]></TYPE>
-<!--C9A72C5855CB4E29AFEB5DC17A5A9177-->  <CODE><![CDATA[C_CALENDAR_ID IN 
(SELECT DISTINCT(C_CALENDAR_ID) FROM AD_ORG WHERE 
AD_ORG_ID=AD_ORG_GETCALENDAROWNER(@AD_ORG_ID@))]]></CODE>
+<!--C9A72C5855CB4E29AFEB5DC17A5A9177-->  <CODE><![CDATA[@C_CALENDAR_ID@ IN 
(SELECT DISTINCT(C_CALENDAR_ID) FROM AD_ORG WHERE 
AD_ORG_ID=AD_ORG_GETCALENDAROWNER(@AD_ORG_ID@))]]></CODE>
 <!--C9A72C5855CB4E29AFEB5DC17A5A9177-->  
<AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--C9A72C5855CB4E29AFEB5DC17A5A9177--></AD_VAL_RULE>
 
diff -r 9819d4fc58e9 -r 8f21eaa989d0 
src/org/openbravo/erpCommon/ad_callouts/SL_Invoice_Product.java
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_Invoice_Product.java   Fri Apr 
29 12:18:44 2011 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_Invoice_Product.java   Fri Apr 
29 11:35:42 2011 +0200
@@ -202,8 +202,10 @@
     } else
       resultado.append("null");
     resultado.append("\n),");
-    resultado.append("new Array(\"EXECUTE\", \"displayLogic();\")\n");
-
+    resultado.append("new Array(\"EXECUTE\", \"displayLogic();\"),\n");
+    resultado.append("new Array(\"CURSOR_FIELD\", \"inpqtyinvoiced\")\n");
+    if (!strHasSecondaryUOM.equals("0"))
+      resultado.append(", new Array(\"CURSOR_FIELD\", 
\"inpquantityorder\")\n");
     resultado.append(");");
     xmlDocument.setParameter("array", resultado.toString());
     xmlDocument.setParameter("frameName", "appFrame");

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to