Commit 8616d515 authored by sshinde's avatar sshinde

Comment SORDITM table updation logic.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@93819 ce508802-f39f-4f6c-b175-0d175dae99d5
parent f232149d
...@@ -5434,7 +5434,9 @@ public class PoRcpConf extends ActionHandlerEJB implements PoRcpConfLocal, PoRcp ...@@ -5434,7 +5434,9 @@ public class PoRcpConf extends ActionHandlerEJB implements PoRcpConfLocal, PoRcp
pstmtUpd = null; pstmtUpd = null;
} }
sql = "UPDATE SORDITEM SET QTY_DESP = QTY_DESP + ?, DATE_DESP = ? WHERE SALE_ORDER = ? AND LINE_NO = ? AND SITE_CODE = ? AND EXP_LEV = ?"; /* comment SORDITEM updation logic by sachin Dated 24-10-13 */
/*sql = "UPDATE SORDITEM SET QTY_DESP = QTY_DESP + ?, DATE_DESP = ? WHERE SALE_ORDER = ? AND LINE_NO = ? AND SITE_CODE = ? AND EXP_LEV = ?";
pstmtUpd = conn.prepareStatement(sql); pstmtUpd = conn.prepareStatement(sql);
pstmtUpd.setDouble(1, qtyDesp); pstmtUpd.setDouble(1, qtyDesp);
pstmtUpd.setTimestamp(2, this.getCurrtDate()); pstmtUpd.setTimestamp(2, this.getCurrtDate());
...@@ -5445,7 +5447,7 @@ public class PoRcpConf extends ActionHandlerEJB implements PoRcpConfLocal, PoRcp ...@@ -5445,7 +5447,7 @@ public class PoRcpConf extends ActionHandlerEJB implements PoRcpConfLocal, PoRcp
updCnt = pstmtUpd.executeUpdate(); updCnt = pstmtUpd.executeUpdate();
pstmtUpd.close(); pstmtUpd.close();
pstmtUpd = null; pstmtUpd = null;*/
sql = "UPDATE SORDITEM SET QTY_ALLOC = QTY_ALLOC - ? WHERE SALE_ORDER = ? AND LINE_NO = ? AND SITE_CODE = ? AND EXP_LEV = ? AND QTY_ALLOC > ? "; sql = "UPDATE SORDITEM SET QTY_ALLOC = QTY_ALLOC - ? WHERE SALE_ORDER = ? AND LINE_NO = ? AND SITE_CODE = ? AND EXP_LEV = ? AND QTY_ALLOC > ? ";
pstmtUpd = conn.prepareStatement(sql); pstmtUpd = conn.prepareStatement(sql);
......
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