Commit 2b3f5c6a authored by msingh's avatar msingh

Changed by Manish on 13/09/16


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@103338 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 8e960686
...@@ -454,7 +454,8 @@ public class AdjReceiptIC extends ValidatorEJB implements AdjReceiptICRemote,Adj ...@@ -454,7 +454,8 @@ public class AdjReceiptIC extends ValidatorEJB implements AdjReceiptICRemote,Adj
errList.add(errCode); errList.add(errCode);
errFields.add(childNodeName.toLowerCase()); errFields.add(childNodeName.toLowerCase());
} }
if(!itemSer.equalsIgnoreCase(itemSerMst)) // if(!itemSer.equalsIgnoreCase(itemSerMst))
if(!itemSer.trim().equals(itemSerMst.trim()))
{ {
sql = "select oth_series from itemser where item_ser = ?"; sql = "select oth_series from itemser where item_ser = ?";
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
...@@ -588,7 +589,9 @@ public class AdjReceiptIC extends ValidatorEJB implements AdjReceiptICRemote,Adj ...@@ -588,7 +589,9 @@ public class AdjReceiptIC extends ValidatorEJB implements AdjReceiptICRemote,Adj
else if (childNodeName.equalsIgnoreCase("lot_no")) else if (childNodeName.equalsIgnoreCase("lot_no"))
{ {
lotNo=checkNull(genericUtility.getColumnValue("lot_no",dom)); lotNo=checkNull(genericUtility.getColumnValue("lot_no",dom));
if(lotNo==null || lotNo.trim().length()==0) // Change by Manish on 13/09/16 for DDUK
//if(lotNo==null || lotNo.trim().length()==0)
if(lotNo==null || lotNo.length()==0)
{ {
System.out.println("lot number site code validatioon fire"); System.out.println("lot number site code validatioon fire");
errCode = "VTLOTEMPTY"; errCode = "VTLOTEMPTY";
...@@ -600,7 +603,9 @@ public class AdjReceiptIC extends ValidatorEJB implements AdjReceiptICRemote,Adj ...@@ -600,7 +603,9 @@ public class AdjReceiptIC extends ValidatorEJB implements AdjReceiptICRemote,Adj
else if (childNodeName.equalsIgnoreCase("lot_sl")) else if (childNodeName.equalsIgnoreCase("lot_sl"))
{ {
lotSl=checkNull(genericUtility.getColumnValue("lot_sl",dom)); lotSl=checkNull(genericUtility.getColumnValue("lot_sl",dom));
if(lotSl==null || lotSl.trim().length()==0 ) // Change by Manish on 13/09/16 for DDUK
//if(lotSl==null || lotSl.trim().length()==0 )
if(lotSl==null || lotSl.length()==0 )
{ {
System.out.println("lot sl number site code validatioon fire"); System.out.println("lot sl number site code validatioon fire");
errCode = "VMLOTSL1"; errCode = "VMLOTSL1";
......
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