details: /erp/devel/pi/rev/693e335d4298
changeset: 7431:693e335d4298
user: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
date: Wed May 26 12:57:16 2010 +0200
summary: Fixed bug 13325: The application does not work properly depending
Format and PostgreSQL configuration
diffstat:
src/org/openbravo/erpCommon/ad_callouts/SL_Order_Amt.java | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (35 lines):
diff -r 0d1b757d94f9 -r 693e335d4298
src/org/openbravo/erpCommon/ad_callouts/SL_Order_Amt.java
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_Order_Amt.java Wed May 26
12:38:37 2010 +0530
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_Order_Amt.java Wed May 26
12:57:16 2010 +0200
@@ -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-2009 Openbravo SLU
+ * All portions are Copyright (C) 2001-200 Openbravo SLU
* All Rights Reserved.
* Contributor(s): ______________________________________.
************************************************************************
@@ -38,11 +38,13 @@
private static final BigDecimal ZERO = new BigDecimal(0.0);
+ @Override
public void init(ServletConfig config) {
super.init(config);
boolHist = false;
}
+ @Override
public void doPost(HttpServletRequest request, HttpServletResponse response)
throws IOException,
ServletException {
VariablesSecureApp vars = new VariablesSecureApp(request);
@@ -63,7 +65,7 @@
String strTabId = vars.getStringParameter("inpTabId");
String strQty = vars.getNumericParameter("inpqtyordered");
String cancelPriceAd = vars.getStringParameter("inpcancelpricead");
- String strLineNetAmt = vars.getStringParameter("inplinenetamt");
+ String strLineNetAmt = vars.getNumericParameter("inplinenetamt");
try {
printPage(response, vars, strChanged, strQtyOrdered, strPriceActual,
strDiscount,
------------------------------------------------------------------------------
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits