Commit d66fb160 authored by manohar's avatar manohar

stock key taken from detail table instead of current dom


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@93833 ce508802-f39f-4f6c-b175-0d175dae99d5
parent ee8f8cf0
......@@ -104,10 +104,15 @@ public class RcptBackFlushPrs extends ValidatorEJB implements RcptBackFlushPrsL
lotSl = GenericUtility.getInstance().getColumnValueFromNode("lot_sl",currDetail);
if (updateStatus.equalsIgnoreCase("E") || updateStatus.equalsIgnoreCase("D"))
{
sql = "SELECT QUANTITY FROM RECEIPT_BACKFLUSH_DET WHERE TRAN_ID = '"+tranId+"' AND LINE_NO = '"+lineNo + "'";
// 30/10/13 manoharan take stock key from saved detail instead of from current dom
sql = "SELECT ITEM_CODE, LOC_CODE,LOT_NO,LOT_SL,QUANTITY FROM RECEIPT_BACKFLUSH_DET WHERE TRAN_ID = '"+tranId+"' AND LINE_NO = '"+lineNo + "'";
rs = stmt.executeQuery(sql);
if (rs.next())
{
itemCode = rs.getString("ITEM_CODE");
locCode = rs.getString("LOC_CODE");
lotNo = rs.getString("LOT_NO");
lotSl = rs.getString("LOT_SL");
quantityStr = rs.getString("QUANTITY");
}
}
......
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