Commit 44ad5319 authored by manohar's avatar manohar

cust_code and curr_code un protected in itm_defautledit if there is no detail


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@94406 ce508802-f39f-4f6c-b175-0d175dae99d5
parent b2337356
...@@ -2534,6 +2534,13 @@ public class ReceiptAdv extends ValidatorEJB implements ReceiptAdvLocal, Receipt ...@@ -2534,6 +2534,13 @@ public class ReceiptAdv extends ValidatorEJB implements ReceiptAdvLocal, Receipt
valueXmlString.append("<curr_code protect = \"1\">").append("<![CDATA["+genericUtility.getColumnValue("curr_code", dom)+"]]>").append("</curr_code>"); valueXmlString.append("<curr_code protect = \"1\">").append("<![CDATA["+genericUtility.getColumnValue("curr_code", dom)+"]]>").append("</curr_code>");
valueXmlString.append("<sale_order protect = \"1\">").append("<![CDATA["+checkNull(genericUtility.getColumnValue("sale_order", dom))+"]]>").append("</sale_order>"); valueXmlString.append("<sale_order protect = \"1\">").append("<![CDATA["+checkNull(genericUtility.getColumnValue("sale_order", dom))+"]]>").append("</sale_order>");
} }
else
{
valueXmlString.append("<cust_code protect = \"0\">").append("<![CDATA["+genericUtility.getColumnValue("cust_code", dom)+"]]>").append("</cust_code>");
valueXmlString.append("<curr_code protect = \"0\">").append("<![CDATA["+genericUtility.getColumnValue("curr_code", dom)+"]]>").append("</curr_code>");
valueXmlString.append("<sale_order protect = \"0\">").append("<![CDATA["+checkNull(genericUtility.getColumnValue("sale_order", dom))+"]]>").append("</sale_order>");
}
rs.close(); rs.close();
rs = null; rs = null;
pstmt.close(); pstmt.close();
......
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