Commit 191b376c authored by kshinde's avatar kshinde

Protecting header columns on itemchange of detail

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@191826 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 7f35c0b8
...@@ -5944,7 +5944,7 @@ public class PoReceiptIc extends ValidatorEJB implements PoReceiptIcLocal,PoRec ...@@ -5944,7 +5944,7 @@ public class PoReceiptIc extends ValidatorEJB implements PoReceiptIcLocal,PoRec
lsdis= "" , lsstkopt = "", lsunitpur= "" , lsuom = "",mVal= "" ,mVal1 = "",lspackinstr1 = "" , lsdis= "" , lsstkopt = "", lsunitpur= "" , lsuom = "",mVal= "" ,mVal1 = "",lspackinstr1 = "" ,
mUom= "" , lspack1= "" , lsaccdesc= "" , lsvalue= "" , mlotsl= "" ,lsacct = "" , lsloccode= "" ,sysDate = "" , mitem= "" , mUom= "" , lspack1= "" , lsaccdesc= "" , lsvalue= "" , mlotsl= "" ,lsacct = "" , lsloccode= "" ,sysDate = "" , mitem= "" ,
lsacct1= ""; lsacct1= "";
String stkOpt=""; String stkOpt="",suppCode="",exchRateFrt="";
int currentFormNo = 0; int currentFormNo = 0;
Timestamp ldtmfgdate = null ; Timestamp ldtmfgdate = null ;
double lcexchrate = 0.0 ,lcqty = 0.0, mOrdQty= 0.0 ,lcQtyConv = 0 , lcRtConv = 0 ,lishelflife = 0.0 ,lcratestduom = 0.0 , mpending = 0 ,lcrateclg=0, double lcexchrate = 0.0 ,lcqty = 0.0, mOrdQty= 0.0 ,lcQtyConv = 0 , lcRtConv = 0 ,lishelflife = 0.0 ,lcratestduom = 0.0 , mpending = 0 ,lcrateclg=0,
...@@ -5962,6 +5962,22 @@ public class PoReceiptIc extends ValidatorEJB implements PoReceiptIcLocal,PoRec ...@@ -5962,6 +5962,22 @@ public class PoReceiptIc extends ValidatorEJB implements PoReceiptIcLocal,PoRec
parentNode = parentNodeList.item(0); parentNode = parentNodeList.item(0);
childNodeList = parentNode.getChildNodes(); childNodeList = parentNode.getChildNodes();
ctr = 0; ctr = 0;
suppCode=genericUtility.getColumnValue("supp_code", dom1);
lsqcreqd=genericUtility.getColumnValue("qc_reqd", dom1);
exchrate=genericUtility.getColumnValue("exch_rate", dom1);
exchRateFrt = genericUtility.getColumnValue("exch_rate__frt", dom1);
lspurcorder= genericUtility.getColumnValue("purc_order", dom1);
valueXmlString.append("<Detail1>");
valueXmlString.append("<supp_code protect =\"1\">").append("<![CDATA["+suppCode+"]]>").append("</supp_code>");
valueXmlString.append("<qc_reqd protect =\"1\">").append("<![CDATA["+lsqcreqd+"]]>").append("</qc_reqd>");
valueXmlString.append("<exch_rate protect =\"1\">").append("<![CDATA["+exchrate+"]]>").append("</exch_rate>");
valueXmlString.append("<exch_rate__frt protect =\"1\">").append("<![CDATA["+exchRateFrt+"]]>").append("</exch_rate__frt>");
valueXmlString.append("<purc_order protect =\"1\">").append("<![CDATA["+lspurcorder+"]]>").append("</purc_order>");
valueXmlString.append("</Detail1>");
valueXmlString.append("<Detail2>"); valueXmlString.append("<Detail2>");
childNodeListLength = childNodeList.getLength(); childNodeListLength = childNodeList.getLength();
do { do {
......
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