Commit b6613dab authored by caluka's avatar caluka

Ejb changed to pass yield flag for process ejb


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@97237 ce508802-f39f-4f6c-b175-0d175dae99d5
parent a14b6fc9
......@@ -121,7 +121,7 @@ public class RequirementIC extends ValidatorEJB implements RequirementICLocal, R
String siteItemList="";
String siteList="";
String tranidIncrement="";
String bomCode="",mpsOrder="";
String bomCode="",mpsOrder="",yield="";
Document argDom = null;
......@@ -175,6 +175,7 @@ public class RequirementIC extends ValidatorEJB implements RequirementICLocal, R
{
valueXmlString.append("<site_code__fr>").append(loginSiteCode).append("</site_code__fr>");
valueXmlString.append("<site_code__to>").append(loginSiteCode).append("</site_code__to>");
valueXmlString.append("<yield>").append("N").append("</yield>");
}
valueXmlString.append("</Detail1>");
break;
......@@ -185,7 +186,8 @@ public class RequirementIC extends ValidatorEJB implements RequirementICLocal, R
System.out.println("case2 dom1-----------"+dom1);
siteCodeFr = genericUtility.getColumnValue("site_code__fr", dom1);
siteCodeTo = genericUtility.getColumnValue("site_code__to", dom1);
yield = genericUtility.getColumnValue("yield", dom1);
System.out.println("yield>>>>["+yield+"]");
/*
* "SELECT A.TRAN_ID, A.SITE_CODE, A.ITEM_CODE, B.DESCR, A.QUANTITY, A.DUE_DATE, A.UNIT, A.YIELD_PERC "
* + "FROM MPS_ORDER A, ITEM B "+
......@@ -274,6 +276,8 @@ public class RequirementIC extends ValidatorEJB implements RequirementICLocal, R
siteCodeFr = genericUtility.getColumnValue("site_code__fr", dom1);
siteCodeTo = genericUtility.getColumnValue("site_code__to", dom1);
mpsOrder = genericUtility.getColumnValue("mpsorder", dom2);
yield = genericUtility.getColumnValue("yield", dom1);
System.out.println("case 3 yield>>>>["+yield+"]");
System.out.println("mpsOrder["+mpsOrder+"]");
java.util.Date dt = new java.util.Date();
......@@ -582,7 +586,8 @@ public class RequirementIC extends ValidatorEJB implements RequirementICLocal, R
argData.append("<made_to_order>").append("0").append("</made_to_order>\r\n");//0
argData.append("<balance_intersite>").append("N").append("</balance_intersite>\r\n");
argData.append("<gen_ind>").append("N").append("</gen_ind>\r\n");
argData.append("<wizard>").append("3").append("</wizard>\r\n");
argData.append("<wizard>").append("3").append("</wizard>\r\n");
argData.append("<yield>").append(yield).append("</yield>\r\n"); //Added by chandrashekar 0n 04-Feb-2015
argData.append("</Detail>");
argData.append("</Root>");
......
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