Commit 7fdeff67 authored by kmandhre's avatar kmandhre

temporary comment code of quantity allocate from invalloc_trace


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@93879 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 29955964
...@@ -108,6 +108,8 @@ public class StockTransferPos extends ValidatorEJB implements StockTransferPosLo ...@@ -108,6 +108,8 @@ public class StockTransferPos extends ValidatorEJB implements StockTransferPosLo
{ {
quantity = "0.000"; quantity = "0.000";
} }
//temporary comment code by kunal on 16/NOV/13
/*
//added by kunal on 06/NOV/13 //added by kunal on 06/NOV/13
sql = "select ref_ser,ref_id ,trim(ref_line) as ref_line, sum(alloc_qty) from invalloc_trace where " sql = "select ref_ser,ref_id ,trim(ref_line) as ref_line, sum(alloc_qty) from invalloc_trace where "
+" site_code = ? and loc_code = ? and item_code = ? and lot_no = ? and lot_sl = ? " +" site_code = ? and loc_code = ? and item_code = ? and lot_no = ? and lot_sl = ? "
...@@ -140,6 +142,7 @@ public class StockTransferPos extends ValidatorEJB implements StockTransferPosLo ...@@ -140,6 +142,7 @@ public class StockTransferPos extends ValidatorEJB implements StockTransferPosLo
System.out.println("pendingQty="+pendingQty); System.out.println("pendingQty="+pendingQty);
if(pendingQty > 0) if(pendingQty > 0)
{ {
*/
//added by kunal on 06/NOV/13 END //added by kunal on 06/NOV/13 END
hashMap.put("tran_date", new java.sql.Date(System.currentTimeMillis())); hashMap.put("tran_date", new java.sql.Date(System.currentTimeMillis()));
hashMap.put("ref_ser",tranSer); hashMap.put("ref_ser",tranSer);
...@@ -150,8 +153,9 @@ public class StockTransferPos extends ValidatorEJB implements StockTransferPosLo ...@@ -150,8 +153,9 @@ public class StockTransferPos extends ValidatorEJB implements StockTransferPosLo
hashMap.put("loc_code",locCode); hashMap.put("loc_code",locCode);
hashMap.put("lot_no",lotNo); hashMap.put("lot_no",lotNo);
hashMap.put("lot_sl",lotSl); hashMap.put("lot_sl",lotSl);
//hashMap.put("alloc_qty", new Double(quantity.trim().length() == 0?"0":quantity)); hashMap.put("alloc_qty", new Double(quantity.trim().length() == 0?"0":quantity));
hashMap.put("alloc_qty", new Double(pendingQty));//changed by kunal on 06/NOV/13
//hashMap.put("alloc_qty", new Double(pendingQty));//changed by kunal on 06/NOV/13
hashMap.put("chg_win","W_STOCK_TRANSFER_MULTI"); hashMap.put("chg_win","W_STOCK_TRANSFER_MULTI");
hashMap.put("chg_user", GenericUtility.getInstance().getValueFromXTRA_PARAMS(xtraParams, "loginCode")); hashMap.put("chg_user", GenericUtility.getInstance().getValueFromXTRA_PARAMS(xtraParams, "loginCode"));
hashMap.put("chg_term", GenericUtility.getInstance().getValueFromXTRA_PARAMS(xtraParams, "termId")); hashMap.put("chg_term", GenericUtility.getInstance().getValueFromXTRA_PARAMS(xtraParams, "termId"));
...@@ -161,7 +165,7 @@ public class StockTransferPos extends ValidatorEJB implements StockTransferPosLo ...@@ -161,7 +165,7 @@ public class StockTransferPos extends ValidatorEJB implements StockTransferPosLo
{ {
System.out.println("distStkUpd.UpdAllocTrace(HashMap, Connection) : Sucessuful!"); System.out.println("distStkUpd.UpdAllocTrace(HashMap, Connection) : Sucessuful!");
} }
} //}
}//end if }//end if
}//end if }//end if
}//end try }//end try
......
...@@ -395,6 +395,7 @@ public class StockTransferConf extends ActionHandlerEJB implements StockTransfer ...@@ -395,6 +395,7 @@ public class StockTransferConf extends ActionHandlerEJB implements StockTransfer
// end 16/10/11 manoharan hold_qty added // end 16/10/11 manoharan hold_qty added
//Changed by Rohan on 19-08-13 for getting atual rate //Changed by Rohan on 19-08-13 for getting atual rate
actualRate = rsStock.getDouble("actual_rate"); actualRate = rsStock.getDouble("actual_rate");
/* temporary comment code by kunal on 16/NOV/13
//added by kunal on 25/oct/13 //added by kunal on 25/oct/13
...@@ -465,6 +466,8 @@ public class StockTransferConf extends ActionHandlerEJB implements StockTransfer ...@@ -465,6 +466,8 @@ public class StockTransferConf extends ActionHandlerEJB implements StockTransfer
continue; continue;
} }
//added by kunal on 25/oct/13 end //added by kunal on 25/oct/13 end
*temporary comment code by kunal on 16/NOV/13 end
*/
} }
rsStock.close(); rsStock = null; rsStock.close(); rsStock = null;
......
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