Commit f82c0cf8 authored by dpingle's avatar dpingle

* update leave master on[26/08/2019]

leave21.xml
w_leave.sql
d_leave_edit.srd
LeavesIC.java


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@206016 ce508802-f39f-4f6c-b175-0d175dae99d5
parent bd9dd0c6
...@@ -141,6 +141,8 @@ update OBJ_ACTIONS set display_mode=null where OBJ_NAME='leave' and LINE_NO='22' ...@@ -141,6 +141,8 @@ update OBJ_ACTIONS set display_mode=null where OBJ_NAME='leave' and LINE_NO='22'
Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERACTIVE,RIGHTS_CHAR,TITLE,FORM_NO,SERVICE_HANDLER,PLACEMENT,ACTION_TYPE,TRAN_TYPE,CHG_DATE,CHG_TERM,CHG_USER,IS_CONFIRMATION_REQ,SEP_DUTY_OPT,RE_AUTH_OPT,SHOW_IN_PANEL,PAGE_CONTEXT,TYPE,ACTION_ARG,SWIPE_POSITION,MULTI_ROW_OPT,ACTION_ID,DEF_NODATA,IN_PROC_INTRUPT,ESTIMATED_TIME,ACTION_GROUP,DISPLAY_OPT,DISPLAY_MODE,SHOW_CONFIRM,REC_SPECIFIC) Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERACTIVE,RIGHTS_CHAR,TITLE,FORM_NO,SERVICE_HANDLER,PLACEMENT,ACTION_TYPE,TRAN_TYPE,CHG_DATE,CHG_TERM,CHG_USER,IS_CONFIRMATION_REQ,SEP_DUTY_OPT,RE_AUTH_OPT,SHOW_IN_PANEL,PAGE_CONTEXT,TYPE,ACTION_ARG,SWIPE_POSITION,MULTI_ROW_OPT,ACTION_ID,DEF_NODATA,IN_PROC_INTRUPT,ESTIMATED_TIME,ACTION_GROUP,DISPLAY_OPT,DISPLAY_MODE,SHOW_CONFIRM,REC_SPECIFIC)
values ('leave',8,'ibase/resource/objaction/copyTransaction.svg','Adding New','a','a','A','Copy Transaction','1',null,null,'S',null,null,null,null,null,null,null,null,null,null,null,null,'0',null,null,null,null,null,null,'1',null,null); values ('leave',8,'ibase/resource/objaction/copyTransaction.svg','Adding New','a','a','A','Copy Transaction','1',null,null,'S',null,null,null,null,null,null,null,null,null,null,null,null,'0',null,null,null,null,null,null,'1',null,null);
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('leave','1','itm_default',null);
----------------------------------------------------- Dipesh [26/08/2019] End ----------------------------------------------------- Dipesh [26/08/2019] End
...@@ -219,18 +219,21 @@ ...@@ -219,18 +219,21 @@
</table_column> </table_column>
<table_column> <table_column>
<type>datetime</type> <type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>chg_date</name> <name>chg_date</name>
<dbname>leaves.chg_date</dbname> <dbname>leaves.chg_date</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="10">char</type> <type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>chg_user</name> <name>chg_user</name>
<dbname>leaves.chg_user</dbname> <dbname>leaves.chg_user</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="300">char</type> <type size="300">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>chg_term</name> <name>chg_term</name>
<dbname>leaves.chg_term</dbname> <dbname>leaves.chg_term</dbname>
......
...@@ -24,12 +24,10 @@ table(column=(type=char(5) update=yes updatewhereclause=yes key=yes name=lve_cod ...@@ -24,12 +24,10 @@ table(column=(type=char(5) update=yes updatewhereclause=yes key=yes name=lve_cod
column=(type=char(1) update=yes updatewhereclause=yes name=bal_opt dbname="leaves.bal_opt" initial="Y" ) column=(type=char(1) update=yes updatewhereclause=yes name=bal_opt dbname="leaves.bal_opt" initial="Y" )
column=(type=char(1) update=yes updatewhereclause=yes name=lve_unit dbname="leaves.lve_unit" initial="D" values="Days D/Hours H/" ) column=(type=char(1) update=yes updatewhereclause=yes name=lve_unit dbname="leaves.lve_unit" initial="D" values="Days D/Hours H/" )
column=(type=char(1) update=yes updatewhereclause=yes name=allow_adv_leave dbname="leaves.allow_adv_leave" initial="Y" ) column=(type=char(1) update=yes updatewhereclause=yes name=allow_adv_leave dbname="leaves.allow_adv_leave" initial="Y" )
column=(type=datetime updatewhereclause=yes name=chg_date dbname="leaves.chg_date" ) column=(type=datetime update=yes updatewhereclause=yes name=chg_date dbname="leaves.chg_date" )
column=(type=char(10) updatewhereclause=yes name=chg_user dbname="leaves.chg_user" ) column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="leaves.chg_user" )
column=(type=char(300) updatewhereclause=yes name=chg_term dbname="leaves.chg_term" ) column=(type=char(300) update=yes updatewhereclause=yes name=chg_term dbname="leaves.chg_term" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"leaves~" ) TABLE(NAME=~"allwdedn~" ) COLUMN(NAME=~"leaves.lve_code~") COLUMN(NAME=~"allwdedn.descr~") 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.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.min_allowed~") COLUMN(NAME=~"leaves.max_allowed~") COLUMN(NAME=~"leaves.descr~") COLUMN(NAME=~"leaves.bal_opt~") COLUMN(NAME=~"leaves.lve_unit~") COLUMN(NAME=~"leaves.allow_adv_leave~") COLUMN(NAME=~"leaves.chg_date~") COLUMN(NAME=~"leaves.chg_user~") COLUMN(NAME=~"leaves.chg_term~") JOIN (LEFT=~"leaves.ad_code__ench~" OP =~"=~"RIGHT=~"allwdedn.ad_code~" OUTER1 =~"leaves.ad_code__ench~" )WHERE( EXP1 =~"( leaves.lve_code~" OP =~"=~" EXP2 =~":lvecode )~" ) ) ARG(NAME = ~"lvecode~" TYPE = string) " update="LEAVES" updatewhere=0 updatekeyinplace=no arguments=(("lvecode", string)) ) retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"leaves~" ) TABLE(NAME=~"allwdedn~" ) COLUMN(NAME=~"leaves.lve_code~") COLUMN(NAME=~"allwdedn.descr~") 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.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.min_allowed~") COLUMN(NAME=~"leaves.max_allowed~") COLUMN(NAME=~"leaves.descr~") COLUMN(NAME=~"leaves.bal_opt~") COLUMN(NAME=~"leaves.lve_unit~") COLUMN(NAME=~"leaves.allow_adv_leave~") COLUMN(NAME=~"leaves.chg_date~") COLUMN(NAME=~"leaves.chg_user~") COLUMN(NAME=~"leaves.chg_term~") JOIN (LEFT=~"leaves.ad_code__ench~" OP =~"=~"RIGHT=~"allwdedn.ad_code~" OUTER1 =~"leaves.ad_code__ench~" )WHERE( EXP1 =~"( leaves.lve_code~" OP =~"=~" EXP2 =~":lvecode )~" ) ) ARG(NAME = ~"lvecode~" TYPE = string) " update="LEAVES" updatewhere=0 updatekeyinplace=no arguments=(("lvecode", string)) )
groupbox(band=detail text="Others"border="2" color="33554432" x="7" y="268" height="100" width="548" name=gb_2 visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
groupbox(band=detail text="Basic"border="2" color="0" x="8" y="5" height="254" width="544" 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" )
column(band=detail id=1 alignment="0" tabsequence=10 border="5" color="0" x="180" y="32" height="16" width="53" format="[general]" html.valueishtml="0" name=lve_code visible="1" edit.limit=5 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=1 alignment="0" tabsequence=10 border="5" color="0" x="180" y="32" height="16" width="53" format="[general]" html.valueishtml="0" name=lve_code visible="1" edit.limit=5 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Leave Code :" border="0" color="0" x="68" y="32" height="16" width="107" 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=detail alignment="1" text="Leave Code :" border="0" color="0" x="68" y="32" height="16" width="107" 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=detail alignment="1" text="Leaves / Annum :" border="0" color="0" x="68" y="56" height="16" width="107" 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" ) text(band=detail alignment="1" text="Leaves / Annum :" border="0" color="0" x="68" y="56" height="16" width="107" 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" )
...@@ -43,13 +41,6 @@ column(band=detail id=14 alignment="0" tabsequence=110 border="5" color="0" x="1 ...@@ -43,13 +41,6 @@ column(band=detail id=14 alignment="0" tabsequence=110 border="5" color="0" x="1
text(band=detail alignment="1" text="Available On :" border="0" color="0" x="68" y="152" height="16" width="107" html.valueishtml="0" name=avail_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="Available On :" border="0" color="0" x="68" y="152" height="16" width="107" html.valueishtml="0" name=avail_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=5 alignment="0" tabsequence=120 border="5" color="0" x="180" y="152" height="16" width="87" format="[general]" html.valueishtml="0" name=avail visible="1" ddlb.limit=0 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=5 alignment="0" tabsequence=120 border="5" color="0" x="180" y="152" height="16" width="87" format="[general]" html.valueishtml="0" name=avail visible="1" ddlb.limit=0 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=11 alignment="0" tabsequence=140 border="5" color="0" x="180" y="176" height="16" width="55" format="[Yes/No]" 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=11 alignment="0" tabsequence=140 border="5" color="0" x="180" y="176" height="16" width="55" format="[Yes/No]" 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" )
text(band=detail alignment="1" text="Min Allowed :" border="0" color="0" x="68" y="200" height="16" width="107" 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="Allow Advance Leave :" border="0" color="0" x="22" y="224" height="16" width="153" 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="79741120" )
column(band=detail id=20 alignment="0" tabsequence=190 border="5" color="0" x="180" y="225" height="16" width="55" format="[Yes/No]" html.valueishtml="0" name=allow_adv_leave 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=detail alignment="1" text="Max Allowed :" border="0" color="0" x="239" y="201" height="16" width="88" 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" )
column(band=detail id=16 alignment="1" tabsequence=170 border="5" color="0" x="331" y="200" height="16" width="55" format="#0.0" html.valueishtml="0" name=max_allowed 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" )
text(band=detail alignment="1" text="Max Times :" border="0" color="0" x="406" y="200" height="16" width="81" 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=10 alignment="1" tabsequence=180 border="5" color="0" x="492" y="200" height="16" width="34" 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="1" 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="304" y="176" height="16" width="183" 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" ) text(band=detail alignment="1" text="Accumulate For (Months) :" border="0" color="0" x="304" y="176" height="16" width="183" 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="1" tabsequence=150 border="5" color="0" x="492" y="176" height="16" width="34" format="##0" html.valueishtml="0" protect="0~tif(accumulate= ~"N~",1,0)" name=accumulate_months 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=12 alignment="1" tabsequence=150 border="5" color="0" x="492" y="176" height="16" width="34" format="##0" html.valueishtml="0" protect="0~tif(accumulate= ~"N~",1,0)" name=accumulate_months 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" )
text(band=detail alignment="1" text="Available After (Months) :" border="0" color="0" x="304" y="152" height="16" width="183" 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="Available After (Months) :" border="0" color="0" x="304" y="152" height="16" width="183" 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" )
...@@ -68,6 +59,15 @@ column(band=detail id=17 alignment="0" tabsequence=20 border="5" color="0" x="38 ...@@ -68,6 +59,15 @@ column(band=detail id=17 alignment="0" tabsequence=20 border="5" color="0" x="38
text(band=detail alignment="1" text="Description :" border="0" color="0" x="293" y="32" height="16" width="89" 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=detail alignment="1" text="Description :" border="0" color="0" x="293" y="32" height="16" width="89" 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" )
column(band=detail id=2 alignment="0" tabsequence=32766 border="5" color="255" x="256" y="127" height="16" width="270" format="[general]" html.valueishtml="0" name=allwdedn_descr visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" ) column(band=detail id=2 alignment="0" tabsequence=32766 border="5" color="255" x="256" y="127" height="16" width="270" format="[general]" html.valueishtml="0" name=allwdedn_descr visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Accumulate :" border="0" color="0" x="68" y="175" height="16" width="107" 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="Accumulate :" border="0" color="0" x="68" y="175" height="16" width="107" 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" )
groupbox(band=detail text="Others"border="2" color="33554432" x="7" y="268" height="100" width="548" name=gb_2 visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
groupbox(band=detail text="Basic"border="2" color="0" x="8" y="5" height="254" width="544" 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="Min Allowed :" border="0" color="0" x="68" y="200" height="16" width="107" 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="Allow Advance Leave :" border="0" color="0" x="22" y="224" height="16" width="153" 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="79741120" )
column(band=detail id=20 alignment="0" tabsequence=190 border="5" color="0" x="180" y="225" height="16" width="55" format="[Yes/No]" html.valueishtml="0" name=allow_adv_leave 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=detail alignment="1" text="Max Allowed :" border="0" color="0" x="239" y="201" height="16" width="88" 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" )
column(band=detail id=16 alignment="1" tabsequence=170 border="5" color="0" x="331" y="200" height="16" width="55" format="#0.0" html.valueishtml="0" name=max_allowed 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" )
text(band=detail alignment="1" text="Max Times :" border="0" color="0" x="406" y="200" height="16" width="81" 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=10 alignment="1" tabsequence=180 border="5" color="0" x="492" y="200" height="16" width="34" 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="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="180" y="200" height="16" width="53" format="#0.0" html.valueishtml="0" name=min_allowed 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=15 alignment="1" tabsequence=160 border="5" color="0" x="180" y="200" height="16" width="53" format="#0.0" html.valueishtml="0" name=min_allowed 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=22 alignment="0" tabsequence=210 border="0" color="0" x="113" y="317" height="16" width="55" 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=22 alignment="0" tabsequence=210 border="0" color="0" x="113" y="317" height="16" width="55" 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=23 alignment="0" tabsequence=220 border="0" color="0" x="114" y="338" height="16" width="55" 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=23 alignment="0" tabsequence=220 border="0" color="0" x="114" y="338" height="16" width="55" 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" )
......
...@@ -51,7 +51,7 @@ public class LeavesIC extends ValidatorEJB implements LeavesRemote, LeavesLocal ...@@ -51,7 +51,7 @@ public class LeavesIC extends ValidatorEJB implements LeavesRemote, LeavesLocal
Connection conn = null; Connection conn = null;
PreparedStatement pstmt = null; PreparedStatement pstmt = null;
ResultSet rs = null; ResultSet rs = null;
String colName = ""; //String colName = "";
String sql = ""; String sql = "";
String encashable = ""; String encashable = "";
String accumulate = ""; String accumulate = "";
...@@ -62,7 +62,7 @@ public class LeavesIC extends ValidatorEJB implements LeavesRemote, LeavesLocal ...@@ -62,7 +62,7 @@ public class LeavesIC extends ValidatorEJB implements LeavesRemote, LeavesLocal
String adCodeEnch = ""; String adCodeEnch = "";
String allowAdvleave = ""; String allowAdvleave = "";
int cnt = 0; int cnt = 0;
colName = currentColumn; //colName = currentColumn;
int currentFormNo = 0; int currentFormNo = 0;
StringBuffer valueXmlString = null; StringBuffer valueXmlString = null;
E12GenericUtility genericUtility = null; E12GenericUtility genericUtility = null;
...@@ -85,9 +85,20 @@ public class LeavesIC extends ValidatorEJB implements LeavesRemote, LeavesLocal ...@@ -85,9 +85,20 @@ public class LeavesIC extends ValidatorEJB implements LeavesRemote, LeavesLocal
{ {
case 1: case 1:
{ {
System.out.println("=========================================Case1============================"); System.out.println("=========================================Case1============================" + currentColumn);
valueXmlString.append("<Detail1>\r\n"); valueXmlString.append("<Detail1>\r\n");
if (currentColumn.equalsIgnoreCase("itm_defaultedit")) if ("itm_default".equalsIgnoreCase(currentColumn))
{
encashable = checkNull(genericUtility.getColumnValue("encashable", dom));
System.out.println("encashable in itemdefault :::"+encashable);
if ("N".equalsIgnoreCase(encashable))
{
valueXmlString.append("<lve_code__convert protect=\"1\"><![CDATA[").append("").append("]]></lve_code__convert>\r\n");
valueXmlString.append("<ad_code__ench protect=\"1\"><![CDATA[").append("").append("]]></ad_code__ench>\r\n");
}
}
else if (currentColumn.equalsIgnoreCase("itm_defaultedit"))
{ {
leaveUnit = checkNull(genericUtility.getColumnValue("lve_unit", dom)); leaveUnit = checkNull(genericUtility.getColumnValue("lve_unit", dom));
if (leaveUnit == null || leaveUnit.trim().length() == 0) if (leaveUnit == null || leaveUnit.trim().length() == 0)
...@@ -781,7 +792,7 @@ public class LeavesIC extends ValidatorEJB implements LeavesRemote, LeavesLocal ...@@ -781,7 +792,7 @@ public class LeavesIC extends ValidatorEJB implements LeavesRemote, LeavesLocal
input = ""; input = "";
} }
return input; return input.trim();
} }
private String checkInt(String input) private String checkInt(String input)
{ {
......
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