Commit 178cc9fc authored by rbhogale's avatar rbhogale

Changed by Rohan on 2-11-12 for dock validation


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@92136 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 552f51e6
......@@ -1881,6 +1881,39 @@ public class PickIssIC extends ValidatorEJB implements PickIssICLocal, PickIssIC
////////////////////////////////////
} //End of Case 3 Validation
case 4:
//Changed By Rohan on 2-11-12 to add validation if Suggested location blank.start
{
childList = parentList.item(0).getChildNodes();
noOfChilds = childList.getLength();
for ( int ctr = 0; ctr < noOfChilds; ctr++ )
{
Node childNode = childList.item( ctr );
if( childNode.getNodeType() != Node.ELEMENT_NODE )
{
continue;
}
String childNodeName = childNode.getNodeName();
if ( childNode != null && childNode.getFirstChild() != null )
{
columnValue = childNode.getFirstChild().getNodeValue();
}
if ( "loc_code__to".equalsIgnoreCase( childNodeName ) )
{
locCodeTo = genericUtility.getColumnValue( "loc_code__to", currFormDataDom );
if( locCodeTo == null || locCodeTo.trim().length() == 0 )
{
errList.add( "INVSUGLOC" );
errFields.add( childNodeName.toLowerCase() );
}
}
}
}
//Changed By Rohan on 2-11-12 to add validation if Suggested location blank.end
// {
// //for single item_code and multiple lot_no
// //checking for correct picking location
......
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