Commit d6e4dfdc authored by ngadkari's avatar ngadkari

String Quantity commented and it get through Double

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@198994 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 6f927a0c
...@@ -127,7 +127,8 @@ public class SReturnPrs extends ValidatorEJB implements SReturnPrsLocal, SReturn ...@@ -127,7 +127,8 @@ public class SReturnPrs extends ValidatorEJB implements SReturnPrsLocal, SReturn
rs = stmt.executeQuery(sqlStr); rs = stmt.executeQuery(sqlStr);
if(rs.next()) if(rs.next())
{ {
qtyStr = rs.getString(1); //qtyStr = rs.getString(1);//quantity string commented and double added by nandkumar gadkari on 30/03/19
quantity=rs.getDouble(1);
itemCode = rs.getString("item_code"); itemCode = rs.getString("item_code");
locCode = rs.getString("loc_code"); locCode = rs.getString("loc_code");
lotNo = rs.getString("lot_no"); lotNo = rs.getString("lot_no");
...@@ -151,7 +152,7 @@ public class SReturnPrs extends ValidatorEJB implements SReturnPrsLocal, SReturn ...@@ -151,7 +152,7 @@ public class SReturnPrs extends ValidatorEJB implements SReturnPrsLocal, SReturn
//Changed by wasim on 19-May-2017 for checking ret_rep_flag if it is R(Return) present in database then not allow to deallocate [END] //Changed by wasim on 19-May-2017 for checking ret_rep_flag if it is R(Return) present in database then not allow to deallocate [END]
lineNo =" " + lineNo; lineNo =" " + lineNo;
System.out.println("Line No : lineNo := "+lineNo); System.out.println("Line No : lineNo := "+lineNo);
quantity = Double.parseDouble(qtyStr); // quantity = Double.parseDouble(qtyStr); commented by nandkumar gadkari on 30/03/19
/* /*
strAllocate.put("tran_date",tranDate); strAllocate.put("tran_date",tranDate);
strAllocate.put("ref_ser","S-RET"); strAllocate.put("ref_ser","S-RET");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment