Commit 6dc6b1d8 authored by pbhosale's avatar pbhosale

updated on [13/11/2019] components of Interest Process

interest_process_conf11.xml
InterestProcessConfIC.java
InterestProcessConfICLocal.java
InterestProcessConfICRemote.java


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@211902 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 6612000b
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow>
<Release>9</Release>
<BaseDefinition>
<units>1</units>
<timer_interval>0</timer_interval>
<color>67108864</color>
<processing>0</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>24</left>
<right>24</right>
<top>24</top>
<bottom>24</bottom>
</margin>
<paper>
<source>0</source>
<size>0</size>
</paper>
<prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons>
<preview.buttons>no</preview.buttons>
<cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob>
</print>
</BaseDefinition>
<Summary>
<height>0</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>214</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="15">char</type>
<updatewhereclause>no</updatewhereclause>
<name>from_loanno</name>
<dbname>from_loanno</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<updatewhereclause>no</updatewhereclause>
<name>to_loanno</name>
<dbname>to_loanno</dbname>
</table_column>
<table_column>
<type size="6">char</type>
<updatewhereclause>no</updatewhereclause>
<name>prd_code</name>
<dbname>prd_code</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>emp_code</name>
<dbname>emp_code</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>emp_code_to</name>
<dbname>emp_code_to</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<updatewhereclause>no</updatewhereclause>
<name>site_code</name>
<dbname>site_code</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<updatewhereclause>no</updatewhereclause>
<name>site_code__to</name>
<dbname>site_code__to</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<updatewhereclause>no</updatewhereclause>
<name>proc_group__fr</name>
<dbname>proc_group__fr</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<updatewhereclause>no</updatewhereclause>
<name>proc_group__to</name>
<dbname>proc_group__to</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>prd_descr</name>
<dbname>prd_descr</dbname>
</table_column>
<table_column>
<type size="40">char</type>
<updatewhereclause>no</updatewhereclause>
<name>emp_name</name>
<dbname>emp_name</dbname>
</table_column>
<table_column>
<type size="40">char</type>
<updatewhereclause>no</updatewhereclause>
<name>emp_name_t</name>
<dbname>emp_name_t</dbname>
</table_column>
<table_column>
<type size="60">char</type>
<updatewhereclause>no</updatewhereclause>
<name>site_descr</name>
<dbname>site_descr</dbname>
</table_column>
<table_column>
<type size="60">char</type>
<updatewhereclause>no</updatewhereclause>
<name>site_descr_to</name>
<dbname>site_descr_to</dbname>
</table_column>
<table_column>
<type size="60">char</type>
<updatewhereclause>no</updatewhereclause>
<name>proc_group__fr_name</name>
<dbname>proc_group__fr_name</dbname>
</table_column>
<table_column>
<type size="60">char</type>
<updatewhereclause>no</updatewhereclause>
<name>proc_group__to_name</name>
<dbname>proc_group__to_name</dbname>
</table_column>
</TableDefinition>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>To :</text>
<border>0</border>
<color>0</color>
<x>292</x>
<y>13</y>
<height>16</height>
<width>24</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>to_loanno_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>20</tabsequence>
<border>5</border>
<color>0</color>
<x>321</x>
<y>13</y>
<height>15</height>
<width>103</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>to_loanno</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>15</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>From :</text>
<border>0</border>
<color>0</color>
<x>126</x>
<y>13</y>
<height>16</height>
<width>41</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>from_loanno_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Code :</text>
<border>0</border>
<color>0</color>
<x>126</x>
<y>46</y>
<height>16</height>
<width>41</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_code_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>From :</text>
<border>0</border>
<color>0</color>
<x>126</x>
<y>79</y>
<height>16</height>
<width>41</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>From :</text>
<border>0</border>
<color>0</color>
<x>126</x>
<y>112</y>
<height>16</height>
<width>41</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>t_1</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Loan No. &gt;&gt;</text>
<border>6</border>
<color>16711680</color>
<x>33</x>
<y>13</y>
<height>16</height>
<width>89</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>t_2</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Period &gt;&gt;</text>
<border>6</border>
<color>16711680</color>
<x>33</x>
<y>46</y>
<height>16</height>
<width>89</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>t_3</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Employee Code &gt;&gt;</text>
<border>6</border>
<color>16711680</color>
<x>5</x>
<y>79</y>
<height>16</height>
<width>117</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>t_4</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>0</alignment>
<text>Site &gt;&gt;</text>
<border>6</border>
<color>16711680</color>
<x>80</x>
<y>112</y>
<height>16</height>
<width>42</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>t_5</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Processing Group &gt;&gt;</text>
<border>6</border>
<color>16711680</color>
<x>5</x>
<y>145</y>
<height>16</height>
<width>117</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>t_6</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>From :</text>
<border>0</border>
<color>0</color>
<x>126</x>
<y>145</y>
<height>16</height>
<width>41</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>t_7</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>To :</text>
<border>0</border>
<color>0</color>
<x>409</x>
<y>79</y>
<height>15</height>
<width>22</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>t_8</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>To :</text>
<border>0</border>
<color>0</color>
<x>409</x>
<y>112</y>
<height>16</height>
<width>22</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>t_9</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>To :</text>
<border>0</border>
<color>0</color>
<x>409</x>
<y>145</y>
<height>15</height>
<width>22</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>t_10</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>5</border>
<color>0</color>
<x>172</x>
<y>13</y>
<height>15</height>
<width>103</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>from_loanno</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>15</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>0</alignment>
<tabsequence>30</tabsequence>
<border>5</border>
<color>0</color>
<x>172</x>
<y>46</y>
<height>15</height>
<width>61</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>6</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<alignment>0</alignment>
<tabsequence>40</tabsequence>
<border>5</border>
<color>0</color>
<x>172</x>
<y>79</y>
<height>15</height>
<width>61</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1090519039</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>6</id>
<alignment>0</alignment>
<tabsequence>60</tabsequence>
<border>5</border>
<color>0</color>
<x>172</x>
<y>112</y>
<height>16</height>
<width>61</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>5</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1090519039</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<alignment>0</alignment>
<tabsequence>80</tabsequence>
<border>5</border>
<color>0</color>
<x>172</x>
<y>145</y>
<height>16</height>
<width>61</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>proc_group__fr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>5</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1090519039</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<alignment>0</alignment>
<tabsequence>50</tabsequence>
<border>5</border>
<color>0</color>
<x>436</x>
<y>79</y>
<height>15</height>
<width>61</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code_to</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1090519039</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<alignment>0</alignment>
<tabsequence>70</tabsequence>
<border>5</border>
<color>0</color>
<x>436</x>
<y>112</y>
<height>16</height>
<width>61</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code__to</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>5</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1090519039</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<alignment>0</alignment>
<tabsequence>90</tabsequence>
<border>5</border>
<color>0</color>
<x>436</x>
<y>145</y>
<height>16</height>
<width>61</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>proc_group__to</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>5</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1090519039</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>10</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>237</x>
<y>46</y>
<height>16</height>
<width>149</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_descr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>11</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>237</x>
<y>79</y>
<height>16</height>
<width>149</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_name</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>13</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>237</x>
<y>112</y>
<height>17</height>
<width>149</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_descr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>15</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>237</x>
<y>145</y>
<height>16</height>
<width>149</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>proc_group__fr_name</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>14</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>502</x>
<y>111</y>
<height>16</height>
<width>159</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_descr_to</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>16</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>502</x>
<y>145</y>
<height>16</height>
<width>159</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>proc_group__to_name</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>12</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>502</x>
<y>79</y>
<height>16</height>
<width>159</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_name_t</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
<HtmlGen>
<clientevents>1</clientevents>
<clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
</Export.XML>
<Import.XML>
</Import.XML>
<Export.PDF>
<method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
package ibase.webitm.ejb.adm;
import java.rmi.RemoteException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.Statement;
import java.sql.Timestamp;
import java.text.SimpleDateFormat;
import java.util.HashMap;
import javax.ejb.Stateless;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import ibase.utility.E12GenericUtility;
import ibase.utility.UserInfoBean;
import ibase.webitm.bean.adm.LogWriterDatabase;
import ibase.webitm.ejb.ActionHandlerEJB;
import ibase.webitm.ejb.ITMDBAccessEJB;
import ibase.webitm.ejb.ValidatorEJB;
import ibase.webitm.ejb.fin.FinCommon;
import ibase.webitm.ejb.sys.UtilMethods;
import ibase.webitm.utility.GenericUtility;
import ibase.webitm.utility.ITMException;
@Stateless
public class InterestProcessConfIC extends ValidatorEJB implements InterestProcessConfICLocal, InterestProcessConfICRemote
{
E12GenericUtility genericUtility = new E12GenericUtility();
AdmCommon admCommon = new AdmCommon();
UtilMethods utilmethod = new UtilMethods();
ITMDBAccessEJB itmDBAccessEJB = new ITMDBAccessEJB();
FinCommon finCommon = new FinCommon();
public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException
{
Document dom = null;
Document dom1 = null;
Document dom2 = null;
String errString = "";
try
{
if(xmlString != null && xmlString.trim().length()!=0)
{
dom = genericUtility.parseString(xmlString);
}
if(xmlString1 != null && xmlString1.trim().length()!=0)
{
dom1 = genericUtility.parseString(xmlString1);
}
if(xmlString2 != null && xmlString2.trim().length()!=0)
{
dom2 = genericUtility.parseString(xmlString2);
}
errString = wfValData(dom,dom1,dom2,objContext,editFlag,xtraParams);
System.out.println("ErrString :" + errString);
}
catch(Exception e)
{
System.out.println("Exception :InterestProcessConf :wfValData(String xmlString):" + e.getMessage() + ":");
errString = genericUtility.createErrorString(e);
e.printStackTrace();
throw new ITMException(e);
}
System.out.println("Returning from InterestProcessConfIC wfValData : "+errString);
return errString;
}
public String wfValData(Document dom,Document dom1,Document dom2,String objContext,String editFlag,String xtraParams) throws RemoteException,ITMException
{
String userId = null;
String errString = "";
String empCode = "";
String prdCode = "";
Connection conn = null;
Statement stmt = null;
PreparedStatement pstmt = null;
ResultSet rs = null;
NodeList parentList = null;
NodeList childList = null;
Node parentNode = null;
Node childNode = null;
String childNodeName = null;
int counterChild = 0;
int noOfChilds = 0;
int currentFormNo = 0;
try
{
System.out.println("Inside InterestProcessConfIC.wfValData()");
userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginCode");
empCode = genericUtility.getColumnValue("emp_code",dom);
conn = getConnection();
if(objContext != null && objContext.trim().length( ) > 0)
{
currentFormNo = Integer.parseInt(objContext);
}
parentList = dom.getElementsByTagName("Detail" + currentFormNo);
parentNode = parentList.item(0);
childList = parentNode.getChildNodes();
noOfChilds = childList.getLength();
System.out.println("noOfChilds == "+noOfChilds);
for(counterChild = 1; counterChild < noOfChilds; counterChild++)
{
childNode = childList.item(counterChild);
childNodeName = childNode.getNodeName();
switch(currentFormNo)
{
case 1:
System.out.println("In case 1 ::::::::");
if (childNodeName.equals("prd_code"))
{
prdCode = checkNull(genericUtility.getColumnValue("prd_code", dom));
if(prdCode == null || prdCode.trim().length() == 0)
{
errString = getErrorString("prd_code", "VTPRD2", userId);
return errString;
}
}
}
}
}catch(Exception e)
{
System.out.println("Exception :InterestProcessConfIC :wfValData(Document dom):" + e.getMessage() + ":");
errString = genericUtility.createErrorString(e);
e.printStackTrace();
throw new ITMException(e);
}
finally
{
try
{
System.out.println("Closing Connection...........");
if(rs != null)
{
rs.close();
rs = null;
}
if(stmt != null)
{
stmt.close();
stmt = null;
}
if(conn != null)
{
conn.close();
conn = null;
}
}
catch(Exception e){}
}
return errString;
}
public String itemChanged(String xmlString, String xmlString1, String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException
{
Document dom = null;
Document domhr = null;
Document domAll = null;
String retString = "";
try
{
System.out.println("************** Inside itemChanged method of InterestProcessConfIC ****************");
if(xmlString != null && xmlString.trim().length() > 0)
{
dom = genericUtility.parseString(xmlString);
}
if(xmlString1 != null && xmlString1.trim().length() > 0)
{
domhr = genericUtility.parseString(xmlString1);
}
if(xmlString2 != null && xmlString2.trim().length() > 0)
{
domAll = genericUtility.parseString(xmlString2);
}
retString = itemChanged(dom,domhr,domAll,objContext,currentColumn,editFlag,xtraParams);
System.out.println("retString:::::::::: "+retString);
}
catch(Exception e)
{
System.out.println(":::" + getClass().getSimpleName() + "::"+ e.getMessage());
e.getMessage();
throw new ITMException(e);
}
return retString;
}
public String itemChanged(Document dom, Document dom1, Document dom2,String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException
{
String lsColName = "", empCode = "", prdCode = "", loginSite = "", lsVal1 = "", lsFname = "", lsLname = "", lsDescr = "", empFname = "",
empLname = "", empName = "", empCodeTo = "", siteCode = "", siteCodeTo = "", prdCodeFrm = "", prdCodeTo = "";
Connection conn = null;
int currentFormNo = 0,ctr = 0;
StringBuffer valueXmlString = new StringBuffer();
String childNodeName = "";
NodeList parentNodeList = null;
NodeList childNodeList = null;
Node parentNode = null;
Node childNode = null;
int childNodeListLength = 0;
String runMode = "";
String sql = "";
PreparedStatement pstmt = null;
ResultSet rs = null;
SimpleDateFormat sdf = null;
try
{
conn = getConnection();
if (objContext != null && objContext.trim().length() > 0)
{
currentFormNo = Integer.parseInt(objContext);
}
System.out.println("[" + this.getClass().getSimpleName() + "] [itemChanged(D)]:currentFormNo:" + currentFormNo);
System.out.println("currentColumn:::::" + currentColumn);
valueXmlString = new StringBuffer("<?xml version=\"1.0\" encoding=''?>\r\n<Root>\r\n<header>\r\n<editFlag>");
valueXmlString.append(editFlag).append("</editFlag>\r\n</header>\r\n");
sdf = new SimpleDateFormat(genericUtility.getDispDateFormat());
switch (currentFormNo)
{
case 1:
{
valueXmlString.append("<Detail1>\r\n");
if (currentColumn.trim().equals("itm_default"))
{
System.out.println("--------Inside itm_default--------");
System.out.println("xtraParams------- "+xtraParams);
loginSite = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginSiteCode");
System.out.println("loginSite ==== "+loginSite);
if(loginSite != null || loginSite.trim().length() > 0)
{
sql = "select descr from site where site_code = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, loginSite);
rs = pstmt.executeQuery();
if(rs.next())
{
lsDescr = checkNull(rs.getString("descr")).trim();
System.out.println("Descr == "+lsDescr);
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
valueXmlString.append("<site_code><![CDATA[").append(loginSite).append("]]></site_code>");
valueXmlString.append("<site_code__to><![CDATA[").append(loginSite).append("]]></site_code__to>");
valueXmlString.append("<site_descr><![CDATA[").append(lsDescr).append("]]></site_descr>");
valueXmlString.append("<site_descr_to><![CDATA[").append(lsDescr).append("]]></site_descr_to>");
}
}
if (currentColumn.trim().equals("prd_code"))
{
prdCode = checkNull(genericUtility.getColumnValue("prd_code", dom)).trim();
sql = "select descr from period where code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, prdCode);
rs = pstmt.executeQuery();
if(rs.next())
{
lsVal1 = checkNull(rs.getString("descr")).trim();
System.out.println("lsVal1 descr == "+lsVal1);
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
valueXmlString.append("<prd_descr><![CDATA[").append(lsVal1).append("]]></prd_descr>");
}
if (currentColumn.trim().equals("emp_code"))
{
empCode = checkNull(genericUtility.getColumnValue("emp_code", dom)).trim();
sql = "select emp_fname, emp_lname from employee where emp_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, empCode);
rs = pstmt.executeQuery();
if(rs.next())
{
empFname = checkNull(rs.getString("emp_fname")).trim();
empLname = checkNull(rs.getString("emp_lname")).trim();
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
empName = empFname.concat(" ").concat(" ").concat(empLname);
valueXmlString.append("<emp_name><![CDATA[").append(empName).append("]]></emp_name>");
}
if (currentColumn.trim().equals("emp_code_to"))
{
empCodeTo = checkNull(genericUtility.getColumnValue("emp_code_to", dom)).trim();
sql = "select emp_fname, emp_lname from employee where emp_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, empCodeTo);
rs = pstmt.executeQuery();
if(rs.next())
{
empFname = checkNull(rs.getString("emp_fname")).trim();
empLname = checkNull(rs.getString("emp_lname")).trim();
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
empName = empFname.concat(" ").concat(" ").concat(empLname);
valueXmlString.append("<emp_name_t><![CDATA[").append(empName).append("]]></emp_name_t>");
}
if (currentColumn.trim().equals("site_code"))
{
siteCode = checkNull(genericUtility.getColumnValue("site_code", dom)).trim();
sql = "select descr from site where site_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, siteCode);
rs = pstmt.executeQuery();
if(rs.next())
{
lsVal1 = checkNull(rs.getString("descr")).trim();
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
valueXmlString.append("<site_descr><![CDATA[").append(lsVal1).append("]]></site_descr>");
}
if (currentColumn.trim().equals("site_code__to"))
{
siteCodeTo = checkNull(genericUtility.getColumnValue("site_code__to", dom)).trim();
sql = "select descr from site where site_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, siteCode);
rs = pstmt.executeQuery();
if(rs.next())
{
lsVal1 = checkNull(rs.getString("descr")).trim();
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
valueXmlString.append("<site_descr_to><![CDATA[").append(lsVal1).append("]]></site_descr_to>");
}
if(currentColumn.trim().equals("proc_group__fr"))
{
prdCodeFrm = checkNull(genericUtility.getColumnValue("proc_group__fr", dom)).trim();
sql = "select descr from gencodes where fld_name = 'PROC_GROUP' and fld_value = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, prdCodeFrm);
rs = pstmt.executeQuery();
if(rs.next())
{
lsVal1 = checkNull(rs.getString("descr")).trim();
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
valueXmlString.append("<proc_group__fr_name><![CDATA[").append(lsVal1).append("]]></proc_group__fr_name>");
}
if(currentColumn.trim().equals("proc_group__to"))
{
prdCodeTo = checkNull(genericUtility.getColumnValue("proc_group__fr", dom)).trim();
sql = "select descr from gencodes where fld_name = 'PROC_GROUP' and fld_value = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, prdCodeTo);
rs = pstmt.executeQuery();
if(rs.next())
{
lsVal1 = checkNull(rs.getString("descr")).trim();
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
valueXmlString.append("<proc_group__to_name><![CDATA[").append(lsVal1).append("]]></proc_group__to_name>");
}
valueXmlString.append("</Detail1>\r\n");
}
valueXmlString.append("</Root>\r\n");
}
}catch (Exception e) {
System.out.println("Exception in EJB["+this.getClass().getSimpleName()+"]:[" + e.getMessage()+"]");
e.printStackTrace();
throw new ITMException(e);
}
finally
{
try {
if(conn != null)
{
conn.close();
conn = null;
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
System.out.println("Closed all Database Resource...!");
} catch (Exception e) {
System.out.println("Exception in EJB["+this.getClass().getSimpleName()+"]::itemChanged::[" + e.getMessage()+"]");
throw new ITMException(e);
}
}
return valueXmlString.toString();
}
public String checkNull(String argStr)
{
if(argStr == null)
{
argStr = "";
}
return argStr;
}
}
package ibase.webitm.ejb.adm;
import java.rmi.RemoteException;
import java.sql.Connection;
import javax.ejb.Local;
import org.w3c.dom.Document;
import ibase.webitm.ejb.ActionHandlerLocal;
import ibase.webitm.ejb.ValidatorLocal;
import ibase.webitm.utility.ITMException;
@Local
public interface InterestProcessConfICLocal extends ValidatorLocal
{
public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String wfValData(Document dom, Document dom1, Document dom2,String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged(String xmlString, String xmlString1, String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged(Document dom, Document dom1, Document dom2,String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
}
package ibase.webitm.ejb.adm;
import java.rmi.RemoteException;
import java.sql.Connection;
import javax.ejb.Remote;
import org.w3c.dom.Document;
import ibase.webitm.ejb.ActionHandlerRemote;
import ibase.webitm.ejb.ValidatorRemote;
import ibase.webitm.utility.ITMException;
@Remote
public interface InterestProcessConfICRemote extends ValidatorRemote
{
public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String wfValData(Document dom, Document dom1, Document dom2,String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged(String xmlString, String xmlString1, String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged(Document dom, Document dom1, Document dom2,String objContext, String currentColumn, String editFlag, String xtraParams) 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