Commit d78aa030 authored by agaikwad's avatar agaikwad

set ls_tranidref in itmdefault edit


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@106146 ce508802-f39f-4f6c-b175-0d175dae99d5
parent d603433b
...@@ -2516,7 +2516,8 @@ public class PoReturnIC extends ValidatorEJB implements PoReturnICLocal, ...@@ -2516,7 +2516,8 @@ public class PoReturnIC extends ValidatorEJB implements PoReturnICLocal,
pstmt = null; pstmt = null;
if (ll_cnt > 0) { if (ll_cnt > 0) {
valueXmlString.append("<tran_id__ref protect =\"1\">").append("</tran_id__ref>"); //valueXmlString.append("<tran_id__ref protect =\"1\">").append("</tran_id__ref>");
valueXmlString.append("<tran_id__ref protect =\"1\">").append("<![CDATA[" + ls_tranidref + "]]>").append("</tran_id__ref>");
valueXmlString.append("<supp_code protect =\"1\">").append("<![CDATA[" + supp_code + "]]>").append("</supp_code>"); valueXmlString.append("<supp_code protect =\"1\">").append("<![CDATA[" + supp_code + "]]>").append("</supp_code>");
} }
...@@ -3329,7 +3330,7 @@ public class PoReturnIC extends ValidatorEJB implements PoReturnICLocal, ...@@ -3329,7 +3330,7 @@ public class PoReturnIC extends ValidatorEJB implements PoReturnICLocal,
if (mcode == null || mcode.trim().length() == 0) { if (mcode == null || mcode.trim().length() == 0) {
mcode = " "; mcode = " ";
} }
String retOpt = mcode.substring(1, 1); String retOpt = mcode.substring(0, 1);
valueXmlString.append("<gp_ser>") valueXmlString.append("<gp_ser>")
.append("<![CDATA[" + retOpt + "]]>") .append("<![CDATA[" + retOpt + "]]>")
.append("</gp_ser>"); .append("</gp_ser>");
......
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