Commit 89fff0d3 authored by ppatro's avatar ppatro

Chnaged by Pragyan WMS for revport preview and deleting the sordalloc


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@92903 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 6d5ff54a
...@@ -1007,6 +1007,25 @@ public class PickIssConf extends ActionHandlerEJB implements PickIssConfLocal, P ...@@ -1007,6 +1007,25 @@ public class PickIssConf extends ActionHandlerEJB implements PickIssConfLocal, P
System.out.println("ret string :"+retString); System.out.println("ret string :"+retString);
} }
/*Added by Ashish Sonawane on 11-SEP-12 for calling consolidate to doc after status of PICK_ORD_HDR gets close [START]*/ /*Added by Ashish Sonawane on 11-SEP-12 for calling consolidate to doc after status of PICK_ORD_HDR gets close [START]*/
//Changed by sumit on 08/12/12 deleting record of sordalloc if aty_alloc is <= 0 start
if( retString == null || retString.trim().length() == 0)
{
sql = " DELETE FROM SORDALLOC WHERE SALE_ORDER = ? AND QTY_ALLOC <= 0 ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, saleOrder);
updCnt = pstmt.executeUpdate();
if( updCnt > 0 )
{
System.out.println(" record deleted successfully "+updCnt);
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
}
//Changed by sumit on 08/12/12 deleting record of sordalloc if aty_alloc is <= 0 end
} }
}// end of changes kunal }// end of changes kunal
catch( Exception e ) catch( Exception e )
......
...@@ -14451,6 +14451,11 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo ...@@ -14451,6 +14451,11 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
//"<value>"+ptcnList.get(i)+"</value>" + //"<value>"+ptcnList.get(i)+"</value>" +
"<value>"+waveId+"</value>" + "<value>"+waveId+"</value>" +
"</Argument>" + "</Argument>" +
"<Argument id=\"p_rep_mod\" name=\"p_rep_mod\">" +
"<argType>java.lang.String</argType>" +
//"<value>"+ptcnList.get(i)+"</value>" +
"<value>"+waveMode+"</value>" +
"</Argument>" +
"<Argument id=\"x_path\" name=\"x_path\">" + "<Argument id=\"x_path\" name=\"x_path\">" +
"<argType>java.lang.String</argType>" + "<argType>java.lang.String</argType>" +
"<value>/DocumentRoot/wave_task_main</value>" + "<value>/DocumentRoot/wave_task_main</value>" +
......
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