Commit ec1f166b authored by dpingle's avatar dpingle

* updated done in leave table on [21/08/2019]

lvetable21.xml
w_lvetable.sql
d_lvetable_edit.srd
LeaveTableIC.java


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@205603 ce508802-f39f-4f6c-b175-0d175dae99d5
parent bf71dc80
......@@ -92,18 +92,26 @@ Insert into MESSAGES (MSG_NO,MSG_STR,MSG_DESCR,MSG_TYPE,MSG_OPT,MSG_TIME,ALARM,E
---------------------------------------------------Dipesh [21/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 ('LVE_CODE','W_LVETABLE','SELECT LVE_CODE, DESCR FROM LEAVES',null,'Leave Code',0,0,to_date('27-05-00','DD-MM-RR'),'SUN ','CLIENT1 ','0',null,null,null,null,null,null,null,null,null,'2',null,'3',null,null,null,'2 ',null,null,null,null,null,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
('VMLVECD3 ','Leave code already exsist...','This leave code already exsist in given leave table no.','E','Y',null,null,null,to_date('22-10-00','DD-MM-RR'),'SUN ','HDP ',null,null);
update obj_forms set disp_metadata=
'<html>
<span style="white-space: normal !important; word-break: break-word; "> <b>Leave Table No :</b> {lve_tblno} (<b>{lve_code}</b>), <b>Encashable :</b> {encashable} <br/>
<b>Max.Allowed :</b> {max_allowed} , </b>Min.Allowed :</b> {min_allowed}
</span>
<br/> <span style="float:right;"> <b> {chg_date} </b></span>
</html>' where win_name='w_lvetable';
---------------------------------------------------Dipesh [21/08/2019]End
......
......@@ -169,16 +169,6 @@
<validation>number(gettext()) &gt;= 0 </validation>
<validationmsg>&quot;Maximum times leaves allowed can not be less than zero&quot;</validationmsg>
</table_column>
<table_column>
<type precision="0">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>min_balance</name>
<dbname>lvetable.min_balance</dbname>
<initial>0</initial>
<validation>number(gettext()) &gt;= 0 </validation>
<validationmsg>&quot;Minimun balance leaves required can not be less than zero&quot;</validationmsg>
</table_column>
<table_column>
<type precision="0">decimal</type>
<update>yes</update>
......@@ -259,6 +249,7 @@
<updatewhereclause>yes</updatewhereclause>
<name>enc_for_ffs</name>
<dbname>lvetable.enc_for_ffs</dbname>
<initial>N</initial>
</table_column>
<table_column>
<type size="1">char</type>
......@@ -274,6 +265,7 @@
<updatewhereclause>yes</updatewhereclause>
<name>wofflverule</name>
<dbname>lvetable.wofflverule</dbname>
<initial>N</initial>
</table_column>
<table_column>
<type size="1">char</type>
......@@ -281,6 +273,7 @@
<updatewhereclause>yes</updatewhereclause>
<name>holidaylverule</name>
<dbname>lvetable.holidaylverule</dbname>
<initial>N</initial>
</table_column>
<table_column>
<type size="1">char</type>
......@@ -306,18 +299,6 @@
<item display="Hours" data="H"/>
</values>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>no_days_unit</name>
<dbname>lvetable.no_days_unit</dbname>
<initial>D</initial>
<values>
<item display="Days" data="D"/>
<item display="Hours" data="H"/>
</values>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
......@@ -336,26 +317,49 @@
<updatewhereclause>yes</updatewhereclause>
<name>allow_adv_leave</name>
<dbname>lvetable.allow_adv_leave</dbname>
<initial>N</initial>
</table_column>
<table_column>
<type precision="1">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>max_allowed</name>
<dbname>lvetable.max_allowed</dbname>
</table_column>
<table_column>
<type precision="1">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>min_allowed</name>
<dbname>lvetable.min_allowed</dbname>
</table_column>
<table_column>
<type precision="0">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>min_balance</name>
<dbname>lvetable.min_balance</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>no_days_unit</name>
<dbname>lvetable.no_days_unit</dbname>
<initial>D</initial>
<values>
<item display="Days" data="D"/>
<item display="Hours" data="H"/>
</values>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>max_allowed_unit</name>
<dbname>lvetable.max_allowed_unit</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;lvetable&quot; ) TABLE(NAME=&quot;leaves&quot; ) COLUMN(NAME=&quot;lvetable.lve_tblno&quot;) COLUMN(NAME=&quot;lvetable.lve_code&quot;) COLUMN(NAME=&quot;lvetable.encashable&quot;) COLUMN(NAME=&quot;leaves.descr&quot;) COLUMN(NAME=&quot;lvetable.chg_date&quot;) COLUMN(NAME=&quot;lvetable.chg_user&quot;) COLUMN(NAME=&quot;lvetable.chg_term&quot;) COLUMN(NAME=&quot;lvetable.avail&quot;) COLUMN(NAME=&quot;lvetable.avail_lt&quot;) COLUMN(NAME=&quot;lvetable.earn_new&quot;) COLUMN(NAME=&quot;lvetable.abs_mth&quot;) COLUMN(NAME=&quot;lvetable.accumulate&quot;) COLUMN(NAME=&quot;lvetable.accumulate_months&quot;) COLUMN(NAME=&quot;lvetable.max_times&quot;) COLUMN(NAME=&quot;lvetable.min_balance&quot;) COLUMN(NAME=&quot;lvetable.max_accumulate&quot;) COLUMN(NAME=&quot;lvetable.leave_on_days&quot;) COLUMN(NAME=&quot;lvetable.days_type&quot;) COLUMN(NAME=&quot;lvetable.nvo_no&quot;) COLUMN(NAME=&quot;lvetable.max_days&quot;) COLUMN(NAME=&quot;lvetable.no_days&quot;) COLUMN(NAME=&quot;lvetable.avail_formula&quot;) COLUMN(NAME=&quot;lvetable.avail_input&quot;) COLUMN(NAME=&quot;lvetable.enc_for_ffs&quot;) COLUMN(NAME=&quot;lvetable.can_combine&quot;) COLUMN(NAME=&quot;lvetable.wofflverule&quot;) COLUMN(NAME=&quot;lvetable.holidaylverule&quot;) COLUMN(NAME=&quot;lvetable.lve_unit&quot;) COLUMN(NAME=&quot;lvetable.max_days_unit&quot;) COLUMN(NAME=&quot;lvetable.no_days_unit&quot;) COLUMN(NAME=&quot;lvetable.max_accumulate_unit&quot;) COLUMN(NAME=&quot;lvetable.allow_adv_leave&quot;) COLUMN(NAME=&quot;lvetable.max_allowed&quot;) COLUMN(NAME=&quot;lvetable.min_allowed&quot;) COLUMN(NAME=&quot;lvetable.max_allowed_unit&quot;) JOIN (LEFT=&quot;lvetable.lve_code&quot; OP =&quot;=&quot;RIGHT=&quot;leaves.lve_code&quot; )WHERE( EXP1 =&quot;lvetable.lve_tblno&quot; OP =&quot;=&quot; EXP2 =&quot;:mtabno&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;lvetable.lve_code&quot; OP =&quot;=&quot; EXP2 =&quot;:mlvecode&quot; ) ) ARG(NAME = &quot;mtabno&quot; TYPE = string) ARG(NAME = &quot;mlvecode&quot; TYPE = string) </retrieve>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;lvetable&quot; ) TABLE(NAME=&quot;leaves&quot; ) COLUMN(NAME=&quot;lvetable.lve_tblno&quot;) COLUMN(NAME=&quot;lvetable.lve_code&quot;) COLUMN(NAME=&quot;lvetable.encashable&quot;) COLUMN(NAME=&quot;leaves.descr&quot;) COLUMN(NAME=&quot;lvetable.chg_date&quot;) COLUMN(NAME=&quot;lvetable.chg_user&quot;) COLUMN(NAME=&quot;lvetable.chg_term&quot;) COLUMN(NAME=&quot;lvetable.avail&quot;) COLUMN(NAME=&quot;lvetable.avail_lt&quot;) COLUMN(NAME=&quot;lvetable.earn_new&quot;) COLUMN(NAME=&quot;lvetable.abs_mth&quot;) COLUMN(NAME=&quot;lvetable.accumulate&quot;) COLUMN(NAME=&quot;lvetable.accumulate_months&quot;) COLUMN(NAME=&quot;lvetable.max_times&quot;) COLUMN(NAME=&quot;lvetable.max_accumulate&quot;) COLUMN(NAME=&quot;lvetable.leave_on_days&quot;) COLUMN(NAME=&quot;lvetable.days_type&quot;) COLUMN(NAME=&quot;lvetable.nvo_no&quot;) COLUMN(NAME=&quot;lvetable.max_days&quot;) COLUMN(NAME=&quot;lvetable.no_days&quot;) COLUMN(NAME=&quot;lvetable.avail_formula&quot;) COLUMN(NAME=&quot;lvetable.avail_input&quot;) COLUMN(NAME=&quot;lvetable.enc_for_ffs&quot;) COLUMN(NAME=&quot;lvetable.can_combine&quot;) COLUMN(NAME=&quot;lvetable.wofflverule&quot;) COLUMN(NAME=&quot;lvetable.holidaylverule&quot;) COLUMN(NAME=&quot;lvetable.lve_unit&quot;) COLUMN(NAME=&quot;lvetable.max_days_unit&quot;) COLUMN(NAME=&quot;lvetable.max_accumulate_unit&quot;) COLUMN(NAME=&quot;lvetable.allow_adv_leave&quot;) COLUMN(NAME=&quot;lvetable.max_allowed&quot;) COLUMN(NAME=&quot;lvetable.min_allowed&quot;) COLUMN(NAME=&quot;lvetable.min_balance&quot;) COLUMN(NAME=&quot;lvetable.no_days_unit&quot;) COLUMN(NAME=&quot;lvetable.max_allowed_unit&quot;) JOIN (LEFT=&quot;lvetable.lve_code&quot; OP =&quot;=&quot;RIGHT=&quot;leaves.lve_code&quot; )WHERE( EXP1 =&quot;lvetable.lve_tblno&quot; OP =&quot;=&quot; EXP2 =&quot;:mtabno&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;lvetable.lve_code&quot; OP =&quot;=&quot; EXP2 =&quot;:mlvecode&quot; ) ) ARG(NAME = &quot;mtabno&quot; TYPE = string) ARG(NAME = &quot;mlvecode&quot; TYPE = string) </retrieve>
<update>LVETABLE</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
......@@ -463,7 +467,7 @@
<band>Detail</band>
<id>9</id>
<alignment>1</alignment>
<tabsequence>140</tabsequence>
<tabsequence>110</tabsequence>
<border>5</border>
<color>0</color>
<x>514</x>
......@@ -556,8 +560,8 @@
<ColumnObject>
<band>Detail</band>
<id>10</id>
<alignment>0</alignment>
<tabsequence>150</tabsequence>
<alignment>1</alignment>
<tabsequence>120</tabsequence>
<border>5</border>
<color>0</color>
<x>145</x>
......@@ -622,8 +626,8 @@
<ColumnObject>
<band>Detail</band>
<id>11</id>
<alignment>0</alignment>
<tabsequence>160</tabsequence>
<alignment>1</alignment>
<tabsequence>130</tabsequence>
<border>5</border>
<color>0</color>
<x>496</x>
......@@ -661,7 +665,7 @@
<band>Detail</band>
<id>13</id>
<alignment>1</alignment>
<tabsequence>180</tabsequence>
<tabsequence>150</tabsequence>
<border>5</border>
<color>0</color>
<x>514</x>
......@@ -726,8 +730,8 @@
<ColumnObject>
<band>Detail</band>
<id>12</id>
<alignment>0</alignment>
<tabsequence>170</tabsequence>
<alignment>1</alignment>
<tabsequence>140</tabsequence>
<border>5</border>
<color>0</color>
<x>145</x>
......@@ -789,72 +793,6 @@
<color>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Min balance :</text>
<border>0</border>
<color>0</color>
<x>54</x>
<y>211</y>
<height>17</height>
<width>87</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>min_balance_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>15</id>
<alignment>1</alignment>
<tabsequence>190</tabsequence>
<border>5</border>
<color>0</color>
<x>145</x>
<y>211</y>
<height>17</height>
<width>59</width>
<format>#0</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>min_balance</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>4</limit>
<case>any</case>
<format>#0</format>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
......@@ -885,13 +823,13 @@
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>16</id>
<id>15</id>
<alignment>1</alignment>
<tabsequence>200</tabsequence>
<tabsequence>160</tabsequence>
<border>5</border>
<color>0</color>
<x>389</x>
<y>210</y>
<x>388</x>
<y>211</y>
<height>16</height>
<width>39</width>
<format>##0</format>
......@@ -921,75 +859,11 @@
<color>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>0</alignment>
<text>Max Accumulate Unit :</text>
<border>0</border>
<color>0</color>
<x>439</x>
<y>212</y>
<height>16</height>
<width>127</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>max_accumulate_unit_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>67108864</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>31</id>
<alignment>0</alignment>
<tabsequence>210</tabsequence>
<border>5</border>
<color>0</color>
<x>571</x>
<y>212</y>
<height>16</height>
<width>108</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>max_accumulate_unit</name>
<visible>1</visible>
<EditStyle style="ddlb">
<limit>1</limit>
<allowedit>no</allowedit>
<case>upper</case>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1090519039</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>22</id>
<alignment>0</alignment>
<tabsequence>220</tabsequence>
<id>21</id>
<alignment>1</alignment>
<tabsequence>180</tabsequence>
<border>5</border>
<color>0</color>
<x>143</x>
......@@ -1081,9 +955,9 @@
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>23</id>
<alignment>0</alignment>
<tabsequence>230</tabsequence>
<id>22</id>
<alignment>1</alignment>
<tabsequence>190</tabsequence>
<border>5</border>
<color>0</color>
<x>144</x>
......@@ -1147,9 +1021,9 @@
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>24</id>
<alignment>0</alignment>
<tabsequence>240</tabsequence>
<id>23</id>
<alignment>1</alignment>
<tabsequence>200</tabsequence>
<border>5</border>
<color>0</color>
<x>145</x>
......@@ -1213,9 +1087,9 @@
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>25</id>
<alignment>0</alignment>
<tabsequence>250</tabsequence>
<id>24</id>
<alignment>1</alignment>
<tabsequence>210</tabsequence>
<border>5</border>
<color>0</color>
<x>496</x>
......@@ -1251,9 +1125,9 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>27</id>
<alignment>0</alignment>
<tabsequence>270</tabsequence>
<id>26</id>
<alignment>1</alignment>
<tabsequence>230</tabsequence>
<border>5</border>
<color>0</color>
<x>474</x>
......@@ -1317,9 +1191,9 @@
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>26</id>
<alignment>0</alignment>
<tabsequence>260</tabsequence>
<id>25</id>
<alignment>1</alignment>
<tabsequence>220</tabsequence>
<border>5</border>
<color>0</color>
<x>145</x>
......@@ -1411,13 +1285,13 @@
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>28</id>
<alignment>0</alignment>
<id>27</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>145</x>
<y>328</y>
<x>144</x>
<y>329</y>
<height>17</height>
<width>86</width>
<format>[general]</format>
......@@ -1475,9 +1349,9 @@
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>32</id>
<alignment>0</alignment>
<tabsequence>280</tabsequence>
<id>30</id>
<alignment>1</alignment>
<tabsequence>240</tabsequence>
<border>5</border>
<color>0</color>
<x>496</x>
......@@ -1542,7 +1416,7 @@
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<alignment>1</alignment>
<tabsequence>10</tabsequence>
<border>5</border>
<color>0</color>
......@@ -1581,7 +1455,7 @@
<ColumnObject>
<band>Detail</band>
<id>4</id>
<alignment>0</alignment>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
......@@ -1644,7 +1518,7 @@
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>20</id>
<id>19</id>
<alignment>1</alignment>
<tabsequence>20</tabsequence>
<border>5</border>
......@@ -1683,8 +1557,8 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>29</id>
<alignment>0</alignment>
<id>28</id>
<alignment>1</alignment>
<tabsequence>30</tabsequence>
<border>5</border>
<color>0</color>
......@@ -1748,7 +1622,7 @@
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>0</alignment>
<alignment>1</alignment>
<tabsequence>40</tabsequence>
<border>5</border>
<color>0</color>
......@@ -1811,7 +1685,7 @@
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>19</id>
<id>18</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
......@@ -1877,7 +1751,7 @@
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>21</id>
<id>20</id>
<alignment>1</alignment>
<tabsequence>50</tabsequence>
<border>5</border>
......@@ -1915,8 +1789,8 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>30</id>
<alignment>0</alignment>
<id>34</id>
<alignment>1</alignment>
<tabsequence>60</tabsequence>
<border>5</border>
<color>0</color>
......@@ -1979,13 +1853,13 @@
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>17</id>
<id>16</id>
<alignment>1</alignment>
<tabsequence>70</tabsequence>
<border>5</border>
<color>0</color>
<x>416</x>
<y>100</y>
<x>417</x>
<y>101</y>
<height>17</height>
<width>37</width>
<format>##0</format>
......@@ -2017,8 +1891,8 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>18</id>
<alignment>0</alignment>
<id>17</id>
<alignment>1</alignment>
<tabsequence>80</tabsequence>
<border>5</border>
<color>0</color>
......@@ -2139,7 +2013,7 @@
<band>Detail</band>
<id>14</id>
<alignment>1</alignment>
<tabsequence>120</tabsequence>
<tabsequence>90</tabsequence>
<border>5</border>
<color>0</color>
<x>610</x>
......@@ -2176,8 +2050,8 @@
<ColumnObject>
<band>Detail</band>
<id>8</id>
<alignment>0</alignment>
<tabsequence>130</tabsequence>
<alignment>1</alignment>
<tabsequence>100</tabsequence>
<border>5</border>
<color>0</color>
<x>145</x>
......@@ -2240,17 +2114,17 @@
<TextObject>
<band>Detail</band>
<alignment>0</alignment>
<text>Max Allowed Unit :</text>
<text>No Days Unit :</text>
<border>0</border>
<color>0</color>
<x>333</x>
<y>123</y>
<x>178</x>
<y>101</y>
<height>16</height>
<width>103</width>
<width>79</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>max_allowed_unit_t</name>
<name>no_days_unit_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -2268,17 +2142,17 @@
<TextObject>
<band>Detail</band>
<alignment>0</alignment>
<text>No Days Unit :</text>
<text>Days Type :</text>
<border>0</border>
<color>0</color>
<x>178</x>
<y>101</y>
<x>475</x>
<y>100</y>
<height>16</height>
<width>79</width>
<width>69</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>no_days_unit_t</name>
<name>days_type_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -2293,21 +2167,29 @@
<color>79741120</color>
</background>
</TextObject>
<TextObject>
<ColumnObject>
<band>Detail</band>
<alignment>0</alignment>
<text>Days Type :</text>
<border>0</border>
<id>31</id>
<alignment>1</alignment>
<tabsequence>250</tabsequence>
<border>5</border>
<color>0</color>
<x>475</x>
<y>100</y>
<x>282</x>
<y>122</y>
<height>16</height>
<width>69</width>
<width>39</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>days_type_t</name>
<name>max_allowed</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>
......@@ -2318,25 +2200,32 @@
</font>
<background>
<mode>2</mode>
<color>79741120</color>
<color>16777215</color>
</background>
</TextObject>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>33</id>
<alignment>0</alignment>
<tabsequence>290</tabsequence>
<id>32</id>
<alignment>1</alignment>
<tabsequence>260</tabsequence>
<border>5</border>
<color>0</color>
<x>282</x>
<y>122</y>
<x>137</x>
<y>124</y>
<height>16</height>
<width>39</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>max_allowed</name>
<name>min_allowed</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>
......@@ -2352,20 +2241,27 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>34</id>
<alignment>0</alignment>
<tabsequence>300</tabsequence>
<id>33</id>
<alignment>1</alignment>
<tabsequence>280</tabsequence>
<border>5</border>
<color>0</color>
<x>137</x>
<y>124</y>
<x>146</x>
<y>214</y>
<height>16</height>
<width>39</width>
<width>57</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>min_allowed</name>
<name>min_balance</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>
......@@ -2379,22 +2275,57 @@
<color>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Min Balance :</text>
<border>0</border>
<color>0</color>
<x>39</x>
<y>214</y>
<height>16</height>
<width>102</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>min_balance_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>35</id>
<alignment>0</alignment>
<tabsequence>310</tabsequence>
<alignment>1</alignment>
<tabsequence>290</tabsequence>
<border>5</border>
<color>0</color>
<x>445</x>
<y>124</y>
<x>541</x>
<y>211</y>
<height>16</height>
<width>37</width>
<width>141</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>max_allowed_unit</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>
......@@ -2408,6 +2339,34 @@
<color>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Max Allowed Unit :</text>
<border>0</border>
<color>0</color>
<x>435</x>
<y>211</y>
<height>16</height>
<width>103</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>max_allowed_unit_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>
<HtmlTable>
<border>1</border>
</HtmlTable>
......
......@@ -19,7 +19,6 @@ table(column=(type=char(5) update=yes updatewhereclause=yes key=yes name=lve_tbl
column=(type=char(1) update=yes updatewhereclause=yes name=accumulate dbname="lvetable.accumulate" initial="N" )
column=(type=decimal(0) update=yes updatewhereclause=yes name=accumulate_months dbname="lvetable.accumulate_months" initial="0" validation="number(gettext()) >= 0 " validationmsg="~"Accumulate for months can not be less than zero~"" )
column=(type=decimal(0) update=yes updatewhereclause=yes name=max_times dbname="lvetable.max_times" initial="0" validation="number(gettext()) >= 0 " validationmsg="~"Maximum times leaves allowed can not be less than zero~"" )
column=(type=decimal(0) update=yes updatewhereclause=yes name=min_balance dbname="lvetable.min_balance" initial="0" validation="number(gettext()) >= 0 " validationmsg="~"Minimun balance leaves required can not be less than zero~"" )
column=(type=decimal(0) update=yes updatewhereclause=yes name=max_accumulate dbname="lvetable.max_accumulate" initial="0" validation="number(gettext()) >= 0 " validationmsg="~"Maximum days accumulate can not be less than zero~"" )
column=(type=decimal(0) update=yes updatewhereclause=yes name=leave_on_days dbname="lvetable.leave_on_days" initial="0" validation="number(gettext()) >= 0 " validationmsg="~"Leaves on days can not be less than zero~"" )
column=(type=char(1) update=yes updatewhereclause=yes name=days_type dbname="lvetable.days_type" initial="P" values="Paid P/Worked W/Months M/" )
......@@ -28,82 +27,81 @@ table(column=(type=char(5) update=yes updatewhereclause=yes key=yes name=lve_tbl
column=(type=decimal(1) update=yes updatewhereclause=yes name=no_days dbname="lvetable.no_days" initial="0" validation="number(gettext()) >= 0 " )
column=(type=char(250) update=yes updatewhereclause=yes name=avail_formula dbname="lvetable.avail_formula" )
column=(type=char(100) update=yes updatewhereclause=yes name=avail_input dbname="lvetable.avail_input" )
column=(type=char(1) update=yes updatewhereclause=yes name=enc_for_ffs dbname="lvetable.enc_for_ffs" )
column=(type=char(1) update=yes updatewhereclause=yes name=enc_for_ffs dbname="lvetable.enc_for_ffs" initial="N" )
column=(type=char(1) update=yes updatewhereclause=yes name=can_combine dbname="lvetable.can_combine" initial="N" )
column=(type=char(1) update=yes updatewhereclause=yes name=wofflverule dbname="lvetable.wofflverule" )
column=(type=char(1) update=yes updatewhereclause=yes name=holidaylverule dbname="lvetable.holidaylverule" )
column=(type=char(1) update=yes updatewhereclause=yes name=wofflverule dbname="lvetable.wofflverule" initial="N" )
column=(type=char(1) update=yes updatewhereclause=yes name=holidaylverule dbname="lvetable.holidaylverule" initial="N" )
column=(type=char(1) update=yes updatewhereclause=yes name=lve_unit dbname="lvetable.lve_unit" initial="D" values="Days D/Hours H/" )
column=(type=char(1) update=yes updatewhereclause=yes name=max_days_unit dbname="lvetable.max_days_unit" initial="D" values="Days D/Hours H/" )
column=(type=char(1) update=yes updatewhereclause=yes name=no_days_unit dbname="lvetable.no_days_unit" initial="D" values="Days D/Hours H/" )
column=(type=char(1) update=yes updatewhereclause=yes name=max_accumulate_unit dbname="lvetable.max_accumulate_unit" initial="D" values="Days D/Hours H/" )
column=(type=char(1) update=yes updatewhereclause=yes name=allow_adv_leave dbname="lvetable.allow_adv_leave" )
column=(type=decimal(1) updatewhereclause=yes name=max_allowed dbname="lvetable.max_allowed" )
column=(type=decimal(1) updatewhereclause=yes name=min_allowed dbname="lvetable.min_allowed" )
column=(type=char(1) updatewhereclause=yes name=max_allowed_unit dbname="lvetable.max_allowed_unit" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"lvetable~" ) TABLE(NAME=~"leaves~" ) COLUMN(NAME=~"lvetable.lve_tblno~") COLUMN(NAME=~"lvetable.lve_code~") COLUMN(NAME=~"lvetable.encashable~") COLUMN(NAME=~"leaves.descr~") COLUMN(NAME=~"lvetable.chg_date~") COLUMN(NAME=~"lvetable.chg_user~") COLUMN(NAME=~"lvetable.chg_term~") COLUMN(NAME=~"lvetable.avail~") COLUMN(NAME=~"lvetable.avail_lt~") COLUMN(NAME=~"lvetable.earn_new~") COLUMN(NAME=~"lvetable.abs_mth~") COLUMN(NAME=~"lvetable.accumulate~") COLUMN(NAME=~"lvetable.accumulate_months~") COLUMN(NAME=~"lvetable.max_times~") COLUMN(NAME=~"lvetable.min_balance~") COLUMN(NAME=~"lvetable.max_accumulate~") COLUMN(NAME=~"lvetable.leave_on_days~") COLUMN(NAME=~"lvetable.days_type~") COLUMN(NAME=~"lvetable.nvo_no~") COLUMN(NAME=~"lvetable.max_days~") COLUMN(NAME=~"lvetable.no_days~") COLUMN(NAME=~"lvetable.avail_formula~") COLUMN(NAME=~"lvetable.avail_input~") COLUMN(NAME=~"lvetable.enc_for_ffs~") COLUMN(NAME=~"lvetable.can_combine~") COLUMN(NAME=~"lvetable.wofflverule~") COLUMN(NAME=~"lvetable.holidaylverule~") COLUMN(NAME=~"lvetable.lve_unit~") COLUMN(NAME=~"lvetable.max_days_unit~") COLUMN(NAME=~"lvetable.no_days_unit~") COLUMN(NAME=~"lvetable.max_accumulate_unit~") COLUMN(NAME=~"lvetable.allow_adv_leave~") COLUMN(NAME=~"lvetable.max_allowed~") COLUMN(NAME=~"lvetable.min_allowed~") COLUMN(NAME=~"lvetable.max_allowed_unit~") JOIN (LEFT=~"lvetable.lve_code~" OP =~"=~"RIGHT=~"leaves.lve_code~" )WHERE( EXP1 =~"lvetable.lve_tblno~" OP =~"=~" EXP2 =~":mtabno~" LOGIC =~"and~" ) WHERE( EXP1 =~"lvetable.lve_code~" OP =~"=~" EXP2 =~":mlvecode~" ) ) ARG(NAME = ~"mtabno~" TYPE = string) ARG(NAME = ~"mlvecode~" TYPE = string) " update="LVETABLE" updatewhere=0 updatekeyinplace=no arguments=(("mtabno", string),("mlvecode", string)) )
column=(type=char(1) update=yes updatewhereclause=yes name=allow_adv_leave dbname="lvetable.allow_adv_leave" initial="N" )
column=(type=decimal(1) update=yes updatewhereclause=yes name=max_allowed dbname="lvetable.max_allowed" )
column=(type=decimal(1) update=yes updatewhereclause=yes name=min_allowed dbname="lvetable.min_allowed" )
column=(type=decimal(0) update=yes updatewhereclause=yes name=min_balance dbname="lvetable.min_balance" )
column=(type=char(1) update=yes updatewhereclause=yes name=no_days_unit dbname="lvetable.no_days_unit" initial="D" values="Days D/Hours H/" )
column=(type=char(1) update=yes updatewhereclause=yes name=max_allowed_unit dbname="lvetable.max_allowed_unit" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"lvetable~" ) TABLE(NAME=~"leaves~" ) COLUMN(NAME=~"lvetable.lve_tblno~") COLUMN(NAME=~"lvetable.lve_code~") COLUMN(NAME=~"lvetable.encashable~") COLUMN(NAME=~"leaves.descr~") COLUMN(NAME=~"lvetable.chg_date~") COLUMN(NAME=~"lvetable.chg_user~") COLUMN(NAME=~"lvetable.chg_term~") COLUMN(NAME=~"lvetable.avail~") COLUMN(NAME=~"lvetable.avail_lt~") COLUMN(NAME=~"lvetable.earn_new~") COLUMN(NAME=~"lvetable.abs_mth~") COLUMN(NAME=~"lvetable.accumulate~") COLUMN(NAME=~"lvetable.accumulate_months~") COLUMN(NAME=~"lvetable.max_times~") COLUMN(NAME=~"lvetable.max_accumulate~") COLUMN(NAME=~"lvetable.leave_on_days~") COLUMN(NAME=~"lvetable.days_type~") COLUMN(NAME=~"lvetable.nvo_no~") COLUMN(NAME=~"lvetable.max_days~") COLUMN(NAME=~"lvetable.no_days~") COLUMN(NAME=~"lvetable.avail_formula~") COLUMN(NAME=~"lvetable.avail_input~") COLUMN(NAME=~"lvetable.enc_for_ffs~") COLUMN(NAME=~"lvetable.can_combine~") COLUMN(NAME=~"lvetable.wofflverule~") COLUMN(NAME=~"lvetable.holidaylverule~") COLUMN(NAME=~"lvetable.lve_unit~") COLUMN(NAME=~"lvetable.max_days_unit~") COLUMN(NAME=~"lvetable.max_accumulate_unit~") COLUMN(NAME=~"lvetable.allow_adv_leave~") COLUMN(NAME=~"lvetable.max_allowed~") COLUMN(NAME=~"lvetable.min_allowed~") COLUMN(NAME=~"lvetable.min_balance~") COLUMN(NAME=~"lvetable.no_days_unit~") COLUMN(NAME=~"lvetable.max_allowed_unit~") JOIN (LEFT=~"lvetable.lve_code~" OP =~"=~"RIGHT=~"leaves.lve_code~" )WHERE( EXP1 =~"lvetable.lve_tblno~" OP =~"=~" EXP2 =~":mtabno~" LOGIC =~"and~" ) WHERE( EXP1 =~"lvetable.lve_code~" OP =~"=~" EXP2 =~":mlvecode~" ) ) ARG(NAME = ~"mtabno~" TYPE = string) ARG(NAME = ~"mlvecode~" TYPE = string) " update="LVETABLE" updatewhere=0 updatekeyinplace=no arguments=(("mtabno", string),("mlvecode", string)) )
groupbox(band=detail text="Basic"border="2" color="0" x="6" y="1" height="367" width="699" 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="1" background.color="553648127" )
text(band=detail alignment="1" text="Leave Table No :" border="0" color="0" x="46" y="31" height="16" width="100" html.valueishtml="0" name=lve_tblno_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="1" tabsequence=32766 border="5" color="255" x="142" y="31" height="17" width="37" format="[general]" html.valueishtml="0" name=lve_tblno tag="The unique table number" visible="1" edit.limit=5 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="79741120" )
column(band=detail id=9 alignment="1" tabsequence=140 border="5" color="0" x="514" y="144" height="17" width="168" format="#0" html.valueishtml="0" name=avail_lt visible="1" edit.limit=2 edit.case=any edit.format="#0" edit.focusrectangle=no 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=9 alignment="1" tabsequence=110 border="5" color="0" x="514" y="144" height="17" width="168" format="#0" html.valueishtml="0" name=avail_lt visible="1" edit.limit=2 edit.case=any edit.format="#0" edit.focusrectangle=no 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" )
text(band=detail alignment="1" text="Available After (Months) :" border="0" color="0" x="344" y="144" height="16" width="165" html.valueishtml="0" name=avail_lt_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="Earned :" border="0" color="0" x="41" y="167" height="16" width="100" html.valueishtml="0" name=earn_new_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=10 alignment="0" tabsequence=150 border="5" color="0" x="145" y="167" height="17" width="59" format="[Yes/No]" html.valueishtml="0" name=earn_new visible="1" edit.limit=0 edit.case=any edit.format="" 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="1" tabsequence=120 border="5" color="0" x="145" y="167" height="17" width="59" format="[Yes/No]" html.valueishtml="0" name=earn_new visible="1" edit.limit=0 edit.case=any edit.format="" 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=detail alignment="1" text="Consider Absent Month :" border="0" color="0" x="325" y="167" height="16" width="166" html.valueishtml="0" name=abs_mth_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=11 alignment="0" tabsequence=160 border="5" color="0" x="496" y="167" height="17" width="187" format="[Yes/No]" html.valueishtml="0" name=abs_mth visible="1" edit.limit=0 edit.case=any edit.format="" 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="1" tabsequence=180 border="5" color="0" x="514" y="189" height="17" width="168" format="#0" html.valueishtml="0" name=accumulate_months visible="1" edit.limit=2 edit.case=any edit.format="#0" edit.focusrectangle=no edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=11 alignment="1" tabsequence=130 border="5" color="0" x="496" y="167" height="17" width="187" format="[Yes/No]" html.valueishtml="0" name=abs_mth visible="1" edit.limit=0 edit.case=any edit.format="" 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="1" tabsequence=150 border="5" color="0" x="514" y="189" height="17" width="168" format="#0" html.valueishtml="0" name=accumulate_months visible="1" edit.limit=2 edit.case=any edit.format="#0" edit.focusrectangle=no edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Accumulate For (Months) :" border="0" color="0" x="341" y="189" height="16" width="168" html.valueishtml="0" name=accumulate_months_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="0" tabsequence=170 border="5" color="0" x="145" y="189" height="17" width="59" format="[general]" html.valueishtml="0" name=accumulate visible="1" edit.limit=0 edit.case=any edit.format="(Yes/No)" edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=12 alignment="1" tabsequence=140 border="5" color="0" x="145" y="189" height="17" width="59" format="[general]" html.valueishtml="0" name=accumulate visible="1" edit.limit=0 edit.case=any edit.format="(Yes/No)" edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Accumulate :" border="0" color="0" x="41" y="189" height="16" width="100" html.valueishtml="0" name=accumulate_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="Min balance :" border="0" color="0" x="54" y="211" height="17" width="87" html.valueishtml="0" name=min_balance_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=190 border="5" color="0" x="145" y="211" height="17" width="59" format="#0" html.valueishtml="0" name=min_balance visible="1" edit.limit=4 edit.case=any edit.format="#0" edit.focusrectangle=no 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" )
text(band=detail alignment="1" text="Maximum Accumulate :" border="0" color="0" x="235" y="211" height="16" width="150" html.valueishtml="0" name=max_accumulate_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=16 alignment="1" tabsequence=200 border="5" color="0" x="389" y="210" height="16" width="39" format="##0" html.valueishtml="0" name=max_accumulate visible="1" edit.limit=4 edit.case=any edit.format="##0" edit.focusrectangle=no 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" )
text(band=detail alignment="0" text="Max Accumulate Unit :" border="0" color="0" x="439" y="212" height="16" width="127" html.valueishtml="0" name=max_accumulate_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" )
column(band=detail id=31 alignment="0" tabsequence=210 border="5" color="0" x="571" y="212" height="16" width="108" format="[general]" html.valueishtml="0" name=max_accumulate_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="1090519039" )
column(band=detail id=22 alignment="0" tabsequence=220 border="5" color="0" x="143" y="237" height="16" width="400" format="[general]" html.valueishtml="0" name=avail_formula visible="1" edit.limit=250 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="16777215" )
column(band=detail id=15 alignment="1" tabsequence=160 border="5" color="0" x="388" y="211" height="16" width="39" format="##0" html.valueishtml="0" name=max_accumulate visible="1" edit.limit=4 edit.case=any edit.format="##0" edit.focusrectangle=no 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=21 alignment="1" tabsequence=180 border="5" color="0" x="143" y="237" height="16" width="400" format="[general]" html.valueishtml="0" name=avail_formula visible="1" edit.limit=250 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="16777215" )
text(band=detail alignment="1" text="Avail Formula :" border="0" color="0" x="54" y="234" height="16" width="87" html.valueishtml="0" name=avail_formula_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="Avail Input :" border="0" color="0" x="54" y="257" height="16" width="87" html.valueishtml="0" name=avail_input_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=23 alignment="0" tabsequence=230 border="5" color="0" x="144" y="259" height="16" width="400" format="[general]" html.valueishtml="0" name=avail_input visible="1" edit.limit=100 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="16777215" )
column(band=detail id=22 alignment="1" tabsequence=190 border="5" color="0" x="144" y="259" height="16" width="400" format="[general]" html.valueishtml="0" name=avail_input visible="1" edit.limit=100 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="16777215" )
text(band=detail alignment="1" text="Encash For FFS :" border="0" color="33554432" x="51" y="280" height="16" width="90" html.valueishtml="0" name=enc_for_ffs_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" )
column(band=detail id=24 alignment="0" tabsequence=240 border="5" color="0" x="145" y="281" height="17" width="59" format="[Yes/No]" html.valueishtml="0" name=enc_for_ffs visible="1" edit.limit=0 edit.case=any edit.format="" 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=23 alignment="1" tabsequence=200 border="5" color="0" x="145" y="281" height="17" width="59" format="[Yes/No]" html.valueishtml="0" name=enc_for_ffs visible="1" edit.limit=0 edit.case=any edit.format="" 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=detail alignment="1" text="Avail in Combination :" border="0" color="33554432" x="357" y="280" height="16" width="134" html.valueishtml="0" name=can_combine_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" )
column(band=detail id=25 alignment="0" tabsequence=250 border="5" color="0" x="496" y="281" height="16" width="49" format="[Yes/No]" html.valueishtml="0" name=can_combine visible="1" edit.limit=0 edit.case=any edit.format="" 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=27 alignment="0" tabsequence=270 border="5" color="0" x="474" y="304" height="17" width="71" format="[Yes/No]" html.valueishtml="0" name=holidaylverule visible="1" edit.limit=0 edit.case=any edit.format="" 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=24 alignment="1" tabsequence=210 border="5" color="0" x="496" y="281" height="16" width="49" format="[Yes/No]" html.valueishtml="0" name=can_combine visible="1" edit.limit=0 edit.case=any edit.format="" 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=26 alignment="1" tabsequence=230 border="5" color="0" x="474" y="304" height="17" width="71" format="[Yes/No]" html.valueishtml="0" name=holidaylverule visible="1" edit.limit=0 edit.case=any edit.format="" 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=detail alignment="1" text="Holiday Leave Rule :" border="0" color="33554432" x="341" y="303" height="16" width="128" html.valueishtml="0" name=holidaylverule_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" )
column(band=detail id=26 alignment="0" tabsequence=260 border="5" color="0" x="145" y="304" height="17" width="71" format="[Yes/No]" html.valueishtml="0" name=wofflverule visible="1" edit.limit=0 edit.case=any edit.format="" 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=25 alignment="1" tabsequence=220 border="5" color="0" x="145" y="304" height="17" width="71" format="[Yes/No]" html.valueishtml="0" name=wofflverule visible="1" edit.limit=0 edit.case=any edit.format="" 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=detail alignment="1" text="Woff Leave Rule :" border="0" color="33554432" x="26" y="303" height="16" width="115" html.valueishtml="0" name=wofflverule_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=detail alignment="1" text="Leave Unit :" border="0" color="33554432" x="64" y="328" height="16" width="77" 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" )
column(band=detail id=28 alignment="0" tabsequence=32766 border="5" color="255" x="145" y="328" height="17" width="86" 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="67108864" )
column(band=detail id=27 alignment="1" tabsequence=32766 border="5" color="255" x="144" y="329" height="17" width="86" 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="67108864" )
text(band=detail alignment="1" text="Allow Advance Leave :" border="0" color="33554432" x="357" y="328" height="16" width="134" 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="2" background.color="67108864" )
column(band=detail id=32 alignment="0" tabsequence=280 border="5" color="0" x="496" y="328" height="16" width="49" format="[Yes/No]" html.valueishtml="0" name=allow_adv_leave visible="1" edit.limit=0 edit.case=any edit.format="" 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="1090519039" )
column(band=detail id=30 alignment="1" tabsequence=240 border="5" color="0" x="496" y="328" height="16" width="49" format="[Yes/No]" html.valueishtml="0" name=allow_adv_leave visible="1" edit.limit=0 edit.case=any edit.format="" 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="1090519039" )
text(band=detail alignment="1" text="Leave Code :" border="0" color="0" x="46" y="54" height="16" width="83" 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" )
column(band=detail id=2 alignment="0" tabsequence=10 border="5" color="0" x="133" y="54" height="17" width="55" format="[general]" html.valueishtml="0" name=lve_code tag="Leave 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="1090519039" )
column(band=detail id=4 alignment="0" tabsequence=32766 border="5" color="255" x="192" y="54" height="17" width="341" format="[general]" html.valueishtml="0" name=leaves_descr visible="1" edit.limit=20 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" )
column(band=detail id=2 alignment="1" tabsequence=10 border="5" color="0" x="133" y="54" height="17" width="55" format="[general]" html.valueishtml="0" name=lve_code tag="Leave 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="1090519039" )
column(band=detail id=4 alignment="1" tabsequence=32766 border="5" color="255" x="192" y="54" height="17" width="341" format="[general]" html.valueishtml="0" name=leaves_descr visible="1" edit.limit=20 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="Maximum (pa) :" border="0" color="0" x="45" y="78" height="16" width="100" html.valueishtml="0" name=max_days_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=20 alignment="1" tabsequence=20 border="5" color="0" x="149" y="77" height="16" width="39" format="#0.0" html.valueishtml="0" name=max_days visible="1" edit.limit=5 edit.case=any edit.format="#0.0" 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=29 alignment="0" tabsequence=30 border="5" color="0" x="192" y="77" height="16" width="59" format="[general]" html.valueishtml="0" name=max_days_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=19 alignment="1" tabsequence=20 border="5" color="0" x="149" y="77" height="16" width="39" format="#0.0" html.valueishtml="0" name=max_days visible="1" edit.limit=5 edit.case=any edit.format="#0.0" 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=28 alignment="1" tabsequence=30 border="5" color="0" x="192" y="77" height="16" width="59" format="[general]" html.valueishtml="0" name=max_days_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" )
text(band=detail alignment="1" text="Encashable :" border="0" color="0" x="276" y="77" height="16" width="70" html.valueishtml="0" name=encashable_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=3 alignment="0" tabsequence=40 border="5" color="0" x="350" y="77" height="16" width="57" format="[general]" html.valueishtml="0" name=encashable 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" )
column(band=detail id=3 alignment="1" tabsequence=40 border="5" color="0" x="350" y="77" height="16" width="57" format="[general]" html.valueishtml="0" name=encashable 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="Check BO :" border="0" color="0" x="440" y="76" height="16" width="73" html.valueishtml="0" name=nvo_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" )
column(band=detail id=19 alignment="1" tabsequence=32766 border="5" color="255" x="518" y="77" height="16" width="31" format="#0" html.valueishtml="0" name=nvo_no visible="1" edit.limit=2 edit.case=any edit.format="#0" edit.focusrectangle=no 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" )
column(band=detail id=18 alignment="1" tabsequence=32766 border="5" color="255" x="518" y="77" height="16" width="31" format="#0" html.valueishtml="0" name=nvo_no visible="1" edit.limit=2 edit.case=any edit.format="#0" edit.focusrectangle=no 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="Credit Leave :" border="0" color="0" x="46" y="100" height="16" width="82" html.valueishtml="0" name=no_days_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=21 alignment="1" tabsequence=50 border="5" color="0" x="133" y="100" height="16" width="39" format="#0.0" html.valueishtml="0" name=no_days visible="1" edit.limit=5 edit.case=any edit.format="#0.0" edit.focusrectangle=no 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=30 alignment="0" tabsequence=60 border="5" color="0" x="258" y="100" height="16" width="59" format="[general]" html.valueishtml="0" name=no_days_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=20 alignment="1" tabsequence=50 border="5" color="0" x="133" y="100" height="16" width="39" format="#0.0" html.valueishtml="0" name=no_days visible="1" edit.limit=5 edit.case=any edit.format="#0.0" edit.focusrectangle=no 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=34 alignment="1" tabsequence=60 border="5" color="0" x="258" y="100" height="16" width="59" format="[general]" html.valueishtml="0" name=no_days_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" )
text(band=detail alignment="1" text="On Every :" border="0" color="0" x="327" y="100" height="16" width="84" html.valueishtml="0" name=leave_on_days_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=17 alignment="1" tabsequence=70 border="5" color="0" x="416" y="100" height="17" width="37" format="##0" html.valueishtml="0" name=leave_on_days visible="1" edit.limit=3 edit.case=any edit.format="##0" edit.focusrectangle=no 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=18 alignment="0" tabsequence=80 border="5" color="0" x="549" y="100" height="17" width="88" format="[general]" html.valueishtml="0" name=days_type 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=16 alignment="1" tabsequence=70 border="5" color="0" x="417" y="101" height="17" width="37" format="##0" html.valueishtml="0" name=leave_on_days visible="1" edit.limit=3 edit.case=any edit.format="##0" edit.focusrectangle=no 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=17 alignment="1" tabsequence=80 border="5" color="0" x="549" y="100" height="17" width="88" format="[general]" html.valueishtml="0" name=days_type 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" )
text(band=detail alignment="1" text="Min Allowed :" border="0" color="0" x="46" y="123" height="16" width="85" html.valueishtml="0" name=min_allowed_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 Allowed :" border="0" color="0" x="198" y="123" height="16" width="77" html.valueishtml="0" name=max_allowed_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 Times (pa) :" border="0" color="0" x="504" y="123" height="16" width="100" html.valueishtml="0" name=max_times_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=120 border="5" color="0" x="610" y="122" height="16" width="73" format="#0" html.valueishtml="0" name=max_times visible="1" edit.limit=2 edit.case=any edit.format="#0" edit.focusrectangle=no edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=8 alignment="0" tabsequence=130 border="5" color="0" x="145" y="144" height="17" width="116" format="[general]" html.valueishtml="0" name=available 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" )
column(band=detail id=14 alignment="1" tabsequence=90 border="5" color="0" x="610" y="122" height="16" width="73" format="#0" html.valueishtml="0" name=max_times visible="1" edit.limit=2 edit.case=any edit.format="#0" edit.focusrectangle=no edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=8 alignment="1" tabsequence=100 border="5" color="0" x="145" y="144" height="17" width="116" format="[general]" html.valueishtml="0" name=available 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="Available on :" border="0" color="0" x="41" y="145" height="16" width="100" html.valueishtml="0" name=available_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="0" text="Max Allowed Unit :" border="0" color="0" x="333" y="123" height="16" width="103" html.valueishtml="0" name=max_allowed_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="79741120" )
text(band=detail alignment="0" text="No Days Unit :" border="0" color="0" x="178" y="101" height="16" width="79" html.valueishtml="0" name=no_days_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="79741120" )
text(band=detail alignment="0" text="Days Type :" border="0" color="0" x="475" y="100" height="16" width="69" html.valueishtml="0" name=days_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=33 alignment="0" tabsequence=290 border="5" color="0" x="282" y="122" height="16" width="39" html.valueishtml="0" name=max_allowed 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" )
column(band=detail id=34 alignment="0" tabsequence=300 border="5" color="0" x="137" y="124" height="16" width="39" html.valueishtml="0" name=min_allowed 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" )
column(band=detail id=35 alignment="0" tabsequence=310 border="5" color="0" x="445" y="124" height="16" width="37" html.valueishtml="0" name=max_allowed_unit 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" )
column(band=detail id=31 alignment="1" tabsequence=250 border="5" color="0" x="282" y="122" height="16" width="39" format="[general]" html.valueishtml="0" name=max_allowed 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=32 alignment="1" tabsequence=260 border="5" color="0" x="137" y="124" height="16" width="39" format="[general]" html.valueishtml="0" name=min_allowed 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=33 alignment="1" tabsequence=280 border="5" color="0" x="146" y="214" height="16" width="57" format="[general]" html.valueishtml="0" name=min_balance 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" )
text(band=detail alignment="1" text="Min Balance :" border="0" color="0" x="39" y="214" height="16" width="102" html.valueishtml="0" name=min_balance_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=35 alignment="1" tabsequence=290 border="5" color="0" x="541" y="211" height="16" width="141" format="[general]" html.valueishtml="0" name=max_allowed_unit 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" )
text(band=detail alignment="1" text="Max Allowed Unit :" border="0" color="0" x="435" y="211" height="16" width="103" html.valueishtml="0" name=max_allowed_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="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 )
......
......@@ -87,6 +87,7 @@ public class LeaveTableIC extends ValidatorEJB implements LeaveTableRemote, Leav
String minAllowedStr = "";
String maxAllowedStr = "";
String leaveOnDaysStr="";
String lveTbNo = "";
E12GenericUtility genericUtility = null;
errStringXml = new StringBuffer("<?xml version=\"1.0\"?>\r\n<Root><Errors>");
......@@ -141,6 +142,8 @@ public class LeaveTableIC extends ValidatorEJB implements LeaveTableRemote, Leav
if ("lve_code".equalsIgnoreCase(childNodeName))
{
lveCode = checkNull(genericUtility.getColumnValue("lve_code", dom));
lveTbNo = checkNull(genericUtility.getColumnValue("lve_tblno", dom));
sql="select count(*) as cnt from leaves where lve_code=?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, lveCode);
......@@ -161,16 +164,47 @@ public class LeaveTableIC extends ValidatorEJB implements LeaveTableRemote, Leav
pstmt = null;
}
if(cnt == 0)
if(cnt == 0 )
{
errList.add("VMLVECD1");
errFields.add(childNodeName.toLowerCase());
}
else
{
cnt = 0;
sql = "select count(*) as cnt from lvetable where lve_tblno=? and lve_code=?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, lveTbNo);
pstmt.setString(2, lveCode);
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("VMLVECD3");
errFields.add(childNodeName.toLowerCase());
}
}
}
else if ("max_allowed".equalsIgnoreCase(childNodeName) || ("min_allowed".equalsIgnoreCase(childNodeName)))
{
minAllowedStr = checkNull(genericUtility.getColumnValue("min_allowed", dom));
maxAllowedStr = checkNull(genericUtility.getColumnValue("max_allowed", dom));
System.out.println("minAllowed:::::::"+minAllowed);
System.out.println("maxAllowed:::::::"+maxAllowed);
try
{
minAllowed = Integer.parseInt(minAllowedStr);
......@@ -187,6 +221,17 @@ public class LeaveTableIC extends ValidatorEJB implements LeaveTableRemote, Leav
{
maxAllowed = 0;
}
if(minAllowed < 0 )
{
errList.add("VMNUMBER2");
errFields.add(childNodeName.toLowerCase());
}
if(maxAllowed < 0 )
{
errList.add("VMNUMBER2");
errFields.add(childNodeName.toLowerCase());
}
if (minAllowed > 0 && maxAllowed > 0 && minAllowed > maxAllowed)
{
errList.add("VMNUMBER1");
......
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