Commit 597f5c88 authored by tmahadi's avatar tmahadi

StockTransferConf source merge in Base Office by Azhar.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@103513 ce508802-f39f-4f6c-b175-0d175dae99d5
parent c885999e
......@@ -3506,7 +3506,7 @@ public class StockTransferConf extends ActionHandlerEJB implements StockTransfer
}
sql = " select quantity from qc_order_lots where item_code = ? and lot_no = ? and loc_code__issue = ? " +
/*sql = " select quantity from qc_order_lots where item_code = ? and lot_no = ? and loc_code__issue = ? " +
" and lot_sl=? and QORDER_NO = ?";
pstmt = conn.prepareStatement(sql);
......@@ -3542,7 +3542,7 @@ public class StockTransferConf extends ActionHandlerEJB implements StockTransfer
pstmt.close();
pstmt = null;
}
}*/
}else if(tranType.equalsIgnoreCase("R")){
System.out.println("tran type R::: ");
......@@ -3640,9 +3640,16 @@ public class StockTransferConf extends ActionHandlerEJB implements StockTransfer
pstmtInsert = null;
}
}
}
sql = "delete from qc_order_lots where QORDER_NO = ? and QUANTITY = 0 ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, qOrderNo);
pstmt.executeUpdate();
pstmt.close();
pstmt = null;
}
/* sqlQC = "select count(1) from qc_order "
+ " where site_code = ? "
+ " and item_code = ? "
......@@ -3862,7 +3869,7 @@ public class StockTransferConf extends ActionHandlerEJB implements StockTransfer
}
}*/
}
} catch (Exception e)
{
System.out.println("Exception " + e);
......
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