Commit 4b5d044d authored by vvengurlekar's avatar vvengurlekar

PoReceiptIc.java - removed trim for lot_sl and lot_no field


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@182602 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 0a27eafc
......@@ -1190,7 +1190,8 @@ public class PoReceiptIc extends ValidatorEJB implements PoReceiptIcLocal,PoRec
if (childNodeName.equalsIgnoreCase("lot_sl"))
{
String lotSl=(genericUtility.getColumnValue("lot_sl",dom));
//removed trim by varsha v for allowing space in field
//removed trim function by Varsha V for allowing space
//if(lotSl == null || lotSl.trim().length() == 0)
if(lotSl==null || lotSl.length()==0)
{
errCode = "VTLOTSL";
......@@ -2544,7 +2545,9 @@ public class PoReceiptIc extends ValidatorEJB implements PoReceiptIcLocal,PoRec
System.out.println("lotnoType"+lotnoType);
if(!"A".equalsIgnoreCase(lotnoType))
{
if(lotno == null || lotno.trim().length() == 0)
//removed trim function by Varsha V for allowing space
//if(lotno == null || lotno.trim().length() == 0)
if(lotno == null || lotno.length() == 0)
{
itemcode = genericUtility.getColumnValue("item_code",dom);
sql="select stk_opt from item where item_code = ?";
......@@ -9298,7 +9301,9 @@ public class PoReceiptIc extends ValidatorEJB implements PoReceiptIcLocal,PoRec
{
System.out.println("aslotno["+aslotno+"]");
System.out.println("aslotno length["+aslotno.trim().length()+"]");
if(aslotno== null || aslotno.trim().length()==0)
//removed by Varsha V for allowing space in lot no.
//if(aslotno== null || aslotno.trim().length()==0)
if(aslotno== null || aslotno.length()==0)
{
aslotno=" ";
System.out.println("aslotno null ["+aslotno+"]");
......
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