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]
......
...@@ -103,7 +103,7 @@ ...@@ -103,7 +103,7 @@
<dbname>payarr_to_proc.chg_user</dbname> <dbname>payarr_to_proc.chg_user</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="15">char</type> <type size="300">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>chg_term</name> <name>chg_term</name>
...@@ -148,7 +148,7 @@ ...@@ -148,7 +148,7 @@
<dbname>psuedo_status</dbname> <dbname>psuedo_status</dbname>
</table_column> </table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;employee&quot; ) TABLE(NAME=&quot;payarr_to_proc&quot; ) TABLE(NAME=&quot;site&quot; ) COLUMN(NAME=&quot;payarr_to_proc.emp_code&quot;) COMPUTE(NAME=&quot;TRIM(SITE.DESCR) AS DESCR&quot;) COMPUTE(NAME=&quot;TRIM(EMPLOYEE.PAY_SITE) AS SITE&quot;) COLUMN(NAME=&quot;payarr_to_proc.prd_code&quot;) COLUMN(NAME=&quot;payarr_to_proc.prd_code__acc&quot;) COLUMN(NAME=&quot;payarr_to_proc.proc_date&quot;) COLUMN(NAME=&quot;payarr_to_proc.chg_date&quot;) COLUMN(NAME=&quot;payarr_to_proc.chg_user&quot;) COLUMN(NAME=&quot;payarr_to_proc.chg_term&quot;) COLUMN(NAME=&quot;payarr_to_proc.proc_type&quot;) COLUMN(NAME=&quot;payarr_to_proc.tran_id&quot;) COMPUTE(NAME=&quot;TRIM(EMPLOYEE.EMP_FNAME)||&apos; &apos;||TRIM(EMPLOYEE.EMP_MNAME)||&apos; &apos;||TRIM(EMPLOYEE.EMP_LNAME) AS NAME <retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;employee&quot; ) TABLE(NAME=&quot;payarr_to_proc&quot; ) TABLE(NAME=&quot;site&quot; ) COLUMN(NAME=&quot;payarr_to_proc.emp_code&quot;) COMPUTE(NAME=&quot;TRIM(SITE.DESCR) AS DESCR&quot;) COMPUTE(NAME=&quot;TRIM(EMPLOYEE.PAY_SITE) AS SITE&quot;) COLUMN(NAME=&quot;payarr_to_proc.prd_code&quot;) COLUMN(NAME=&quot;payarr_to_proc.prd_code__acc&quot;) COLUMN(NAME=&quot;payarr_to_proc.proc_date&quot;) COLUMN(NAME=&quot;payarr_to_proc.chg_date&quot;) COLUMN(NAME=&quot;payarr_to_proc.chg_user&quot;) COLUMN(NAME=&quot;payarr_to_proc.chg_term&quot;) COLUMN(NAME=&quot;payarr_to_proc.proc_type&quot;) COLUMN(NAME=&quot;payarr_to_proc.tran_id&quot;) COMPUTE(NAME=&quot;TRIM(EMPLOYEE.EMP_FNAME)||&apos; &apos;||TRIM(EMPLOYEE.EMP_MNAME)||&apos; &apos;||TRIM(EMPLOYEE.EMP_LNAME) AS NAME
&quot;) COLUMN(NAME=&quot;payarr_to_proc.status&quot;) COMPUTE(NAME=&quot;CASE PAYARR_TO_PROC.status WHEN &apos;P&apos; THEN &apos;Processed&apos; ELSE &apos;Unprocessed&apos; END AS psuedo_status&quot;) JOIN (LEFT=&quot;employee.emp_code&quot; OP =&quot;=&quot;RIGHT=&quot;payarr_to_proc.emp_code&quot; ) JOIN (LEFT=&quot;employee.pay_site&quot; OP =&quot;=&quot;RIGHT=&quot;site.site_code&quot; )WHERE( EXP1 =&quot;~&quot;PAYARR_TO_PROC~&quot;.~&quot;EMP_CODE~&quot;&quot; OP =&quot;=&quot; EXP2 =&quot;:EMP_CODE&quot; ) ) ARG(NAME = &quot;EMP_CODE&quot; TYPE = number) </retrieve> &quot;) COLUMN(NAME=&quot;payarr_to_proc.status&quot;) COMPUTE(NAME=&quot;CASE PAYARR_TO_PROC.status WHEN &apos;P&apos; THEN &apos;Processed&apos; WHEN &apos;D&apos; THEN &apos;Deleted&apos; ELSE &apos;Unprocessed&apos; END AS psuedo_status&quot;) JOIN (LEFT=&quot;employee.emp_code&quot; OP =&quot;=&quot;RIGHT=&quot;payarr_to_proc.emp_code&quot; ) JOIN (LEFT=&quot;employee.pay_site&quot; OP =&quot;=&quot;RIGHT=&quot;site.site_code&quot; )WHERE( EXP1 =&quot;~&quot;PAYARR_TO_PROC~&quot;.~&quot;EMP_CODE~&quot;&quot; OP =&quot;=&quot; EXP2 =&quot;:EMP_CODE&quot; ) ) ARG(NAME = &quot;EMP_CODE&quot; TYPE = number) </retrieve>
<update>PAYARR_TO_PROC</update> <update>PAYARR_TO_PROC</update>
<updatewhere>0</updatewhere> <updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace> <updatekeyinplace>no</updatekeyinplace>
...@@ -160,7 +160,7 @@ ...@@ -160,7 +160,7 @@
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>2</alignment> <alignment>2</alignment>
<text>Change On</text> <text>Change Date</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>1059</x> <x>1059</x>
...@@ -328,7 +328,7 @@ ...@@ -328,7 +328,7 @@
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>2</alignment> <alignment>2</alignment>
<text>Change By</text> <text>Change User</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>1151</x> <x>1151</x>
...@@ -356,7 +356,7 @@ ...@@ -356,7 +356,7 @@
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>2</alignment> <alignment>2</alignment>
<text>Change From</text> <text>Change Term</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>1229</x> <x>1229</x>
...@@ -525,7 +525,7 @@ ...@@ -525,7 +525,7 @@
<band>Detail</band> <band>Detail</band>
<id>1</id> <id>1</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>10</tabsequence> <tabsequence>32766</tabsequence>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>2</x> <x>2</x>
...@@ -555,32 +555,33 @@ ...@@ -555,32 +555,33 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>1</mode>
<color>16777215</color> <color>536870912</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>12</id> <id>2</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>102</x> <x>395</x>
<y>2</y> <y>2</y>
<height>19</height> <height>19</height>
<width>231</width> <width>196</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>name</name> <name>descr</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>60</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>no</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
...@@ -592,8 +593,8 @@ ...@@ -592,8 +593,8 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>1</mode>
<color>16777215</color> <color>536870912</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
...@@ -630,29 +631,29 @@ ...@@ -630,29 +631,29 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>1</mode>
<color>16777215</color> <color>536870912</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>2</id> <id>4</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>395</x> <x>593</x>
<y>2</y> <y>2</y>
<height>19</height> <height>19</height>
<width>196</width> <width>98</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>descr</name> <name>prd_code</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>60</limit> <limit>6</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
...@@ -668,26 +669,26 @@ ...@@ -668,26 +669,26 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>1</mode>
<color>16777215</color> <color>536870912</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>4</id> <id>5</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>20</tabsequence> <tabsequence>32766</tabsequence>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>593</x> <x>805</x>
<y>2</y> <y>2</y>
<height>19</height> <height>19</height>
<width>98</width> <width>150</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>prd_code</name> <name>prd_code__acc</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>6</limit> <limit>6</limit>
...@@ -706,32 +707,33 @@ ...@@ -706,32 +707,33 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>1</mode>
<color>16777215</color> <color>536870912</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>14</id> <id>10</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>693</x> <x>1321</x>
<y>2</y> <y>2</y>
<height>19</height> <height>19</height>
<width>110</width> <width>83</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>psuedo_status</name> <name>proc_type</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>2</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>no</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
...@@ -743,29 +745,29 @@ ...@@ -743,29 +745,29 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>1</mode>
<color>16777215</color> <color>536870912</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>5</id> <id>6</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>805</x> <x>957</x>
<y>2</y> <y>2</y>
<height>19</height> <height>19</height>
<width>150</width> <width>100</width>
<format>[general]</format> <format>[shortdate] [time]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>prd_code__acc</name> <name>proc_date</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>6</limit> <limit>0</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
...@@ -781,26 +783,26 @@ ...@@ -781,26 +783,26 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>1</mode>
<color>16777215</color> <color>536870912</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>6</id> <id>7</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>957</x> <x>1059</x>
<y>2</y> <y>2</y>
<height>19</height> <height>19</height>
<width>100</width> <width>90</width>
<format>[shortdate] [time]</format> <format>[shortdate] [time]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>proc_date</name> <name>chg_date</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>0</limit>
...@@ -819,29 +821,29 @@ ...@@ -819,29 +821,29 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>1</mode>
<color>16777215</color> <color>536870912</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>7</id> <id>8</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>1059</x> <x>1151</x>
<y>2</y> <y>2</y>
<height>19</height> <height>19</height>
<width>90</width> <width>76</width>
<format>[shortdate] [time]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_date</name> <name>chg_user</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>10</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
...@@ -857,29 +859,29 @@ ...@@ -857,29 +859,29 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>1</mode>
<color>16777215</color> <color>536870912</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>8</id> <id>9</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>1151</x> <x>1229</x>
<y>2</y> <y>2</y>
<height>19</height> <height>19</height>
<width>76</width> <width>90</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_user</name> <name>chg_term</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>10</limit> <limit>15</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
...@@ -895,33 +897,32 @@ ...@@ -895,33 +897,32 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>1</mode>
<color>16777215</color> <color>536870912</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>9</id> <id>12</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>1229</x> <x>102</x>
<y>2</y> <y>2</y>
<height>19</height> <height>19</height>
<width>90</width> <width>231</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_term</name> <name>name</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>15</limit> <limit>0</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>no</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
...@@ -933,33 +934,32 @@ ...@@ -933,33 +934,32 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>1</mode>
<color>16777215</color> <color>536870912</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>10</id> <id>14</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>30</tabsequence> <tabsequence>32766</tabsequence>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>1321</x> <x>693</x>
<y>2</y> <y>2</y>
<height>19</height> <height>19</height>
<width>83</width> <width>110</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>proc_type</name> <name>psuedo_status</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>2</limit> <limit>0</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>no</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
...@@ -971,8 +971,8 @@ ...@@ -971,8 +971,8 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>1</mode>
<color>16777215</color> <color>536870912</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
...@@ -1008,8 +1008,8 @@ ...@@ -1008,8 +1008,8 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>1</mode>
<color>16777215</color> <color>536870912</color>
</background> </background>
</ColumnObject> </ColumnObject>
<HtmlTable> <HtmlTable>
......
...@@ -78,6 +78,7 @@ ...@@ -78,6 +78,7 @@
<values> <values>
<item display="Unprocessed" data="U"/> <item display="Unprocessed" data="U"/>
<item display="Processed" data="P"/> <item display="Processed" data="P"/>
<item display="Deleted" data="D"/>
</values> </values>
</table_column> </table_column>
<table_column> <table_column>
...@@ -109,7 +110,7 @@ ...@@ -109,7 +110,7 @@
<dbname>payarr_to_proc.chg_user</dbname> <dbname>payarr_to_proc.chg_user</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="15">char</type> <type size="300">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>chg_term</name> <name>chg_term</name>
...@@ -130,7 +131,6 @@ ...@@ -130,7 +131,6 @@
<type size="12">char</type> <type size="12">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>tran_id</name> <name>tran_id</name>
<dbname>payarr_to_proc.tran_id</dbname> <dbname>payarr_to_proc.tran_id</dbname>
</table_column> </table_column>
...@@ -146,26 +146,37 @@ ...@@ -146,26 +146,37 @@
<name>psuedo_status</name> <name>psuedo_status</name>
<dbname>psuedo_status</dbname> <dbname>psuedo_status</dbname>
</table_column> </table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;employee&quot; ) TABLE(NAME=&quot;payarr_to_proc&quot; ) TABLE(NAME=&quot;site&quot; ) COLUMN(NAME=&quot;payarr_to_proc.emp_code&quot;) COMPUTE(NAME=&quot;TRIM(EMPLOYEE.PAY_SITE) AS SITE&quot;) COMPUTE(NAME=&quot;TRIM(SITE.DESCR) AS DESCR&quot;) COLUMN(NAME=&quot;payarr_to_proc.prd_code&quot;) COLUMN(NAME=&quot;payarr_to_proc.status&quot;) COLUMN(NAME=&quot;payarr_to_proc.prd_code__acc&quot;) COLUMN(NAME=&quot;payarr_to_proc.proc_date&quot;) COLUMN(NAME=&quot;payarr_to_proc.chg_date&quot;) COLUMN(NAME=&quot;payarr_to_proc.chg_user&quot;) COLUMN(NAME=&quot;payarr_to_proc.chg_term&quot;) COLUMN(NAME=&quot;payarr_to_proc.proc_type&quot;) COLUMN(NAME=&quot;payarr_to_proc.tran_id&quot;) COMPUTE(NAME=&quot;TRIM(EMPLOYEE.EMP_FNAME) || &apos; &apos; || TRIM(EMPLOYEE.EMP_MNAME) || &apos; &apos; || TRIM(EMPLOYEE.EMP_LNAME) AS NAME&quot;) COMPUTE(NAME=&quot;CASE PAYARR_TO_PROC.status WHEN &apos;P&apos; THEN &apos;Processed&apos; ELSE &apos;Unprocessed&apos; END AS psuedo_status&quot;) JOIN (LEFT=&quot;employee.emp_code&quot; OP =&quot;=&quot;RIGHT=&quot;payarr_to_proc.emp_code&quot; ) JOIN (LEFT=&quot;employee.pay_site&quot; OP =&quot;=&quot;RIGHT=&quot;site.site_code&quot; )WHERE( EXP1 =&quot;~&quot;PAYARR_TO_PROC~&quot;.~&quot;TRAN_ID~&quot;&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) </retrieve> <retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;employee&quot; ) TABLE(NAME=&quot;payarr_to_proc&quot; ) TABLE(NAME=&quot;site&quot; ) COLUMN(NAME=&quot;payarr_to_proc.emp_code&quot;) COMPUTE(NAME=&quot;TRIM(EMPLOYEE.PAY_SITE) AS SITE&quot;) COMPUTE(NAME=&quot;TRIM(SITE.DESCR) AS DESCR&quot;) COLUMN(NAME=&quot;payarr_to_proc.prd_code&quot;) COLUMN(NAME=&quot;payarr_to_proc.status&quot;) COLUMN(NAME=&quot;payarr_to_proc.prd_code__acc&quot;) COLUMN(NAME=&quot;payarr_to_proc.proc_date&quot;) COLUMN(NAME=&quot;payarr_to_proc.chg_date&quot;) COLUMN(NAME=&quot;payarr_to_proc.chg_user&quot;) COLUMN(NAME=&quot;payarr_to_proc.chg_term&quot;) COLUMN(NAME=&quot;payarr_to_proc.proc_type&quot;) COLUMN(NAME=&quot;payarr_to_proc.tran_id&quot;) COMPUTE(NAME=&quot;TRIM(EMPLOYEE.EMP_FNAME) || &apos; &apos; || TRIM(EMPLOYEE.EMP_MNAME) || &apos; &apos; || TRIM(EMPLOYEE.EMP_LNAME) AS NAME&quot;) COMPUTE(NAME=&quot;CASE PAYARR_TO_PROC.status WHEN &apos;P&apos; THEN &apos;Processed&apos; WHEN &apos;D&apos; THEN &apos;Deleted&apos; ELSE &apos;Unprocessed&apos; END AS psuedo_status&quot;) JOIN (LEFT=&quot;employee.emp_code&quot; OP =&quot;=&quot;RIGHT=&quot;payarr_to_proc.emp_code&quot; ) JOIN (LEFT=&quot;employee.pay_site&quot; OP =&quot;=&quot;RIGHT=&quot;site.site_code&quot; )WHERE( EXP1 =&quot;~&quot;PAYARR_TO_PROC~&quot;.~&quot;TRAN_ID~&quot;&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) </retrieve>
<update>PAYARR_TO_PROC</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
<argument> <argument>
<name>tran_id</name> <name>tran_id</name>
<type>string</type> <type>string</type>
</argument> </argument>
</TableDefinition> </TableDefinition>
<GroupBox> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<text>Others</text> <id>1</id>
<border>2</border> <alignment>0</alignment>
<color>33554432</color> <tabsequence>32766</tabsequence>
<x>3</x> <border>5</border>
<y>141</y> <color>255</color>
<height>53</height> <x>140</x>
<width>587</width> <y>22</y>
<name>gb_2</name> <height>16</height>
<width>66</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
...@@ -176,52 +187,28 @@ ...@@ -176,52 +187,28 @@
</font> </font>
<background> <background>
<mode>1</mode> <mode>1</mode>
<color>553648127</color> <color>536870912</color>
</background>
</GroupBox>
<GroupBox>
<band>Detail</band>
<text>Basic</text>
<border>2</border>
<color>33554432</color>
<x>3</x>
<y>3</y>
<height>130</height>
<width>585</width>
<name>gb_1</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background> </background>
</GroupBox> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>1</id> <id>8</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>10</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>255</color> <color>255</color>
<x>140</x> <x>140</x>
<y>22</y> <y>122</y>
<height>16</height> <height>16</height>
<width>66</width> <width>81</width>
<format>[general]</format> <format>[shortdate] [time]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>emp_code</name> <name>chg_date</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>10</limit> <limit>0</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
...@@ -283,7 +270,7 @@ ...@@ -283,7 +270,7 @@
<band>Detail</band> <band>Detail</band>
<id>4</id> <id>4</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>20</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>255</color> <color>255</color>
<x>140</x> <x>140</x>
...@@ -361,7 +348,7 @@ ...@@ -361,7 +348,7 @@
<x>140</x> <x>140</x>
<y>102</y> <y>102</y>
<height>16</height> <height>16</height>
<width>91</width> <width>66</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
...@@ -417,30 +404,21 @@ ...@@ -417,30 +404,21 @@
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </TextObject>
<ColumnObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<id>13</id> <alignment>1</alignment>
<alignment>0</alignment> <text>Employee Code:</text>
<tabsequence>32766</tabsequence> <border>0</border>
<border>5</border> <color>33554432</color>
<color>255</color> <x>40</x>
<x>211</x>
<y>22</y> <y>22</y>
<height>16</height> <height>16</height>
<width>360</width> <width>96</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>name</name> <name>emp_code_t</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
...@@ -453,70 +431,22 @@ ...@@ -453,70 +431,22 @@
<mode>1</mode> <mode>1</mode>
<color>536870912</color> <color>536870912</color>
</background> </background>
</ColumnObject> </TextObject>
<ColumnObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<id>3</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <text>Site Code:</text>
<border>5</border> <border>0</border>
<color>255</color> <color>33554432</color>
<x>211</x> <x>75</x>
<y>42</y> <y>42</y>
<height>16</height> <height>16</height>
<width>360</width> <width>61</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>descr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>60</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>12</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>481</x>
<y>102</y>
<height>16</height>
<width>90</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>tran_id</name> <name>site_t</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit">
<limit>12</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
...@@ -526,24 +456,24 @@ ...@@ -526,24 +456,24 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>1</mode> <mode>2</mode>
<color>536870912</color> <color>67108864</color>
</background> </background>
</ColumnObject> </TextObject>
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Transaction Id:</text> <text>Period Code:</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>389</x> <x>39</x>
<y>102</y> <y>62</y>
<height>16</height> <height>16</height>
<width>89</width> <width>97</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>tran_id_t</name> <name>prd_code_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
...@@ -561,17 +491,17 @@ ...@@ -561,17 +491,17 @@
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Status:</text> <text>Processed Date:</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>388</x> <x>39</x>
<y>62</y> <y>82</y>
<height>16</height> <height>16</height>
<width>89</width> <width>97</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>status_t</name> <name>proc_date_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
...@@ -589,17 +519,17 @@ ...@@ -589,17 +519,17 @@
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Process Type:</text> <text>Change Date:</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>388</x> <x>57</x>
<y>82</y> <y>122</y>
<height>16</height> <height>16</height>
<width>89</width> <width>79</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>proc_type_t</name> <name>chg_date_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
...@@ -616,26 +546,26 @@ ...@@ -616,26 +546,26 @@
</TextObject> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>11</id> <id>13</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>30</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>255</color> <color>255</color>
<x>481</x> <x>211</x>
<y>82</y> <y>22</y>
<height>16</height> <height>16</height>
<width>87</width> <width>360</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>proc_type</name> <name>name</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="ddlb"> <EditStyle style="edit">
<limit>0</limit> <limit>0</limit>
<allowedit>no</allowedit>
<case>any</case> <case>any</case>
<useasborder>yes</useasborder> <focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
...@@ -653,26 +583,27 @@ ...@@ -653,26 +583,27 @@
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>5</id> <id>3</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>255</color>
<x>481</x> <x>211</x>
<y>62</y> <y>42</y>
<height>16</height> <height>16</height>
<width>87</width> <width>360</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>status</name> <name>descr</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="ddlb"> <EditStyle style="edit">
<limit>0</limit> <limit>60</limit>
<allowedit>no</allowedit>
<case>any</case> <case>any</case>
<useasborder>yes</useasborder> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
...@@ -688,21 +619,31 @@ ...@@ -688,21 +619,31 @@
<color>536870912</color> <color>536870912</color>
</background> </background>
</ColumnObject> </ColumnObject>
<TextObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <id>12</id>
<text>Change From :</text> <alignment>0</alignment>
<border>0</border> <tabsequence>32766</tabsequence>
<color>33554432</color> <border>5</border>
<x>381</x> <color>255</color>
<y>159</y> <x>481</x>
<y>102</y>
<height>16</height> <height>16</height>
<width>86</width> <width>90</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_term_t</name> <name>tran_id</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit">
<limit>12</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
...@@ -715,7 +656,7 @@ ...@@ -715,7 +656,7 @@
<mode>1</mode> <mode>1</mode>
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>10</id> <id>10</id>
...@@ -723,8 +664,8 @@ ...@@ -723,8 +664,8 @@
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>255</color> <color>255</color>
<x>471</x> <x>481</x>
<y>159</y> <y>122</y>
<height>16</height> <height>16</height>
<width>90</width> <width>90</width>
<format>[general]</format> <format>[general]</format>
...@@ -757,17 +698,17 @@ ...@@ -757,17 +698,17 @@
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Change On:</text> <text>Transaction Id:</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>40</x> <x>392</x>
<y>159</y> <y>102</y>
<height>16</height> <height>16</height>
<width>79</width> <width>85</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_date_t</name> <name>tran_id_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
...@@ -782,31 +723,21 @@ ...@@ -782,31 +723,21 @@
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </TextObject>
<ColumnObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<id>8</id> <alignment>1</alignment>
<alignment>0</alignment> <text>Change Term:</text>
<tabsequence>32766</tabsequence> <border>0</border>
<border>5</border> <color>33554432</color>
<color>255</color> <x>396</x>
<x>123</x> <y>122</y>
<y>159</y>
<height>16</height> <height>16</height>
<width>81</width> <width>81</width>
<format>[shortdate] [time]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_date</name> <name>chg_term_t</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
...@@ -819,21 +750,21 @@ ...@@ -819,21 +750,21 @@
<mode>1</mode> <mode>1</mode>
<color>536870912</color> <color>536870912</color>
</background> </background>
</ColumnObject> </TextObject>
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Change By :</text> <text>Status:</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>210</x> <x>424</x>
<y>159</y> <y>62</y>
<height>16</height> <height>16</height>
<width>79</width> <width>53</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_user_t</name> <name>status_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
...@@ -848,31 +779,21 @@ ...@@ -848,31 +779,21 @@
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </TextObject>
<ColumnObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<id>9</id> <alignment>1</alignment>
<alignment>0</alignment> <text>Process Type:</text>
<tabsequence>32766</tabsequence> <border>0</border>
<border>5</border> <color>33554432</color>
<color>255</color> <x>388</x>
<x>293</x> <y>82</y>
<y>159</y>
<height>16</height> <height>16</height>
<width>81</width> <width>89</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_user</name> <name>proc_type_t</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
...@@ -885,22 +806,31 @@ ...@@ -885,22 +806,31 @@
<mode>1</mode> <mode>1</mode>
<color>536870912</color> <color>536870912</color>
</background> </background>
</ColumnObject> </TextObject>
<TextObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <id>11</id>
<text>Employee Code:</text> <alignment>0</alignment>
<border>0</border> <tabsequence>32766</tabsequence>
<color>33554432</color> <border>5</border>
<x>9</x> <color>255</color>
<y>22</y> <x>481</x>
<y>82</y>
<height>16</height> <height>16</height>
<width>127</width> <width>87</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>emp_code_t</name> <name>proc_type</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="ddlb">
<limit>0</limit>
<allowedit>no</allowedit>
<case>any</case>
<useasborder>yes</useasborder>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
...@@ -913,22 +843,31 @@ ...@@ -913,22 +843,31 @@
<mode>1</mode> <mode>1</mode>
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </ColumnObject>
<TextObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <id>5</id>
<text>Site Code:</text> <alignment>0</alignment>
<border>0</border> <tabsequence>10</tabsequence>
<border>5</border>
<color>33554432</color> <color>33554432</color>
<x>9</x> <x>481</x>
<y>42</y> <y>62</y>
<height>16</height> <height>16</height>
<width>127</width> <width>87</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>site_t</name> <name>status</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="ddlb">
<limit>0</limit>
<allowedit>no</allowedit>
<case>any</case>
<useasborder>yes</useasborder>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
...@@ -938,24 +877,24 @@ ...@@ -938,24 +877,24 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>1</mode>
<color>67108864</color> <color>536870912</color>
</background> </background>
</TextObject> </ColumnObject>
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Period Code:</text> <text>Change User:</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>9</x> <x>226</x>
<y>62</y> <y>122</y>
<height>16</height> <height>16</height>
<width>127</width> <width>79</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>prd_code_t</name> <name>chg_user_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
...@@ -970,21 +909,31 @@ ...@@ -970,21 +909,31 @@
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </TextObject>
<TextObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <id>9</id>
<text>Processed Date:</text> <alignment>0</alignment>
<border>0</border> <tabsequence>32766</tabsequence>
<color>33554432</color> <border>5</border>
<x>9</x> <color>255</color>
<y>82</y> <x>309</x>
<y>122</y>
<height>16</height> <height>16</height>
<width>127</width> <width>81</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>proc_date_t</name> <name>chg_user</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
...@@ -997,7 +946,7 @@ ...@@ -997,7 +946,7 @@
<mode>1</mode> <mode>1</mode>
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </ColumnObject>
<HtmlTable> <HtmlTable>
<border>1</border> <border>1</border>
</HtmlTable> </HtmlTable>
......
...@@ -13,30 +13,28 @@ table(column=(type=char(10) update=yes updatewhereclause=yes name=emp_code dbnam ...@@ -13,30 +13,28 @@ table(column=(type=char(10) update=yes updatewhereclause=yes name=emp_code dbnam
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" )
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(1) update=yes updatewhereclause=yes name=status dbname="payarr_to_proc.status" values="Processed P/Unprocessed U/" ) column=(type=char(1) update=yes updatewhereclause=yes name=status dbname="payarr_to_proc.status" values="Processed P/Unprocessed U/" )
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(SITE.DESCR) AS DESCR~") COMPUTE(NAME=~"TRIM(EMPLOYEE.PAY_SITE) AS SITE~") COLUMN(NAME=~"payarr_to_proc.prd_code~") 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 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(SITE.DESCR) AS DESCR~") COMPUTE(NAME=~"TRIM(EMPLOYEE.PAY_SITE) AS SITE~") COLUMN(NAME=~"payarr_to_proc.prd_code~") 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
~") COLUMN(NAME=~"payarr_to_proc.status~") 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~~~".~~~"EMP_CODE~~~"~" OP =~"=~" EXP2 =~":EMP_CODE~" ) ) ARG(NAME = ~"EMP_CODE~" TYPE = number) " update="PAYARR_TO_PROC" updatewhere=0 updatekeyinplace=no arguments=(("EMP_CODE", number)) ) ~") COLUMN(NAME=~"payarr_to_proc.status~") 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~~~".~~~"EMP_CODE~~~"~" OP =~"=~" EXP2 =~":EMP_CODE~" ) ) ARG(NAME = ~"EMP_CODE~" TYPE = number) " update="PAYARR_TO_PROC" updatewhere=0 updatekeyinplace=no arguments=(("EMP_CODE", number)) )
text(band=header alignment="2" text="Change Date" border="0" color="33554432" x="1059" y="2" height="16" width="90" html.valueishtml="0" name=chg_date_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=header alignment="2" text="Change Date" border="0" color="33554432" x="1059" y="2" height="16" width="90" html.valueishtml="0" name=chg_date_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=header alignment="2" text="Employee Code" border="0" color="33554432" x="2" y="2" height="19" width="98" html.valueishtml="0" name=emp_code_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=header alignment="2" text="Site" border="0" color="33554432" x="335" y="2" height="19" width="58" html.valueishtml="0" name=site_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=header alignment="2" text="Period Code" border="0" color="33554432" x="593" y="2" height="16" width="98" html.valueishtml="0" name=prd_code_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=header alignment="2" text="Period Code" border="0" color="33554432" x="593" y="2" height="16" width="98" html.valueishtml="0" name=prd_code_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=header alignment="2" text="Account Period Code" border="0" color="33554432" x="805" y="2" height="16" width="150" html.valueishtml="0" name=prd_code__acc_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=header alignment="2" text="Account Period Code" border="0" color="33554432" x="805" y="2" height="16" width="150" html.valueishtml="0" name=prd_code__acc_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=header alignment="2" text="Processed Date" border="0" color="33554432" x="957" y="2" height="19" width="100" html.valueishtml="0" name=proc_date_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=header alignment="2" text="Processed Date" border="0" color="33554432" x="957" y="2" height="19" width="100" html.valueishtml="0" name=proc_date_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=header alignment="2" text="Change User" border="0" color="33554432" x="1151" y="2" height="16" width="76" 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=header alignment="2" text="Change User" border="0" color="33554432" x="1151" y="2" height="16" width="76" 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=header alignment="2" text="Change Term" border="0" color="33554432" x="1229" y="2" height="16" width="90" 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=header alignment="2" text="Change Term" border="0" color="33554432" x="1229" y="2" height="16" width="90" 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=header alignment="2" text="Process Type" border="0" color="33554432" x="1321" y="2" height="19" width="83" 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=header alignment="2" text="Process Type" border="0" color="33554432" x="1321" y="2" height="19" width="83" 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=header alignment="2" text="Employee Name" border="0" color="33554432" x="102" y="2" height="16" width="231" html.valueishtml="0" name=name_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=header alignment="2" text="Site Description" border="0" color="33554432" x="395" y="2" height="19" width="196" html.valueishtml="0" name=descr_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=header alignment="2" text="Site Description" border="0" color="33554432" x="395" y="2" height="19" width="196" html.valueishtml="0" name=descr_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=header alignment="0" text="Status" border="0" color="33554432" x="693" y="1" height="16" width="110" html.valueishtml="0" name=psuedo_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=header alignment="0" text="Status" border="0" color="33554432" x="693" y="1" height="16" width="110" html.valueishtml="0" name=psuedo_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=header alignment="2" text="Transaction Id" border="0" color="33554432" x="1406" y="2" height="19" width="95" html.valueishtml="0" name=tran_id_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=header alignment="2" text="Transaction Id" border="0" color="33554432" x="1406" y="2" height="19" width="95" html.valueishtml="0" name=tran_id_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=1 alignment="0" tabsequence=32766 border="0" color="33554432" x="2" y="2" height="19" width="98" 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" ) text(band=header alignment="2" text="Employee Code" border="0" color="33554432" x="2" y="2" height="19" width="98" html.valueishtml="0" name=emp_code_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=header alignment="2" text="Site" border="0" color="33554432" x="335" y="2" height="19" width="58" html.valueishtml="0" name=site_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=header alignment="2" text="Employee Name" border="0" color="33554432" x="102" y="2" height="16" width="231" html.valueishtml="0" name=name_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=2 alignment="0" tabsequence=32766 border="0" color="33554432" x="395" y="2" height="19" width="196" format="[general]" html.valueishtml="0" name=descr visible="1" edit.limit=60 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="0" color="33554432" x="395" y="2" height="19" width="196" format="[general]" html.valueishtml="0" name=descr visible="1" edit.limit=60 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=3 alignment="0" tabsequence=32766 border="0" color="33554432" x="335" y="2" height="19" width="58" 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=4 alignment="0" tabsequence=32766 border="0" color="33554432" x="593" y="2" height="19" width="98" format="[general]" html.valueishtml="0" name=prd_code visible="1" edit.limit=6 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=4 alignment="0" tabsequence=32766 border="0" color="33554432" x="593" y="2" height="19" width="98" format="[general]" html.valueishtml="0" name=prd_code visible="1" edit.limit=6 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=5 alignment="0" tabsequence=32766 border="0" color="33554432" x="805" y="2" height="19" width="150" format="[general]" html.valueishtml="0" name=prd_code__acc visible="1" edit.limit=6 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=5 alignment="0" tabsequence=32766 border="0" color="33554432" x="805" y="2" height="19" width="150" format="[general]" html.valueishtml="0" name=prd_code__acc visible="1" edit.limit=6 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=10 alignment="0" tabsequence=32766 border="0" color="33554432" x="1321" y="2" height="19" width="83" format="[general]" html.valueishtml="0" name=proc_type visible="1" edit.limit=2 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=10 alignment="0" tabsequence=32766 border="0" color="33554432" x="1321" y="2" height="19" width="83" format="[general]" html.valueishtml="0" name=proc_type visible="1" edit.limit=2 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" )
...@@ -44,9 +42,11 @@ column(band=detail id=6 alignment="0" tabsequence=32766 border="0" color="335544 ...@@ -44,9 +42,11 @@ column(band=detail id=6 alignment="0" tabsequence=32766 border="0" color="335544
column(band=detail id=7 alignment="0" tabsequence=32766 border="0" color="33554432" x="1059" y="2" height="19" width="90" 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=7 alignment="0" tabsequence=32766 border="0" color="33554432" x="1059" y="2" height="19" width="90" 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="0" color="33554432" x="1151" y="2" height="19" width="76" 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=8 alignment="0" tabsequence=32766 border="0" color="33554432" x="1151" y="2" height="19" width="76" 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="0" color="33554432" x="1229" y="2" height="19" width="90" format="[general]" html.valueishtml="0" name=chg_term visible="1" edit.limit=15 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="0" color="33554432" x="1229" y="2" height="19" width="90" format="[general]" html.valueishtml="0" name=chg_term visible="1" edit.limit=15 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=12 alignment="0" tabsequence=32766 border="0" color="33554432" x="102" y="2" height="19" width="231" format="[general]" html.valueishtml="0" name=name visible="1" edit.limit=0 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=14 alignment="0" tabsequence=32766 border="0" color="33554432" x="693" y="2" height="19" width="110" format="[general]" html.valueishtml="0" name=psuedo_status visible="1" edit.limit=0 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=14 alignment="0" tabsequence=32766 border="0" color="33554432" x="693" y="2" height="19" width="110" format="[general]" html.valueishtml="0" name=psuedo_status visible="1" edit.limit=0 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="0" color="33554432" x="1406" y="2" height="19" width="95" format="[general]" html.valueishtml="0" name=tran_id visible="1" edit.limit=0 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="0" color="33554432" x="1406" y="2" height="19" width="95" format="[general]" html.valueishtml="0" name=tran_id visible="1" edit.limit=0 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=1 alignment="0" tabsequence=32766 border="0" color="33554432" x="2" y="2" height="19" width="98" 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=3 alignment="0" tabsequence=32766 border="0" color="33554432" x="335" y="2" height="19" width="58" 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=12 alignment="0" tabsequence=32766 border="0" color="33554432" x="102" y="2" height="19" width="231" format="[general]" html.valueishtml="0" name=name visible="1" edit.limit=0 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" )
htmltable(border="1" ) htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" ) htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 ) export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
......
...@@ -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" )
......
...@@ -66,7 +66,7 @@ public class ArrearsDeleteIC extends ValidatorEJB implements ArrearsDeleteICRemo ...@@ -66,7 +66,7 @@ public class ArrearsDeleteIC extends ValidatorEJB implements ArrearsDeleteICRemo
int currentFormNo=0,childNodeListLength ,ctr=0 , columnCtr=0 , cnt=0; int currentFormNo=0,childNodeListLength ,ctr=0 , columnCtr=0 , cnt=0;
String errCode = "", userId = "" , prdCodeTo = "", prdCodeAcc = "" ,errString ="" , errorType = ""; String errCode = "", userId = "" , prdCodeTo = "", prdCodeAcc = "" ,errString ="" , errorType = "";
String prdCodeFr = ""; String prdCodeFr = "";
String siteCode = "", sql = "" , loginSiteCode = ""; //Added by Poonam B [30/10/2019] String siteCode = "", sql = ""; //Added by Poonam B [30/10/2019]
PreparedStatement pstmt = null; //Added by Poonam B [30/10/2019] PreparedStatement pstmt = null; //Added by Poonam B [30/10/2019]
ResultSet rs = null; //Added by Poonam B [30/10/2019] ResultSet rs = null; //Added by Poonam B [30/10/2019]
int usrLevel = 0; //Added by Poonam B [30/10/2019] int usrLevel = 0; //Added by Poonam B [30/10/2019]
...@@ -201,8 +201,9 @@ public class ArrearsDeleteIC extends ValidatorEJB implements ArrearsDeleteICRemo ...@@ -201,8 +201,9 @@ public class ArrearsDeleteIC extends ValidatorEJB implements ArrearsDeleteICRemo
} }
} }
//Added by Poonam B[26-SEP-2019][END] //Added by Poonam B[26-SEP-2019][END]
} }
//Added by Poonam B[30-OCT-2019][START] //Added by Poonam B[30/10/2019][START]
else if (childNodeName.equalsIgnoreCase("site_code__fr")) else if (childNodeName.equalsIgnoreCase("site_code__fr"))
{ {
siteCode = E12GenericUtility.checkNull(genericUtility.getColumnValue("site_code__fr", dom)); siteCode = E12GenericUtility.checkNull(genericUtility.getColumnValue("site_code__fr", dom));
...@@ -280,208 +281,227 @@ public class ArrearsDeleteIC extends ValidatorEJB implements ArrearsDeleteICRemo ...@@ -280,208 +281,227 @@ public class ArrearsDeleteIC extends ValidatorEJB implements ArrearsDeleteICRemo
} }
} }
} }
//Added by Poonam B[30-OCT-2019][END] //Added by Poonam B[30/10/2019][END]
} }
int errListSize = errList.size(); int errListSize = errList.size();
cnt =0; cnt =0;
String errFldName = null; String errFldName = null;
if ( errList != null && errListSize > 0 ) if ( errList != null && errListSize > 0 )
{
System.out.println("Inside errList >"+errList);
for (cnt = 0; cnt < errListSize; cnt++)
{ {
System.out.println("Inside errList >"+errList); errCode = (String)errList.get(cnt);
for (cnt = 0; cnt < errListSize; cnt++) System.out.println("errCode :"+errCode);
int pos = errCode.indexOf("~");
System.out.println("pos :"+pos);
if(pos>-1)
{ {
errCode = (String)errList.get(cnt); errCode=errCode.substring(0,pos);
System.out.println("errCode :"+errCode);
int pos = errCode.indexOf("~");
System.out.println("pos :"+pos);
if(pos>-1)
{
errCode=errCode.substring(0,pos);
}
System.out.println("error code is :"+errCode);
errFldName = (String)errFields.get(cnt);
System.out.println(" cnt [" + cnt + "] errCode [" + errCode + "] errFldName [" + errFldName + "]");
errString = getErrorString(errFldName, errCode, userId);
errorType = errorType(conn, errCode);
System.out.println("errorType :"+errorType);
if (errString.length() > 0)
{
String bifurErrString = errString.substring(errString.indexOf("<Errors>") +
8, errString.indexOf("<trace>"));
bifurErrString = bifurErrString +
errString.substring(errString.indexOf("</trace>") +
8, errString.indexOf("</Errors>"));
errStringXml.append(bifurErrString);
errString = "";
}
if (errorType.equalsIgnoreCase("E"))
{
break;
}
} }
errStringXml.append("</Errors> </Root> \r\n"); System.out.println("error code is :"+errCode);
} errFldName = (String)errFields.get(cnt);
else System.out.println(" cnt [" + cnt + "] errCode [" + errCode + "] errFldName [" + errFldName + "]");
{ errString = getErrorString(errFldName, errCode, userId);
errStringXml = new StringBuffer( "" ); errorType = errorType(conn, errCode);
} System.out.println("errorType :"+errorType);
if(conn!=null) if (errString.length() > 0)
{ {
conn.close(); String bifurErrString = errString.substring(errString.indexOf("<Errors>") +
conn = null; 8, errString.indexOf("<trace>"));
bifurErrString = bifurErrString +
errString.substring(errString.indexOf("</trace>") +
8, errString.indexOf("</Errors>"));
errStringXml.append(bifurErrString);
errString = "";
}
if (errorType.equalsIgnoreCase("E"))
{
break;
}
} }
break;
errStringXml.append("</Errors> </Root> \r\n");
}
else
{
errStringXml = new StringBuffer( "" );
} }
}
}
catch(Exception e)
{
System.out.println("Exception:"+e);
}
finally
{
try
{
if(conn!=null) if(conn!=null)
{ {
conn.close(); conn.close();
conn = null; conn = null;
} }
}catch(Exception e) break;
{
System.out.println("Excpetion closing"+e);
} }
} }
System.out.println("ErrString ::[ "+errStringXml.toString()+" ]");
return errStringXml.toString();
} }
catch(Exception e)
public String itemChanged(String xmlString, String xmlStringHdr, String xmlStringAll, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException
{ {
Document dom = null, domHdr = null, domAll = null; System.out.println("Exception:"+e);
String valueXmlString = ""; }
try { finally
if (xmlString != null && xmlString.trim().length() > 0) {
{ try
dom = genericUtility.parseString(xmlString); {
} if(conn!=null)
if (xmlStringHdr != null && xmlStringHdr.trim().length() > 0)
{
domHdr = genericUtility.parseString(xmlStringHdr);
}
if (xmlStringAll != null && xmlStringAll.trim().length() > 0)
{ {
domAll = genericUtility.parseString(xmlStringAll); conn.close();
conn = null;
} }
valueXmlString = itemChanged(dom, domHdr, domAll, objContext, currentColumn, editFlag, xtraParams); }catch(Exception e)
}
catch (Exception e)
{ {
System.out.println("Exception [" + this.getClass().getSimpleName() + "] : [itemChanged(S)] " + e.getMessage()); System.out.println("Excpetion closing"+e);
throw new ITMException(e);
} }
return valueXmlString;
} }
System.out.println("ErrString ::[ "+errStringXml.toString()+" ]");
return errStringXml.toString();
}
public String itemChanged(Document dom, Document dom1, Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException, ITMException public String itemChanged(String xmlString, String xmlStringHdr, String xmlStringAll, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException
{
Document dom = null, domHdr = null, domAll = null;
String valueXmlString = "";
try {
if (xmlString != null && xmlString.trim().length() > 0)
{
dom = genericUtility.parseString(xmlString);
}
if (xmlStringHdr != null && xmlStringHdr.trim().length() > 0)
{
domHdr = genericUtility.parseString(xmlStringHdr);
}
if (xmlStringAll != null && xmlStringAll.trim().length() > 0)
{
domAll = genericUtility.parseString(xmlStringAll);
}
valueXmlString = itemChanged(dom, domHdr, domAll, objContext, currentColumn, editFlag, xtraParams);
}
catch (Exception e)
{ {
System.out.println("itemchanged on the ArrearsDelete"); System.out.println("Exception [" + this.getClass().getSimpleName() + "] : [itemChanged(S)] " + e.getMessage());
String loginEmpCode = "",loginSiteCode = ""; throw new ITMException(e);
String type = ""; //Added By Poonam B[25-SEP-2019] }
int currentFormNo = 0; return valueXmlString;
StringBuffer valueXmlString = new StringBuffer(); }
try public String itemChanged(Document dom, Document dom1, Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException, ITMException
{ {
if (objContext != null && objContext.trim().length() > 0) System.out.println("itemchanged on the ArrearsDelete");
{ String loginEmpCode = "",loginSiteCode = "";
currentFormNo = Integer.parseInt(objContext); String type = ""; //Added By Poonam B[25-SEP-2019]
} int currentFormNo = 0;
//Modified By Poonam B[25-SEP-2019] StringBuffer valueXmlString = new StringBuffer();
/*loginEmpCode = getValueFromXTRA_PARAMS(xtraParams, "loginEmpCode");
loginSiteCode = getValueFromXTRA_PARAMS(xtraParams, "loginSiteCode");*/
loginEmpCode = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginEmpCode");
loginSiteCode = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginSiteCode");
//Modified By Poonam B[25-SEP-2019]
System.out.println("currentColumn:::::" + currentColumn);
valueXmlString = new StringBuffer("<?xml version=\"1.0\" encoding=''?>\r\n<Root>\r\n<header>\r\n<editFlag>"); try
valueXmlString.append(editFlag).append("</editFlag>\r\n</header>\r\n"); {
if (objContext != null && objContext.trim().length() > 0)
{
currentFormNo = Integer.parseInt(objContext);
}
loginEmpCode = getValueFromXTRA_PARAMS(xtraParams, "loginEmpCode");
loginSiteCode = getValueFromXTRA_PARAMS(xtraParams, "loginSiteCode");
System.out.println("currentColumn:::::" + currentColumn);
switch (currentFormNo) /*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");*/
valueXmlString = new StringBuffer("<?xml version=\"1.0\" ?>\r\n<Root>\r\n<header>\r\n<editFlag>");
valueXmlString.append(editFlag).append("</editFlag>\r\n</header>\r\n");
switch (currentFormNo)
{
case 1:
{
valueXmlString.append("<Detail1>\r\n");
if ("itm_default".equalsIgnoreCase(currentColumn))
{ {
case 1: 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__to><![CDATA[" ).append(loginSiteCode).append( "]]></site_code__to>\r\n" );
}
//Added By Poonam B[25-SEP-2019][START]
if (currentColumn.trim().equalsIgnoreCase("type"))
{ {
valueXmlString.append("<Detail1>\r\n"); type = E12GenericUtility.checkNull(genericUtility.getColumnValue("type", dom));
if ("itm_default".equalsIgnoreCase(currentColumn)) System.out.println("currentColumn2:::::" + currentColumn);
System.out.println("type ===>" +type);
if("PY".equalsIgnoreCase(type))
{ {
System.out.println("currentColumn1:::::" + currentColumn); valueXmlString.append("<prd_code__acc protect=\"1\"><![CDATA[]]></prd_code__acc>\r\n");
//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__to><![CDATA[" ).append(loginSiteCode).append( "]]></site_code__to>\r\n" );
} }
//Added By Poonam B[25-SEP-2019][START] else
if (currentColumn.trim().equalsIgnoreCase("type"))
{ {
type = E12GenericUtility.checkNull(genericUtility.getColumnValue("type", dom)); String prdCodeAcc = E12GenericUtility.checkNull(genericUtility.getColumnValue("prd_code__acc", dom));
System.out.println("currentColumn2:::::" + currentColumn); System.out.println("prdCodeAcc in IC===>" +prdCodeAcc);
System.out.println("type ===>" +type); valueXmlString.append("<prd_code__acc protect=\"0\"><![CDATA[]]></prd_code__acc>\r\n");
if("PY".equalsIgnoreCase(type))
{
valueXmlString.append("<prd_code__acc protect=\"1\"><![CDATA[]]></prd_code__acc>\r\n");
}
else
{
String prdCodeAcc = E12GenericUtility.checkNull(genericUtility.getColumnValue("prd_code__acc", dom));
System.out.println("prdCodeAcc in IC===>" +prdCodeAcc);
valueXmlString.append("<prd_code__acc protect=\"0\"><![CDATA[]]></prd_code__acc>\r\n");
}
}
if (currentColumn.trim().equalsIgnoreCase("site_code__fr"))
{
System.out.println("currentColumn3:::::" + currentColumn);
String siteCodeFr = E12GenericUtility.checkNull(genericUtility.getColumnValue("site_code__fr", dom));
valueXmlString.append( "<site_code__to><![CDATA[" ).append(siteCodeFr).append( "]]></site_code__to>\r\n" );
} }
//Added By Poonam B[25-SEP-2019][END]
valueXmlString.append("</Detail1>\r\n");
} }
valueXmlString.append("</Root>\r\n"); if (currentColumn.trim().equalsIgnoreCase("site_code__fr"))
{
} System.out.println("currentColumn3:::::" + currentColumn);
String siteCodeFr = E12GenericUtility.checkNull(genericUtility.getColumnValue("site_code__fr", dom));
valueXmlString.append( "<site_code__to><![CDATA[" ).append(siteCodeFr).append( "]]></site_code__to>\r\n" );
}
//Added By Poonam B[25-SEP-2019][END]
valueXmlString.append("</Detail1>\r\n");
} }
catch (Exception e) valueXmlString.append("</Root>\r\n");
{
System.out.println("Exception in EJB["+this.getClass().getSimpleName()+"]:[" + e.getMessage()+"]");
e.printStackTrace();
throw new ITMException(e);
} }
System.out.println("Itemchange ::==== ["+valueXmlString.toString()+"]");
return valueXmlString.toString();
} }
catch (Exception e)
{
System.out.println("Exception in EJB["+this.getClass().getSimpleName()+"]:[" + e.getMessage()+"]");
e.printStackTrace();
throw new ITMException(e);
}
System.out.println("Itemchange ::==== ["+valueXmlString.toString()+"]");
return valueXmlString.toString();
}
private String errorType(Connection conn, String errorCode) throws ITMException private String errorType(Connection conn, String errorCode) throws ITMException
{
String msgType = "";
PreparedStatement pstmt = null;
ResultSet rs = null;
try
{
String sql = "SELECT MSG_TYPE FROM MESSAGES WHERE MSG_NO = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, errorCode);
rs = pstmt.executeQuery();
if (rs.next())
{
msgType = rs.getString("MSG_TYPE");
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
}
catch (Exception ex)
{
ex.printStackTrace();
throw new ITMException(ex);
}
finally
{ {
String msgType = "";
PreparedStatement pstmt = null;
ResultSet rs = null;
try try
{ {
String sql = "SELECT MSG_TYPE FROM MESSAGES WHERE MSG_NO = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, errorCode);
rs = pstmt.executeQuery();
if (rs.next())
{
msgType = rs.getString("MSG_TYPE");
}
if (rs != null) if (rs != null)
{ {
rs.close(); rs.close();
...@@ -493,50 +513,49 @@ public class ArrearsDeleteIC extends ValidatorEJB implements ArrearsDeleteICRemo ...@@ -493,50 +513,49 @@ public class ArrearsDeleteIC extends ValidatorEJB implements ArrearsDeleteICRemo
pstmt = null; pstmt = null;
} }
} }
catch (Exception ex) catch (Exception e)
{ {
ex.printStackTrace(); e.printStackTrace();
throw new ITMException(ex); throw new ITMException(e);
} }
finally }
return msgType;
}
public int getColumnValue(String tableName ,String columnName ,String columnValue , Connection con)
{
String sql = "";
int count=0;
PreparedStatement pStmt = null;
ResultSet rs = null;
try
{
sql ="select count(*) from "+tableName+" where "+columnName+"="+"'"+columnValue+"'";
pStmt = con.prepareStatement(sql);
rs =pStmt.executeQuery();
while(rs.next())
{ {
try count =rs.getInt(1);
{ System.out.println("Gettting the data:"+count);
if (rs != null) }
{ if(rs!=null)
rs.close(); {
rs = null; rs.close();
} rs=null;
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
}
catch (Exception e)
{
e.printStackTrace();
throw new ITMException(e);
}
} }
return msgType; if(pStmt!=null)
{
pStmt.close();
pStmt = null;
}
}
catch(Exception e)
{
System.out.println("Exception in getColumnValue"+e);
} }
public int getColumnValue(String tableName ,String columnName ,String columnValue , Connection con) finally
{ {
String sql = "";
int count=0;
PreparedStatement pStmt = null;
ResultSet rs = null;
try try
{ {
sql ="select count(*) from "+tableName+" where "+columnName+"="+"'"+columnValue+"'";
pStmt = con.prepareStatement(sql);
rs =pStmt.executeQuery();
while(rs.next())
{
count =rs.getInt(1);
System.out.println("Gettting the data:"+count);
}
if(rs!=null) if(rs!=null)
{ {
rs.close(); rs.close();
...@@ -550,28 +569,9 @@ public class ArrearsDeleteIC extends ValidatorEJB implements ArrearsDeleteICRemo ...@@ -550,28 +569,9 @@ public class ArrearsDeleteIC extends ValidatorEJB implements ArrearsDeleteICRemo
} }
catch(Exception e) catch(Exception e)
{ {
System.out.println("Exception in getColumnValue"+e); System.out.println("Exception e"+e);
}
finally
{
try
{
if(rs!=null)
{
rs.close();
rs=null;
}
if(pStmt!=null)
{
pStmt.close();
pStmt = null;
}
}
catch(Exception e)
{
System.out.println("Exception e"+e);
}
} }
return count;
} }
return count;
} }
}
\ No newline at end of file
...@@ -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