Commit 53fb8a35 authored by dsawant's avatar dsawant

updated for loc code


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@95901 ce508802-f39f-4f6c-b175-0d175dae99d5
parent bf58ced6
...@@ -1039,7 +1039,7 @@ public class WorkOrdRcpDet extends ValidatorEJB implements WorkOrdRcpDetLocal, W ...@@ -1039,7 +1039,7 @@ public class WorkOrdRcpDet extends ValidatorEJB implements WorkOrdRcpDetLocal, W
System.out.println("tran id is"+tranid); System.out.println("tran id is"+tranid);
sql = "select work_order,item_code,lot_sl,lot_no,no_art,quantity,line_no,gross_weight, tare_weight,net_weight " sql = "select work_order,item_code,lot_sl,lot_no,no_art,quantity,line_no,loc_code,gross_weight, tare_weight,net_weight "
+ "from workorder_rcp_det where tran_id = ?"; + "from workorder_rcp_det where tran_id = ?";
pstmt=conn.prepareStatement(sql); pstmt=conn.prepareStatement(sql);
pstmt.setString(1,tranid); pstmt.setString(1,tranid);
...@@ -1055,10 +1055,11 @@ public class WorkOrdRcpDet extends ValidatorEJB implements WorkOrdRcpDetLocal, W ...@@ -1055,10 +1055,11 @@ public class WorkOrdRcpDet extends ValidatorEJB implements WorkOrdRcpDetLocal, W
noOfArt = rs.getDouble(5); noOfArt = rs.getDouble(5);
quantity = rs.getDouble(6); quantity = rs.getDouble(6);
lineNo = rs.getInt(7); lineNo = rs.getInt(7);
locCode = rs.getString(8) == null ? "":rs.getString(8);
grossWeight = rs.getDouble("gross_weight"); grossWeight = rs.getDouble("gross_weight");
netWeight = rs.getDouble("net_weight"); netWeight = rs.getDouble("net_weight");
tareWeight = rs.getDouble("tare_weight"); tareWeight = rs.getDouble("tare_weight");
/*sql = "select gross_weight,net_weight from item where item_code = ?"; /*sql = "select gross_weight,net_weight from item where item_code = ?";
......
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