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
--------------------------------------------------[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 @@
<dbname>payarr_to_proc.chg_user</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<type size="300">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_term</name>
......@@ -148,7 +148,7 @@
<dbname>psuedo_status</dbname>
</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
&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>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
......@@ -160,7 +160,7 @@
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Change On</text>
<text>Change Date</text>
<border>0</border>
<color>33554432</color>
<x>1059</x>
......@@ -328,7 +328,7 @@
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Change By</text>
<text>Change User</text>
<border>0</border>
<color>33554432</color>
<x>1151</x>
......@@ -356,7 +356,7 @@
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Change From</text>
<text>Change Term</text>
<border>0</border>
<color>33554432</color>
<x>1229</x>
......@@ -525,7 +525,7 @@
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>2</x>
......@@ -555,32 +555,33 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>12</id>
<id>2</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>102</x>
<x>395</x>
<y>2</y>
<height>19</height>
<width>231</width>
<width>196</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>name</name>
<name>descr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<limit>60</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -592,8 +593,8 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
......@@ -630,29 +631,29 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<id>4</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>395</x>
<x>593</x>
<y>2</y>
<height>19</height>
<width>196</width>
<width>98</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>descr</name>
<name>prd_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>60</limit>
<limit>6</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
......@@ -668,26 +669,26 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<id>5</id>
<alignment>0</alignment>
<tabsequence>20</tabsequence>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>593</x>
<x>805</x>
<y>2</y>
<height>19</height>
<width>98</width>
<width>150</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_code</name>
<name>prd_code__acc</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>6</limit>
......@@ -706,32 +707,33 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>14</id>
<id>10</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>693</x>
<x>1321</x>
<y>2</y>
<height>19</height>
<width>110</width>
<width>83</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>psuedo_status</name>
<name>proc_type</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<limit>2</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -743,29 +745,29 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<id>6</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>805</x>
<x>957</x>
<y>2</y>
<height>19</height>
<width>150</width>
<format>[general]</format>
<width>100</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_code__acc</name>
<name>proc_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>6</limit>
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
......@@ -781,26 +783,26 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>6</id>
<id>7</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>957</x>
<x>1059</x>
<y>2</y>
<height>19</height>
<width>100</width>
<width>90</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>proc_date</name>
<name>chg_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
......@@ -819,29 +821,29 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<id>8</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1059</x>
<x>1151</x>
<y>2</y>
<height>19</height>
<width>90</width>
<format>[shortdate] [time]</format>
<width>76</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date</name>
<name>chg_user</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
......@@ -857,29 +859,29 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<id>9</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1151</x>
<x>1229</x>
<y>2</y>
<height>19</height>
<width>76</width>
<width>90</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user</name>
<name>chg_term</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<limit>15</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
......@@ -895,33 +897,32 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<id>12</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1229</x>
<x>102</x>
<y>2</y>
<height>19</height>
<width>90</width>
<width>231</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term</name>
<name>name</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>15</limit>
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -933,33 +934,32 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>10</id>
<id>14</id>
<alignment>0</alignment>
<tabsequence>30</tabsequence>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1321</x>
<x>693</x>
<y>2</y>
<height>19</height>
<width>83</width>
<width>110</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>proc_type</name>
<name>psuedo_status</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>2</limit>
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -971,8 +971,8 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
......@@ -1008,8 +1008,8 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<HtmlTable>
......
......@@ -78,6 +78,7 @@
<values>
<item display="Unprocessed" data="U"/>
<item display="Processed" data="P"/>
<item display="Deleted" data="D"/>
</values>
</table_column>
<table_column>
......@@ -109,7 +110,7 @@
<dbname>payarr_to_proc.chg_user</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<type size="300">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_term</name>
......@@ -130,7 +131,6 @@
<type size="12">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>tran_id</name>
<dbname>payarr_to_proc.tran_id</dbname>
</table_column>
......@@ -146,26 +146,37 @@
<name>psuedo_status</name>
<dbname>psuedo_status</dbname>
</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>
<update>PAYARR_TO_PROC</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
<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>
<argument>
<name>tran_id</name>
<type>string</type>
</argument>
</TableDefinition>
<GroupBox>
<ColumnObject>
<band>Detail</band>
<text>Others</text>
<border>2</border>
<color>33554432</color>
<x>3</x>
<y>141</y>
<height>53</height>
<width>587</width>
<name>gb_2</name>
<id>1</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>140</x>
<y>22</y>
<height>16</height>
<width>66</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code</name>
<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>
<face>Arial</face>
<height>-10</height>
......@@ -176,52 +187,28 @@
</font>
<background>
<mode>1</mode>
<color>553648127</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>
<color>536870912</color>
</background>
</GroupBox>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<id>8</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>140</x>
<y>22</y>
<y>122</y>
<height>16</height>
<width>66</width>
<format>[general]</format>
<width>81</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code</name>
<name>chg_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
......@@ -283,7 +270,7 @@
<band>Detail</band>
<id>4</id>
<alignment>0</alignment>
<tabsequence>20</tabsequence>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>140</x>
......@@ -361,7 +348,7 @@
<x>140</x>
<y>102</y>
<height>16</height>
<width>91</width>
<width>66</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
......@@ -417,30 +404,21 @@
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<TextObject>
<band>Detail</band>
<id>13</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>211</x>
<alignment>1</alignment>
<text>Employee Code:</text>
<border>0</border>
<color>33554432</color>
<x>40</x>
<y>22</y>
<height>16</height>
<width>360</width>
<format>[general]</format>
<width>96</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>name</name>
<name>emp_code_t</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
......@@ -453,70 +431,22 @@
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
</TextObject>
<TextObject>
<band>Detail</band>
<id>3</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>211</x>
<text>Site Code:</text>
<border>0</border>
<color>33554432</color>
<x>75</x>
<y>42</y>
<height>16</height>
<width>360</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>
<width>61</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id</name>
<name>site_t</name>
<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>
<face>Arial</face>
<height>-10</height>
......@@ -526,24 +456,24 @@
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Transaction Id:</text>
<text>Period Code:</text>
<border>0</border>
<color>33554432</color>
<x>389</x>
<y>102</y>
<x>39</x>
<y>62</y>
<height>16</height>
<width>89</width>
<width>97</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id_t</name>
<name>prd_code_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -561,17 +491,17 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Status:</text>
<text>Processed Date:</text>
<border>0</border>
<color>33554432</color>
<x>388</x>
<y>62</y>
<x>39</x>
<y>82</y>
<height>16</height>
<width>89</width>
<width>97</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>status_t</name>
<name>proc_date_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -589,17 +519,17 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Process Type:</text>
<text>Change Date:</text>
<border>0</border>
<color>33554432</color>
<x>388</x>
<y>82</y>
<x>57</x>
<y>122</y>
<height>16</height>
<width>89</width>
<width>79</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>proc_type_t</name>
<name>chg_date_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -616,26 +546,26 @@
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>11</id>
<id>13</id>
<alignment>0</alignment>
<tabsequence>30</tabsequence>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>481</x>
<y>82</y>
<x>211</x>
<y>22</y>
<height>16</height>
<width>87</width>
<width>360</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>proc_type</name>
<name>name</name>
<visible>1</visible>
<EditStyle style="ddlb">
<EditStyle style="edit">
<limit>0</limit>
<allowedit>no</allowedit>
<case>any</case>
<useasborder>yes</useasborder>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -653,26 +583,27 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<id>3</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>481</x>
<y>62</y>
<color>255</color>
<x>211</x>
<y>42</y>
<height>16</height>
<width>87</width>
<width>360</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>status</name>
<name>descr</name>
<visible>1</visible>
<EditStyle style="ddlb">
<limit>0</limit>
<allowedit>no</allowedit>
<EditStyle style="edit">
<limit>60</limit>
<case>any</case>
<useasborder>yes</useasborder>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -688,21 +619,31 @@
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<ColumnObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Change From :</text>
<border>0</border>
<color>33554432</color>
<x>381</x>
<y>159</y>
<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>86</width>
<width>90</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term_t</name>
<name>tran_id</name>
<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>
<face>Arial</face>
<height>-10</height>
......@@ -715,7 +656,7 @@
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>10</id>
......@@ -723,8 +664,8 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>471</x>
<y>159</y>
<x>481</x>
<y>122</y>
<height>16</height>
<width>90</width>
<format>[general]</format>
......@@ -757,17 +698,17 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Change On:</text>
<text>Transaction Id:</text>
<border>0</border>
<color>33554432</color>
<x>40</x>
<y>159</y>
<x>392</x>
<y>102</y>
<height>16</height>
<width>79</width>
<width>85</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date_t</name>
<name>tran_id_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -782,31 +723,21 @@
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<TextObject>
<band>Detail</band>
<id>8</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>123</x>
<y>159</y>
<alignment>1</alignment>
<text>Change Term:</text>
<border>0</border>
<color>33554432</color>
<x>396</x>
<y>122</y>
<height>16</height>
<width>81</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date</name>
<name>chg_term_t</name>
<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>
<face>Arial</face>
<height>-10</height>
......@@ -819,21 +750,21 @@
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Change By :</text>
<text>Status:</text>
<border>0</border>
<color>33554432</color>
<x>210</x>
<y>159</y>
<x>424</x>
<y>62</y>
<height>16</height>
<width>79</width>
<width>53</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user_t</name>
<name>status_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -848,31 +779,21 @@
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<TextObject>
<band>Detail</band>
<id>9</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>293</x>
<y>159</y>
<alignment>1</alignment>
<text>Process Type:</text>
<border>0</border>
<color>33554432</color>
<x>388</x>
<y>82</y>
<height>16</height>
<width>81</width>
<format>[general]</format>
<width>89</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user</name>
<name>proc_type_t</name>
<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>
<face>Arial</face>
<height>-10</height>
......@@ -885,22 +806,31 @@
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
</TextObject>
<ColumnObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Employee Code:</text>
<border>0</border>
<color>33554432</color>
<x>9</x>
<y>22</y>
<id>11</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>481</x>
<y>82</y>
<height>16</height>
<width>127</width>
<width>87</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code_t</name>
<name>proc_type</name>
<visible>1</visible>
<EditStyle style="ddlb">
<limit>0</limit>
<allowedit>no</allowedit>
<case>any</case>
<useasborder>yes</useasborder>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
......@@ -913,22 +843,31 @@
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Site Code:</text>
<border>0</border>
<id>5</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>5</border>
<color>33554432</color>
<x>9</x>
<y>42</y>
<x>481</x>
<y>62</y>
<height>16</height>
<width>127</width>
<width>87</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_t</name>
<name>status</name>
<visible>1</visible>
<EditStyle style="ddlb">
<limit>0</limit>
<allowedit>no</allowedit>
<case>any</case>
<useasborder>yes</useasborder>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
......@@ -938,24 +877,24 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Period Code:</text>
<text>Change User:</text>
<border>0</border>
<color>33554432</color>
<x>9</x>
<y>62</y>
<x>226</x>
<y>122</y>
<height>16</height>
<width>127</width>
<width>79</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_code_t</name>
<name>chg_user_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -970,21 +909,31 @@
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<ColumnObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Processed Date:</text>
<border>0</border>
<color>33554432</color>
<x>9</x>
<y>82</y>
<id>9</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>309</x>
<y>122</y>
<height>16</height>
<width>127</width>
<width>81</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>proc_date_t</name>
<name>chg_user</name>
<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>
<face>Arial</face>
<height>-10</height>
......@@ -997,7 +946,7 @@
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
</ColumnObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
......
......@@ -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=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(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(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(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" )
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="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="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="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="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="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" )
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=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=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" )
......@@ -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=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=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=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" )
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 )
......
......@@ -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(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(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=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=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(2) update=yes updatewhereclause=yes name=proc_type dbname="payarr_to_proc.proc_type" )
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" 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(47) updatewhereclause=yes name=name dbname="name" )
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=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" )
......@@ -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="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" )
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" )
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" )
......
......@@ -66,7 +66,7 @@ public class ArrearsDeleteIC extends ValidatorEJB implements ArrearsDeleteICRemo
int currentFormNo=0,childNodeListLength ,ctr=0 , columnCtr=0 , cnt=0;
String errCode = "", userId = "" , prdCodeTo = "", prdCodeAcc = "" ,errString ="" , errorType = "";
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]
ResultSet rs = null; //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
}
}
//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"))
{
siteCode = E12GenericUtility.checkNull(genericUtility.getColumnValue("site_code__fr", dom));
......@@ -280,7 +281,7 @@ 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();
cnt =0;
......@@ -401,15 +402,14 @@ public class ArrearsDeleteIC extends ValidatorEJB implements ArrearsDeleteICRemo
{
currentFormNo = Integer.parseInt(objContext);
}
//Modified By Poonam B[25-SEP-2019]
/*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]
loginEmpCode = getValueFromXTRA_PARAMS(xtraParams, "loginEmpCode");
loginSiteCode = getValueFromXTRA_PARAMS(xtraParams, "loginSiteCode");
System.out.println("currentColumn:::::" + currentColumn);
valueXmlString = new StringBuffer("<?xml version=\"1.0\" encoding=''?>\r\n<Root>\r\n<header>\r\n<editFlag>");
/*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)
......@@ -574,4 +574,4 @@ public class ArrearsDeleteIC extends ValidatorEJB implements ArrearsDeleteICRemo
}
return count;
}
}
}
\ No newline at end of file
......@@ -9,7 +9,7 @@ import java.sql.SQLException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
//import javax.ejb.Stateless;
import javax.ejb.Stateless;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
......@@ -20,7 +20,7 @@ import ibase.webitm.ejb.ITMDBAccessEJB;
import ibase.webitm.ejb.ValidatorEJB;
//import ibase.webitm.utility.GenericUtility;
import ibase.webitm.utility.ITMException;
//@Stateless
@Stateless
public class PayarrToProc extends ValidatorEJB implements PayarrToProcLocal,PayarrToProcRemote
{
//modified by Shital on 12/07/2019 [Start]
......@@ -92,6 +92,7 @@ public class PayarrToProc extends ValidatorEJB implements PayarrToProcLocal,Paya
StringBuffer errStringXml = null;
String sql = "";
String empCode = "";
String flagStatus = ""; //Added By Poonam B[05/11/2019]
String status = "";
String prdCode = "";
String procType = "";
......@@ -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
}
//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 = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, loginCode);
......@@ -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))
{
prdCode = checkNull(genericUtility.getColumnValue("prd_code", dom));
......@@ -740,6 +765,7 @@ public class PayarrToProc extends ValidatorEJB implements PayarrToProcLocal,Paya
if((status.trim().equalsIgnoreCase("D") ))
{
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("<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");
......
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