Commit a56990a4 authored by agaikwad's avatar agaikwad

Request_id-W16ASUN022

Added not nullfound condition for apr_loc_udf_inputs disparam value


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@101511 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 780a2b2a
......@@ -4037,8 +4037,9 @@ public class PoRcpConf extends ActionHandlerEJB implements PoRcpConfLocal, PoRcp
else if (("U".equalsIgnoreCase(apprLocLogic)) && apprLocUdf != null && apprLocUdf.trim().length() > 0)
{
System.out.println("ApprLocationUdfinput Before"+ apprLocUdfInput);
if(apprLocUdfInput != null && apprLocUdfInput.trim().length() > 0)
if(apprLocUdfInput != null && apprLocUdfInput.trim().length() > 0 && !(apprLocUdfInput.equalsIgnoreCase("NULLFOUND")))
{
System.out.println("ApprLocationUdfinput"+ apprLocUdfInput);
String lotNoIssueOut = "";
......@@ -4086,7 +4087,7 @@ public class PoRcpConf extends ActionHandlerEJB implements PoRcpConfLocal, PoRcp
}
else
{
//sql = "select " + apprLocUdf + "('" + locCode + "','" + SiteCode1 + "','" + ItemCode1 + "') from dual";
sql = "select " + apprLocUdf + "('" + locCode + "') from dual";
pstmt2 = conn.prepareStatement(sql);
rs2 = pstmt2.executeQuery();
......
......@@ -3327,7 +3327,7 @@ public class StockTransferConf extends ActionHandlerEJB implements StockTransfer
System.out.println("ApprLocationUdfinput#######"+ apprLocUdfInput);
System.out.println("locUdf#######"+ locUdf);
}
if (apprLocUdfInput != null && apprLocUdfInput.trim().length() > 0)
if (apprLocUdfInput != null && apprLocUdfInput.trim().length() > 0 && !(apprLocUdfInput.equalsIgnoreCase("NULLFOUND")))
{
System.out.println("ApprLocationUdfinput"+ apprLocUdfInput);
String lotNoIssueOut = "";
......
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