Commit 78ebe533 authored by pdas's avatar pdas

If line_no__ord is entered the item_code should be protected

else these should be editable.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@97690 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 522f9396
......@@ -3613,9 +3613,10 @@ public class POrderAmdIC extends ValidatorEJB implements POrderAmdICLocal,
valueXmlString.append("<ind_no>").append(
"<![CDATA[" + indNo + "]]>")
.append("</ind_no>");
valueXmlString.append("<item_code >").append(
System.out.println("Adding item code");
valueXmlString.append("<item_code protect = \"1\" >").append(
"<![CDATA[" + itemCode + "]]>").append(
"</item_code>");
"</item_code>");//Added By Priyanka Das
valueXmlString.append("<quantity>").append(
"<![CDATA[" + quantity + "]]>").append(
"</quantity>");
......@@ -3864,9 +3865,9 @@ public class POrderAmdIC extends ValidatorEJB implements POrderAmdICLocal,
.append("<![CDATA[" + indNo + "]]>")
.append("</ind_no>");
valueXmlString
.append("<item_code protect = \"1\">")
.append("<item_code protect = \"1\" >")
.append("<![CDATA[" + itemCode + "]]>")
.append("</item_code>");
.append("</item_code>");
} else {
valueXmlString.append(
......@@ -3876,8 +3877,9 @@ public class POrderAmdIC extends ValidatorEJB implements POrderAmdICLocal,
valueXmlString.append("<ind_no protect = \"0\">")
.append("<![CDATA[" + indNo + "]]>")
.append("</ind_no>");
System.out.println("Item Code in else");
valueXmlString
.append("<item_code protect = \"0\">")
.append("<item_code protect = \"1\" >")
.append("<![CDATA[" + itemCode + "]]>")
.append("</item_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