Commit 887fd630 authored by msharma's avatar msharma

issue resolve during XL data creation


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@95221 ce508802-f39f-4f6c-b175-0d175dae99d5
parent b8c052b1
...@@ -154,6 +154,7 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe ...@@ -154,6 +154,7 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe
ArrayList IPD_DIST = new ArrayList(); ArrayList IPD_DIST = new ArrayList();
String wnName1=""; // chandrakant on 29/4/14 String wnName1=""; // chandrakant on 29/4/14
boolean isWizard=false;
HashMap<String, ArrayList<String>> altitemMap=new HashMap<String, ArrayList<String>>();//Manoj dtd 30/04/2014 to store Alternate item HashMap<String, ArrayList<String>> altitemMap=new HashMap<String, ArrayList<String>>();//Manoj dtd 30/04/2014 to store Alternate item
...@@ -235,7 +236,7 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe ...@@ -235,7 +236,7 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe
String resultString = "",windowName1=""; String resultString = "",windowName1="";
ResultSet rs = null; ResultSet rs = null;
this.wnName=windowName; this.wnName=windowName;
System.out.println("win name is ==>"+wnName); System.out.println("win name is ==>"+wnName);
...@@ -287,14 +288,19 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe ...@@ -287,14 +288,19 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe
ConnDriver connDriver = new ConnDriver(); ConnDriver connDriver = new ConnDriver();
try try
{ {
context = genericUtility.getColumnValue("wizard", dom); context = checkNull(genericUtility.getColumnValue("wizard", dom));
System.out.println("context =[" + context + "]"); System.out.println("context =[" + context + "]");
if (context != null && context.trim().length() > 0) /*Commented by Manoj dtd 06/06/2014 not required
if (context != null && context.trim().length() > 0)
{ {
context = "3"; context = "3";
} else } else
{ {
context = "2"; context = "2";
}*/
if (context != null && context.trim().length() > 0)
{
isWizard=true;
} }
//sorderList= genericUtility.getColumnValue("sale_order_list", dom); //sorderList= genericUtility.getColumnValue("sale_order_list", dom);
itemCodeList = genericUtility.getColumnValue("item_code_list", dom); // added by cpatil itemCodeList = genericUtility.getColumnValue("item_code_list", dom); // added by cpatil
...@@ -7677,7 +7683,10 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe ...@@ -7677,7 +7683,10 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe
System.out.println("Printing valueXmlString----2---" + valueXmlString); System.out.println("Printing valueXmlString----2---" + valueXmlString);
System.out.println("Printing context-------" + context); System.out.println("Printing context-------" + context);
// context=2; // context=2;
if (context != null && context.trim().length() > 0 && (context.equals("2") ||context.equals("3"))) //3 //if (context != null && context.trim().length() > 0 && (context.equals("2") ||context.equals("3"))) //Commented by Manoj dtd 06/06/2014 to check on boolean value
System.out.println("isWizard-------"+isWizard);
if(isWizard)
{ {
resultString = valueXmlString.toString(); resultString = valueXmlString.toString();
} else } else
......
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