Commit 0c384896 authored by dpingle's avatar dpingle

updated src, srd, sql and xml file

cadre_ad21.xml
w_cadre_ad.sql
d_cadre_allwdedn_edit.srd
CadreAdIC.java


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@215743 ce508802-f39f-4f6c-b175-0d175dae99d5
parent cf85e078
......@@ -152,3 +152,24 @@ Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERAC
-----------------------------------------------[03/01/2020]End
---------------------------------------------------- Dipesh[27/01/2020]Start
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 ('PAYINVAILD','Invaild Pay table!!','Pay table No not present in master. ','E','Y',null,null,null,to_date('18-03-06','DD-MM-RR'),'TSD ','TSD ',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 ('PAYTBLNULL','Empty Pay table!!','Pay table can not be null','E','Y',null,null,null,to_date('18-03-06','DD-MM-RR'),'TSD ','TSD ',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 ('CADCODNULL','Empty cadre code!!','cadre code cannot be null','E','Y',null,null,null,to_date('18-03-06','DD-MM-RR'),'TSD ','TSD ',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 ('CADINVAILD','Invaild cadre code!!','cadre code No not present in master.','E','Y',null,null,null,to_date('18-03-06','DD-MM-RR'),'TSD ','TSD ',null,null);
---------------------------------------------------- Dipesh[27/01/2020]End
......@@ -39,7 +39,7 @@
<color>536870912</color>
</Footer>
<Detail>
<height>312</height>
<height>384</height>
<color>536870912</color>
</Detail>
<TableDefinition>
......@@ -198,14 +198,14 @@
</TableDefinition>
<GroupBox>
<band>Detail</band>
<text>Others</text>
<text>Basic</text>
<border>2</border>
<color>0</color>
<x>14</x>
<y>179</y>
<height>110</height>
<width>552</width>
<name>gb_2</name>
<y>6</y>
<height>180</height>
<width>549</width>
<name>gb_1</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -222,14 +222,14 @@
</GroupBox>
<GroupBox>
<band>Detail</band>
<text>Basic</text>
<text>Others</text>
<border>2</border>
<color>0</color>
<x>15</x>
<y>7</y>
<height>162</height>
<width>549</width>
<name>gb_1</name>
<x>14</x>
<y>197</y>
<height>85</height>
<width>552</width>
<name>gb_2</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -585,7 +585,7 @@
<name>max_basic</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>13</limit>
<limit>12</limit>
<case>any</case>
<format>0.00</format>
<focusrectangle>no</focusrectangle>
......@@ -624,7 +624,7 @@
<name>max_amt</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>13</limit>
<limit>12</limit>
<case>any</case>
<format>0.00</format>
<focusrectangle>no</focusrectangle>
......@@ -754,7 +754,7 @@
<name>amount</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>13</limit>
<limit>12</limit>
<case>any</case>
<format>0.00</format>
<focusrectangle>no</focusrectangle>
......@@ -821,7 +821,7 @@
<name>min_basic</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>13</limit>
<limit>12</limit>
<case>any</case>
<format>0.00</format>
<focusrectangle>no</focusrectangle>
......@@ -888,7 +888,7 @@
<name>min_amt</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>13</limit>
<limit>12</limit>
<case>any</case>
<format>0.00</format>
<focusrectangle>no</focusrectangle>
......@@ -940,17 +940,17 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Cadre Code:</text>
<text>Chg Date:</text>
<border>0</border>
<color>0</color>
<x>39</x>
<y>200</y>
<x>325</x>
<y>215</y>
<height>20</height>
<width>106</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cadre_code_t</name>
<name>chg_date_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -967,32 +967,34 @@
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<id>9</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>148</x>
<y>201</y>
<x>434</x>
<y>216</y>
<height>20</height>
<width>93</width>
<format>[general]</format>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cadre_code</name>
<name>chg_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
......@@ -1001,59 +1003,57 @@
<color>67108864</color>
</background>
</ColumnObject>
<TextObject>
<ColumnObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Chg Date:</text>
<border>0</border>
<color>0</color>
<x>325</x>
<y>200</y>
<id>2</id>
<alignment>0</alignment>
<tabsequence>110</tabsequence>
<border>5</border>
<color>255</color>
<x>154</x>
<y>155</y>
<height>20</height>
<width>106</width>
<width>93</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date_t</name>
<name>cadre_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>5</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
<color>67108864</color>
</background>
</TextObject>
<ColumnObject>
</ColumnObject>
<TextObject>
<band>Detail</band>
<id>9</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>434</x>
<y>201</y>
<alignment>1</alignment>
<text>Cadre Code:</text>
<border>0</border>
<color>0</color>
<x>45</x>
<y>154</y>
<height>20</height>
<width>93</width>
<format>[shortdate] [time]</format>
<width>106</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date</name>
<name>cadre_code_t</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
......@@ -1064,32 +1064,30 @@
</font>
<background>
<mode>2</mode>
<color>67108864</color>
<color>79741120</color>
</background>
</ColumnObject>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>11</id>
<id>1</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<tabsequence>120</tabsequence>
<border>5</border>
<color>255</color>
<x>434</x>
<y>226</y>
<x>441</x>
<y>155</y>
<height>20</height>
<width>93</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term</name>
<name>pay_table</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>15</limit>
<limit>5</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -1108,17 +1106,17 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Chg Term:</text>
<text>Pay Tbl:</text>
<border>0</border>
<color>0</color>
<x>325</x>
<y>225</y>
<x>332</x>
<y>155</y>
<height>20</height>
<width>106</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term_t</name>
<name>pay_table_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -1140,8 +1138,8 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>148</x>
<y>226</y>
<x>154</x>
<y>215</y>
<height>20</height>
<width>93</width>
<format>[general]</format>
......@@ -1177,8 +1175,8 @@
<text>Chg User:</text>
<border>0</border>
<color>0</color>
<x>39</x>
<y>225</y>
<x>45</x>
<y>215</y>
<height>20</height>
<width>106</width>
<html>
......@@ -1202,17 +1200,17 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Pay Tbl:</text>
<text>Chg Term:</text>
<border>0</border>
<color>0</color>
<x>39</x>
<y>250</y>
<x>45</x>
<y>240</y>
<height>20</height>
<width>106</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pay_table_t</name>
<name>chg_term_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -1229,25 +1227,27 @@
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<id>11</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>148</x>
<y>250</y>
<x>154</x>
<y>241</y>
<height>20</height>
<width>93</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pay_table</name>
<name>chg_term</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<limit>15</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......
......@@ -4,7 +4,7 @@ release 9;
datawindow(units=1 timer_interval=0 color=79741120 processing=0 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no )
summary(height=3 color="536870912" )
footer(height=0 color="536870912" )
detail(height=312 color="536870912" )
detail(height=384 color="536870912" )
table(column=(type=char(5) update=yes updatewhereclause=yes key=yes name=pay_table dbname="cadre_ad.pay_table" )
column=(type=char(5) update=yes updatewhereclause=yes key=yes name=cadre_code dbname="cadre_ad.cadre_code" )
column=(type=char(5) update=yes updatewhereclause=yes key=yes name=ad_code dbname="cadre_ad.ad_code" )
......@@ -22,8 +22,8 @@ table(column=(type=char(5) update=yes updatewhereclause=yes key=yes name=pay_tab
column=(type=decimal(3) update=yes updatewhereclause=yes name=min_amt dbname="cadre_ad.min_amt" initial="0" validation="number(gettext()) >= 0 or isNull(gettext()) or trim(gettext())='.'" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=max_amt dbname="cadre_ad.max_amt" initial="0" validation="number(gettext()) >= 0 or isNull(gettext()) or trim(gettext())='.'" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"cadre_ad~" ) TABLE(NAME=~"allwdedn~" ) COLUMN(NAME=~"cadre_ad.pay_table~") COLUMN(NAME=~"cadre_ad.cadre_code~") COLUMN(NAME=~"cadre_ad.ad_code~") COLUMN(NAME=~"cadre_ad.eff_date~") COLUMN(NAME=~"cadre_ad.exp_date~") COLUMN(NAME=~"cadre_ad.type~") COLUMN(NAME=~"cadre_ad.prop_yn~") COLUMN(NAME=~"allwdedn.descr~") COLUMN(NAME=~"cadre_ad.chg_date~") COLUMN(NAME=~"cadre_ad.chg_user~") COLUMN(NAME=~"cadre_ad.chg_term~") COLUMN(NAME=~"cadre_ad.amount~") COLUMN(NAME=~"cadre_ad.min_basic~") COLUMN(NAME=~"cadre_ad.max_basic~") COLUMN(NAME=~"cadre_ad.min_amt~") COLUMN(NAME=~"cadre_ad.max_amt~") JOIN (LEFT=~"cadre_ad.ad_code~" OP =~"=~"RIGHT=~"allwdedn.ad_code~" )WHERE( EXP1 =~"cadre_ad.pay_table~" OP =~"=~" EXP2 =~":mpaytable~" LOGIC =~"and~" ) WHERE( EXP1 =~"cadre_ad.cadre_code~" OP =~"=~" EXP2 =~":mcadre~" LOGIC =~"and~" ) WHERE( EXP1 =~"cadre_ad.ad_code~" OP =~"=~" EXP2 =~":madcode~" LOGIC =~"and~" ) WHERE( EXP1 =~"cadre_ad.eff_date~" OP =~"=~" EXP2 =~":meffdate~" ) ) ARG(NAME = ~"mpaytable~" TYPE = string) ARG(NAME = ~"mcadre~" TYPE = string) ARG(NAME = ~"madcode~" TYPE = string) ARG(NAME = ~"meffdate~" TYPE = datetime) " update="CADRE_AD" updatewhere=0 updatekeyinplace=no arguments=(("mpaytable", string),("mcadre", string),("madcode", string),("meffdate", datetime)) )
groupbox(band=detail text="Others"border="2" color="0" x="14" y="179" height="110" width="552" 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="15" y="7" height="162" width="549" 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" )
groupbox(band=detail text="Basic"border="2" color="0" x="14" y="6" height="180" width="549" 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" )
groupbox(band=detail text="Others"border="2" color="0" x="14" y="197" height="85" width="552" 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" )
text(band=detail alignment="1" text="Type:" border="0" color="0" x="253" y="80" height="20" width="35" html.valueishtml="0" name=type_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Allow/Dedn Code :" border="0" color="0" x="45" y="29" height="20" width="106" html.valueishtml="0" name=ad_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=3 alignment="0" tabsequence=10 border="5" color="0" x="154" y="29" height="20" width="54" format="[general]" html.valueishtml="0" name=ad_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" )
......@@ -34,27 +34,27 @@ column(band=detail id=6 alignment="0" tabsequence=50 border="5" color="0" x="293
text(band=detail alignment="1" text="Proportionate:" border="0" color="0" x="404" y="80" height="20" width="83" html.valueishtml="0" name=prop_yn_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=7 alignment="0" tabsequence=60 border="5" color="0" x="490" y="80" height="20" width="44" format="[Yes/No]" html.valueishtml="0" name=prop_yn 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 Base Amt. :" border="0" color="0" x="332" y="104" height="20" width="106" html.valueishtml="0" name=max_basic_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=14 alignment="1" tabsequence=80 border="5" color="0" x="441" y="105" height="20" width="93" format="0.00" html.valueishtml="0" name=max_basic visible="1" edit.limit=13 edit.case=any edit.format="0.00" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=16 alignment="1" tabsequence=100 border="5" color="0" x="441" y="130" height="20" width="93" format="0.00" html.valueishtml="0" name=max_amt visible="1" edit.limit=13 edit.case=any edit.format="0.00" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=14 alignment="1" tabsequence=80 border="5" color="0" x="441" y="105" height="20" width="93" format="0.00" html.valueishtml="0" name=max_basic visible="1" edit.limit=12 edit.case=any edit.format="0.00" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=16 alignment="1" tabsequence=100 border="5" color="0" x="441" y="130" height="20" width="93" format="0.00" html.valueishtml="0" name=max_amt visible="1" edit.limit=12 edit.case=any edit.format="0.00" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Max Amt :" border="0" color="0" x="332" y="129" height="20" width="106" html.valueishtml="0" name=max_amt_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=4 alignment="0" tabsequence=20 border="5" color="0" x="154" y="55" height="20" width="93" format="[shortdate] [time]" html.valueishtml="0" name=eff_date visible="1" edit.name="datetime" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Amount :" border="0" color="0" x="45" y="80" height="20" width="106" html.valueishtml="0" name=amount_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=12 alignment="1" tabsequence=40 border="5" color="0" x="154" y="80" height="20" width="93" format="0.00" html.valueishtml="0" name=amount visible="1" edit.limit=13 edit.case=any edit.format="0.00" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=12 alignment="1" tabsequence=40 border="5" color="0" x="154" y="80" height="20" width="93" format="0.00" html.valueishtml="0" name=amount visible="1" edit.limit=12 edit.case=any edit.format="0.00" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Min Base Amt. :" border="0" color="0" x="45" y="104" height="20" width="106" html.valueishtml="0" name=min_basic_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=13 alignment="1" tabsequence=70 border="5" color="0" x="154" y="105" height="20" width="93" format="0.00" html.valueishtml="0" name=min_basic visible="1" edit.limit=13 edit.case=any edit.format="0.00" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=13 alignment="1" tabsequence=70 border="5" color="0" x="154" y="105" height="20" width="93" format="0.00" html.valueishtml="0" name=min_basic visible="1" edit.limit=12 edit.case=any edit.format="0.00" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Min Amt :" border="0" color="0" x="45" y="129" height="20" width="106" html.valueishtml="0" name=min_amt_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=15 alignment="1" tabsequence=90 border="5" color="0" x="154" y="130" height="20" width="93" format="0.00" html.valueishtml="0" name=min_amt visible="1" edit.limit=13 edit.case=any edit.format="0.00" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=15 alignment="1" tabsequence=90 border="5" color="0" x="154" y="130" height="20" width="93" format="0.00" html.valueishtml="0" name=min_amt visible="1" edit.limit=12 edit.case=any edit.format="0.00" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Effective Date :" border="0" color="0" x="44" y="55" height="20" width="106" html.valueishtml="0" name=eff_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Cadre Code:" border="0" color="0" x="39" y="200" height="20" width="106" html.valueishtml="0" name=cadre_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=32766 border="5" color="255" x="148" y="201" height="20" width="93" format="[general]" html.valueishtml="0" name=cadre_code 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="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Chg Date:" border="0" color="0" x="325" y="200" height="20" width="106" html.valueishtml="0" name=chg_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=9 alignment="0" tabsequence=32766 border="5" color="255" x="434" y="201" height="20" width="93" format="[shortdate] [time]" html.valueishtml="0" name=chg_date visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="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=11 alignment="0" tabsequence=32766 border="5" color="255" x="434" y="226" height="20" width="93" format="[general]" html.valueishtml="0" name=chg_term visible="1" edit.limit=15 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Chg Term:" border="0" color="0" x="325" y="225" height="20" width="106" html.valueishtml="0" name=chg_term_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=10 alignment="0" tabsequence=32766 border="5" color="255" x="148" y="226" height="20" width="93" format="[general]" html.valueishtml="0" name=chg_user visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Chg User:" border="0" color="0" x="39" y="225" height="20" width="106" html.valueishtml="0" name=chg_user_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Pay Tbl:" border="0" color="0" x="39" y="250" height="20" width="106" html.valueishtml="0" name=pay_table_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="5" color="255" x="148" y="250" height="20" width="93" format="[general]" html.valueishtml="0" name=pay_table visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Chg Date:" border="0" color="0" x="325" y="215" height="20" width="106" html.valueishtml="0" name=chg_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=9 alignment="0" tabsequence=32766 border="5" color="255" x="434" y="216" height="20" width="93" format="[shortdate] [time]" html.valueishtml="0" name=chg_date visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=2 alignment="0" tabsequence=110 border="5" color="255" x="154" y="155" height="20" width="93" format="[general]" html.valueishtml="0" name=cadre_code visible="1" edit.limit=5 edit.case=any 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="67108864" )
text(band=detail alignment="1" text="Cadre Code:" border="0" color="0" x="45" y="154" height="20" width="106" html.valueishtml="0" name=cadre_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=1 alignment="0" tabsequence=120 border="5" color="255" x="441" y="155" height="20" width="93" format="[general]" html.valueishtml="0" name=pay_table visible="1" edit.limit=5 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Pay Tbl:" border="0" color="0" x="332" y="155" height="20" width="106" html.valueishtml="0" name=pay_table_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=32766 border="5" color="255" x="154" y="215" height="20" width="93" format="[general]" html.valueishtml="0" name=chg_user visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Chg User:" border="0" color="0" x="45" y="215" height="20" width="106" html.valueishtml="0" name=chg_user_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Chg Term:" border="0" color="0" x="45" y="240" height="20" width="106" html.valueishtml="0" name=chg_term_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=11 alignment="0" tabsequence=32766 border="5" color="255" x="154" y="241" height="20" width="93" format="[general]" html.valueishtml="0" name=chg_term visible="1" edit.limit=15 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
......
......@@ -232,6 +232,82 @@ public class CadreAdIC extends ValidatorEJB implements CadreAdLocal,CadreAdRemot
}
}
}
else if ("cadre_code".equalsIgnoreCase(childNodeName))
{
cadreCode = checkNull(genericUtility.getColumnValue("cadre_code", dom));
if (cadreCode == null || cadreCode.trim().length() == 0)
{
errList.add("CADCODNULL");
errFields.add(childNodeName.toLowerCase());
}
else
{
sql = "select count(*) as cnt from cadre where cadre_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, cadreCode);
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)
{
errList.add("CADINVAILD");
errFields.add(childNodeName.toLowerCase());
}
}
}
else if ("pay_table".equalsIgnoreCase(childNodeName))
{
payTable = checkNull(genericUtility.getColumnValue("pay_table", dom));
if (payTable == null || payTable.trim().length() == 0)
{
errList.add("PAYTBLNULL");
errFields.add(childNodeName.toLowerCase());
}
else
{
sql = "select count(*) as cnt from Paytable where pay_table = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, payTable);
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)
{
errList.add("PAYINVAILD");
errFields.add(childNodeName.toLowerCase());
}
}
}
}
break;
}
......@@ -383,9 +459,28 @@ public class CadreAdIC extends ValidatorEJB implements CadreAdLocal,CadreAdRemot
if ("itm_default".equalsIgnoreCase(currentColumn))
{
payTable = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "pay_table");
System.out.println("payTable::::"+payTable);
if(payTable != null && payTable.trim().length() > 0 )
{
valueXmlString.append("<pay_table protect=\"1\"><![CDATA[").append(payTable).append("]]></pay_table>\r\n");
}
else
{
valueXmlString.append("<pay_table protect=\"0\"><![CDATA[").append("").append("]]></pay_table>\r\n");
}
valueXmlString.append("<pay_table ><![CDATA[").append(payTable).append("]]></pay_table>\r\n");
cadreCode = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "cadre_code");
System.out.println("cadreCode::::"+cadreCode);
if(cadreCode != null && cadreCode.trim().length() > 0 )
{
valueXmlString.append("<cadre_code protect=\"1\"><![CDATA[").append(cadreCode).append("]]></cadre_code>\r\n");
}
else
{
valueXmlString.append("<cadre_code protect=\"0\"><![CDATA[").append("").append("]]></cadre_code>\r\n");
}
valueXmlString.append("<cadre_code ><![CDATA[").append(cadreCode).append("]]></cadre_code>\r\n");
effDateStr = admCommon.getEnv("999999", "AD_EFFDATE", conn);
......
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