details:   https://code.openbravo.com/erp/devel/pi/rev/eb5213763c45
changeset: 21419:eb5213763c45
user:      Pandeeswari Ramakrishnan <pandeeswari.ramakrishnan <at> 
openbravo.com>
date:      Wed Nov 06 11:41:27 2013 +0530
summary:   Fixes Issue 24972: Callout "SE_ProjectLine_Value" fails
When changing the product in Multiphase Project->Project Phase and Multiphase 
Project->Project Phase-> Project Task, the callout fails

diffstat:

 src/org/openbravo/erpCommon/ad_callouts/SE_ProjectLine_Value.java |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (39 lines):

diff -r dd09c73c704e -r eb5213763c45 
src/org/openbravo/erpCommon/ad_callouts/SE_ProjectLine_Value.java
--- a/src/org/openbravo/erpCommon/ad_callouts/SE_ProjectLine_Value.java Wed Nov 
06 00:03:12 2013 +0100
+++ b/src/org/openbravo/erpCommon/ad_callouts/SE_ProjectLine_Value.java Wed Nov 
06 11:41:27 2013 +0530
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SLU 
- * All portions are Copyright (C) 2001-2012 Openbravo SLU 
+ * All portions are Copyright (C) 2001-2013 Openbravo SLU 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -106,7 +106,7 @@
                 + (plannedprice.equals("") ? "\"\"" : plannedprice) + "),\n");
           } else {
             resultado.append("new Array(\"inppriceactual\", "
-                + (plannedprice.equals("") ? "\"\"" : plannedprice) + ")\n");
+                + (plannedprice.equals("") ? "\"\"" : plannedprice) + "),\n");
           }
         } else
           strMessage = "PriceNotFound";
@@ -115,7 +115,7 @@
         // Warning message: is not going to add in the pricelist.
         strMessage = OBMessageUtils.messageBD("PriceListNotUpdated");
       }
-      resultado.append("new Array(\"inpplannedprice\", " + strPriceStd + " 
),\n");
+      resultado.append("new Array(\"inpplannedprice\", " + strPriceStd + " 
)\n");
       if (!strProjCat.equals("S")) {
         if (strCBPartnerLocationID != null && 
!strCBPartnerLocationID.equals("")
             && strMWarehouseID != null && !strMWarehouseID.equals("")) {
@@ -123,7 +123,7 @@
           String strCTaxID = Tax.get(this, strmProductId, strDate, strADOrgID, 
strMWarehouseID,
               strCBPartnerLocationID, strCBPartnerLocationID, strProjectId, 
strIsSOTrx.equals("Y"));
           if (strCTaxID != null && !strCTaxID.equals("")) {
-            resultado.append("new Array(\"inpcTaxId\", \""
+            resultado.append(", new Array(\"inpcTaxId\", \""
                 + (strCTaxID.equals("") ? "\"\"" : strCTaxID) + "\"),\n");
           } else
             strMessage = "TaxNotFound";

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to