Commit 42d9491c authored by akhokar's avatar akhokar

Changes done to protect financial entity on edit

SiteIC.java
w_site.sql


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@200414 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 125ceb17
...@@ -773,6 +773,9 @@ public class SiteIC extends ValidatorEJB implements SiteICLocal, SiteICRemote ...@@ -773,6 +773,9 @@ public class SiteIC extends ValidatorEJB implements SiteICLocal, SiteICRemote
Node parentNode = null; Node parentNode = null;
Node childNode = null; Node childNode = null;
String empCode="",empFName="",empLName="",stateDescr="",siteCode=""; String empCode="",empFName="",empLName="",stateDescr="",siteCode="";
//Modified by Azhar K. on[06-05-2019][To protect financial Entity on edit][Start]
String finEntity = "";
//Modified by Azhar K. on[06-05-2019][To protect financial Entity on edit][End]
try try
{ {
//changes and commented by sarita for DBConnection on 01/06/2017 :START //changes and commented by sarita for DBConnection on 01/06/2017 :START
...@@ -800,7 +803,16 @@ public class SiteIC extends ValidatorEJB implements SiteICLocal, SiteICRemote ...@@ -800,7 +803,16 @@ public class SiteIC extends ValidatorEJB implements SiteICLocal, SiteICRemote
valueXmlString.append("<Detail1>"); valueXmlString.append("<Detail1>");
if(currentColumn.trim().equalsIgnoreCase("emp_code__head")) //Modified by Azhar K. on[06-05-2019][To protect financial Entity on edit][Start]
if(currentColumn.trim().equalsIgnoreCase("itm_defaultedit"))
{
System.out.println("Inside itm_defaultedit::::: ");
finEntity = genericUtility.getColumnValue("fin_entity", dom);
valueXmlString.append("<fin_entity protect=\"1\">").append("<![CDATA["+finEntity+"]]>").append("</fin_entity>\r\n");
}
//Modified by Azhar K. on[06-05-2019][To protect financial Entity on edit][End]
else if(currentColumn.trim().equalsIgnoreCase("emp_code__head"))
{ {
System.out.println(">>>emp_code__head itemchange:"); System.out.println(">>>emp_code__head itemchange:");
empCode = genericUtility.getColumnValue("emp_code__head", dom); empCode = genericUtility.getColumnValue("emp_code__head", dom);
......
Insert into obj_itemchange (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('site','1 ','itm_defaultedit','Y');
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