Commit 7628fdfa authored by cpatil's avatar cpatil

Description set while change the item code


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@93393 ce508802-f39f-4f6c-b175-0d175dae99d5
parent fcf01fab
...@@ -1086,7 +1086,10 @@ public class JvVal extends ValidatorEJB implements JvValLocal, JvValRemote ...@@ -1086,7 +1086,10 @@ public class JvVal extends ValidatorEJB implements JvValLocal, JvValRemote
{ {
itemCode = genericUtility.getColumnValue("item_code", dom); itemCode = genericUtility.getColumnValue("item_code", dom);
if( itemCode!= null && itemCode.trim().length() > 0 )
{
itemDescr = findValue(conn, "descr" , "item", "item_code", itemCode); itemDescr = findValue(conn, "descr" , "item", "item_code", itemCode);
}
valueXmlString.append("<item_descr>").append("<![CDATA[" + itemDescr + "]]>").append("</item_descr>"); valueXmlString.append("<item_descr>").append("<![CDATA[" + itemDescr + "]]>").append("</item_descr>");
} }
......
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