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
ArrayList IPD_DIST = new ArrayList();
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
......@@ -287,14 +288,19 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe
ConnDriver connDriver = new ConnDriver();
try
{
context = genericUtility.getColumnValue("wizard", dom);
context = checkNull(genericUtility.getColumnValue("wizard", dom));
System.out.println("context =[" + context + "]");
/*Commented by Manoj dtd 06/06/2014 not required
if (context != null && context.trim().length() > 0)
{
context = "3";
} else
{
context = "2";
}*/
if (context != null && context.trim().length() > 0)
{
isWizard=true;
}
//sorderList= genericUtility.getColumnValue("sale_order_list", dom);
itemCodeList = genericUtility.getColumnValue("item_code_list", dom); // added by cpatil
......@@ -7677,7 +7683,10 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe
System.out.println("Printing valueXmlString----2---" + valueXmlString);
System.out.println("Printing context-------" + context);
// 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();
} 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