Commit e0ef7da5 authored by rbhogale's avatar rbhogale

Changed by Rohan on 1-11-12 to add validation in case of stock to dock if wave cancle


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@92120 ce508802-f39f-4f6c-b175-0d175dae99d5
parent af530d6a
......@@ -501,11 +501,25 @@ public class ReplIssIC extends ValidatorEJB implements ReplIssICLocal, ReplIssIC
{
cancleStatus = checkNull(rs.getString("CANCEL"));
}
if("Y".equalsIgnoreCase(cancleStatus.trim()))
//Changed By rohan to add validation in case of stock to dock if wave cancle.start
if("D".equalsIgnoreCase(orderType) || "L".equalsIgnoreCase(orderType) || "H".equalsIgnoreCase(orderType))
{
errList.add( "REPLWAVCAN" );
errFields.add( childNodeName.toLowerCase() );
if("Y".equalsIgnoreCase(cancleStatus.trim()))
{
errList.add( "NTREPLSCAN" );
errFields.add( childNodeName.toLowerCase() );
}
}
else
{
//Changed By rohan to add validation in case of stock to dock if wave cancle.end
if("Y".equalsIgnoreCase(cancleStatus.trim()))
{
errList.add( "REPLWAVCAN" );
errFields.add( childNodeName.toLowerCase() );
}
//Changed By rohan to add validation in case of stock to dock if wave cancle
}
rs.close();
rs = null;
pstmt.close();
......
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