Commit d0169863 authored by pjain's avatar pjain

changed by sankara on 05/04/14 updated replissconf for wms live


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@94505 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 91fe4dd5
...@@ -918,6 +918,38 @@ public class ReplIssConf extends ActionHandlerEJB implements ReplIssConfRemote, ...@@ -918,6 +918,38 @@ public class ReplIssConf extends ActionHandlerEJB implements ReplIssConfRemote,
pstmtUpd.close(); pstmtUpd.close();
pstmtUpd = null; pstmtUpd = null;
}*/ }*/
//Changed by Pragyan 05-Apr-14 to un comment for stock-to-dock moving to dock location
if ("D".equals(orderType) || "H".equals(orderType) || "L".equals(orderType))
{
updateSql = "UPDATE SORDALLOC SET LOC_CODE = ? ,LOT_SL = ? "
+ " WHERE "
//"SALE_ORDER = ? AND LINE_NO = ? AND " +
+ " ITEM_CODE = ? "
+ " AND LOC_CODE = ? "
+ " AND LOT_NO = ? "
+ " AND LOT_SL = ? "
+ " AND QTY_ALLOC > 0";
pstmtUpd = conn.prepareStatement(updateSql);
pstmtUpd.setString(1, locCodeTo);
pstmtUpd.setString(2, lotSlNew); //added by Kunal on 11/09/12 as per S Manoharan sir intruction
//To Check whether th other saleorder exist with replenishmnet.start
pstmtUpd.setString(3, saleOrder);
pstmtUpd.setString(4, lineNoSord);
//To Check whether th other saleorder exist with replenishmnet.end
pstmtUpd.setString(3, itemCode);
pstmtUpd.setString(4, locCode);
pstmtUpd.setString(5, lotNo);
pstmtUpd.setString(6, lotSl);
updCnt = pstmtUpd.executeUpdate();
if(pstmtUpd != null)
{
pstmtUpd.close();
pstmtUpd = null;
}
}
// end 18/09/12 manoharan as the lot_sl also changed and allocation may be for case pick as well as active pick // end 18/09/12 manoharan as the lot_sl also changed and allocation may be for case pick as well as active pick
// end 16/10/11 manoharan update sordalloc // end 16/10/11 manoharan update sordalloc
......
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