Commit c92ef6c1 authored by mjadhav's avatar mjadhav

add item code and lot level validation for Hold inventory


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@96828 ce508802-f39f-4f6c-b175-0d175dae99d5
parent da75299c
...@@ -356,13 +356,13 @@ public class InvHoldIC extends ValidatorEJB implements InvHoldICLocal , InvHoldI ...@@ -356,13 +356,13 @@ public class InvHoldIC extends ValidatorEJB implements InvHoldICLocal , InvHoldI
errCode = null; errCode = null;
System.out.println(" itemCode =====> [" + itemCode + "]"); System.out.println(" itemCode =====> [" + itemCode + "]");
System.out.println("lockLevel :"+lockLevel); System.out.println("lockLevel :"+lockLevel);
/*if(itemCode == null && (lockLevel.equalsIgnoreCase("I") || lockLevel.equalsIgnoreCase("L"))) if(itemCode == null && (lockLevel.equalsIgnoreCase("I") || lockLevel.equalsIgnoreCase("L")))
{ {
errCode = "VMITEMBLK"; errCode = "VMITEMBLK";
errString = getErrorString( "item_code", errCode, userId ); errString = getErrorString( "item_code", errCode, userId );
System.out.println("item code cannot be blank!!!!!"); System.out.println("item code cannot be blank!!!!!");
break; break;
}*/ }
if( itemCode != null && itemCode.length() > 0 ) if( itemCode != null && itemCode.length() > 0 )
{ {
//Changed by Dharmesh on 09/08/11 [WM1ESUN004] to bind variable dynamically instead of statically.start //Changed by Dharmesh on 09/08/11 [WM1ESUN004] to bind variable dynamically instead of statically.start
......
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