Commit bb2e31eb authored by cpatil's avatar cpatil

modify for parent bom code display blank instade of null


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@96894 ce508802-f39f-4f6c-b175-0d175dae99d5
parent ba01234e
...@@ -328,7 +328,7 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe ...@@ -328,7 +328,7 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe
bomCode1 = genericUtility.getColumnValue("bom_code", dom); // added by cpatil on 17/05/14 bomCode1 = genericUtility.getColumnValue("bom_code", dom); // added by cpatil on 17/05/14
siteCode1 = genericUtility.getColumnValue("site_code", dom); // added by cpatil on 17/05/14 siteCode1 = genericUtility.getColumnValue("site_code", dom); // added by cpatil on 17/05/14
bomReplaceDemand = Double.parseDouble( genericUtility.getColumnValue("bomReplaceDemand", dom)==null ? "0" : genericUtility.getColumnValue("bomReplaceDemand", dom)); bomReplaceDemand = Double.parseDouble( genericUtility.getColumnValue("bomReplaceDemand", dom)==null ? "0" : genericUtility.getColumnValue("bomReplaceDemand", dom));
bomCodeParent = genericUtility.getColumnValue("bom_code_parent", dom); bomCodeParent = checkNull( genericUtility.getColumnValue("bom_code_parent", dom));
saleOrderReplaceBom = genericUtility.getColumnValue("saleOrderReplaceBom", dom); // added by cpatil on 17/05/14 saleOrderReplaceBom = genericUtility.getColumnValue("saleOrderReplaceBom", dom); // added by cpatil on 17/05/14
lineNoReplaceBom = genericUtility.getColumnValue("lineNoReplaceBom", dom); // added by cpatil on 17/05/14 lineNoReplaceBom = genericUtility.getColumnValue("lineNoReplaceBom", dom); // added by cpatil on 17/05/14
...@@ -8643,7 +8643,7 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe ...@@ -8643,7 +8643,7 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe
{ {
String tempCode = itemBomMap.get(itemCode);//adpElement.getBomCodeParent()==null ?"":adpElement.getBomCodeParent(); String tempCode = itemBomMap.get(itemCode);//adpElement.getBomCodeParent()==null ?"":adpElement.getBomCodeParent();
valueXmlString.append("<bom_code_parent protect = '1'>").append("<![CDATA[" + tempCode + "]]>").append("</bom_code_parent>\r\n"); valueXmlString.append("<bom_code_parent protect = '1'>").append("<![CDATA[" + checkNull(tempCode) + "]]>").append("</bom_code_parent>\r\n");
tempCode = adpElement.getBomCode()==null ?"":adpElement.getBomCode(); tempCode = adpElement.getBomCode()==null ?"":adpElement.getBomCode();
valueXmlString.append("<bom_code_org protect = '1'>").append("<![CDATA[" + tempCode + "]]>").append("</bom_code_org>\r\n"); valueXmlString.append("<bom_code_org protect = '1'>").append("<![CDATA[" + tempCode + "]]>").append("</bom_code_org>\r\n");
valueXmlString.append("<bom_code_ref protect = '1'>").append("<![CDATA[" + tempCode + "]]>").append("</bom_code_ref>\r\n"); valueXmlString.append("<bom_code_ref protect = '1'>").append("<![CDATA[" + tempCode + "]]>").append("</bom_code_ref>\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