Commit 0a1623e6 authored by pbhosale's avatar pbhosale

Updated Components on [18/10/19]

arrears_deletion11.xml
d_arrears_deletion_filt.srd
ArrearsDeletePrc.java
ArrearsDeleteIC.java
ArrearsDeleteICLocal.java
ArrearsDeleteICRemote.java
A18FSUN004.sql


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@210040 ce508802-f39f-4f6c-b175-0d175dae99d5
parent ce70cf6f
update transetup set edit_expr = 'and payarr_to_proc.status not in(''D'')' where tran_window = 'w_payarr_to_proc';
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 ('DELRECO ',' Record Deleted !','You can not insert the record because record is already disable','E','Y',null,null,null,to_date('25-SEP-19','DD-MON-RR'),'BASE ','BASE ',null,null);
update SYSTEM_EVENTS set SERVICE_CODE = 'poic_default_ejb', COMP_TYPE = 'JB', COMP_NAME = 'ibase.webitm.ejb.adm.ArrearsDeleteIC' where OBJ_NAME = 'arrears_deletion' and EVENT_CODE = 'post_item_change';
update SYSTEM_EVENTS set SERVICE_CODE = 'prv_default_ejb', COMP_TYPE = 'JB', COMP_NAME = 'ibase.webitm.ejb.adm.ArrearsDeleteIC' where OBJ_NAME = 'arrears_deletion' and EVENT_CODE = 'pre_validate';
update SYSTEM_EVENTS set SERVICE_CODE = 'prc_default_ejb', COMP_TYPE = 'JB', COMP_NAME = 'ibase.webitm.ejb.adm.adv.ArrearsDeletePrc' where OBJ_NAME = 'arrears_deletion' and EVENT_CODE = 'process';
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('arrears_deletion','1','prd_code__acc',null);
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('arrears_deletion','1','site_code__fr',null);
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('arrears_deletion','1','type',null);
...@@ -114,8 +114,8 @@ ...@@ -114,8 +114,8 @@
<text>Basic</text> <text>Basic</text>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>23</x> <x>25</x>
<y>18</y> <y>19</y>
<height>197</height> <height>197</height>
<width>463</width> <width>463</width>
<name>gb_1</name> <name>gb_1</name>
...@@ -171,7 +171,7 @@ ...@@ -171,7 +171,7 @@
<x>166</x> <x>166</x>
<y>38</y> <y>38</y>
<height>16</height> <height>16</height>
<width>66</width> <width>151</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
...@@ -182,6 +182,7 @@ ...@@ -182,6 +182,7 @@
<limit>0</limit> <limit>0</limit>
<allowedit>no</allowedit> <allowedit>no</allowedit>
<case>any</case> <case>any</case>
<useasborder>yes</useasborder>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
......
...@@ -15,9 +15,9 @@ table(column=(type=char(6) updatewhereclause=no name=prd_code__fr dbname="prd_co ...@@ -15,9 +15,9 @@ table(column=(type=char(6) updatewhereclause=no name=prd_code__fr dbname="prd_co
column=(type=char(10) updatewhereclause=no name=type dbname="type" initial="AR" values="Arrears AR/Payroll PY/" ) column=(type=char(10) updatewhereclause=no name=type dbname="type" initial="AR" values="Arrears AR/Payroll PY/" )
column=(type=char(10) updatewhereclause=no name=proc_group__fr dbname="proc_group__fr" ) column=(type=char(10) updatewhereclause=no name=proc_group__fr dbname="proc_group__fr" )
) )
groupbox(band=detail text="Basic"border="5" color="33554432" x="23" y="18" height="197" width="463" name=gb_1 visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" ) groupbox(band=detail text="Basic"border="5" color="33554432" x="25" y="19" height="197" width="463" name=gb_1 visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=detail alignment="1" text="Type :" border="5" color="0" x="59" y="38" height="16" width="100" html.valueishtml="0" name=type_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" ) text(band=detail alignment="1" text="Type :" border="5" color="0" x="59" y="38" height="16" width="100" html.valueishtml="0" name=type_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=9 alignment="0" tabsequence=10 border="5" color="0" x="166" y="38" height="16" width="66" format="[general]" html.valueishtml="0" name=type visible="1" ddlb.limit=0 ddlb.allowedit=no ddlb.case=any ddlb.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1090519039" ) column(band=detail id=9 alignment="0" tabsequence=10 border="5" color="0" x="166" y="38" height="16" width="151" format="[general]" html.valueishtml="0" name=type visible="1" ddlb.limit=0 ddlb.allowedit=no ddlb.case=any ddlb.useasborder=yes ddlb.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1090519039" )
column(band=detail id=5 alignment="0" tabsequence=20 border="5" color="0" x="165" y="65" height="16" width="66" format="[general]" html.valueishtml="0" name=emp_code__fr visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=5 alignment="0" tabsequence=20 border="5" color="0" x="165" y="65" height="16" width="66" format="[general]" html.valueishtml="0" name=emp_code__fr visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Employee From :" border="5" color="0" x="59" y="64" height="15" width="100" html.valueishtml="0" name=emp_code__fr_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) text(band=detail alignment="1" text="Employee From :" border="5" color="0" x="59" y="64" height="15" width="100" html.valueishtml="0" name=emp_code__fr_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Site From :" border="5" color="0" x="59" y="89" height="16" width="100" html.valueishtml="0" name=site_code__fr_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) text(band=detail alignment="1" text="Site From :" border="5" color="0" x="59" y="89" height="16" width="100" html.valueishtml="0" name=site_code__fr_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
......
...@@ -9,6 +9,8 @@ import java.sql.PreparedStatement; ...@@ -9,6 +9,8 @@ import java.sql.PreparedStatement;
import java.sql.ResultSet; import java.sql.ResultSet;
import java.util.ArrayList; import java.util.ArrayList;
import javax.ejb.Stateless;
import org.w3c.dom.Document; import org.w3c.dom.Document;
import org.w3c.dom.Node; import org.w3c.dom.Node;
import org.w3c.dom.NodeList; import org.w3c.dom.NodeList;
...@@ -16,7 +18,7 @@ import org.w3c.dom.NodeList; ...@@ -16,7 +18,7 @@ import org.w3c.dom.NodeList;
import ibase.utility.E12GenericUtility; import ibase.utility.E12GenericUtility;
import ibase.webitm.ejb.ValidatorEJB; import ibase.webitm.ejb.ValidatorEJB;
import ibase.webitm.utility.ITMException; import ibase.webitm.utility.ITMException;
@Stateless
public class ArrearsDeleteIC extends ValidatorEJB implements ArrearsDeleteICRemote, ArrearsDeleteICLocal public class ArrearsDeleteIC extends ValidatorEJB implements ArrearsDeleteICRemote, ArrearsDeleteICLocal
{ {
E12GenericUtility genericUtility = new E12GenericUtility(); E12GenericUtility genericUtility = new E12GenericUtility();
...@@ -329,6 +331,8 @@ public class ArrearsDeleteIC extends ValidatorEJB implements ArrearsDeleteICRemo ...@@ -329,6 +331,8 @@ public class ArrearsDeleteIC extends ValidatorEJB implements ArrearsDeleteICRemo
if ("itm_default".equalsIgnoreCase(currentColumn)) if ("itm_default".equalsIgnoreCase(currentColumn))
{ {
System.out.println("currentColumn1:::::" + currentColumn); System.out.println("currentColumn1:::::" + currentColumn);
//Added by Varsha V on 17-10-19 to set AR by default.
valueXmlString.append( "<type><![CDATA[" ).append("AR").append( "]]></type>\r\n" );
valueXmlString.append( "<site_code__fr><![CDATA[" ).append(loginSiteCode).append( "]]></site_code__fr>\r\n" ); valueXmlString.append( "<site_code__fr><![CDATA[" ).append(loginSiteCode).append( "]]></site_code__fr>\r\n" );
valueXmlString.append( "<site_code__to><![CDATA[" ).append(loginSiteCode).append( "]]></site_code__to>\r\n" ); valueXmlString.append( "<site_code__to><![CDATA[" ).append(loginSiteCode).append( "]]></site_code__to>\r\n" );
} }
......
...@@ -2,9 +2,11 @@ package ibase.webitm.ejb.adm; ...@@ -2,9 +2,11 @@ package ibase.webitm.ejb.adm;
import java.rmi.RemoteException; import java.rmi.RemoteException;
import javax.ejb.Local;
import ibase.webitm.ejb.ValidatorLocal; import ibase.webitm.ejb.ValidatorLocal;
import ibase.webitm.utility.ITMException; import ibase.webitm.utility.ITMException;
@Local
public interface ArrearsDeleteICLocal extends ValidatorLocal public interface ArrearsDeleteICLocal extends ValidatorLocal
{ {
public String wfValData() throws RemoteException,ITMException; public String wfValData() throws RemoteException,ITMException;
......
...@@ -2,9 +2,11 @@ package ibase.webitm.ejb.adm; ...@@ -2,9 +2,11 @@ package ibase.webitm.ejb.adm;
import java.rmi.RemoteException; import java.rmi.RemoteException;
import javax.ejb.Remote;
import ibase.webitm.ejb.ValidatorRemote; import ibase.webitm.ejb.ValidatorRemote;
import ibase.webitm.utility.ITMException; import ibase.webitm.utility.ITMException;
@Remote
public interface ArrearsDeleteICRemote extends ValidatorRemote public interface ArrearsDeleteICRemote extends ValidatorRemote
{ {
public String wfValData() throws RemoteException,ITMException; public String wfValData() throws RemoteException,ITMException;
......
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