Commit 34a512f6 authored by smestry's avatar smestry

Updated the Product wizard for item description.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@102414 ce508802-f39f-4f6c-b175-0d175dae99d5
parent a5436140
......@@ -655,19 +655,20 @@ public class DDProductWizEditEJB extends ValidatorEJB implements DDProductWizEdi
}
rs.close(); rs = null;
pstmt.close(); pstmt = null;
// Changed by Sneha on 07-07-2016, to edit the item parent description [Start]
String attr_value = "";
String itemDescr = " SELECT ATTR_VALUE FROM OBJ_ATTRIBUTE WHERE ITEM_ATTR_VAL = 'ITEM_CODE:'||'"+ itemCode +"' " +
"AND LANGUAGES = 'EN' ";
pstmt = conn.prepareStatement(itemDescr);
rs = pstmt.executeQuery();
if(rs.next())
{
valueXmlString.append("<attr_value>").append("<![CDATA["+ checkNullAndTrim(rs.getString(1)) +"]]>").append("</attr_value>\r\n");
attr_value = checkNullAndTrim(rs.getString(1));
}
rs.close(); rs = null;
pstmt.close(); pstmt = null;
valueXmlString.append("<attr_value>").append("<![CDATA["+ attr_value +"]]>").append("</attr_value>\r\n");
// Changed by Sneha on 07-07-2016, to edit the item parent description [End]
try
......
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