Commit 9753e5f7 authored by manohar's avatar manohar

sundry code from, to checking from customer master commented as the sundry...

sundry code from, to checking from customer master commented as the sundry type may be other than customer


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@24927 ce508802-f39f-4f6c-b175-0d175dae99d5
parent a7ed000a
......@@ -377,7 +377,7 @@ public class TaxFormRecoMulti extends ProcessEJB implements TaxFormRecoMultiLoca
errString = itmDBAccessEJB.getErrorString("","SUNDCFRNUL","","",conn);
return errString;
}
else if(!(("0".equalsIgnoreCase(sundCodeFrom))||("ZZ".equalsIgnoreCase(sundCodeFrom))))
/*else if(!(("0".equalsIgnoreCase(sundCodeFrom))||("ZZ".equalsIgnoreCase(sundCodeFrom))))
{
sql = "select count(1) from customer where cust_code ='" + sundCodeFrom + "'";
pstmt = conn.prepareStatement(sql);
......@@ -396,14 +396,14 @@ public class TaxFormRecoMulti extends ProcessEJB implements TaxFormRecoMultiLoca
errString = itmDBAccessEJB.getErrorString("","SUNDCFRINV","","",conn);
return errString;
}
}
}*/
if (sundCodeTo == null || sundCodeTo.trim().length() == 0)
{
errCode = "SUNDCTONUL";
errString = itmDBAccessEJB.getErrorString("","SUNDCTONUL","","",conn);
return errString;
}
else if(!(("0".equalsIgnoreCase(sundCodeTo))||("ZZ".equalsIgnoreCase(sundCodeTo))))
/*else if(!(("0".equalsIgnoreCase(sundCodeTo))||("ZZ".equalsIgnoreCase(sundCodeTo))))
{
sql = "select count(1) from customer where cust_code ='" + sundCodeTo + "'";
pstmt = conn.prepareStatement(sql);
......@@ -422,7 +422,7 @@ public class TaxFormRecoMulti extends ProcessEJB implements TaxFormRecoMultiLoca
errString = itmDBAccessEJB.getErrorString("","SUNDCTOINV","","",conn);
return errString;
}
}
}*/
if (taxCodeFrom == null || taxCodeFrom.trim().length() == 0)
{
......
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