Commit 21d73659 authored by dsawant's avatar dsawant

updated


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@94566 ce508802-f39f-4f6c-b175-0d175dae99d5
parent d34e91bf
...@@ -1392,7 +1392,7 @@ public class StockValAdjTran extends ValidatorEJB implements StockValAdjTranLoca ...@@ -1392,7 +1392,7 @@ public class StockValAdjTran extends ValidatorEJB implements StockValAdjTranLoca
int count=0; int count=0;
double oldRate=0; double oldRate=0;
try{ try{
sql = "select rate from stock where site_code = ? and item_code = ? and loc_code = ? and lot_no = ? and lot_sl = ?"; sql = "select rate from stock where site_code = ? and item_code = ? and loc_code = ? and lot_no = ? and lot_sl = ? and exp_date >= sysdate";
pstmt=conn.prepareStatement(sql); pstmt=conn.prepareStatement(sql);
pstmt.setString(1,siteCode); pstmt.setString(1,siteCode);
pstmt.setString(2,itemCode); pstmt.setString(2,itemCode);
......
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