Commit a7bd9b0c authored by dpingle's avatar dpingle

* updated srd, src, sql and xml

grade_ad21.xml
w_grade_ad.sql
d_grade_allwdedn_edit.srd
GradeAdIC.java


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@215752 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 68c112ce
......@@ -148,10 +148,22 @@ Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERAC
--------------------------------------------------[23/12/19]End
--------------------------------------------------[27/01/20]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 ('GRDCODNULL','Empty Grade code!!','Grade 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 ('GRDINVAILD','Invaild Grade code!!','Grade code No not present in master.','E','Y',null,null,null,to_date('18-03-06','DD-MM-RR'),'TSD ','TSD ',null,null);
--------------------------------------------------[27/01/20]End
......@@ -196,38 +196,14 @@
<type>datetime</type>
</argument>
</TableDefinition>
<GroupBox>
<band>Detail</band>
<text>Others</text>
<border>2</border>
<color>0</color>
<x>8</x>
<y>179</y>
<height>115</height>
<width>556</width>
<name>gb_2</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>
</GroupBox>
<GroupBox>
<band>Detail</band>
<text>Basic</text>
<border>2</border>
<color>0</color>
<x>10</x>
<y>3</y>
<height>170</height>
<x>9</x>
<y>8</y>
<height>179</height>
<width>552</width>
<name>gb_1</name>
<visible>1</visible>
......@@ -398,7 +374,7 @@
<name>max_basic</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>14</limit>
<limit>12</limit>
<case>any</case>
<format>#######0.00</format>
<focusrectangle>no</focusrectangle>
......@@ -623,7 +599,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>
......@@ -662,7 +638,7 @@
<name>min_basic</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>14</limit>
<limit>12</limit>
<case>any</case>
<format>#######0.00</format>
<focusrectangle>no</focusrectangle>
......@@ -736,7 +712,7 @@
<name>min_amt</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>14</limit>
<limit>12</limit>
<case>any</case>
<format>#######0.00</format>
<focusrectangle>no</focusrectangle>
......@@ -915,7 +891,7 @@
<name>max_amt</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>14</limit>
<limit>12</limit>
<case>any</case>
<format>#######0.00</format>
<focusrectangle>no</focusrectangle>
......@@ -938,27 +914,25 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<id>2</id>
<alignment>0</alignment>
<tabsequence>110</tabsequence>
<border>5</border>
<color>255</color>
<x>422</x>
<y>231</y>
<x>137</x>
<y>153</y>
<height>16</height>
<width>94</width>
<width>95</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user</name>
<name>grade_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<limit>5</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -970,24 +944,52 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
<mode>1</mode>
<color>553648127</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Change User :</text>
<text>Grade Code :</text>
<border>0</border>
<color>0</color>
<x>39</x>
<y>152</y>
<height>16</height>
<width>94</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>grade_code_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Pay Table :</text>
<border>0</border>
<color>0</color>
<x>324</x>
<y>232</y>
<y>151</y>
<height>16</height>
<width>94</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user_t</name>
<name>pay_table_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -1004,34 +1006,32 @@
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<id>1</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<tabsequence>120</tabsequence>
<border>5</border>
<color>255</color>
<x>137</x>
<y>231</y>
<x>422</x>
<y>151</y>
<height>16</height>
<width>95</width>
<format>[shortdate] [time]</format>
<width>94</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date</name>
<name>pay_table</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<limit>5</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>1</family>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
......@@ -1040,21 +1040,55 @@
<color>67108864</color>
</background>
</ColumnObject>
<TextObject>
<GroupBox>
<band>Detail</band>
<alignment>1</alignment>
<text>Change Date :</text>
<border>0</border>
<text>Others</text>
<border>2</border>
<color>0</color>
<x>38</x>
<y>230</y>
<x>10</x>
<y>194</y>
<height>71</height>
<width>552</width>
<name>gb_2</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>
</GroupBox>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>422</x>
<y>216</y>
<height>16</height>
<width>94</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date_t</name>
<name>chg_user</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
......@@ -1065,23 +1099,23 @@
</font>
<background>
<mode>2</mode>
<color>79741120</color>
<color>67108864</color>
</background>
</TextObject>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Change Term :</text>
<text>Change User :</text>
<border>0</border>
<color>0</color>
<x>38</x>
<y>254</y>
<x>324</x>
<y>217</y>
<height>16</height>
<width>94</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term_t</name>
<name>chg_user_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -1098,23 +1132,23 @@
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>10</id>
<id>8</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>137</x>
<y>254</y>
<y>216</y>
<height>16</height>
<width>95</width>
<format>[general]</format>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term</name>
<name>chg_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>15</limit>
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
......@@ -1134,29 +1168,21 @@
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<TextObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>137</x>
<y>208</y>
<alignment>1</alignment>
<text>Change Date :</text>
<border>0</border>
<color>0</color>
<x>38</x>
<y>215</y>
<height>16</height>
<width>95</width>
<format>[general]</format>
<width>94</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>grade_code</name>
<name>chg_date_t</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>
......@@ -1166,24 +1192,24 @@
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
<mode>2</mode>
<color>79741120</color>
</background>
</ColumnObject>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Pay Table :</text>
<text>Change Term :</text>
<border>0</border>
<color>0</color>
<x>324</x>
<y>206</y>
<x>38</x>
<y>239</y>
<height>16</height>
<width>94</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>
......@@ -1200,32 +1226,34 @@
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<id>10</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>422</x>
<y>206</y>
<x>137</x>
<y>239</y>
<height>16</height>
<width>94</width>
<width>95</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>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
......@@ -1234,34 +1262,6 @@
<color>67108864</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Grade Code :</text>
<border>0</border>
<color>0</color>
<x>39</x>
<y>207</y>
<height>16</height>
<width>94</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>grade_code_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
</background>
</TextObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
......
......@@ -22,39 +22,39 @@ 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="grade_ad.min_amt" initial="0" validation="number(gettext()) >= 0" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=max_amt dbname="grade_ad.max_amt" initial="0" validation="number(gettext()) >= 0" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"grade_ad~" ) TABLE(NAME=~"allwdedn~" ) COLUMN(NAME=~"grade_ad.pay_table~") COLUMN(NAME=~"grade_ad.grade_code~") COLUMN(NAME=~"grade_ad.ad_code~") COLUMN(NAME=~"grade_ad.eff_date~") COLUMN(NAME=~"grade_ad.exp_date~") COLUMN(NAME=~"grade_ad.type~") COLUMN(NAME=~"grade_ad.prop_yn~") COLUMN(NAME=~"grade_ad.chg_date~") COLUMN(NAME=~"grade_ad.chg_user~") COLUMN(NAME=~"grade_ad.chg_term~") COLUMN(NAME=~"allwdedn.descr~") COLUMN(NAME=~"grade_ad.amount~") COLUMN(NAME=~"grade_ad.min_basic~") COLUMN(NAME=~"grade_ad.max_basic~") COLUMN(NAME=~"grade_ad.min_amt~") COLUMN(NAME=~"grade_ad.max_amt~") JOIN (LEFT=~"grade_ad.ad_code~" OP =~"=~"RIGHT=~"allwdedn.ad_code~" )WHERE( EXP1 =~"grade_ad.pay_table~" OP =~"=~" EXP2 =~":mpaytable~" LOGIC =~"and~" ) WHERE( EXP1 =~"grade_ad.grade_code~" OP =~"=~" EXP2 =~":mgr~" LOGIC =~"and~" ) WHERE( EXP1 =~"grade_ad.ad_code~" OP =~"=~" EXP2 =~":madcd~" LOGIC =~"and~" ) WHERE( EXP1 =~"grade_ad.eff_date~" OP =~"=~" EXP2 =~":meff_date~" ) ) ARG(NAME = ~"mpaytable~" TYPE = string) ARG(NAME = ~"mgr~" TYPE = string) ARG(NAME = ~"madcd~" TYPE = string) ARG(NAME = ~"meff_date~" TYPE = datetime) " update="GRADE_AD" updatewhere=0 updatekeyinplace=no arguments=(("mpaytable", string),("mgr", string),("madcd", string),("meff_date", datetime)) )
groupbox(band=detail text="Others"border="2" color="0" x="8" y="179" height="115" width="556" name=gb_2 visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
groupbox(band=detail text="Basic"border="2" color="0" x="10" y="3" height="170" width="552" name=gb_1 visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
groupbox(band=detail text="Basic"border="2" color="0" x="9" y="8" height="179" width="552" name=gb_1 visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=11 alignment="0" tabsequence=32766 border="5" color="255" x="188" y="26" height="16" width="328" 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="Expiry Date :" border="0" color="0" x="360" y="51" height="16" width="94" html.valueishtml="0" name=exp_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=5 alignment="0" tabsequence=30 border="5" color="0" x="457" y="51" height="17" width="59" format="[shortdate] [time]" html.valueishtml="0" name=exp_date visible="1" edit.name="datetime" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=7 alignment="0" tabsequence=60 border="5" color="0" x="475" y="77" height="16" width="41" 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" )
column(band=detail id=14 alignment="1" tabsequence=80 border="5" color="0" x="422" y="102" height="16" width="94" format="#######0.00" html.valueishtml="0" name=max_basic visible="1" edit.limit=14 edit.case=any edit.format="#######0.00" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=14 alignment="1" tabsequence=80 border="5" color="0" x="422" y="102" height="16" width="94" 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" )
text(band=detail alignment="1" text="Proportionate :" border="0" color="0" x="383" y="77" height="16" width="89" 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" )
text(band=detail alignment="1" text="Max Base Amt. :" border="0" color="0" x="318" y="102" height="16" width="100" html.valueishtml="0" name=max_basic_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Max Amt :" border="0" color="0" x="324" y="127" height="16" width="94" html.valueishtml="0" name=max_amt_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Type :" border="0" color="0" x="241" y="77" height="16" width="40" html.valueishtml="0" name=type_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=6 alignment="0" tabsequence=50 border="5" color="0" x="285" y="77" height="16" width="93" format="[general]" html.valueishtml="0" name=type 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="0" tabsequence=10 border="5" color="0" x="136" y="26" height="16" width="47" 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" )
column(band=detail id=12 alignment="1" tabsequence=40 border="5" color="0" x="136" y="77" height="16" width="95" 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=13 alignment="1" tabsequence=70 border="5" color="0" x="136" y="102" height="16" width="95" format="#######0.00" html.valueishtml="0" name=min_basic visible="1" edit.limit=14 edit.case=any edit.format="#######0.00" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=12 alignment="1" tabsequence=40 border="5" color="0" x="136" y="77" height="16" width="95" 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" )
column(band=detail id=13 alignment="1" tabsequence=70 border="5" color="0" x="136" y="102" height="16" width="95" 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" )
column(band=detail id=4 alignment="0" tabsequence=20 border="5" color="0" x="136" y="51" height="17" width="59" format="[shortdate] [time]" html.valueishtml="0" name=eff_date visible="1" edit.name="datetime" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=15 alignment="1" tabsequence=90 border="5" color="0" x="136" y="127" height="16" width="95" format="#######0.00" html.valueishtml="0" name=min_amt visible="1" edit.limit=14 edit.case=any edit.format="#######0.00" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=15 alignment="1" tabsequence=90 border="5" color="0" x="136" y="127" height="16" width="95" 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="A/D Code :" border="0" color="0" x="38" y="26" height="16" width="94" html.valueishtml="0" name=ad_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Amount :" border="0" color="0" x="38" y="77" height="16" width="94" html.valueishtml="0" name=amount_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Min Base Amt. :" border="0" color="0" x="38" y="102" height="16" width="94" 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" )
text(band=detail alignment="1" text="Effective Date :" border="0" color="0" x="38" y="51" height="16" width="94" 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="Min Amt :" border="0" color="0" x="38" y="127" height="16" width="94" 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=16 alignment="1" tabsequence=100 border="5" color="0" x="422" y="127" height="16" width="94" format="#######0.00" html.valueishtml="0" name=max_amt visible="1" edit.limit=14 edit.case=any edit.format="#######0.00" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=9 alignment="1" tabsequence=32766 border="5" color="255" x="422" y="231" height="16" width="94" 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="Change User :" border="0" color="0" x="324" y="232" height="16" width="94" 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" )
column(band=detail id=8 alignment="0" tabsequence=32766 border="5" color="255" x="137" y="231" height="16" width="95" 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" )
text(band=detail alignment="1" text="Change Date :" border="0" color="0" x="38" y="230" height="16" width="94" html.valueishtml="0" name=chg_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Change Term :" border="0" color="0" x="38" y="254" height="16" width="94" 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="137" y="254" height="16" width="95" 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" )
column(band=detail id=2 alignment="0" tabsequence=32766 border="5" color="255" x="137" y="208" height="16" width="95" format="[general]" html.valueishtml="0" name=grade_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="1" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=detail alignment="1" text="Pay Table :" border="0" color="0" x="324" y="206" height="16" width="94" 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="422" y="206" height="16" width="94" 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="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Grade Code :" border="0" color="0" x="39" y="207" height="16" width="94" html.valueishtml="0" name=grade_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=16 alignment="1" tabsequence=100 border="5" color="0" x="422" y="127" height="16" width="94" 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" )
column(band=detail id=2 alignment="0" tabsequence=110 border="5" color="255" x="137" y="153" height="16" width="95" format="[general]" html.valueishtml="0" name=grade_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="1" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=detail alignment="1" text="Grade Code :" border="0" color="0" x="39" y="152" height="16" width="94" html.valueishtml="0" name=grade_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="Pay Table :" border="0" color="0" x="324" y="151" height="16" width="94" 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=120 border="5" color="255" x="422" y="151" height="16" width="94" 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="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
groupbox(band=detail text="Others"border="2" color="0" x="10" y="194" height="71" 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="2" background.color="67108864" )
column(band=detail id=9 alignment="1" tabsequence=32766 border="5" color="255" x="422" y="216" height="16" width="94" 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="Change User :" border="0" color="0" x="324" y="217" height="16" width="94" 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" )
column(band=detail id=8 alignment="0" tabsequence=32766 border="5" color="255" x="137" y="216" height="16" width="95" 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" )
text(band=detail alignment="1" text="Change Date :" border="0" color="0" x="38" y="215" height="16" width="94" html.valueishtml="0" name=chg_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Change Term :" border="0" color="0" x="38" y="239" height="16" width="94" 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="137" y="239" height="16" width="95" 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 )
......
......@@ -220,6 +220,82 @@ public class GradeAdIC extends ValidatorEJB implements GradeAdLocal,GradeAdRemot
}
}
}
else if ("grade_code".equalsIgnoreCase(childNodeName))
{
gradeCode = checkNull(genericUtility.getColumnValue("grade_code", dom));
if (gradeCode == null || gradeCode.trim().length() == 0)
{
errList.add("GRDCODNULL");
errFields.add(childNodeName.toLowerCase());
}
else
{
sql = "select count(*) as cnt from grade where grade_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, gradeCode);
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("GRDINVAILD");
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;
}
......@@ -373,9 +449,28 @@ public class GradeAdIC extends ValidatorEJB implements GradeAdLocal,GradeAdRemot
if ("itm_default".equalsIgnoreCase(currentColumn))
{
payTable = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "pay_table");
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");
gradeCode = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "grade_code");
System.out.println("gradeCode::::"+gradeCode);
if(gradeCode != null && gradeCode.trim().length() > 0 )
{
valueXmlString.append("<grade_code protect=\"1\"><![CDATA[").append(gradeCode).append("]]></grade_code>\r\n");
}
else
{
valueXmlString.append("<grade_code protect=\"0\"><![CDATA[").append("").append("]]></grade_code>\r\n");
}
valueXmlString.append("<pay_table ><![CDATA[").append(payTable).append("]]></pay_table>\r\n");
valueXmlString.append("<grade_code ><![CDATA[").append(gradeCode).append("]]></grade_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