Commit 53d0952c authored by kshinde's avatar kshinde

duplicate Batch no and Dcno error code logic changed.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@104898 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 04715f32
......@@ -792,7 +792,7 @@ public class PoReceiptIc extends ValidatorEJB implements PoReceiptIcLocal,PoRec
+ " 00:00:00.0");
}
tranId = genericUtility.getColumnValue("tran_id", dom);
if( tranId!=null || tranId.trim().length() > 0 )
if(tranId==null)
{
tranId = "@@@@";
}
......@@ -3130,7 +3130,7 @@ public class PoReceiptIc extends ValidatorEJB implements PoReceiptIcLocal,PoRec
errFields.add(childNodeName.toLowerCase());
}
if(lsbatchno== null || lsbatchno.trim().length() == 0)
if(lsbatchno!=null || lsbatchno.trim().length()>0)
{
lslineno = " " + lslineno;
lslineno = lslineno.substring(lslineno.length() - 3, lslineno.length());
......@@ -6009,7 +6009,7 @@ public class PoReceiptIc extends ValidatorEJB implements PoReceiptIcLocal,PoRec
}
else
{
valueXmlString.append("<lot_no protect =\"0\">").append("<![CDATA["+lotNo+"]]>")append("</lot_no>");
valueXmlString.append("<lot_no protect =\"0\">").append("<![CDATA["+lotNo+"]]>").append("</lot_no>");
}
}
else if("Y".equalsIgnoreCase(lsautogeneratelotno))
......
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