Commit 44c6051e authored by msharma's avatar msharma

set ref id for Alternate items also by adding condition for OriginalAltItem


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@95279 ce508802-f39f-4f6c-b175-0d175dae99d5
parent c9ce33ec
...@@ -7472,7 +7472,7 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe ...@@ -7472,7 +7472,7 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe
{ {
tmpQty = Double.parseDouble(refOrdArray[2]); tmpQty = Double.parseDouble(refOrdArray[2]);
} }
if(refOrdArray.length>0 && tmpQty > 0 ) if(refOrdArray.length>0 && (tmpQty > 0 || "A".equalsIgnoreCase(originalOrAltitem )))//Condition is added by manoj dtd 18/06/2014 to set Alternate item
{ {
valueXmlString.append("<sale_order protect = '1'>").append("<![CDATA[" + refOrdArray[0] + "]]>").append("</sale_order>\r\n"); valueXmlString.append("<sale_order protect = '1'>").append("<![CDATA[" + refOrdArray[0] + "]]>").append("</sale_order>\r\n");
......
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