Commit 213cb5bf authored by caluka's avatar caluka

calMfgLeadTime set on mrpOtimise method for timemrp list


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@100199 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 22634557
...@@ -5733,6 +5733,7 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe ...@@ -5733,6 +5733,7 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe
String orderOpt = ""; String orderOpt = "";
String batchQtyType = ""; String batchQtyType = "";
int mfgLeadTime = 0; int mfgLeadTime = 0;
int calMfgLeadTime = 0;//Added by chandrashekar on 15-feb-2016
int qcLeadTime = 0; int qcLeadTime = 0;
// 22/06/10 manoharan // 22/06/10 manoharan
String mfgLeadBasis = "F"; String mfgLeadBasis = "F";
...@@ -5950,7 +5951,8 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe ...@@ -5950,7 +5951,8 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe
if ("B".equals(mfgLeadBasis) && quantity > batchSizeLead) if ("B".equals(mfgLeadBasis) && quantity > batchSizeLead)
{ {
//cpatil-25/08/14-System.out.println("manohar mfgLeadTime before [" + mfgLeadTime + "]"); //cpatil-25/08/14-System.out.println("manohar mfgLeadTime before [" + mfgLeadTime + "]");
mfgLeadTime = (int) (quantity * mfgLeadTime / batchSizeLead); calMfgLeadTime = (int) (quantity * mfgLeadTime / batchSizeLead);
System.out.println("calMfgLeadTime>>>>>"+calMfgLeadTime);
//cpatil-25/08/14-System.out.println("manohar mfgLeadTime after [" + mfgLeadTime + "]"); //cpatil-25/08/14-System.out.println("manohar mfgLeadTime after [" + mfgLeadTime + "]");
} }
// end 22/06/10 manoharan // end 22/06/10 manoharan
...@@ -5963,7 +5965,7 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe ...@@ -5963,7 +5965,7 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe
xmlString.append("<quantity>").append("<![CDATA[").append(quantity).append("]]>").append("</quantity>"); xmlString.append("<quantity>").append("<![CDATA[").append(quantity).append("]]>").append("</quantity>");
xmlString.append("<bom_code>").append("<![CDATA[").append(bomCode).append("]]>").append("</bom_code>"); xmlString.append("<bom_code>").append("<![CDATA[").append(bomCode).append("]]>").append("</bom_code>");
xmlString.append("<due_date>").append("<![CDATA[").append(sDueDate).append("]]>").append("</due_date>"); xmlString.append("<due_date>").append("<![CDATA[").append(sDueDate).append("]]>").append("</due_date>");
xmlString.append("<mfg_lead_time>").append("<![CDATA[").append(mfgLeadTime).append("]]>").append("</mfg_lead_time>"); xmlString.append("<mfg_lead_time>").append("<![CDATA[").append(calMfgLeadTime).append("]]>").append("</mfg_lead_time>");
xmlString.append("<qc_lead_time>").append("<![CDATA[").append(qcLeadTime).append("]]>").append("</qc_lead_time>"); xmlString.append("<qc_lead_time>").append("<![CDATA[").append(qcLeadTime).append("]]>").append("</qc_lead_time>");
xmlString.append("</Detail>"); xmlString.append("</Detail>");
xmlString.append("</Root>"); xmlString.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