Commit 56657923 authored by sgadve's avatar sgadve

pack code made editable - suggested by KB sir

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@189354 ce508802-f39f-4f6c-b175-0d175dae99d5
parent a8069564
...@@ -322,8 +322,16 @@ public class PackingDetIC extends ValidatorEJB implements PackingDetICLocal, Pac ...@@ -322,8 +322,16 @@ public class PackingDetIC extends ValidatorEJB implements PackingDetICLocal, Pac
if(currentColumn.trim().equalsIgnoreCase("itm_default")) if(currentColumn.trim().equalsIgnoreCase("itm_default"))
{ {
packCode = genericUtility.getColumnValue("pack_code", dom); packCode = genericUtility.getColumnValue("pack_code", dom);
valueXmlString.append("<pack_code>").append("<![CDATA[" + packCode + "]]>").append("</pack_code>"); //changes by Prasad on 16/08/18 [pack code editable] START
valueXmlString.append("<pack_code protect = \"1\">").append("<![CDATA[" + "" + "]]>").append ("</pack_code>"); if( packCode != null && packCode.trim().length() > 0 )
{
valueXmlString.append("<pack_code protect = \"1\">").append("<![CDATA[" +packCode + "]]>").append ("</pack_code>");
}
else
{
valueXmlString.append("<pack_code>").append("<![CDATA[]]>").append("</pack_code>");
}
//changes by Prasad on 16/08/18 [pack code editable] END
} }
else if(currentColumn.trim().equalsIgnoreCase("count_code")) else if(currentColumn.trim().equalsIgnoreCase("count_code"))
{ {
......
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