Commit cd32556d authored by dpingle's avatar dpingle

* changes done in leave master on [20/08/2019]

leave11.xml
w_leave.sql
d_leave_brow.srd
LeavesIC.java


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@205495 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 40d9919d
......@@ -74,8 +74,27 @@ Insert into MESSAGES (MSG_NO,MSG_STR,MSG_DESCR,MSG_TYPE,MSG_OPT,MSG_TIME,ALARM,E
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 ('VTLVE1 ','Invalid balance option','For payable type of leaves balance maintain must be ''Yes''','W','Y',null,null,null,to_date('21-05-10','DD-MM-RR'),'VISHAL ','VISHAL ',null,null);
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 ('VTLVUNIT ','Invalid Leave Unit!','Leave Unit can not be null or empty or other than "D" or "H".','E','Y',null,null,null,null,null,null,null,null);
----------------------------------------------------- Dipesh [20/08/2019] Start
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 ('AD_CODE__ENCH','W_LEAVE','SELECT AD_CODE AS AD_CODE__ENCH, DESCR FROM ALLWDEDN',null,'Allowance/Deduction',0,0,to_date('22-OCT-00','DD-MON-RR'),'SUN ','HDP ','1',null,null,null,null,null,null,null,null,1,'2',null,'3','AdCodeImages','ad_code','descr','2 ',null,null,null,null,null,null,null);
delete obj_actions where obj_name='leave' and line_no='8';
delete obj_actions where obj_name='leave' and line_no='41';
delete obj_actions where obj_name='leave' and line_no='42';
delete obj_actions where obj_name='leave' and line_no='43';
delete obj_actions where obj_name='leave' and line_no='40';
delete obj_actions where obj_name='leave' and line_no='39';
update obj_forms set disp_metadata=
'<html>
<span style="white-space: normal !important; word-break: break-word; ">Description : {descr} (<b>{lve_code}</b>) , Payable : {payable} <br/>
Max.Allowed : {max_allowed} , Min.Allowed : {min_allowed}
</span>
<br/> <span style="float:right;"> <b> {chg_date} </b></span>
</html>' where win_name='w_leave';
----------------------------------------------------- Dipesh [20/08/2019] End
......
......@@ -102,8 +102,113 @@
<name>allow_adv_leave</name>
<dbname>leaves.allow_adv_leave</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;leaves&quot; ) COLUMN(NAME=&quot;leaves.descr&quot;) COLUMN(NAME=&quot;leaves.lve_code&quot;) COLUMN(NAME=&quot;leaves.chg_date&quot;) COLUMN(NAME=&quot;leaves.chg_user&quot;) COLUMN(NAME=&quot;leaves.chg_term&quot;) COLUMN(NAME=&quot;leaves.lve_unit&quot;) COLUMN(NAME=&quot;leaves.allow_adv_leave&quot;)) </retrieve>
<update>LEAVES</update>
<table_column>
<type precision="1">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>max_days</name>
<dbname>leaves.max_days</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>encashable</name>
<dbname>leaves.encashable</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>avail</name>
<dbname>leaves.avail</dbname>
</table_column>
<table_column>
<type precision="0">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>avail_lt</name>
<dbname>leaves.avail_lt</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>earn_new</name>
<dbname>leaves.earn_new</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>abs_mth</name>
<dbname>leaves.abs_mth</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>payable</name>
<dbname>leaves.payable</dbname>
</table_column>
<table_column>
<type precision="1">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>min_allowed</name>
<dbname>leaves.min_allowed</dbname>
</table_column>
<table_column>
<type precision="1">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>max_allowed</name>
<dbname>leaves.max_allowed</dbname>
</table_column>
<table_column>
<type precision="0">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>max_times</name>
<dbname>leaves.max_times</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>accumulate</name>
<dbname>leaves.accumulate</dbname>
</table_column>
<table_column>
<type precision="0">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>accumulate_months</name>
<dbname>leaves.accumulate_months</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>lve_code__convert</name>
<dbname>leaves.lve_code__convert</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>ad_code__ench</name>
<dbname>leaves.ad_code__ench</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>bal_opt</name>
<dbname>leaves.bal_opt</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;leaves&quot; ) COLUMN(NAME=&quot;leaves.descr&quot;) COLUMN(NAME=&quot;leaves.lve_code&quot;) COLUMN(NAME=&quot;leaves.chg_date&quot;) COLUMN(NAME=&quot;leaves.chg_user&quot;) COLUMN(NAME=&quot;leaves.chg_term&quot;) COLUMN(NAME=&quot;leaves.lve_unit&quot;) COLUMN(NAME=&quot;leaves.allow_adv_leave&quot;) COLUMN(NAME=&quot;leaves.max_days&quot;) COLUMN(NAME=&quot;leaves.encashable&quot;) COLUMN(NAME=&quot;leaves.avail&quot;) COLUMN(NAME=&quot;leaves.avail_lt&quot;) COLUMN(NAME=&quot;leaves.earn_new&quot;) COLUMN(NAME=&quot;leaves.abs_mth&quot;) COLUMN(NAME=&quot;leaves.payable&quot;) COLUMN(NAME=&quot;leaves.min_allowed&quot;) COLUMN(NAME=&quot;leaves.max_allowed&quot;) COLUMN(NAME=&quot;leaves.max_times&quot;) COLUMN(NAME=&quot;leaves.accumulate&quot;) COLUMN(NAME=&quot;leaves.accumulate_months&quot;) COLUMN(NAME=&quot;leaves.lve_code__convert&quot;) COLUMN(NAME=&quot;leaves.ad_code__ench&quot;) COLUMN(NAME=&quot;leaves.bal_opt&quot;)) </retrieve>
<update>leaves</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
</TableDefinition>
......@@ -141,7 +246,7 @@
<text>Change Date</text>
<border>6</border>
<color>0</color>
<x>621</x>
<x>373</x>
<y>2</y>
<height>16</height>
<width>75</width>
......@@ -169,7 +274,7 @@
<text>Change User</text>
<border>6</border>
<color>0</color>
<x>698</x>
<x>450</x>
<y>2</y>
<height>16</height>
<width>75</width>
......@@ -200,7 +305,7 @@
<x>97</x>
<y>2</y>
<height>16</height>
<width>439</width>
<width>191</width>
<html>
<valueishtml>0</valueishtml>
</html>
......@@ -225,7 +330,7 @@
<text>Change Term</text>
<border>6</border>
<color>0</color>
<x>775</x>
<x>527</x>
<y>2</y>
<height>16</height>
<width>75</width>
......@@ -253,7 +358,7 @@
<text>Leave Unit</text>
<border>6</border>
<color>33554432</color>
<x>538</x>
<x>290</x>
<y>2</y>
<height>16</height>
<width>81</width>
......@@ -275,6 +380,34 @@
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Allow Adv Leave</text>
<border>6</border>
<color>33554432</color>
<x>604</x>
<y>2</y>
<height>16</height>
<width>119</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>allow_adv_leave_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>553648127</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
......@@ -319,7 +452,7 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>621</x>
<x>373</x>
<y>2</y>
<height>18</height>
<width>75</width>
......@@ -355,7 +488,7 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>698</x>
<x>450</x>
<y>2</y>
<height>18</height>
<width>75</width>
......@@ -394,7 +527,7 @@
<x>97</x>
<y>2</y>
<height>18</height>
<width>439</width>
<width>191</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
......@@ -428,7 +561,7 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>775</x>
<x>527</x>
<y>2</y>
<height>18</height>
<width>75</width>
......@@ -464,7 +597,7 @@
<tabsequence>30</tabsequence>
<border>5</border>
<color>0</color>
<x>538</x>
<x>290</x>
<y>2</y>
<height>18</height>
<width>81</width>
......@@ -500,15 +633,22 @@
<tabsequence>40</tabsequence>
<border>0</border>
<color>0</color>
<x>853</x>
<x>604</x>
<y>1</y>
<height>16</height>
<width>119</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>allow_adv_leave</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>
......@@ -522,21 +662,173 @@
<color>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Header</band>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<alignment>0</alignment>
<text>Allow Adv Leave</text>
<border>6</border>
<color>33554432</color>
<x>852</x>
<y>2</y>
<tabsequence>50</tabsequence>
<border>0</border>
<color>0</color>
<x>726</x>
<y>1</y>
<height>16</height>
<width>120</width>
<width>79</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>allow_adv_leave_t</name>
<name>max_days</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>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<alignment>0</alignment>
<tabsequence>60</tabsequence>
<border>0</border>
<color>0</color>
<x>808</x>
<y>1</y>
<height>16</height>
<width>76</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>encashable</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>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>10</id>
<alignment>0</alignment>
<tabsequence>70</tabsequence>
<border>0</border>
<color>0</color>
<x>887</x>
<y>1</y>
<height>16</height>
<width>91</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>avail</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>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>11</id>
<alignment>0</alignment>
<tabsequence>80</tabsequence>
<border>0</border>
<color>0</color>
<x>981</x>
<y>1</y>
<height>16</height>
<width>62</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>avail_lt</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>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>12</id>
<alignment>0</alignment>
<tabsequence>90</tabsequence>
<border>0</border>
<color>0</color>
<x>1046</x>
<y>1</y>
<height>16</height>
<width>70</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>earn_new</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>Times New Roman</face>
<height>-10</height>
......@@ -545,6 +837,786 @@
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>13</id>
<alignment>0</alignment>
<tabsequence>100</tabsequence>
<border>0</border>
<color>0</color>
<x>1119</x>
<y>1</y>
<height>16</height>
<width>89</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>abs_mth</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>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>14</id>
<alignment>0</alignment>
<tabsequence>110</tabsequence>
<border>0</border>
<color>0</color>
<x>1211</x>
<y>1</y>
<height>16</height>
<width>88</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>payable</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>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>15</id>
<alignment>0</alignment>
<tabsequence>120</tabsequence>
<border>0</border>
<color>0</color>
<x>1302</x>
<y>1</y>
<height>16</height>
<width>87</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>min_allowed</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>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>16</id>
<alignment>0</alignment>
<tabsequence>130</tabsequence>
<border>0</border>
<color>0</color>
<x>1392</x>
<y>1</y>
<height>16</height>
<width>89</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>max_allowed</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>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>17</id>
<alignment>0</alignment>
<tabsequence>140</tabsequence>
<border>0</border>
<color>0</color>
<x>1484</x>
<y>1</y>
<height>16</height>
<width>69</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>max_times</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>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>18</id>
<alignment>0</alignment>
<tabsequence>150</tabsequence>
<border>0</border>
<color>0</color>
<x>1556</x>
<y>1</y>
<height>16</height>
<width>91</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>accumulate</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>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>19</id>
<alignment>0</alignment>
<tabsequence>160</tabsequence>
<border>0</border>
<color>0</color>
<x>1650</x>
<y>1</y>
<height>16</height>
<width>130</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>accumulate_months</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>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>20</id>
<alignment>0</alignment>
<tabsequence>170</tabsequence>
<border>0</border>
<color>0</color>
<x>1783</x>
<y>1</y>
<height>16</height>
<width>130</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>lve_code__convert</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>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>21</id>
<alignment>0</alignment>
<tabsequence>180</tabsequence>
<border>0</border>
<color>0</color>
<x>1916</x>
<y>1</y>
<height>16</height>
<width>111</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ad_code__ench</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>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>22</id>
<alignment>0</alignment>
<tabsequence>190</tabsequence>
<border>0</border>
<color>0</color>
<x>2030</x>
<y>1</y>
<height>16</height>
<width>133</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bal_opt</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>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Max Days</text>
<border>6</border>
<color>33554432</color>
<x>725</x>
<y>1</y>
<height>16</height>
<width>80</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>max_days_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-11</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Encashable</text>
<border>6</border>
<color>33554432</color>
<x>807</x>
<y>1</y>
<height>16</height>
<width>77</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>encashable_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-11</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Avail</text>
<border>6</border>
<color>33554432</color>
<x>886</x>
<y>1</y>
<height>16</height>
<width>92</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>avail_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-11</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Avail Lt</text>
<border>6</border>
<color>33554432</color>
<x>980</x>
<y>1</y>
<height>16</height>
<width>63</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>avail_lt_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-11</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Earn New</text>
<border>6</border>
<color>33554432</color>
<x>1045</x>
<y>1</y>
<height>16</height>
<width>71</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>earn_new_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-11</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Abs Mth</text>
<border>6</border>
<color>33554432</color>
<x>1118</x>
<y>1</y>
<height>16</height>
<width>90</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>abs_mth_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-11</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Payable</text>
<border>6</border>
<color>33554432</color>
<x>1210</x>
<y>1</y>
<height>16</height>
<width>89</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>payable_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-11</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Min Allowed</text>
<border>6</border>
<color>33554432</color>
<x>1301</x>
<y>1</y>
<height>16</height>
<width>88</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>min_allowed_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-11</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Max Allowed</text>
<border>6</border>
<color>33554432</color>
<x>1391</x>
<y>1</y>
<height>16</height>
<width>90</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>max_allowed_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-11</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Max Times</text>
<border>6</border>
<color>33554432</color>
<x>1483</x>
<y>1</y>
<height>16</height>
<width>70</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>max_times_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-11</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Accumulate</text>
<border>6</border>
<color>33554432</color>
<x>1555</x>
<y>1</y>
<height>16</height>
<width>92</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>accumulate_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-11</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Accumulate Months</text>
<border>6</border>
<color>33554432</color>
<x>1649</x>
<y>1</y>
<height>16</height>
<width>131</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>accumulate_months_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-11</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Lve Code Convert</text>
<border>6</border>
<color>33554432</color>
<x>1782</x>
<y>1</y>
<height>16</height>
<width>131</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>lve_code__convert_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-11</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Ad Code Ench</text>
<border>6</border>
<color>33554432</color>
<x>1915</x>
<y>1</y>
<height>16</height>
<width>112</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ad_code__ench_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-11</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Bal Opt</text>
<border>6</border>
<color>33554432</color>
<x>2029</x>
<y>1</y>
<height>16</height>
<width>134</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bal_opt_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-11</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
......
......@@ -13,21 +13,66 @@ table(column=(type=char(20) update=yes updatewhereclause=yes name=descr dbname="
column=(type=char(300) update=yes updatewhereclause=yes name=chg_term dbname="leaves.chg_term" )
column=(type=char(1) update=yes updatewhereclause=yes name=lve_unit dbname="leaves.lve_unit" values="Days D/Hours H/" )
column=(type=char(1) update=yes updatewhereclause=yes name=allow_adv_leave dbname="leaves.allow_adv_leave" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"leaves~" ) COLUMN(NAME=~"leaves.descr~") COLUMN(NAME=~"leaves.lve_code~") COLUMN(NAME=~"leaves.chg_date~") COLUMN(NAME=~"leaves.chg_user~") COLUMN(NAME=~"leaves.chg_term~") COLUMN(NAME=~"leaves.lve_unit~") COLUMN(NAME=~"leaves.allow_adv_leave~")) " update="LEAVES" updatewhere=0 updatekeyinplace=no )
column=(type=decimal(1) update=yes updatewhereclause=yes name=max_days dbname="leaves.max_days" )
column=(type=char(1) update=yes updatewhereclause=yes name=encashable dbname="leaves.encashable" )
column=(type=char(1) update=yes updatewhereclause=yes name=avail dbname="leaves.avail" )
column=(type=decimal(0) update=yes updatewhereclause=yes name=avail_lt dbname="leaves.avail_lt" )
column=(type=char(1) update=yes updatewhereclause=yes name=earn_new dbname="leaves.earn_new" )
column=(type=char(1) update=yes updatewhereclause=yes name=abs_mth dbname="leaves.abs_mth" )
column=(type=char(1) update=yes updatewhereclause=yes name=payable dbname="leaves.payable" )
column=(type=decimal(1) update=yes updatewhereclause=yes name=min_allowed dbname="leaves.min_allowed" )
column=(type=decimal(1) update=yes updatewhereclause=yes name=max_allowed dbname="leaves.max_allowed" )
column=(type=decimal(0) update=yes updatewhereclause=yes name=max_times dbname="leaves.max_times" )
column=(type=char(1) update=yes updatewhereclause=yes name=accumulate dbname="leaves.accumulate" )
column=(type=decimal(0) update=yes updatewhereclause=yes name=accumulate_months dbname="leaves.accumulate_months" )
column=(type=char(5) update=yes updatewhereclause=yes name=lve_code__convert dbname="leaves.lve_code__convert" )
column=(type=char(5) update=yes updatewhereclause=yes name=ad_code__ench dbname="leaves.ad_code__ench" )
column=(type=char(1) update=yes updatewhereclause=yes name=bal_opt dbname="leaves.bal_opt" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"leaves~" ) COLUMN(NAME=~"leaves.descr~") COLUMN(NAME=~"leaves.lve_code~") COLUMN(NAME=~"leaves.chg_date~") COLUMN(NAME=~"leaves.chg_user~") COLUMN(NAME=~"leaves.chg_term~") COLUMN(NAME=~"leaves.lve_unit~") COLUMN(NAME=~"leaves.allow_adv_leave~") COLUMN(NAME=~"leaves.max_days~") COLUMN(NAME=~"leaves.encashable~") COLUMN(NAME=~"leaves.avail~") COLUMN(NAME=~"leaves.avail_lt~") COLUMN(NAME=~"leaves.earn_new~") COLUMN(NAME=~"leaves.abs_mth~") COLUMN(NAME=~"leaves.payable~") COLUMN(NAME=~"leaves.min_allowed~") COLUMN(NAME=~"leaves.max_allowed~") COLUMN(NAME=~"leaves.max_times~") COLUMN(NAME=~"leaves.accumulate~") COLUMN(NAME=~"leaves.accumulate_months~") COLUMN(NAME=~"leaves.lve_code__convert~") COLUMN(NAME=~"leaves.ad_code__ench~") COLUMN(NAME=~"leaves.bal_opt~")) " update="leaves" updatewhere=0 updatekeyinplace=no )
text(band=header alignment="0" text="Leave Code" border="6" color="0" x="2" y="2" height="16" width="93" html.valueishtml="0" name=lve_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=header alignment="0" text="Change Date" border="6" color="0" x="621" y="2" height="16" width="75" 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=header alignment="0" text="Change User" border="6" color="0" x="698" y="2" height="16" width="75" 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="2" background.color="79741120" )
text(band=header alignment="0" text="Description" border="6" color="0" x="97" y="2" height="16" width="439" html.valueishtml="0" name=descr_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=header alignment="0" text="Change Term" border="6" color="0" x="775" y="2" height="16" width="75" 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="2" background.color="79741120" )
text(band=header alignment="2" text="Leave Unit" border="6" color="33554432" x="538" y="2" height="16" width="81" html.valueishtml="0" name=lve_unit_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="Change Date" border="6" color="0" x="373" y="2" height="16" width="75" 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=header alignment="0" text="Change User" border="6" color="0" x="450" y="2" height="16" width="75" 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="2" background.color="79741120" )
text(band=header alignment="0" text="Description" border="6" color="0" x="97" y="2" height="16" width="191" html.valueishtml="0" name=descr_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=header alignment="0" text="Change Term" border="6" color="0" x="527" y="2" height="16" width="75" 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="2" background.color="79741120" )
text(band=header alignment="2" text="Leave Unit" border="6" color="33554432" x="290" y="2" height="16" width="81" html.valueishtml="0" name=lve_unit_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="Allow Adv Leave" border="6" color="33554432" x="604" y="2" height="16" width="119" html.valueishtml="0" name=allow_adv_leave_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="553648127" )
column(band=detail id=2 alignment="0" tabsequence=10 border="5" color="0" x="2" y="2" height="18" width="93" format="[general]" html.valueishtml="0" name=lve_code visible="1" edit.limit=5 edit.case=any 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=3 alignment="0" tabsequence=32766 border="5" color="0" x="621" y="2" height="18" width="75" format="[shortdate] [time]" html.valueishtml="0" name=chg_date 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="16777215" )
column(band=detail id=4 alignment="0" tabsequence=32766 border="5" color="0" x="698" y="2" height="18" width="75" format="[general]" html.valueishtml="0" name=chg_user 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="16777215" )
column(band=detail id=1 alignment="0" tabsequence=20 border="5" color="0" x="97" y="2" height="18" width="439" format="[general]" html.valueishtml="0" name=descr visible="1" edit.limit=15 edit.case=any 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=5 alignment="0" tabsequence=32766 border="5" color="0" x="775" y="2" height="18" width="75" format="[general]" html.valueishtml="0" name=chg_term 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="16777215" )
column(band=detail id=6 alignment="0" tabsequence=30 border="5" color="0" x="538" y="2" height="18" width="81" format="[general]" html.valueishtml="0" name=lve_unit visible="1" ddlb.limit=1 ddlb.allowedit=no ddlb.case=upper 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=7 alignment="0" tabsequence=40 border="0" color="0" x="853" y="1" height="16" width="119" html.valueishtml="0" name=allow_adv_leave 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="16777215" )
text(band=header alignment="0" text="Allow Adv Leave" border="6" color="33554432" x="852" y="2" height="16" width="120" html.valueishtml="0" name=allow_adv_leave_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="553648127" )
column(band=detail id=3 alignment="0" tabsequence=32766 border="5" color="0" x="373" y="2" height="18" width="75" format="[shortdate] [time]" html.valueishtml="0" name=chg_date 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="16777215" )
column(band=detail id=4 alignment="0" tabsequence=32766 border="5" color="0" x="450" y="2" height="18" width="75" format="[general]" html.valueishtml="0" name=chg_user 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="16777215" )
column(band=detail id=1 alignment="0" tabsequence=20 border="5" color="0" x="97" y="2" height="18" width="191" format="[general]" html.valueishtml="0" name=descr visible="1" edit.limit=15 edit.case=any 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=5 alignment="0" tabsequence=32766 border="5" color="0" x="527" y="2" height="18" width="75" format="[general]" html.valueishtml="0" name=chg_term 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="16777215" )
column(band=detail id=6 alignment="0" tabsequence=30 border="5" color="0" x="290" y="2" height="18" width="81" format="[general]" html.valueishtml="0" name=lve_unit visible="1" ddlb.limit=1 ddlb.allowedit=no ddlb.case=upper 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=7 alignment="0" tabsequence=40 border="0" color="0" x="604" y="1" height="16" width="119" format="[general]" html.valueishtml="0" name=allow_adv_leave 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="16777215" )
column(band=detail id=8 alignment="0" tabsequence=50 border="0" color="0" x="726" y="1" height="16" width="79" html.valueishtml="0" name=max_days visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no 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=9 alignment="0" tabsequence=60 border="0" color="0" x="808" y="1" height="16" width="76" html.valueishtml="0" name=encashable visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no 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=10 alignment="0" tabsequence=70 border="0" color="0" x="887" y="1" height="16" width="91" html.valueishtml="0" name=avail visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no 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=80 border="0" color="0" x="981" y="1" height="16" width="62" html.valueishtml="0" name=avail_lt visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no 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=12 alignment="0" tabsequence=90 border="0" color="0" x="1046" y="1" height="16" width="70" html.valueishtml="0" name=earn_new visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no 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=13 alignment="0" tabsequence=100 border="0" color="0" x="1119" y="1" height="16" width="89" html.valueishtml="0" name=abs_mth visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no 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="0" tabsequence=110 border="0" color="0" x="1211" y="1" height="16" width="88" html.valueishtml="0" name=payable visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no 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=15 alignment="0" tabsequence=120 border="0" color="0" x="1302" y="1" height="16" width="87" html.valueishtml="0" name=min_allowed visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no 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="0" tabsequence=130 border="0" color="0" x="1392" y="1" height="16" width="89" html.valueishtml="0" name=max_allowed visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no 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=17 alignment="0" tabsequence=140 border="0" color="0" x="1484" y="1" height="16" width="69" html.valueishtml="0" name=max_times visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no 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=18 alignment="0" tabsequence=150 border="0" color="0" x="1556" y="1" height="16" width="91" html.valueishtml="0" name=accumulate visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no 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=19 alignment="0" tabsequence=160 border="0" color="0" x="1650" y="1" height="16" width="130" html.valueishtml="0" name=accumulate_months visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no 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=20 alignment="0" tabsequence=170 border="0" color="0" x="1783" y="1" height="16" width="130" html.valueishtml="0" name=lve_code__convert visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no 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=21 alignment="0" tabsequence=180 border="0" color="0" x="1916" y="1" height="16" width="111" html.valueishtml="0" name=ad_code__ench visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no 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=22 alignment="0" tabsequence=190 border="0" color="0" x="2030" y="1" height="16" width="133" html.valueishtml="0" name=bal_opt visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no 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=header alignment="0" text="Max Days" border="6" color="33554432" x="725" y="1" height="16" width="80" html.valueishtml="0" name=max_days_t visible="1" font.face="Arial" font.height="-11" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=header alignment="0" text="Encashable" border="6" color="33554432" x="807" y="1" height="16" width="77" html.valueishtml="0" name=encashable_t visible="1" font.face="Arial" font.height="-11" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=header alignment="0" text="Avail" border="6" color="33554432" x="886" y="1" height="16" width="92" html.valueishtml="0" name=avail_t visible="1" font.face="Arial" font.height="-11" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=header alignment="0" text="Avail Lt" border="6" color="33554432" x="980" y="1" height="16" width="63" html.valueishtml="0" name=avail_lt_t visible="1" font.face="Arial" font.height="-11" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=header alignment="0" text="Earn New" border="6" color="33554432" x="1045" y="1" height="16" width="71" html.valueishtml="0" name=earn_new_t visible="1" font.face="Arial" font.height="-11" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=header alignment="0" text="Abs Mth" border="6" color="33554432" x="1118" y="1" height="16" width="90" html.valueishtml="0" name=abs_mth_t visible="1" font.face="Arial" font.height="-11" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=header alignment="0" text="Payable" border="6" color="33554432" x="1210" y="1" height="16" width="89" html.valueishtml="0" name=payable_t visible="1" font.face="Arial" font.height="-11" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=header alignment="0" text="Min Allowed" border="6" color="33554432" x="1301" y="1" height="16" width="88" html.valueishtml="0" name=min_allowed_t visible="1" font.face="Arial" font.height="-11" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=header alignment="0" text="Max Allowed" border="6" color="33554432" x="1391" y="1" height="16" width="90" html.valueishtml="0" name=max_allowed_t visible="1" font.face="Arial" font.height="-11" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=header alignment="0" text="Max Times" border="6" color="33554432" x="1483" y="1" height="16" width="70" html.valueishtml="0" name=max_times_t visible="1" font.face="Arial" font.height="-11" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=header alignment="0" text="Accumulate" border="6" color="33554432" x="1555" y="1" height="16" width="92" html.valueishtml="0" name=accumulate_t visible="1" font.face="Arial" font.height="-11" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=header alignment="0" text="Accumulate Months" border="6" color="33554432" x="1649" y="1" height="16" width="131" html.valueishtml="0" name=accumulate_months_t visible="1" font.face="Arial" font.height="-11" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=header alignment="0" text="Lve Code Convert" border="6" color="33554432" x="1782" y="1" height="16" width="131" html.valueishtml="0" name=lve_code__convert_t visible="1" font.face="Arial" font.height="-11" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=header alignment="0" text="Ad Code Ench" border="6" color="33554432" x="1915" y="1" height="16" width="112" html.valueishtml="0" name=ad_code__ench_t visible="1" font.face="Arial" font.height="-11" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=header alignment="0" text="Bal Opt" border="6" color="33554432" x="2029" y="1" height="16" width="134" html.valueishtml="0" name=bal_opt_t visible="1" font.face="Arial" font.height="-11" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
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 )
......
......@@ -476,7 +476,7 @@ public class LeavesIC extends ValidatorEJB implements LeavesRemote, LeavesLocal
{
cnt = rs.getInt("cnt");
}
System.out.println("cnt:::: " + cnt);
System.out.println("cnt:::: " + cnt+editFlag);
if (rs != null)
{
rs.close();
......@@ -487,16 +487,14 @@ public class LeavesIC extends ValidatorEJB implements LeavesRemote, LeavesLocal
pstmt.close();
pstmt = null;
}
/*if (cnt == 0)
if (cnt > 0 && !"E".equalsIgnoreCase(editFlag))
{
errList.add("INVLVEDATA");//The leave cannot Blank or Already Existed in Leaves Table
errFields.add(childNodeName.toLowerCase());
}*/
}
}
}
else if (childNodeName.equalsIgnoreCase("encashable"))
{
encashable = checkNull(genericUtility.getColumnValue("encashable", dom));
......@@ -519,13 +517,18 @@ public class LeavesIC extends ValidatorEJB implements LeavesRemote, LeavesLocal
{
adCodeEnch = checkNull(genericUtility.getColumnValue("ad_code__ench", dom));
encashable = checkNull(genericUtility.getColumnValue("encashable", dom));
if (adCodeEnch.trim().equalsIgnoreCase("Y"))
System.out.println("adCodeEnch:::::::"+adCodeEnch);
System.out.println("encashable:::::::"+encashable);
//if (encashable.trim().equalsIgnoreCase("Y"))
if("Y".equalsIgnoreCase(encashable.trim()))
{
sql = "select count(*) as cnt from allwdedn where ad_code =?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, adCodeEnch);
rs = pstmt.executeQuery();
if (rs.next()) {
if (rs.next())
{
cnt = rs.getInt("cnt");
}
System.out.println("cnt:::: " + cnt);
......@@ -555,12 +558,12 @@ public class LeavesIC extends ValidatorEJB implements LeavesRemote, LeavesLocal
if(minAllowed < 0 )
{
errList.add("VMNUMBER1");
errList.add("VMNUMBER2");
errFields.add(childNodeName.toLowerCase());
}
if(maxAllowed < 0 )
{
errList.add("VMNUMBER1");
errList.add("VMNUMBER2");
errFields.add(childNodeName.toLowerCase());
}
if (minAllowed > 0 && maxAllowed > 0 && minAllowed > maxAllowed)
......
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