Commit 7e0ac9f8 authored by cpatil's avatar cpatil

change loginsitecode as default instead of '00' && 'ZZ'


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@95284 ce508802-f39f-4f6c-b175-0d175dae99d5
parent ba001d79
......@@ -283,7 +283,7 @@ public class RunMRPWiz extends ValidatorEJB implements RunMRPWizLocal, RunMRPWiz
ArrayList detail2keyList = null;
Boolean detail2Flag = false, detail4Flag=false;
String custCode="",custName="",quantity="",unit="";
String custCode="",custName="",quantity="",unit="",loginSiteCode="";
try
......@@ -300,6 +300,8 @@ public class RunMRPWiz extends ValidatorEJB implements RunMRPWizLocal, RunMRPWiz
valueXmlString = new StringBuffer("<?xml version = \"1.0\"?> <Root> <header> <editFlag>");
valueXmlString.append(editFlag).append("</editFlag> </header>");
loginSiteCode = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginSiteCode");
switch(currentFormNo)
{
......@@ -334,8 +336,8 @@ public class RunMRPWiz extends ValidatorEJB implements RunMRPWizLocal, RunMRPWiz
System.out.println("From Date :" + fromDate + " To Date :" + toDate);
valueXmlString.append("<date_from>").append(fromDate).append("</date_from>");
valueXmlString.append("<date_to>").append(toDate).append("</date_to>");
valueXmlString.append("<site_code__from>").append("00").append("</site_code__from>");
valueXmlString.append("<site_code__to>").append("ZZ").append("</site_code__to>");
valueXmlString.append("<site_code__from>").append(loginSiteCode).append("</site_code__from>"); // added loginsitecode as default instead of '00' on 18/06/14 cpatil
valueXmlString.append("<site_code__to>").append(loginSiteCode).append("</site_code__to>"); // added loginsitecode as default instead of 'ZZ' on 18/06/14 cpatil
// 16/06/14 added for change user n term at the time of allocation
String chgUser="", chgTerm="" ;
......
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