Commit f006a319 authored by dpingle's avatar dpingle

* updated component [01/11/19]

emp_mthad21.xml
w_emp_mthad.sql
d_emp_mthad_edit.srd
EmpMthadIC.java
EmployeewiseMonthlyPaystructure.png
EmployeewiseMonthlyPaystructurewht.png


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@210899 ce508802-f39f-4f6c-b175-0d175dae99d5
parent ea74beef
......@@ -140,3 +140,34 @@ update TRANSETUP set THUMB_ALT_COL = 'emp_fname', THUMB_IMAGE_COL= 'emp_code', T
update POPHELP set THUMB_ALT_COL = 'descr', THUMB_IMAGE_COL= 'ad_code', THUMB_OBJ = 'AdCodeImages' where FIELD_NAME='AD_CODE' AND MOD_NAME = 'W_EMP_MTHAD';
------------------------------------------------------[18/10/19]End
------------------------------------------------------[01/11/19]Start
update obj_actions set IMAGE='ibase/resource/objaction/add.svg', DISPLAY_MODE=0 where OBJ_NAME='emp_mthad' and LINE_NO=1;
update obj_actions set IMAGE='ibase/resource/objaction/edit.svg', DISPLAY_MODE=0 where OBJ_NAME='emp_mthad' and LINE_NO=2;
update obj_actions set IMAGE='ibase/resource/objaction/exprtExl.svg',DESCRIPTION='Export To Excel',SERVICE_CODE='a',INTERACTIVE='a',RIGHTS_CHAR='B',TITLE='Export2XLS',ACTION_TYPE='S', DISPLAY_MODE=1 where OBJ_NAME='emp_mthad' and LINE_NO=22;
update obj_actions set IMAGE='ibase/resource/objaction/Audit-trail.svg', RIGHTS_CHAR='Q', TITLE='Audit Trail', SHOW_IN_PANEL=1, DISPLAY_MODE=1 where OBJ_NAME='emp_mthad' and LINE_NO=21;
update itm2menu set ICON_PATH='EmployeewiseMonthlyPaystructure.png' , CLOSE_ICON='EmployeewiseMonthlyPaystructurewht.png' where WIN_NAME='w_emp_mthad';
Insert into POPHELP (FIELD_NAME,MOD_NAME,SQL_STR,DW_OBJECT,MSG_TITLE,WIDTH,HEIGHT,CHG_DATE,CHG_USER,CHG_TERM,DIST_OPT,FILTER_STRING,SQL_INPUT,DEFAULT_COL,POP_ALIGN,QUERY_MODE,PAGE_CONTEXT,POPHELP_COLS,POPHELP_SOURCE,MULTI_OPT,HELP_OPTION,POPUP_XSL_NAME,AUTO_FILL_LEN,THUMB_OBJ,THUMB_IMAGE_COL,THUMB_ALT_COL,AUTO_MIN_LENGTH,OBJ_NAME__DS,DATA_MODEL_NAME,VALIDATE_DATA,ITEM_CHANGE,MSG_NO,FILTER_EXPR,LAYOUT) values ('EMP_CODE','W_EMP_MTHAD','select a.emp_code as Code, a.emp_fname||'' ''||a.emp_mname||'' ''||a.emp_lname as Name
from employee a where a.relieve_date is null',null,'Employee Code',0,0,to_date('16-10-18','DD-MM-RR'),'BASE ','BASE ','0',null,null,0,null,null,null,null,null,null,'2',null,'3',null,null,null,'2 ',null,null,null,null,null,null,null);
UPDATE POPHELP SET WIDTH = NULL, HEIGHT=NULL , DIST_OPT=1 WHERE FIELD_NAME='EMP_CODE' AND MOD_NAME='W_EMP_MTHAD';
------------------------------------------------------[01/11/19]End
......@@ -39,7 +39,7 @@
<color>536870912</color>
</Footer>
<Detail>
<height>376</height>
<height>429</height>
<color>536870912</color>
</Detail>
<TableDefinition>
......@@ -102,7 +102,7 @@
<updatewhereclause>yes</updatewhereclause>
<name>type</name>
<dbname>employee_mthad.type</dbname>
<initial> </initial>
<initial>F</initial>
<values>
<item display="Fixed" data="F"/>
<item display="Percentage" data="P"/>
......@@ -136,7 +136,7 @@
<dbname>employee_mthad.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>
......@@ -222,8 +222,14 @@
<name>ref_no</name>
<dbname>employee_mthad.ref_no</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;employee_mthad&quot; ) TABLE(NAME=&quot;allwdedn&quot; ) TABLE(NAME=&quot;employee&quot; ) COLUMN(NAME=&quot;employee_mthad.emp_code&quot;) COLUMN(NAME=&quot;employee_mthad.month_code&quot;) COLUMN(NAME=&quot;employee_mthad.ad_code&quot;) COLUMN(NAME=&quot;employee_mthad.eff_date&quot;) COLUMN(NAME=&quot;employee_mthad.exp_date&quot;) COLUMN(NAME=&quot;employee_mthad.type&quot;) COLUMN(NAME=&quot;employee_mthad.prop_yn&quot;) COLUMN(NAME=&quot;employee_mthad.chg_date&quot;) COLUMN(NAME=&quot;employee_mthad.chg_user&quot;) COLUMN(NAME=&quot;employee_mthad.chg_term&quot;) COLUMN(NAME=&quot;allwdedn.descr&quot;) COLUMN(NAME=&quot;employee_mthad.amount&quot;) COLUMN(NAME=&quot;employee_mthad.min_basic&quot;) COLUMN(NAME=&quot;employee_mthad.max_basic&quot;) COLUMN(NAME=&quot;employee_mthad.min_amt&quot;) COLUMN(NAME=&quot;employee_mthad.max_amt&quot;) COLUMN(NAME=&quot;employee.pay_site&quot;) COLUMN(NAME=&quot;employee_mthad.ref_type&quot;) COLUMN(NAME=&quot;employee_mthad.ref_no&quot;) JOIN (LEFT=&quot;employee_mthad.ad_code&quot; OP =&quot;=&quot;RIGHT=&quot;allwdedn.ad_code&quot; ) JOIN (LEFT=&quot;employee_mthad.emp_code&quot; OP =&quot;=&quot;RIGHT=&quot;employee.emp_code&quot; )WHERE( EXP1 =&quot;employee_mthad.emp_code&quot; OP =&quot;=&quot; EXP2 =&quot;:mEmpCode&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;employee_mthad.month_code&quot; OP =&quot;=&quot; EXP2 =&quot;:mMonthCode&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;employee_mthad.ad_code&quot; OP =&quot;=&quot; EXP2 =&quot;:mAdCode&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;employee_mthad.eff_date&quot; OP =&quot;=&quot; EXP2 =&quot;:meff_date&quot; ) ) ARG(NAME = &quot;mEmpCode&quot; TYPE = string) ARG(NAME = &quot;mMonthCode&quot; TYPE = string) ARG(NAME = &quot;mAdCode&quot; TYPE = string) ARG(NAME = &quot;meff_date&quot; TYPE = datetime) </retrieve>
<update>employee_mthad</update>
<table_column>
<type size="4000">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>emp_name</name>
<dbname>emp_name</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;employee_mthad&quot; ) TABLE(NAME=&quot;allwdedn&quot; ) TABLE(NAME=&quot;employee&quot; ) COLUMN(NAME=&quot;employee_mthad.emp_code&quot;) COLUMN(NAME=&quot;employee_mthad.month_code&quot;) COLUMN(NAME=&quot;employee_mthad.ad_code&quot;) COLUMN(NAME=&quot;employee_mthad.eff_date&quot;) COLUMN(NAME=&quot;employee_mthad.exp_date&quot;) COLUMN(NAME=&quot;employee_mthad.type&quot;) COLUMN(NAME=&quot;employee_mthad.prop_yn&quot;) COLUMN(NAME=&quot;employee_mthad.chg_date&quot;) COLUMN(NAME=&quot;employee_mthad.chg_user&quot;) COLUMN(NAME=&quot;employee_mthad.chg_term&quot;) COLUMN(NAME=&quot;allwdedn.descr&quot;) COLUMN(NAME=&quot;employee_mthad.amount&quot;) COLUMN(NAME=&quot;employee_mthad.min_basic&quot;) COLUMN(NAME=&quot;employee_mthad.max_basic&quot;) COLUMN(NAME=&quot;employee_mthad.min_amt&quot;) COLUMN(NAME=&quot;employee_mthad.max_amt&quot;) COLUMN(NAME=&quot;employee.pay_site&quot;) COLUMN(NAME=&quot;employee_mthad.ref_type&quot;) COLUMN(NAME=&quot;employee_mthad.ref_no&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME(employee_mthad.emp_code,&apos;FL1&apos;) as emp_name&quot;) JOIN (LEFT=&quot;employee_mthad.ad_code&quot; OP =&quot;=&quot;RIGHT=&quot;allwdedn.ad_code&quot; ) JOIN (LEFT=&quot;employee_mthad.emp_code&quot; OP =&quot;=&quot;RIGHT=&quot;employee.emp_code&quot; )WHERE( EXP1 =&quot;employee_mthad.emp_code&quot; OP =&quot;=&quot; EXP2 =&quot;:mEmpCode&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;employee_mthad.month_code&quot; OP =&quot;=&quot; EXP2 =&quot;:mMonthCode&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;employee_mthad.ad_code&quot; OP =&quot;=&quot; EXP2 =&quot;:mAdCode&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;employee_mthad.eff_date&quot; OP =&quot;=&quot; EXP2 =&quot;:meff_date&quot; ) ) ARG(NAME = &quot;mEmpCode&quot; TYPE = string) ARG(NAME = &quot;mMonthCode&quot; TYPE = string) ARG(NAME = &quot;mAdCode&quot; TYPE = string) ARG(NAME = &quot;meff_date&quot; TYPE = datetime) </retrieve>
<update>EMPLOYEE_MTHAD</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
<argument>
......@@ -248,10 +254,10 @@
<text>Others</text>
<border>2</border>
<color>0</color>
<x>16</x>
<y>228</y>
<height>137</height>
<width>557</width>
<x>9</x>
<y>226</y>
<height>168</height>
<width>518</width>
<name>gb_2</name>
<visible>1</visible>
<font>
......@@ -263,8 +269,8 @@
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
<mode>2</mode>
<color>67108864</color>
</background>
</GroupBox>
<GroupBox>
......@@ -272,10 +278,10 @@
<text>Basic</text>
<border>2</border>
<color>0</color>
<x>17</x>
<y>13</y>
<height>202</height>
<width>554</width>
<x>9</x>
<y>16</y>
<height>199</height>
<width>518</width>
<name>gb_1</name>
<visible>1</visible>
<font>
......@@ -298,7 +304,7 @@
<tabsequence>10</tabsequence>
<border>5</border>
<color>0</color>
<x>163</x>
<x>142</x>
<y>40</y>
<height>19</height>
<width>52</width>
......@@ -337,7 +343,7 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>218</x>
<x>197</x>
<y>40</y>
<height>19</height>
<width>311</width>
......@@ -369,17 +375,17 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>A/D Code :</text>
<text>Amount :</text>
<border>0</border>
<color>0</color>
<x>63</x>
<y>40</y>
<height>16</height>
<x>42</x>
<y>68</y>
<height>19</height>
<width>96</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ad_code_t</name>
<name>amount_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -401,7 +407,7 @@
<tabsequence>20</tabsequence>
<border>5</border>
<color>0</color>
<x>163</x>
<x>142</x>
<y>68</y>
<height>19</height>
<width>95</width>
......@@ -440,7 +446,7 @@
<text>Type :</text>
<border>0</border>
<color>0</color>
<x>322</x>
<x>301</x>
<y>68</y>
<height>19</height>
<width>65</width>
......@@ -469,7 +475,7 @@
<tabsequence>30</tabsequence>
<border>5</border>
<color>0</color>
<x>391</x>
<x>370</x>
<y>68</y>
<height>19</height>
<width>138</width>
......@@ -502,17 +508,17 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Amount :</text>
<text>Effective Date :</text>
<border>0</border>
<color>0</color>
<x>63</x>
<y>68</y>
<x>42</x>
<y>99</y>
<height>19</height>
<width>96</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>amount_t</name>
<name>eff_date_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -527,21 +533,28 @@
<color>79741120</color>
</background>
</TextObject>
<TextObject>
<ColumnObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Effective Date :</text>
<border>0</border>
<id>4</id>
<alignment>0</alignment>
<tabsequence>40</tabsequence>
<border>5</border>
<color>0</color>
<x>63</x>
<x>142</x>
<y>99</y>
<height>19</height>
<width>96</width>
<width>70</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>eff_date_t</name>
<name>eff_date</name>
<visible>1</visible>
<EditStyle name="datetime" style="editmask">
<mask>dd/mm/yy</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
......@@ -552,31 +565,24 @@
</font>
<background>
<mode>2</mode>
<color>79741120</color>
<color>16777215</color>
</background>
</TextObject>
<ColumnObject>
</ColumnObject>
<TextObject>
<band>Detail</band>
<id>4</id>
<alignment>0</alignment>
<tabsequence>40</tabsequence>
<border>5</border>
<alignment>1</alignment>
<text>Expiry Date :</text>
<border>0</border>
<color>0</color>
<x>163</x>
<x>278</x>
<y>99</y>
<height>19</height>
<width>70</width>
<format>[shortdate] [time]</format>
<width>114</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>eff_date</name>
<name>exp_date_t</name>
<visible>1</visible>
<EditStyle name="datetime" style="editmask">
<mask>dd/mm/yy</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
......@@ -587,9 +593,9 @@
</font>
<background>
<mode>2</mode>
<color>16777215</color>
<color>79741120</color>
</background>
</ColumnObject>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
......@@ -597,7 +603,7 @@
<tabsequence>50</tabsequence>
<border>5</border>
<color>0</color>
<x>417</x>
<x>396</x>
<y>99</y>
<height>19</height>
<width>112</width>
......@@ -631,7 +637,7 @@
<text>Min. Base Amount :</text>
<border>0</border>
<color>0</color>
<x>42</x>
<x>21</x>
<y>127</y>
<height>19</height>
<width>117</width>
......@@ -660,7 +666,7 @@
<tabsequence>60</tabsequence>
<border>5</border>
<color>0</color>
<x>163</x>
<x>142</x>
<y>127</y>
<height>19</height>
<width>95</width>
......@@ -693,6 +699,34 @@
<color>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Max. Base Amount :</text>
<border>0</border>
<color>0</color>
<x>249</x>
<y>127</y>
<height>19</height>
<width>117</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>max_basic_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>14</id>
......@@ -700,7 +734,7 @@
<tabsequence>70</tabsequence>
<border>5</border>
<color>0</color>
<x>391</x>
<x>370</x>
<y>127</y>
<height>19</height>
<width>138</width>
......@@ -739,8 +773,8 @@
<text>Min. Amount :</text>
<border>0</border>
<color>0</color>
<x>63</x>
<y>155</y>
<x>41</x>
<y>154</y>
<height>19</height>
<width>96</width>
<html>
......@@ -768,7 +802,7 @@
<tabsequence>80</tabsequence>
<border>5</border>
<color>0</color>
<x>163</x>
<x>142</x>
<y>155</y>
<height>19</height>
<width>95</width>
......@@ -801,33 +835,21 @@
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<TextObject>
<band>Detail</band>
<id>16</id>
<alignment>1</alignment>
<tabsequence>90</tabsequence>
<border>5</border>
<text>Max. Amount :</text>
<border>0</border>
<color>0</color>
<x>390</x>
<x>259</x>
<y>155</y>
<height>19</height>
<width>139</width>
<format>#######0.00</format>
<width>106</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>max_amt</name>
<tag>Maximum allowance / deduction amount.</tag>
<name>max_amt_t</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>13</limit>
<case>any</case>
<format>#######0.00</format>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
......@@ -838,16 +860,16 @@
</font>
<background>
<mode>2</mode>
<color>16777215</color>
<color>79741120</color>
</background>
</ColumnObject>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Proportionate :</text>
<border>0</border>
<color>0</color>
<x>63</x>
<x>42</x>
<y>183</y>
<height>19</height>
<width>96</width>
......@@ -876,11 +898,11 @@
<tabsequence>100</tabsequence>
<border>5</border>
<color>0</color>
<x>163</x>
<x>142</x>
<y>183</y>
<height>19</height>
<width>78</width>
<format>[general]</format>
<format>[Yes/No]</format>
<html>
<valueishtml>0</valueishtml>
</html>
......@@ -909,17 +931,17 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Max. Amount :</text>
<text>A/D Code :</text>
<border>0</border>
<color>0</color>
<x>280</x>
<y>155</y>
<x>42</x>
<y>40</y>
<height>19</height>
<width>106</width>
<width>96</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>max_amt_t</name>
<name>ad_code_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -937,17 +959,17 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Max. Base Amount :</text>
<text>Reference Type :</text>
<border>0</border>
<color>0</color>
<x>270</x>
<y>127</y>
<x>42</x>
<y>247</y>
<height>19</height>
<width>117</width>
<width>96</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>max_basic_t</name>
<name>ref_type_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -965,17 +987,17 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Expiry Date :</text>
<text>Employee Code :</text>
<border>0</border>
<color>0</color>
<x>299</x>
<y>99</y>
<x>42</x>
<y>275</y>
<height>19</height>
<width>114</width>
<width>96</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>exp_date_t</name>
<name>emp_code_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -990,21 +1012,32 @@
<color>79741120</color>
</background>
</TextObject>
<TextObject>
<ColumnObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Reference Type :</text>
<border>0</border>
<color>0</color>
<x>63</x>
<y>249</y>
<height>16</height>
<width>96</width>
<id>1</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>142</x>
<y>275</y>
<height>19</height>
<width>110</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ref_type_t</name>
<name>emp_code</name>
<tag>Employee code.</tag>
<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>Times New Roman</face>
<height>-10</height>
......@@ -1015,20 +1048,20 @@
</font>
<background>
<mode>2</mode>
<color>79741120</color>
<color>67108864</color>
</background>
</TextObject>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>18</id>
<alignment>0</alignment>
<tabsequence>110</tabsequence>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>163</x>
<y>249</y>
<color>255</color>
<x>142</x>
<y>247</y>
<height>19</height>
<width>160</width>
<width>110</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
......@@ -1050,6 +1083,46 @@
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>16</id>
<alignment>1</alignment>
<tabsequence>90</tabsequence>
<border>5</border>
<color>0</color>
<x>369</x>
<y>155</y>
<height>19</height>
<width>139</width>
<format>#######0.00</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>max_amt</name>
<tag>Maximum allowance / deduction amount.</tag>
<visible>1</visible>
<EditStyle style="edit">
<limit>13</limit>
<case>any</case>
<format>#######0.00</format>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
......@@ -1061,9 +1134,9 @@
<text> Reference No :</text>
<border>0</border>
<color>0</color>
<x>338</x>
<y>249</y>
<height>16</height>
<x>317</x>
<y>247</y>
<height>19</height>
<width>90</width>
<html>
<valueishtml>0</valueishtml>
......@@ -1083,31 +1156,21 @@
<color>79741120</color>
</background>
</TextObject>
<ColumnObject>
<TextObject>
<band>Detail</band>
<id>19</id>
<alignment>0</alignment>
<tabsequence>120</tabsequence>
<border>5</border>
<alignment>1</alignment>
<text>Chg Date :</text>
<border>0</border>
<color>0</color>
<x>432</x>
<y>249</y>
<x>323</x>
<y>303</y>
<height>19</height>
<width>97</width>
<format>[general]</format>
<width>84</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ref_no</name>
<name>chg_date_t</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>15</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
......@@ -1118,23 +1181,23 @@
</font>
<background>
<mode>2</mode>
<color>16777215</color>
<color>79741120</color>
</background>
</ColumnObject>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Employee Code :</text>
<text>Pay Site :</text>
<border>0</border>
<color>0</color>
<x>63</x>
<y>277</y>
<x>323</x>
<y>331</y>
<height>19</height>
<width>96</width>
<width>84</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code_t</name>
<name>pay_site_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -1151,25 +1214,24 @@
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<id>19</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>163</x>
<y>277</y>
<height>20</height>
<width>110</width>
<x>411</x>
<y>247</y>
<height>19</height>
<width>97</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code</name>
<tag>Employee code.</tag>
<name>ref_no</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<limit>15</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
......@@ -1188,58 +1250,30 @@
<color>67108864</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Month :</text>
<border>0</border>
<color>0</color>
<x>331</x>
<y>277</y>
<height>19</height>
<width>84</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>month_code_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<id>8</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>419</x>
<y>277</y>
<height>20</height>
<width>110</width>
<format>[general]</format>
<x>411</x>
<y>303</y>
<height>19</height>
<width>97</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>month_code</name>
<tag>Month.</tag>
<name>chg_date</name>
<tag>Row modification date, for system purpose only</tag>
<visible>1</visible>
<EditStyle name="months" style="ddlb">
<limit>2</limit>
<allowedit>no</allowedit>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<vscrollbar>yes</vscrollbar>
<useasborder>yes</useasborder>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -1255,21 +1289,29 @@
<color>67108864</color>
</background>
</ColumnObject>
<TextObject>
<ColumnObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Chg Date :</text>
<border>0</border>
<color>0</color>
<x>330</x>
<y>305</y>
<id>17</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>411</x>
<y>331</y>
<height>19</height>
<width>84</width>
<width>97</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date_t</name>
<name>pay_site</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
......@@ -1280,33 +1322,33 @@
</font>
<background>
<mode>2</mode>
<color>79741120</color>
<color>67108864</color>
</background>
</TextObject>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<id>2</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>418</x>
<y>305</y>
<x>143</x>
<y>303</y>
<height>19</height>
<width>110</width>
<format>[shortdate] [time]</format>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date</name>
<tag>Row modification date, for system purpose only</tag>
<name>month_code</name>
<tag>Month.</tag>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<EditStyle name="months" style="ddlb">
<limit>2</limit>
<allowedit>no</allowedit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<vscrollbar>yes</vscrollbar>
<useasborder>yes</useasborder>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -1325,17 +1367,17 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Pay Site :</text>
<text>Chg User :</text>
<border>0</border>
<color>0</color>
<x>349</x>
<y>333</y>
<x>42</x>
<y>330</y>
<height>19</height>
<width>87</width>
<width>96</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pay_site_t</name>
<name>chg_user_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -1346,31 +1388,34 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>17</id>
<id>9</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>440</x>
<y>333</y>
<x>142</x>
<y>331</y>
<height>19</height>
<width>88</width>
<width>110</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pay_site</name>
<name>chg_user</name>
<tag>User modifing the record, for system purpose only</tag>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -1389,17 +1434,17 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Chg User :</text>
<text>Chg Term :</text>
<border>0</border>
<color>0</color>
<x>63</x>
<y>305</y>
<x>42</x>
<y>359</y>
<height>19</height>
<width>96</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user_t</name>
<name>chg_term_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -1416,24 +1461,24 @@
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<id>10</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>163</x>
<y>305</y>
<x>142</x>
<y>357</y>
<height>19</height>
<width>110</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user</name>
<tag>User modifing the record, for system purpose only</tag>
<name>chg_term</name>
<tag>Row modifing terminal, for system purpose only</tag>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<limit>15</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
......@@ -1456,17 +1501,17 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Chg Term :</text>
<text>Month :</text>
<border>0</border>
<color>0</color>
<x>63</x>
<y>333</y>
<x>42</x>
<y>303</y>
<height>19</height>
<width>96</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term_t</name>
<name>month_code_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -1483,28 +1528,25 @@
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>10</id>
<id>20</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>163</x>
<y>333</y>
<height>20</height>
<width>110</width>
<x>260</x>
<y>275</y>
<height>19</height>
<width>250</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term</name>
<tag>Row modifing terminal, for system purpose only</tag>
<name>emp_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>
<imemode>0</imemode>
</EditStyle>
<font>
......
......@@ -3,17 +3,17 @@ release 9;
datawindow(units=1 timer_interval=0 color=79741120 processing=0 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=376 color="536870912" )
detail(height=429 color="536870912" )
table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=emp_code dbname="employee_mthad.emp_code" )
column=(type=char(2) update=yes updatewhereclause=yes key=yes name=month_code dbname="employee_mthad.month_code" values="January 01/February 02/March 03/April 04/May 05/June 06/July 07/August 08/September 09/October 10/November 11/December 12/" )
column=(type=char(5) update=yes updatewhereclause=yes key=yes name=ad_code dbname="employee_mthad.ad_code" )
column=(type=datetime update=yes updatewhereclause=yes key=yes name=eff_date dbname="employee_mthad.eff_date" )
column=(type=datetime update=yes updatewhereclause=yes name=exp_date dbname="employee_mthad.exp_date" )
column=(type=char(1) update=yes updatewhereclause=yes name=type dbname="employee_mthad.type" initial=" " values="Fixed F/Percentage P/Not Applicable /" )
column=(type=char(1) update=yes updatewhereclause=yes name=type dbname="employee_mthad.type" initial="F" values="Fixed F/Percentage P/Not Applicable /" )
column=(type=char(1) update=yes updatewhereclause=yes name=prop_yn dbname="employee_mthad.prop_yn" initial="Y" values="Yes Y/No N/" )
column=(type=datetime update=yes updatewhereclause=yes name=chg_date dbname="employee_mthad.chg_date" )
column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="employee_mthad.chg_user" )
column=(type=char(15) update=yes updatewhereclause=yes name=chg_term dbname="employee_mthad.chg_term" )
column=(type=char(300) update=yes updatewhereclause=yes name=chg_term dbname="employee_mthad.chg_term" )
column=(type=char(40) updatewhereclause=yes name=allwdedn_descr dbname="allwdedn.descr" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=amount dbname="employee_mthad.amount" initial="0" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=min_basic dbname="employee_mthad.min_basic" initial="0" )
......@@ -23,45 +23,48 @@ table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=emp_co
column=(type=char(5) updatewhereclause=yes name=pay_site dbname="employee.pay_site" )
column=(type=char(1) update=yes updatewhereclause=yes name=ref_type dbname="employee_mthad.ref_type" initial="O" values="Loans L/Others O/Transfer T/Promotion//Increment P/Drop Deduction D/Full & Final F/Perk Claims C/Leave Encashment L/IT Declaration I/Income Tax Processing X/Interest N/" )
column=(type=char(15) update=yes updatewhereclause=yes name=ref_no dbname="employee_mthad.ref_no" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"employee_mthad~" ) TABLE(NAME=~"allwdedn~" ) TABLE(NAME=~"employee~" ) COLUMN(NAME=~"employee_mthad.emp_code~") COLUMN(NAME=~"employee_mthad.month_code~") COLUMN(NAME=~"employee_mthad.ad_code~") COLUMN(NAME=~"employee_mthad.eff_date~") COLUMN(NAME=~"employee_mthad.exp_date~") COLUMN(NAME=~"employee_mthad.type~") COLUMN(NAME=~"employee_mthad.prop_yn~") COLUMN(NAME=~"employee_mthad.chg_date~") COLUMN(NAME=~"employee_mthad.chg_user~") COLUMN(NAME=~"employee_mthad.chg_term~") COLUMN(NAME=~"allwdedn.descr~") COLUMN(NAME=~"employee_mthad.amount~") COLUMN(NAME=~"employee_mthad.min_basic~") COLUMN(NAME=~"employee_mthad.max_basic~") COLUMN(NAME=~"employee_mthad.min_amt~") COLUMN(NAME=~"employee_mthad.max_amt~") COLUMN(NAME=~"employee.pay_site~") COLUMN(NAME=~"employee_mthad.ref_type~") COLUMN(NAME=~"employee_mthad.ref_no~") JOIN (LEFT=~"employee_mthad.ad_code~" OP =~"=~"RIGHT=~"allwdedn.ad_code~" ) JOIN (LEFT=~"employee_mthad.emp_code~" OP =~"=~"RIGHT=~"employee.emp_code~" )WHERE( EXP1 =~"employee_mthad.emp_code~" OP =~"=~" EXP2 =~":mEmpCode~" LOGIC =~"and~" ) WHERE( EXP1 =~"employee_mthad.month_code~" OP =~"=~" EXP2 =~":mMonthCode~" LOGIC =~"and~" ) WHERE( EXP1 =~"employee_mthad.ad_code~" OP =~"=~" EXP2 =~":mAdCode~" LOGIC =~"and~" ) WHERE( EXP1 =~"employee_mthad.eff_date~" OP =~"=~" EXP2 =~":meff_date~" ) ) ARG(NAME = ~"mEmpCode~" TYPE = string) ARG(NAME = ~"mMonthCode~" TYPE = string) ARG(NAME = ~"mAdCode~" TYPE = string) ARG(NAME = ~"meff_date~" TYPE = datetime) " update="employee_mthad" updatewhere=0 updatekeyinplace=no arguments=(("mEmpCode", string),("mMonthCode", string),("mAdCode", string),("meff_date", datetime)) )
groupbox(band=detail text="Basic"border="2" color="0" x="17" y="13" height="330" width="546" name=gb_1 visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=3 alignment="0" tabsequence=10 border="5" color="0" x="163" y="40" height="19" width="52" format="[general]" html.valueishtml="0" name=ad_code tag="Allowance / Deduction code." visible="1" edit.limit=5 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=11 alignment="0" tabsequence=32766 border="5" color="255" x="218" y="40" height="19" width="311" format="[general]" html.valueishtml="0" name=allwdedn_descr visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="A/D Code :" border="0" color="0" x="63" y="40" height="16" width="96" html.valueishtml="0" name=ad_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=12 alignment="1" tabsequence=20 border="5" color="0" x="163" y="68" height="19" width="95" format="#######0.00" html.valueishtml="0" name=amount tag="Amount of allowance / deduction." visible="1" edit.limit=13 edit.case=any edit.format="#######0.00" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Type :" border="0" color="0" x="322" y="68" height="19" width="65" html.valueishtml="0" name=type_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=6 alignment="0" tabsequence=30 border="5" color="0" x="391" y="68" height="19" width="138" format="[general]" html.valueishtml="0" name=type tag="Type ( fixed or percentage )." visible="1" ddlb.limit=1 ddlb.allowedit=no ddlb.case=any ddlb.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Amount :" border="0" color="0" x="63" y="68" height="19" width="96" html.valueishtml="0" name=amount_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Effective Date :" border="0" color="0" x="63" y="99" height="19" width="96" html.valueishtml="0" name=eff_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=4 alignment="0" tabsequence=40 border="5" color="0" x="163" y="99" height="19" width="70" format="[shortdate] [time]" html.valueishtml="0" name=eff_date visible="1" edit.name="datetime" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=5 alignment="0" tabsequence=50 border="5" color="0" x="417" y="99" height="19" width="112" format="[shortdate] [time]" html.valueishtml="0" name=exp_date visible="1" edit.name="datetime" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Min. Base Amount :" border="0" color="0" x="42" y="127" height="19" width="117" html.valueishtml="0" name=min_basic_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=13 alignment="1" tabsequence=60 border="5" color="0" x="163" y="127" height="19" width="95" format="#######0.00" html.valueishtml="0" name=min_basic tag="Minimum basic salary for allowance / deduction." visible="1" edit.limit=14 edit.case=any edit.format="#######0.00" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=14 alignment="1" tabsequence=70 border="5" color="0" x="391" y="127" height="19" width="138" format="#######0.00" html.valueishtml="0" name=max_basic tag="Maximum basic salary for allowance / deduction." visible="1" edit.limit=13 edit.case=any edit.format="#######0.00" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Min. Amount :" border="0" color="0" x="63" y="155" height="19" width="96" html.valueishtml="0" name=min_amt_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=15 alignment="1" tabsequence=80 border="5" color="0" x="163" y="155" height="19" width="95" format="#######0.00" html.valueishtml="0" name=min_amt tag="Minimum allowance / deduction amount." visible="1" edit.limit=13 edit.case=any edit.format="#######0.00" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=16 alignment="1" tabsequence=90 border="5" color="0" x="390" y="155" height="19" width="139" format="#######0.00" html.valueishtml="0" name=max_amt tag="Maximum allowance / deduction amount." visible="1" edit.limit=13 edit.case=any edit.format="#######0.00" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Proportionate :" border="0" color="0" x="63" y="183" height="19" width="96" html.valueishtml="0" name=prop_yn_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=7 alignment="0" tabsequence=100 border="5" color="0" x="163" y="183" height="19" width="78" format="[general]" html.valueishtml="0" name=prop_yn tag="Proportionate ( yes / no )." visible="1" ddlb.limit=1 ddlb.allowedit=no ddlb.case=any ddlb.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Reference Type :" border="0" color="0" x="63" y="211" height="16" width="96" html.valueishtml="0" name=ref_type_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=18 alignment="0" tabsequence=110 border="5" color="0" x="163" y="211" height="19" width="160" format="[general]" html.valueishtml="0" name=ref_type visible="1" ddlb.limit=0 ddlb.allowedit=no ddlb.case=any ddlb.vscrollbar=yes ddlb.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=19 alignment="0" tabsequence=120 border="5" color="0" x="432" y="211" height="19" width="97" format="[general]" html.valueishtml="0" name=ref_no visible="1" edit.limit=15 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Employee Code :" border="0" color="0" x="63" y="239" height="19" width="96" html.valueishtml="0" name=emp_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="5" color="255" x="163" y="239" height="20" width="110" format="[general]" html.valueishtml="0" name=emp_code tag="Employee code." visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=2 alignment="0" tabsequence=32766 border="5" color="255" x="419" y="239" height="20" width="110" format="[general]" html.valueishtml="0" name=month_code tag="Month." visible="1" edit.name="months" ddlb.limit=2 ddlb.allowedit=no ddlb.case=any ddlb.vscrollbar=yes ddlb.useasborder=yes ddlb.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Chg User :" border="0" color="0" x="63" y="267" height="19" width="96" html.valueishtml="0" name=chg_user_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=9 alignment="0" tabsequence=32766 border="5" color="255" x="163" y="267" height="19" width="110" format="[general]" html.valueishtml="0" name=chg_user tag="User modifing the record, for system purpose only" visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=8 alignment="0" tabsequence=32766 border="5" color="255" x="418" y="267" height="19" width="110" format="[shortdate] [time]" html.valueishtml="0" name=chg_date tag="Row modification date, for system purpose only" visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=10 alignment="0" tabsequence=32766 border="5" color="255" x="163" y="295" height="20" width="110" format="[general]" html.valueishtml="0" name=chg_term tag="Row modifing terminal, for system purpose only" visible="1" edit.limit=15 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=17 alignment="0" tabsequence=32766 border="5" color="255" x="440" y="295" height="19" width="88" format="[general]" html.valueishtml="0" name=pay_site visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Chg Term :" border="0" color="0" x="63" y="295" height="19" width="96" html.valueishtml="0" name=chg_term_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Pay Site :" border="0" color="0" x="349" y="295" height="19" width="87" html.valueishtml="0" name=pay_site_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Chg Date :" border="0" color="0" x="330" y="267" height="19" width="84" html.valueishtml="0" name=chg_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Month :" border="0" color="0" x="331" y="239" height="19" width="84" html.valueishtml="0" name=month_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text=" Reference No :" border="0" color="0" x="338" y="211" height="16" width="90" html.valueishtml="0" name=ref_no_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Max. Amount :" border="0" color="0" x="280" y="155" height="19" width="106" html.valueishtml="0" name=max_amt_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Max. Base Amount :" border="0" color="0" x="270" y="127" height="19" width="117" html.valueishtml="0" name=max_basic_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Expiry Date :" border="0" color="0" x="299" y="99" height="19" width="114" html.valueishtml="0" name=exp_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column=(type=char(4000) updatewhereclause=yes name=emp_name dbname="emp_name" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"employee_mthad~" ) TABLE(NAME=~"allwdedn~" ) TABLE(NAME=~"employee~" ) COLUMN(NAME=~"employee_mthad.emp_code~") COLUMN(NAME=~"employee_mthad.month_code~") COLUMN(NAME=~"employee_mthad.ad_code~") COLUMN(NAME=~"employee_mthad.eff_date~") COLUMN(NAME=~"employee_mthad.exp_date~") COLUMN(NAME=~"employee_mthad.type~") COLUMN(NAME=~"employee_mthad.prop_yn~") COLUMN(NAME=~"employee_mthad.chg_date~") COLUMN(NAME=~"employee_mthad.chg_user~") COLUMN(NAME=~"employee_mthad.chg_term~") COLUMN(NAME=~"allwdedn.descr~") COLUMN(NAME=~"employee_mthad.amount~") COLUMN(NAME=~"employee_mthad.min_basic~") COLUMN(NAME=~"employee_mthad.max_basic~") COLUMN(NAME=~"employee_mthad.min_amt~") COLUMN(NAME=~"employee_mthad.max_amt~") COLUMN(NAME=~"employee.pay_site~") COLUMN(NAME=~"employee_mthad.ref_type~") COLUMN(NAME=~"employee_mthad.ref_no~") COMPUTE(NAME=~"FN_GET_EMP_NAME(employee_mthad.emp_code,'FL1') as emp_name~") JOIN (LEFT=~"employee_mthad.ad_code~" OP =~"=~"RIGHT=~"allwdedn.ad_code~" ) JOIN (LEFT=~"employee_mthad.emp_code~" OP =~"=~"RIGHT=~"employee.emp_code~" )WHERE( EXP1 =~"employee_mthad.emp_code~" OP =~"=~" EXP2 =~":mEmpCode~" LOGIC =~"and~" ) WHERE( EXP1 =~"employee_mthad.month_code~" OP =~"=~" EXP2 =~":mMonthCode~" LOGIC =~"and~" ) WHERE( EXP1 =~"employee_mthad.ad_code~" OP =~"=~" EXP2 =~":mAdCode~" LOGIC =~"and~" ) WHERE( EXP1 =~"employee_mthad.eff_date~" OP =~"=~" EXP2 =~":meff_date~" ) ) ARG(NAME = ~"mEmpCode~" TYPE = string) ARG(NAME = ~"mMonthCode~" TYPE = string) ARG(NAME = ~"mAdCode~" TYPE = string) ARG(NAME = ~"meff_date~" TYPE = datetime) " update="EMPLOYEE_MTHAD" updatewhere=0 updatekeyinplace=no arguments=(("mEmpCode", string),("mMonthCode", string),("mAdCode", string),("meff_date", datetime)) )
groupbox(band=detail text="Others"border="2" color="0" x="9" y="226" height="168" width="518" name=gb_2 visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
groupbox(band=detail text="Basic"border="2" color="0" x="9" y="16" height="199" width="518" name=gb_1 visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=3 alignment="0" tabsequence=10 border="5" color="0" x="142" y="40" height="19" width="52" format="[general]" html.valueishtml="0" name=ad_code tag="Allowance / Deduction code." visible="1" edit.limit=5 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=11 alignment="0" tabsequence=32766 border="5" color="255" x="197" y="40" height="19" width="311" format="[general]" html.valueishtml="0" name=allwdedn_descr visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Amount :" border="0" color="0" x="42" y="68" height="19" width="96" html.valueishtml="0" name=amount_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=12 alignment="1" tabsequence=20 border="5" color="0" x="142" y="68" height="19" width="95" format="#######0.00" html.valueishtml="0" name=amount tag="Amount of allowance / deduction." visible="1" edit.limit=13 edit.case=any edit.format="#######0.00" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Type :" border="0" color="0" x="301" y="68" height="19" width="65" html.valueishtml="0" name=type_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=6 alignment="0" tabsequence=30 border="5" color="0" x="370" y="68" height="19" width="138" format="[general]" html.valueishtml="0" name=type tag="Type ( fixed or percentage )." visible="1" ddlb.limit=1 ddlb.allowedit=no ddlb.case=any ddlb.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Effective Date :" border="0" color="0" x="42" y="99" height="19" width="96" html.valueishtml="0" name=eff_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=4 alignment="0" tabsequence=40 border="5" color="0" x="142" y="99" height="19" width="70" format="[shortdate] [time]" html.valueishtml="0" name=eff_date visible="1" edit.name="datetime" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Expiry Date :" border="0" color="0" x="278" y="99" height="19" width="114" html.valueishtml="0" name=exp_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=5 alignment="0" tabsequence=50 border="5" color="0" x="396" y="99" height="19" width="112" format="[shortdate] [time]" html.valueishtml="0" name=exp_date visible="1" edit.name="datetime" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Min. Base Amount :" border="0" color="0" x="21" y="127" height="19" width="117" html.valueishtml="0" name=min_basic_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=13 alignment="1" tabsequence=60 border="5" color="0" x="142" y="127" height="19" width="95" format="#######0.00" html.valueishtml="0" name=min_basic tag="Minimum basic salary for allowance / deduction." visible="1" edit.limit=14 edit.case=any edit.format="#######0.00" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Max. Base Amount :" border="0" color="0" x="249" y="127" height="19" width="117" html.valueishtml="0" name=max_basic_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=14 alignment="1" tabsequence=70 border="5" color="0" x="370" y="127" height="19" width="138" format="#######0.00" html.valueishtml="0" name=max_basic tag="Maximum basic salary for allowance / deduction." visible="1" edit.limit=13 edit.case=any edit.format="#######0.00" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Min. Amount :" border="0" color="0" x="41" y="154" height="19" width="96" html.valueishtml="0" name=min_amt_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=15 alignment="1" tabsequence=80 border="5" color="0" x="142" y="155" height="19" width="95" format="#######0.00" html.valueishtml="0" name=min_amt tag="Minimum allowance / deduction amount." visible="1" edit.limit=13 edit.case=any edit.format="#######0.00" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Max. Amount :" border="0" color="0" x="259" y="155" height="19" width="106" html.valueishtml="0" name=max_amt_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Proportionate :" border="0" color="0" x="42" y="183" height="19" width="96" html.valueishtml="0" name=prop_yn_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=7 alignment="0" tabsequence=100 border="5" color="0" x="142" y="183" height="19" width="78" format="[Yes/No]" html.valueishtml="0" name=prop_yn tag="Proportionate ( yes / no )." visible="1" ddlb.limit=1 ddlb.allowedit=no ddlb.case=any ddlb.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="A/D Code :" border="0" color="0" x="42" y="40" height="19" width="96" html.valueishtml="0" name=ad_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Reference Type :" border="0" color="0" x="42" y="247" height="19" width="96" html.valueishtml="0" name=ref_type_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Employee Code :" border="0" color="0" x="42" y="275" height="19" width="96" html.valueishtml="0" name=emp_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="5" color="255" x="142" y="275" height="19" width="110" format="[general]" html.valueishtml="0" name=emp_code tag="Employee code." visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=18 alignment="0" tabsequence=32766 border="5" color="255" x="142" y="247" height="19" width="110" format="[general]" html.valueishtml="0" name=ref_type visible="1" ddlb.limit=0 ddlb.allowedit=no ddlb.case=any ddlb.vscrollbar=yes ddlb.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=16 alignment="1" tabsequence=90 border="5" color="0" x="369" y="155" height="19" width="139" format="#######0.00" html.valueishtml="0" name=max_amt tag="Maximum allowance / deduction amount." visible="1" edit.limit=13 edit.case=any edit.format="#######0.00" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text=" Reference No :" border="0" color="0" x="317" y="247" height="19" width="90" html.valueishtml="0" name=ref_no_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Chg Date :" border="0" color="0" x="323" y="303" height="19" width="84" html.valueishtml="0" name=chg_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Pay Site :" border="0" color="0" x="323" y="331" height="19" width="84" html.valueishtml="0" name=pay_site_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=19 alignment="0" tabsequence=32766 border="5" color="255" x="411" y="247" height="19" width="97" format="[general]" html.valueishtml="0" name=ref_no visible="1" edit.limit=15 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=8 alignment="0" tabsequence=32766 border="5" color="255" x="411" y="303" height="19" width="97" format="[shortdate] [time]" html.valueishtml="0" name=chg_date tag="Row modification date, for system purpose only" visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=17 alignment="0" tabsequence=32766 border="5" color="255" x="411" y="331" height="19" width="97" format="[general]" html.valueishtml="0" name=pay_site visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=2 alignment="0" tabsequence=32766 border="5" color="255" x="143" y="303" height="19" width="110" format="[general]" html.valueishtml="0" name=month_code tag="Month." visible="1" edit.name="months" ddlb.limit=2 ddlb.allowedit=no ddlb.case=any ddlb.vscrollbar=yes ddlb.useasborder=yes ddlb.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Chg User :" border="0" color="0" x="42" y="330" height="19" width="96" html.valueishtml="0" name=chg_user_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=9 alignment="0" tabsequence=32766 border="5" color="255" x="142" y="331" height="19" width="110" format="[general]" html.valueishtml="0" name=chg_user tag="User modifing the record, for system purpose only" visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Chg Term :" border="0" color="0" x="42" y="359" height="19" width="96" html.valueishtml="0" name=chg_term_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=10 alignment="0" tabsequence=32766 border="5" color="255" x="142" y="357" height="19" width="110" format="[general]" html.valueishtml="0" name=chg_term tag="Row modifing terminal, for system purpose only" visible="1" edit.limit=15 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Month :" border="0" color="0" x="42" y="303" height="19" width="96" html.valueishtml="0" name=month_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=20 alignment="0" tabsequence=32766 border="5" color="255" x="260" y="275" height="19" width="250" format="[general]" html.valueishtml="0" name=emp_name visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
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 )
......
......@@ -178,7 +178,7 @@ public class EmpMthadIC extends ValidatorEJB implements EmpMthadLocal,EmpMthadRe
errList.add("VMADC1");
errFields.add(childNodeName.toLowerCase());
}
else
else
{
sql="select type as mtype from allwdedn where ad_code=?";
pstmt = conn.prepareStatement(sql);
......@@ -204,7 +204,37 @@ public class EmpMthadIC extends ValidatorEJB implements EmpMthadLocal,EmpMthadRe
errList.add("VMAD2");
errFields.add(childNodeName.toLowerCase());
}
else
{
sql = "select count(*) as cnt from employee_mthad where ad_code = ? and emp_code=? ";//and month_code= ? and pay_table = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, adCode);
pstmt.setString(2, empCode);
rs = pstmt.executeQuery();
if (rs.next())
{
cnt = rs.getInt("cnt");
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(cnt > 0 && !"E".equalsIgnoreCase(editFlag))
{
errList.add("VMADC4");
errFields.add(childNodeName.toLowerCase());
}
}
}
}
else if ("eff_date".equalsIgnoreCase(childNodeName))
{
......@@ -368,7 +398,7 @@ public class EmpMthadIC extends ValidatorEJB implements EmpMthadLocal,EmpMthadRe
{
effDateStr = checkNull(genericUtility.getColumnValue("eff_date",dom));
Date effDate = null;
effDate = effDateStr!=null ? sdf.parse(effDateStr) : effDate;
effDate = effDateStr!=null && effDateStr.length() > 0 ? sdf.parse(effDateStr) : effDate;
lsVarValue = admCommon.gbfEmp(empCode, effDate, lsSite, userId, conn);
}
}
......@@ -545,13 +575,13 @@ public class EmpMthadIC extends ValidatorEJB implements EmpMthadLocal,EmpMthadRe
String mdescr = "";
String lsProp = "";
String lsVarValue = "";
String lsVarValues = "";
String expDateStr = "";
String paySite = "";
AdmCommon admCommon = new AdmCommon();
// Modified By Sana s on 25/07/2019 [start]
String effDateStr="";
Timestamp joinDate = null, effDate = null;
Timestamp joinDate = null;
String empName = "";
String todayDate ="";
Timestamp todayTm= null;
......@@ -564,7 +594,7 @@ public class EmpMthadIC extends ValidatorEJB implements EmpMthadLocal,EmpMthadRe
{
genericUtility = new E12GenericUtility();
sdf = new SimpleDateFormat(genericUtility.getApplDateFormat());/////////////////
sdf = new SimpleDateFormat(genericUtility.getApplDateFormat());
System.out.println("currentFormNo...." + currentFormNo);
conn = getConnection();
if (objContext != null && objContext.trim().length() > 0)
......@@ -642,24 +672,29 @@ public class EmpMthadIC extends ValidatorEJB implements EmpMthadLocal,EmpMthadRe
//paySite = checkNull(genericUtility.getColumnValue("pay_site", dom));
valueXmlString.append("<pay_site ><![CDATA[").append(paySite).append("]]></pay_site>\r\n");
lsVarValue = admCommon.getEnv("999999", "AD_EFFDATE", conn);
System.out.println("lsVarValue==["+lsVarValue+"]");
System.out.println("genericUtility.getApplDateFormat()==["+genericUtility.getApplDateFormat()+"]");
//Modify by Varsha V on 30-07-19 for formating payparm date
//lsVarValue = genericUtility.getValidDateString(lsVarValue, genericUtility.getApplDateFormat());
lsVarValue = genericUtility.getValidDateString(lsVarValue,"dd-MM-yy", genericUtility.getApplDateFormat());
System.out.println("lsVarValue==after["+lsVarValue+"]");
effDateStr = admCommon.getEnv("999999", "AD_EFFDATE", conn);
System.out.println("effDateStr==["+effDateStr+"]");
expDateStr = admCommon.getEnv("999999", "AD_EXPDATE", conn);
System.out.println("expDateStr==["+expDateStr+"]");
sdf = new SimpleDateFormat("dd-MM-yy");
Date effDate = sdf.parse(effDateStr);
System.out.println("effDate:::"+effDate);
Date expDate = sdf.parse(expDateStr);
System.out.println("expDate:::"+expDate);
lsVarValues = admCommon.getEnv("999999", "AD_EXPDATE", conn);
//Modify by Varsha V on 30-07-19 for formating payparm date
//lsVarValues = genericUtility.getValidDateString(lsVarValues, genericUtility.getApplDateFormat());
lsVarValues = genericUtility.getValidDateString(lsVarValues,"dd-MM-yy", genericUtility.getApplDateFormat());
sdf = new SimpleDateFormat("dd/MM/yy");
effDateStr = sdf.format(effDate);
System.out.println("effDateStr:::"+effDateStr);
valueXmlString.append("<eff_date ><![CDATA[").append(lsVarValue).append("]]></eff_date>\r\n");
valueXmlString.append("<exp_date ><![CDATA[").append(lsVarValues).append("]]></exp_date>\r\n");
expDateStr = sdf.format(expDate);
System.out.println("expDateStr:::"+expDateStr);
valueXmlString.append("<eff_date ><![CDATA[").append(effDateStr).append("]]></eff_date>\r\n");
valueXmlString.append("<exp_date ><![CDATA[").append(expDateStr).append("]]></exp_date>\r\n");
//////////////
// Modified by Sana S on 25/07/2019 [Shifted outside from bellow if condition to set employee name].Start
valueXmlString.append("<emp_name>").append("<![CDATA["+empName+"]]>").append("</emp_name>");
......@@ -676,7 +711,7 @@ public class EmpMthadIC extends ValidatorEJB implements EmpMthadLocal,EmpMthadRe
sql = "select count(*) as count from employee_ad where emp_code = ? and eff_date > ?";
pstmt= conn.prepareStatement(sql);
pstmt.setString(1,empCode);
pstmt.setTimestamp(2,joinDate);
pstmt.setTimestamp(2, joinDate);
rs = pstmt.executeQuery();
......
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