Commit 2dd30c3d authored by ppatro's avatar ppatro

master pack,deselect and sql


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@92548 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 71e8fb1b
......@@ -420,6 +420,22 @@ public class DockTranPos extends ValidatorEJB implements DockTranPosLocal, DockT
pstmt.close();pstmt = null;
//Changed by sumit on 30/08/12 for updating wave_status start.
//Changed by sumit on 21/01/13 for updating wave_status for M-PACK task start
System.out.println(" ** pick_type ["+pickType+"]");
if( "M".equalsIgnoreCase(pickType))
{
updateSql =" UPDATE WAVE_TASK_DET SET STATUS = 'Y', WAVE_STATUS = 'V' " +
" WHERE REF_ID IN (SELECT TRAN_ID FROM PACK_HDR WHERE PICK_ORDER = ?)";
pstmt = conn.prepareStatement(updateSql);
pstmt.setString(1, pickOrder);
updCnt = pstmt.executeUpdate();
if( updCnt > 0 )
{
System.out.println( updCnt + " rows updated successfully" );
}
pstmt.close();pstmt = null;
}
//Changed by sumit on 21/01/13 for updating wave_status for M-PACK task end
updCnt= 0;
updCnt = waveStatusUpdate(pickOrder, conn);
if( updCnt > 0)
......
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