Commit d903b95e authored by pbhosale's avatar pbhosale

Changes done on[06/11/19] changes in payrarr_to_proc for status validation

payarr_to_proc11.xml
payarr_to_proc21.xml
A18FSUN004.sql
d_payarr_to_proc11.srd
d_payarr_to_proc21.srd
ArrearsDeleteIC.java
PayarrToProc.java


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@211447 ce508802-f39f-4f6c-b175-0d175dae99d5
parent b83f257c
...@@ -70,8 +70,13 @@ Insert into MESSAGES (MSG_NO,MSG_STR,MSG_DESCR,MSG_TYPE,MSG_OPT,MSG_TIME,ALARM,E ...@@ -70,8 +70,13 @@ Insert into MESSAGES (MSG_NO,MSG_STR,MSG_DESCR,MSG_TYPE,MSG_OPT,MSG_TIME,ALARM,E
--------------------------------------------------[31/10/2019][END] --------------------------------------------------[31/10/2019][END]
--------------------------------------------------[06/11/2019][START]
update messages set MSG_STR = 'Invalid Access!!',MSG_DESCR = 'You are not allow to select Deleted Option in status field' where MSG_NO = 'DELRECO';
Insert into MESSAGES (MSG_NO,MSG_STR,MSG_DESCR,MSG_TYPE,MSG_OPT,MSG_TIME,ALARM,ERR_SOURCE,CHG_DATE,CHG_USER,CHG_TERM,OVERRIDE_INPUT,MAIL_OPTION) values ('DELETEREC','Record Deleted..','This record is already deleted, You are not allow to edit this record','E','Y',null,null,null,to_date('01-11-12','DD-MM-RR'),'Yogesh ','BASE ',null,null);
--------------------------------------------------[06/11/2019][END]
......
...@@ -8,17 +8,17 @@ table(column=(type=char(10) update=yes updatewhereclause=yes name=emp_code dbnam ...@@ -8,17 +8,17 @@ table(column=(type=char(10) update=yes updatewhereclause=yes name=emp_code dbnam
column=(type=char(5) updatewhereclause=yes name=site dbname="site" ) column=(type=char(5) updatewhereclause=yes name=site dbname="site" )
column=(type=char(60) updatewhereclause=yes name=descr dbname="descr" ) column=(type=char(60) updatewhereclause=yes name=descr dbname="descr" )
column=(type=char(6) update=yes updatewhereclause=yes name=prd_code dbname="payarr_to_proc.prd_code" ) column=(type=char(6) update=yes updatewhereclause=yes name=prd_code dbname="payarr_to_proc.prd_code" )
column=(type=char(1) update=yes updatewhereclause=yes name=status dbname="payarr_to_proc.status" values="Unprocessed U/Processed P/" ) column=(type=char(1) update=yes updatewhereclause=yes name=status dbname="payarr_to_proc.status" values="Unprocessed U/Processed P/Deleted D/" )
column=(type=char(6) update=yes updatewhereclause=yes name=prd_code__acc dbname="payarr_to_proc.prd_code__acc" ) column=(type=char(6) update=yes updatewhereclause=yes name=prd_code__acc dbname="payarr_to_proc.prd_code__acc" )
column=(type=datetime update=yes updatewhereclause=yes name=proc_date dbname="payarr_to_proc.proc_date" ) column=(type=datetime update=yes updatewhereclause=yes name=proc_date dbname="payarr_to_proc.proc_date" )
column=(type=datetime update=yes updatewhereclause=yes name=chg_date dbname="payarr_to_proc.chg_date" ) column=(type=datetime update=yes updatewhereclause=yes name=chg_date dbname="payarr_to_proc.chg_date" )
column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="payarr_to_proc.chg_user" ) column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="payarr_to_proc.chg_user" )
column=(type=char(15) update=yes updatewhereclause=yes name=chg_term dbname="payarr_to_proc.chg_term" ) column=(type=char(300) update=yes updatewhereclause=yes name=chg_term dbname="payarr_to_proc.chg_term" )
column=(type=char(2) update=yes updatewhereclause=yes name=proc_type dbname="payarr_to_proc.proc_type" ) column=(type=char(2) update=yes updatewhereclause=yes name=proc_type dbname="payarr_to_proc.proc_type" values="Arrears AR/Payroll PY/" )
column=(type=char(12) update=yes updatewhereclause=yes key=yes name=tran_id dbname="payarr_to_proc.tran_id" ) column=(type=char(12) update=yes updatewhereclause=yes key=yes name=tran_id dbname="payarr_to_proc.tran_id" )
column=(type=char(47) updatewhereclause=yes name=name dbname="name" ) column=(type=char(47) updatewhereclause=yes name=name dbname="name" )
column=(type=char(11) updatewhereclause=yes name=psuedo_status dbname="psuedo_status" ) column=(type=char(11) updatewhereclause=yes name=psuedo_status dbname="psuedo_status" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"employee~" ) TABLE(NAME=~"payarr_to_proc~" ) TABLE(NAME=~"site~" ) COLUMN(NAME=~"payarr_to_proc.emp_code~") COMPUTE(NAME=~"TRIM(EMPLOYEE.PAY_SITE) AS SITE~") COMPUTE(NAME=~"TRIM(SITE.DESCR) AS DESCR~") COLUMN(NAME=~"payarr_to_proc.prd_code~") COLUMN(NAME=~"payarr_to_proc.status~") COLUMN(NAME=~"payarr_to_proc.prd_code__acc~") COLUMN(NAME=~"payarr_to_proc.proc_date~") COLUMN(NAME=~"payarr_to_proc.chg_date~") COLUMN(NAME=~"payarr_to_proc.chg_user~") COLUMN(NAME=~"payarr_to_proc.chg_term~") COLUMN(NAME=~"payarr_to_proc.proc_type~") COLUMN(NAME=~"payarr_to_proc.tran_id~") COMPUTE(NAME=~"TRIM(EMPLOYEE.EMP_FNAME) || ' ' || TRIM(EMPLOYEE.EMP_MNAME) || ' ' || TRIM(EMPLOYEE.EMP_LNAME) AS NAME~") COMPUTE(NAME=~"CASE PAYARR_TO_PROC.status WHEN 'P' THEN 'Processed' ELSE 'Unprocessed' END AS psuedo_status~") JOIN (LEFT=~"employee.emp_code~" OP =~"=~"RIGHT=~"payarr_to_proc.emp_code~" ) JOIN (LEFT=~"employee.pay_site~" OP =~"=~"RIGHT=~"site.site_code~" )WHERE( EXP1 =~"~~~"PAYARR_TO_PROC~~~".~~~"TRAN_ID~~~"~" OP =~"=~" EXP2 =~":tran_id~" ) ) ARG(NAME = ~"tran_id~" TYPE = string) " update="PAYARR_TO_PROC" updatewhere=0 updatekeyinplace=no arguments=(("tran_id", string)) ) retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"employee~" ) TABLE(NAME=~"payarr_to_proc~" ) TABLE(NAME=~"site~" ) COLUMN(NAME=~"payarr_to_proc.emp_code~") COMPUTE(NAME=~"TRIM(EMPLOYEE.PAY_SITE) AS SITE~") COMPUTE(NAME=~"TRIM(SITE.DESCR) AS DESCR~") COLUMN(NAME=~"payarr_to_proc.prd_code~") COLUMN(NAME=~"payarr_to_proc.status~") COLUMN(NAME=~"payarr_to_proc.prd_code__acc~") COLUMN(NAME=~"payarr_to_proc.proc_date~") COLUMN(NAME=~"payarr_to_proc.chg_date~") COLUMN(NAME=~"payarr_to_proc.chg_user~") COLUMN(NAME=~"payarr_to_proc.chg_term~") COLUMN(NAME=~"payarr_to_proc.proc_type~") COLUMN(NAME=~"payarr_to_proc.tran_id~") COMPUTE(NAME=~"TRIM(EMPLOYEE.EMP_FNAME) || ' ' || TRIM(EMPLOYEE.EMP_MNAME) || ' ' || TRIM(EMPLOYEE.EMP_LNAME) AS NAME~") COMPUTE(NAME=~"CASE PAYARR_TO_PROC.status WHEN 'P' THEN 'Processed' WHEN 'D' THEN 'Deleted' ELSE 'Unprocessed' END AS psuedo_status~") JOIN (LEFT=~"employee.emp_code~" OP =~"=~"RIGHT=~"payarr_to_proc.emp_code~" ) JOIN (LEFT=~"employee.pay_site~" OP =~"=~"RIGHT=~"site.site_code~" )WHERE( EXP1 =~"~~~"PAYARR_TO_PROC~~~".~~~"TRAN_ID~~~"~" OP =~"=~" EXP2 =~":tran_id~" ) ) ARG(NAME = ~"tran_id~" TYPE = string) " update="PAYARR_TO_PROC" updatewhere=0 updatekeyinplace=no arguments=(("tran_id", string)) )
column(band=detail id=1 alignment="0" tabsequence=32766 border="5" color="255" x="140" y="22" height="16" width="66" format="[general]" html.valueishtml="0" name=emp_code visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=1 alignment="0" tabsequence=32766 border="5" color="255" x="140" y="22" height="16" width="66" format="[general]" html.valueishtml="0" name=emp_code visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=8 alignment="0" tabsequence=32766 border="5" color="255" x="140" y="122" height="16" width="81" format="[shortdate] [time]" html.valueishtml="0" name=chg_date visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=8 alignment="0" tabsequence=32766 border="5" color="255" x="140" y="122" height="16" width="81" format="[shortdate] [time]" html.valueishtml="0" name=chg_date visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=2 alignment="0" tabsequence=32766 border="5" color="255" x="140" y="42" height="16" width="66" format="[general]" html.valueishtml="0" name=site visible="1" edit.limit=5 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=2 alignment="0" tabsequence=32766 border="5" color="255" x="140" y="42" height="16" width="66" format="[general]" html.valueishtml="0" name=site visible="1" edit.limit=5 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
...@@ -39,7 +39,7 @@ text(band=detail alignment="1" text="Transaction Id:" border="0" color="33554432 ...@@ -39,7 +39,7 @@ text(band=detail alignment="1" text="Transaction Id:" border="0" color="33554432
text(band=detail alignment="1" text="Change Term:" border="0" color="33554432" x="396" y="122" height="16" width="81" html.valueishtml="0" name=chg_term_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=detail alignment="1" text="Change Term:" border="0" color="33554432" x="396" y="122" height="16" width="81" html.valueishtml="0" name=chg_term_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Status:" border="0" color="33554432" x="424" y="62" height="16" width="53" html.valueishtml="0" name=status_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=detail alignment="1" text="Status:" border="0" color="33554432" x="424" y="62" height="16" width="53" html.valueishtml="0" name=status_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Process Type:" border="0" color="33554432" x="388" y="82" height="16" width="89" html.valueishtml="0" name=proc_type_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=detail alignment="1" text="Process Type:" border="0" color="33554432" x="388" y="82" height="16" width="89" html.valueishtml="0" name=proc_type_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=11 alignment="0" tabsequence=32766 border="5" color="255" x="481" y="82" height="16" width="87" format="[general]" html.valueishtml="0" name=proc_type visible="1" edit.limit=2 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=11 alignment="0" tabsequence=32766 border="5" color="255" x="481" y="82" height="16" width="87" format="[general]" html.valueishtml="0" name=proc_type visible="1" ddlb.limit=0 ddlb.allowedit=no ddlb.case=any ddlb.useasborder=yes ddlb.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=5 alignment="0" tabsequence=10 border="5" color="33554432" x="481" y="62" height="16" width="87" format="[general]" html.valueishtml="0" name=status visible="1" ddlb.limit=0 ddlb.allowedit=no ddlb.case=any ddlb.useasborder=yes ddlb.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=5 alignment="0" tabsequence=10 border="5" color="33554432" x="481" y="62" height="16" width="87" format="[general]" html.valueishtml="0" name=status visible="1" ddlb.limit=0 ddlb.allowedit=no ddlb.case=any ddlb.useasborder=yes ddlb.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Change User:" border="0" color="33554432" x="226" y="122" height="16" width="79" html.valueishtml="0" name=chg_user_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=detail alignment="1" text="Change User:" border="0" color="33554432" x="226" y="122" height="16" width="79" html.valueishtml="0" name=chg_user_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=9 alignment="0" tabsequence=32766 border="5" color="255" x="309" y="122" height="16" width="81" format="[general]" html.valueishtml="0" name=chg_user visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=9 alignment="0" tabsequence=32766 border="5" color="255" x="309" y="122" height="16" width="81" format="[general]" html.valueishtml="0" name=chg_user visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
......
...@@ -9,7 +9,7 @@ import java.sql.SQLException; ...@@ -9,7 +9,7 @@ import java.sql.SQLException;
import java.text.SimpleDateFormat; import java.text.SimpleDateFormat;
import java.util.ArrayList; import java.util.ArrayList;
//import javax.ejb.Stateless; import javax.ejb.Stateless;
import org.w3c.dom.Document; import org.w3c.dom.Document;
import org.w3c.dom.Node; import org.w3c.dom.Node;
...@@ -20,7 +20,7 @@ import ibase.webitm.ejb.ITMDBAccessEJB; ...@@ -20,7 +20,7 @@ import ibase.webitm.ejb.ITMDBAccessEJB;
import ibase.webitm.ejb.ValidatorEJB; import ibase.webitm.ejb.ValidatorEJB;
//import ibase.webitm.utility.GenericUtility; //import ibase.webitm.utility.GenericUtility;
import ibase.webitm.utility.ITMException; import ibase.webitm.utility.ITMException;
//@Stateless @Stateless
public class PayarrToProc extends ValidatorEJB implements PayarrToProcLocal,PayarrToProcRemote public class PayarrToProc extends ValidatorEJB implements PayarrToProcLocal,PayarrToProcRemote
{ {
//modified by Shital on 12/07/2019 [Start] //modified by Shital on 12/07/2019 [Start]
...@@ -92,6 +92,7 @@ public class PayarrToProc extends ValidatorEJB implements PayarrToProcLocal,Paya ...@@ -92,6 +92,7 @@ public class PayarrToProc extends ValidatorEJB implements PayarrToProcLocal,Paya
StringBuffer errStringXml = null; StringBuffer errStringXml = null;
String sql = ""; String sql = "";
String empCode = ""; String empCode = "";
String flagStatus = ""; //Added By Poonam B[05/11/2019]
String status = ""; String status = "";
String prdCode = ""; String prdCode = "";
String procType = ""; String procType = "";
...@@ -194,19 +195,7 @@ public class PayarrToProc extends ValidatorEJB implements PayarrToProcLocal,Paya ...@@ -194,19 +195,7 @@ public class PayarrToProc extends ValidatorEJB implements PayarrToProcLocal,Paya
} }
//Modified by Ahmed on 31-AUG-2018[To break and return error message when validation fails]end //Modified by Ahmed on 31-AUG-2018[To break and return error message when validation fails]end
} }
//Added By Poonam B [25-SEP-2019][START]
if(status.trim().equalsIgnoreCase("D"))
{
errCode = "DELRECO";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
msgType = errorType(conn, errCode);
if (msgType.equalsIgnoreCase("E"))
{
break;
}
}
//Added By Poonam B [25-SEP-2019][END]
sql = "select usr_lev from users where code = ?"; sql = "select usr_lev from users where code = ?";
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
pstmt.setString(1, loginCode); pstmt.setString(1, loginCode);
...@@ -264,8 +253,44 @@ public class PayarrToProc extends ValidatorEJB implements PayarrToProcLocal,Paya ...@@ -264,8 +253,44 @@ public class PayarrToProc extends ValidatorEJB implements PayarrToProcLocal,Paya
} }
} }
} }
} }
//Added By Poonam B[05/11/2019][START]
else if("status".equalsIgnoreCase(childNodeName))
{
flagStatus = checkNull(genericUtility.getColumnValue("status", dom));
System.out.println("flagStatus::::"+flagStatus);
if("E".equalsIgnoreCase(editFlag))
{
if(flagStatus.trim().equalsIgnoreCase("D"))
{
errCode = "DELETEREC";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
msgType = errorType(conn, errCode);
if (msgType.equalsIgnoreCase("E"))
{
break;
}
}
}
//Added By Poonam B[06/11/2019][START]
else if("A".equalsIgnoreCase(editFlag))
{
if(flagStatus.trim().equalsIgnoreCase("D"))
{
errCode = "DELRECO";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
msgType = errorType(conn, errCode);
if (msgType.equalsIgnoreCase("E"))
{
break;
}
}
}
//Added By Poonam B[06/11/2019][END]
}
////Added By Poonam B[05/11/2019][END]
else if("prd_code".equalsIgnoreCase(childNodeName)) else if("prd_code".equalsIgnoreCase(childNodeName))
{ {
prdCode = checkNull(genericUtility.getColumnValue("prd_code", dom)); prdCode = checkNull(genericUtility.getColumnValue("prd_code", dom));
...@@ -468,7 +493,7 @@ public class PayarrToProc extends ValidatorEJB implements PayarrToProcLocal,Paya ...@@ -468,7 +493,7 @@ public class PayarrToProc extends ValidatorEJB implements PayarrToProcLocal,Paya
//Added by Jaffar S. for validation while editing same record on 19-11-18 [End] //Added by Jaffar S. for validation while editing same record on 19-11-18 [End]
} }
} }
} }
} }
int errListSize = errList.size(); int errListSize = errList.size();
...@@ -531,7 +556,7 @@ public class PayarrToProc extends ValidatorEJB implements PayarrToProcLocal,Paya ...@@ -531,7 +556,7 @@ public class PayarrToProc extends ValidatorEJB implements PayarrToProcLocal,Paya
finally finally
{ {
try { try {
if ( rs != null ) if ( rs != null )
{ {
rs.close(); rs.close();
...@@ -643,7 +668,7 @@ public class PayarrToProc extends ValidatorEJB implements PayarrToProcLocal,Paya ...@@ -643,7 +668,7 @@ public class PayarrToProc extends ValidatorEJB implements PayarrToProcLocal,Paya
java.util.Date currDate = new java.util.Date(); java.util.Date currDate = new java.util.Date();
SimpleDateFormat sdf = new SimpleDateFormat(genericUtility.getApplDateFormat()); SimpleDateFormat sdf = new SimpleDateFormat(genericUtility.getApplDateFormat());
chgDate = sdf.format(currDate); chgDate = sdf.format(currDate);
if (objContext != null && objContext.trim().length() > 0) if (objContext != null && objContext.trim().length() > 0)
{ {
currentFormNo = Integer.parseInt(objContext); currentFormNo = Integer.parseInt(objContext);
...@@ -740,6 +765,7 @@ public class PayarrToProc extends ValidatorEJB implements PayarrToProcLocal,Paya ...@@ -740,6 +765,7 @@ public class PayarrToProc extends ValidatorEJB implements PayarrToProcLocal,Paya
if((status.trim().equalsIgnoreCase("D") )) if((status.trim().equalsIgnoreCase("D") ))
{ {
System.out.println("IN IF CONDITION::::::::::"); System.out.println("IN IF CONDITION::::::::::");
System.out.println("Status::::::::::" +status);
xmlString.append("<status protect=\"1\"><![CDATA[").append(checkNull(status)).append("]]></status>\r\n"); xmlString.append("<status protect=\"1\"><![CDATA[").append(checkNull(status)).append("]]></status>\r\n");
xmlString.append("<emp_code protect=\"1\"><![CDATA[").append(checkNull(empCode)).append("]]></emp_code>\r\n"); xmlString.append("<emp_code protect=\"1\"><![CDATA[").append(checkNull(empCode)).append("]]></emp_code>\r\n");
xmlString.append("<site protect=\"1\"><![CDATA[").append(checkNull(site)).append("]]></site>\r\n"); xmlString.append("<site protect=\"1\"><![CDATA[").append(checkNull(site)).append("]]></site>\r\n");
...@@ -754,7 +780,7 @@ public class PayarrToProc extends ValidatorEJB implements PayarrToProcLocal,Paya ...@@ -754,7 +780,7 @@ public class PayarrToProc extends ValidatorEJB implements PayarrToProcLocal,Paya
xmlString.append("<chg_term><![CDATA[").append(checkNull(chgTerm)).append("]]></chg_term>\r\n"); xmlString.append("<chg_term><![CDATA[").append(checkNull(chgTerm)).append("]]></chg_term>\r\n");
} }
//Added by Poonam B[25-SEP-2019][END] //Added by Poonam B[25-SEP-2019][END]
} }
//added emp_code itemchange by Varsha V on 24-08-18 [START] A17ESUN001 //added emp_code itemchange by Varsha V on 24-08-18 [START] A17ESUN001
else if (currentColumn.trim().equalsIgnoreCase("emp_code")) else if (currentColumn.trim().equalsIgnoreCase("emp_code"))
...@@ -876,9 +902,9 @@ public class PayarrToProc extends ValidatorEJB implements PayarrToProcLocal,Paya ...@@ -876,9 +902,9 @@ public class PayarrToProc extends ValidatorEJB implements PayarrToProcLocal,Paya
} }
//Ended emp_code itemchange by Varsha V on 24-08-18 [End] //Ended emp_code itemchange by Varsha V on 24-08-18 [End]
xmlString.append("</Detail1>\r\n"); xmlString.append("</Detail1>\r\n");
} }
} }
} }
catch (Exception ex) catch (Exception ex)
...@@ -890,7 +916,7 @@ public class PayarrToProc extends ValidatorEJB implements PayarrToProcLocal,Paya ...@@ -890,7 +916,7 @@ public class PayarrToProc extends ValidatorEJB implements PayarrToProcLocal,Paya
finally finally
{ {
try { try {
if ( rs != null ) if ( rs != null )
{ {
rs.close(); rs.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