Commit 1c7ae535 authored by ssarkar's avatar ssarkar

Update by sumit on 01/04/13 source given by kunal


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@92921 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 3a4275a5
......@@ -763,7 +763,7 @@ public class PhysicalCountSchedule implements Schedule
{
System.out.println("Kunal Test");
sql = " select stock.loc_code,stock.item_code,stock.lot_no,stock.lot_sl , item.analysis_class,item.cycle_criteria,"
sql = " select stock.quantity,stock.loc_code,stock.item_code,stock.lot_no,stock.lot_sl , item.analysis_class,item.cycle_criteria,"
+" item.unit from stock ,item where stock.item_code = item.item_code and stock.site_code = ? and stock.loc_code = ? and stock.quantity > 0 ";
pstmt1 = conn.prepareStatement(sql);
pstmt1.setString(1, loginSiteCode);
......@@ -785,7 +785,7 @@ public class PhysicalCountSchedule implements Schedule
pstmtInsert.setString(5,rs1.getString("LOC_CODE"));
pstmtInsert.setString(6,rs1.getString("LOT_NO"));
pstmtInsert.setString(7,rs1.getString("LOT_SL"));
pstmtInsert.setDouble(8,0);
pstmtInsert.setDouble(8,rs1.getDouble("QUANTITY"));
pstmtInsert.setString(9,rs1.getString("ANALYSIS_CLASS"));
pstmtInsert.setInt(10,0);
pstmtInsert.setString(11,rs1.getString("CYCLE_CRITERIA"));
......
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