Commit a4b834a7 authored by dpingle's avatar dpingle

* changes done in ald slab on [30/08/19]

ald_slab21.xml
w_ald_slab.sql
d_aldslab_brow.srd
d_aldslab_edit.srd
AldSlabIC.java


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@206590 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 02e6b897
......@@ -49,7 +49,7 @@ Insert into SYSTEM_EVENT_SERVICES (SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVIC
---------------------------------------------------- SYSTEM_SERVICE_ARGS
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_default_ejb',1,'COMPONENT_TYPE','I',null,'S',null,null,null,null,'JB');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_default_ejb',2,'COMPONENT_NAME','I',null,'S',null,null,null,null,);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_default_ejb',2,'COMPONENT_NAME','I',null,'S',null,null,null,null,null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_default_ejb',3,'XML_DATA','I',null,'S',null,null,null,null,null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_default_ejb',4,'XML_DATA_1','I',null,'S',null,null,null,null,null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_default_ejb',5,'XML_DATA_ALL','I',null,'S',null,null,null,null,null);
......@@ -104,3 +104,59 @@ Insert into MESSAGES (MSG_NO,MSG_STR,MSG_DESCR,MSG_TYPE,MSG_OPT,MSG_TIME,ALARM,E
----------------------------------------------------- Dipesh [30/08/2019] End
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 ('INVLVDATA1','Empty SlabsNo!!','The SlabsNO cannot Blank','E','Y',null,null,null,to_date('24-03-06','DD-MM-RR'),'BASE ','01BASE215 ',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 ('INVLVDATA2','Invalid SlabsNO','The SlabsNO Already Existed in AD-Slabs','E','Y',null,null,null,to_date('24-03-06','DD-MM-RR'),'BASE ','01BASE215 ',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 ('VXMXAMT1','Negative Data Entered !','Negative Data can not insert in Minimum Base amount.','E','Y',null,null,null,to_date('22-10-00','DD-MM-RR'),'SUN ','HDP ',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 ('VXMXAMT2','Negative Data Entered !','Negative Data can not insert in maximum Base amount.','E','Y',null,null,null,to_date('22-10-00','DD-MM-RR'),'SUN ','HDP ',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 ('VXMXAMT3','Negative Data Entered !','Negative Data can not insert in Minimum amount.','E','Y',null,null,null,to_date('22-10-00','DD-MM-RR'),'SUN ','HDP ',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 ('VXMXAMT4','Negative Data Entered !','Negative Data can not insert in maximum amount.','E','Y',null,null,null,to_date('22-10-00','DD-MM-RR'),'SUN ','HDP ',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
('VXMXAMT5','Invalid Data Entered','Minimum amount can not be greater than maximum amount','E','Y',null,null,null,to_date('22-10-00','DD-MM-RR'),'SUN ','HDP ',null,null);
update MESSAGES set MSG_STR='Invalid Data Entered !',MSG_DESCR='Minimum Base amount can not be greater than maximum Base amount.' where msg_no='VXMXAMT';
Insert into GENMST (FLD_NAME,MOD_NAME,DESCR,ERROR_CD,BLANK_OPT,FLD_TYPE,FLD_MIN,FLD_MAX,VAL_TYPE,CHG_DATE,CHG_USER,CHG_TERM,VAL_TABLE,SQL_INPUT,FLD_WIDTH,UDF_USAGE_1,UDF_USAGE_2,UDF_USAGE_3,VAL_STAGE,OBJ_NAME,FORM_NO,ACTION)
values ('AMOUNT','W_ALD_SLAB','Validation for max time','VMNUMBER2 ','N','C','select ( case when ? < 0 then 1 else 0 end ) from dual','0','Q',to_date('16-10-08','DD-MM-RR'),'VIKAS ','08ANMISVIKAS ',null,':0.AMOUNT',5,null,null,null,null,null,'X','edit');
Insert into POPHELP (FIELD_NAME,MOD_NAME,SQL_STR,DW_OBJECT,MSG_TITLE,WIDTH,HEIGHT,CHG_DATE,CHG_USER,CHG_TERM,DIST_OPT,FILTER_STRING,SQL_INPUT,DEFAULT_COL,POP_ALIGN,QUERY_MODE,PAGE_CONTEXT,POPHELP_COLS,POPHELP_SOURCE,MULTI_OPT,HELP_OPTION,POPUP_XSL_NAME,AUTO_FILL_LEN,THUMB_OBJ,THUMB_IMAGE_COL,THUMB_ALT_COL,AUTO_MIN_LENGTH,OBJ_NAME__DS,DATA_MODEL_NAME,VALIDATE_DATA,ITEM_CHANGE,MSG_NO,FILTER_EXPR,LAYOUT)
values ('AD_CODE','W_ALD_SLAB','SELECT AD_CODE, DESCR FROM ALLWDEDN',null,'Allowance/Deduction',null,null,to_date('22-10-00','DD-MM-RR'),'SUN ','HDP ','1',null,null,null,null,null,null,null,null,null,'2',null,'3','AdCodeImages','ad_code','descr','2 ',null,null,null,null,null,null,null);
delete OBJ_ACTIONS WHERE OBJ_NAME ='ald_slab' and line_no=3;
delete OBJ_ACTIONS WHERE OBJ_NAME ='ald_slab' and line_no=21;
delete OBJ_ACTIONS WHERE OBJ_NAME ='ald_slab' 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) values ('ald_slab',39,'ibase/resource/objaction/exprtExl.svg','Export To Excel','a','a','B','Export2XLS','1',null,null,'S',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,'2',null,1);
update obj_actions set rec_specific=null where obj_name='ald_slab' and line_no=39;
update TRANSETUP set ref_ser='E-LOAN' where TRAN_WINDOW='w_ald_slab';
----------------------------------------------------- Dipesh [30/08/2019] End
......@@ -39,7 +39,7 @@
<color>536870912</color>
</Footer>
<Detail>
<height>289</height>
<height>385</height>
<color>536870912</color>
</Detail>
<TableDefinition>
......@@ -47,6 +47,7 @@
<type size="5">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>ad_code</name>
<dbname>ad_slabs.ad_code</dbname>
</table_column>
......@@ -54,6 +55,7 @@
<type size="6">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>slab_no</name>
<dbname>ad_slabs.slab_no</dbname>
</table_column>
......@@ -165,6 +167,9 @@
<dbname>allwdedn.descr</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;ad_slabs&quot; ) TABLE(NAME=&quot;allwdedn&quot; ) COLUMN(NAME=&quot;ad_slabs.ad_code&quot;) COLUMN(NAME=&quot;ad_slabs.slab_no&quot;) COLUMN(NAME=&quot;ad_slabs.eff_date&quot;) COLUMN(NAME=&quot;ad_slabs.exp_date&quot;) COLUMN(NAME=&quot;ad_slabs.type&quot;) COLUMN(NAME=&quot;ad_slabs.chg_date&quot;) COLUMN(NAME=&quot;ad_slabs.chg_user&quot;) COLUMN(NAME=&quot;ad_slabs.chg_term&quot;) COLUMN(NAME=&quot;ad_slabs.min_base_amt&quot;) COLUMN(NAME=&quot;ad_slabs.max_base_amt&quot;) COLUMN(NAME=&quot;ad_slabs.amount&quot;) COLUMN(NAME=&quot;ad_slabs.min_amt&quot;) COLUMN(NAME=&quot;ad_slabs.max_amt&quot;) COLUMN(NAME=&quot;ad_slabs.extra_1&quot;) COLUMN(NAME=&quot;ad_slabs.extra_2&quot;) COLUMN(NAME=&quot;allwdedn.descr&quot;) JOIN (LEFT=&quot;allwdedn.ad_code&quot; OP =&quot;=&quot;RIGHT=&quot;ad_slabs.ad_code&quot; )WHERE( EXP1 =&quot;ad_slabs.ad_code&quot; OP =&quot;=&quot; EXP2 =&quot;:madcode&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;ad_slabs.slab_no&quot; OP =&quot;=&quot; EXP2 =&quot;:mslabno&quot; ) ) ARG(NAME = &quot;madcode&quot; TYPE = string) ARG(NAME = &quot;mslabno&quot; TYPE = string) </retrieve>
<update>AD_SLABS</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
<argument>
<name>madcode</name>
<type>string</type>
......@@ -181,7 +186,7 @@
<color>0</color>
<x>13</x>
<y>12</y>
<height>227</height>
<height>177</height>
<width>504</width>
<name>gb_1</name>
<visible>1</visible>
......@@ -990,16 +995,76 @@
<color>79741120</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>16</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>429</x>
<y>39</y>
<height>16</height>
<width>73</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>allwdedn_descr</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>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<GroupBox>
<band>Detail</band>
<text>Others</text>
<border>2</border>
<color>33554432</color>
<x>12</x>
<y>195</y>
<height>49</height>
<width>508</width>
<name>gb_2</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
</background>
</GroupBox>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Chg Date :</text>
<border>0</border>
<color>0</color>
<x>43</x>
<y>179</y>
<x>17</x>
<y>219</y>
<height>16</height>
<width>95</width>
<width>75</width>
<html>
<valueishtml>0</valueishtml>
</html>
......@@ -1025,10 +1090,10 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>142</x>
<y>180</y>
<x>97</x>
<y>219</y>
<height>17</height>
<width>82</width>
<width>50</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
......@@ -1062,10 +1127,10 @@
<text>Chg User :</text>
<border>0</border>
<color>0</color>
<x>257</x>
<y>179</y>
<x>199</x>
<y>219</y>
<height>16</height>
<width>95</width>
<width>75</width>
<html>
<valueishtml>0</valueishtml>
</html>
......@@ -1091,10 +1156,10 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>356</x>
<y>180</y>
<x>280</x>
<y>219</y>
<height>17</height>
<width>82</width>
<width>50</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
......@@ -1122,54 +1187,16 @@
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>142</x>
<y>202</y>
<height>17</height>
<width>82</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term</name>
<visible>1</visible>
<EditStyle style="edit">
<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>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Chg Term:</text>
<border>0</border>
<color>0</color>
<x>43</x>
<y>201</y>
<x>368</x>
<y>219</y>
<height>17</height>
<width>95</width>
<width>75</width>
<html>
<valueishtml>0</valueishtml>
</html>
......@@ -1190,20 +1217,29 @@
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>16</id>
<id>8</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>429</x>
<y>39</y>
<height>16</height>
<width>73</width>
<x>448</x>
<y>219</y>
<height>17</height>
<width>50</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>allwdedn_descr</name>
<name>chg_term</name>
<visible>1</visible>
<EditStyle style="edit">
<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>
......
$PBExportHeader$d_aldslab_edit.srd
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=0 color="536870912" )
summary(height=92 color="536870912" )
footer(height=0 color="536870912" )
detail(height=193 color="536870912" )
detail(height=385 color="536870912" )
table(column=(type=char(5) update=yes updatewhereclause=yes key=yes name=ad_code dbname="ad_slabs.ad_code" )
column=(type=char(6) update=yes updatewhereclause=yes key=yes name=slab_no dbname="ad_slabs.slab_no" )
column=(type=datetime update=yes updatewhereclause=yes name=eff_date dbname="ad_slabs.eff_date" )
......@@ -11,7 +11,7 @@ table(column=(type=char(5) update=yes updatewhereclause=yes key=yes name=ad_code
column=(type=char(1) update=yes updatewhereclause=yes name=type dbname="ad_slabs.type" initial="F" values="Fixed F/Percentage P/" )
column=(type=datetime update=yes updatewhereclause=yes name=chg_date dbname="ad_slabs.chg_date" )
column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="ad_slabs.chg_user" )
column=(type=char(15) update=yes updatewhereclause=yes name=chg_term dbname="ad_slabs.chg_term" )
column=(type=char(300) update=yes updatewhereclause=yes name=chg_term dbname="ad_slabs.chg_term" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=min_base_amt dbname="ad_slabs.min_base_amt" initial="0" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=max_base_amt dbname="ad_slabs.max_base_amt" initial="0" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=amount dbname="ad_slabs.amount" initial="0" )
......@@ -19,37 +19,41 @@ table(column=(type=char(5) update=yes updatewhereclause=yes key=yes name=ad_code
column=(type=decimal(3) update=yes updatewhereclause=yes name=max_amt dbname="ad_slabs.max_amt" initial="0" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=extra_1 dbname="ad_slabs.extra_1" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=extra_2 dbname="ad_slabs.extra_2" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"ad_slabs~" ) COLUMN(NAME=~"ad_slabs.ad_code~") COLUMN(NAME=~"ad_slabs.slab_no~") COLUMN(NAME=~"ad_slabs.eff_date~") COLUMN(NAME=~"ad_slabs.exp_date~") COLUMN(NAME=~"ad_slabs.type~") COLUMN(NAME=~"ad_slabs.chg_date~") COLUMN(NAME=~"ad_slabs.chg_user~") COLUMN(NAME=~"ad_slabs.chg_term~") COLUMN(NAME=~"ad_slabs.min_base_amt~") COLUMN(NAME=~"ad_slabs.max_base_amt~") COLUMN(NAME=~"ad_slabs.amount~") COLUMN(NAME=~"ad_slabs.min_amt~") COLUMN(NAME=~"ad_slabs.max_amt~") COLUMN(NAME=~"ad_slabs.extra_1~") COLUMN(NAME=~"ad_slabs.extra_2~")WHERE( EXP1 =~"ad_slabs.ad_code~" OP =~"=~" EXP2 =~":madcode~" LOGIC =~"and~" ) WHERE( EXP1 =~"ad_slabs.slab_no~" OP =~"=~" EXP2 =~":mslabno~" ) ) ARG(NAME = ~"madcode~" TYPE = string) ARG(NAME = ~"mslabno~" TYPE = string) " update="AD_SLABS" updatewhere=0 updatekeyinplace=no arguments=(("madcode", string),("mslabno", string)) )
text(band=detail alignment="1" text="Chg Term:" border="0" color="0" x="11" y="170" height="17" width="95" 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=8 alignment="0" tabsequence=32766 border="5" color="255" x="110" y="171" height="17" width="82" 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="Slab No :" border="0" color="0" x="11" y="8" height="17" width="95" html.valueishtml="0" name=slab_no_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Eff. Date :" border="0" color="0" x="11" y="32" height="17" width="95" 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. Base Amt :" border="0" color="0" x="11" y="54" height="17" width="95" html.valueishtml="0" name=min_base_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="Amount :" border="0" color="0" x="11" y="78" height="17" width="95" 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. Amount :" border="0" color="0" x="11" y="102" height="17" width="95" 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" )
text(band=detail alignment="1" text="Extra 1 :" border="0" color="0" x="11" y="126" height="17" width="95" html.valueishtml="0" name=extra_1_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 Date :" border="0" color="0" x="11" y="148" height="16" width="95" 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=2 alignment="0" tabsequence=10 border="5" color="0" x="110" y="9" height="17" width="50" format="[general]" html.valueishtml="0" name=slab_no visible="1" edit.limit=6 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=3 alignment="0" tabsequence=20 border="5" color="0" x="110" y="33" height="17" width="82" 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=9 alignment="1" tabsequence=40 border="5" color="0" x="110" y="55" height="17" width="82" format="#########0.00" html.valueishtml="0" name=min_base_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=11 alignment="1" tabsequence=60 border="5" color="0" x="110" y="79" height="17" width="82" 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=80 border="5" color="0" x="110" y="103" height="17" width="82" 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=14 alignment="1" tabsequence=100 border="5" color="0" x="110" y="127" height="17" width="82" format="#########.###" html.valueishtml="0" name=extra_1 visible="1" edit.limit=13 edit.case=any edit.format="#########.###" 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=6 alignment="0" tabsequence=32766 border="5" color="255" x="110" y="149" height="17" width="82" 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=1 alignment="0" tabsequence=32766 border="5" color="255" x="342" y="9" height="17" width="64" format="[general]" html.valueishtml="0" name=ad_code visible="1" edit.limit=5 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=4 alignment="0" tabsequence=30 border="5" color="0" x="324" y="33" height="17" width="82" 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=10 alignment="1" tabsequence=50 border="5" color="0" x="324" y="55" height="17" width="82" format="#########0.00" html.valueishtml="0" name=max_base_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=5 alignment="0" tabsequence=70 border="5" color="0" x="324" y="79" height="17" width="82" format="[general]" html.valueishtml="0" name=type tag="Fixed or percentage" 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=13 alignment="1" tabsequence=90 border="5" color="0" x="324" y="103" height="17" width="82" 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=15 alignment="1" tabsequence=110 border="5" color="0" x="324" y="127" height="17" width="82" format="#########.###" html.valueishtml="0" name=extra_2 visible="1" edit.limit=13 edit.case=any edit.format="#########.###" 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=7 alignment="0" tabsequence=32766 border="5" color="255" x="324" y="149" height="17" width="82" 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="Ad Code :" border="0" color="0" x="241" y="8" height="17" width="95" 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="Exp. Date :" border="0" color="0" x="225" y="32" height="17" width="95" 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" )
text(band=detail alignment="1" text="Max. Base Amt :" border="0" color="0" x="225" y="54" height="17" width="95" html.valueishtml="0" name=max_base_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="225" y="78" height="17" width="95" 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="Max. Amount :" border="0" color="0" x="225" y="102" height="17" width="95" 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="Extra 2 :" border="0" color="0" x="225" y="126" height="17" width="95" html.valueishtml="0" name=extra_2_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 User :" border="0" color="0" x="225" y="148" height="16" width="95" 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=(type=char(40) updatewhereclause=yes name=allwdedn_descr dbname="allwdedn.descr" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"ad_slabs~" ) TABLE(NAME=~"allwdedn~" ) COLUMN(NAME=~"ad_slabs.ad_code~") COLUMN(NAME=~"ad_slabs.slab_no~") COLUMN(NAME=~"ad_slabs.eff_date~") COLUMN(NAME=~"ad_slabs.exp_date~") COLUMN(NAME=~"ad_slabs.type~") COLUMN(NAME=~"ad_slabs.chg_date~") COLUMN(NAME=~"ad_slabs.chg_user~") COLUMN(NAME=~"ad_slabs.chg_term~") COLUMN(NAME=~"ad_slabs.min_base_amt~") COLUMN(NAME=~"ad_slabs.max_base_amt~") COLUMN(NAME=~"ad_slabs.amount~") COLUMN(NAME=~"ad_slabs.min_amt~") COLUMN(NAME=~"ad_slabs.max_amt~") COLUMN(NAME=~"ad_slabs.extra_1~") COLUMN(NAME=~"ad_slabs.extra_2~") COLUMN(NAME=~"allwdedn.descr~") JOIN (LEFT=~"allwdedn.ad_code~" OP =~"=~"RIGHT=~"ad_slabs.ad_code~" )WHERE( EXP1 =~"ad_slabs.ad_code~" OP =~"=~" EXP2 =~":madcode~" LOGIC =~"and~" ) WHERE( EXP1 =~"ad_slabs.slab_no~" OP =~"=~" EXP2 =~":mslabno~" ) ) ARG(NAME = ~"madcode~" TYPE = string) ARG(NAME = ~"mslabno~" TYPE = string) " update="AD_SLABS" updatewhere=0 updatekeyinplace=no arguments=(("madcode", string),("mslabno", string)) )
groupbox(band=detail text="Personal"border="2" color="0" x="13" y="12" height="177" width="504" 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="Slab No :" border="0" color="0" x="42" y="39" height="17" width="95" html.valueishtml="0" name=slab_no_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=2 alignment="0" tabsequence=10 border="5" color="0" x="142" y="40" height="17" width="50" format="[general]" html.valueishtml="0" name=slab_no visible="1" edit.limit=6 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="Ad Code :" border="0" color="0" x="257" y="40" height="17" width="95" 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=1 alignment="0" tabsequence=32766 border="5" color="255" x="358" y="39" height="17" width="64" format="[general]" html.valueishtml="0" name=ad_code visible="1" edit.limit=5 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=4 alignment="0" tabsequence=30 border="5" color="0" x="356" y="64" height="17" width="82" 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" )
text(band=detail alignment="1" text="Exp. Date :" border="0" color="0" x="257" y="63" height="17" width="95" 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=3 alignment="0" tabsequence=20 border="5" color="0" x="142" y="64" height="17" width="82" 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="Eff. Date :" border="0" color="0" x="43" y="63" height="17" width="95" 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. Base Amt :" border="0" color="0" x="43" y="85" height="17" width="95" html.valueishtml="0" name=min_base_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=9 alignment="1" tabsequence=40 border="5" color="0" x="142" y="86" height="17" width="82" format="#########0.00" html.valueishtml="0" name=min_base_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" )
text(band=detail alignment="1" text="Max. Base Amt :" border="0" color="0" x="257" y="85" height="17" width="95" html.valueishtml="0" name=max_base_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=10 alignment="1" tabsequence=50 border="5" color="0" x="356" y="86" height="17" width="82" format="#########0.00" html.valueishtml="0" name=max_base_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=5 alignment="0" tabsequence=70 border="5" color="0" x="356" y="110" height="17" width="82" format="[general]" html.valueishtml="0" name=type tag="Fixed or percentage" visible="1" ddlb.limit=1 ddlb.allowedit=no ddlb.case=any ddlb.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Type :" border="0" color="0" x="257" y="109" height="17" width="95" 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=11 alignment="1" tabsequence=60 border="5" color="0" x="142" y="110" height="17" width="82" 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" )
text(band=detail alignment="1" text="Amount :" border="0" color="0" x="42" y="109" height="17" width="95" 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. Amount :" border="0" color="0" x="43" y="133" height="17" width="95" 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=12 alignment="1" tabsequence=80 border="5" color="0" x="142" y="134" height="17" width="82" 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" )
text(band=detail alignment="1" text="Max. Amount :" border="0" color="0" x="257" y="133" height="17" width="95" 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" )
column(band=detail id=13 alignment="1" tabsequence=90 border="5" color="0" x="356" y="134" height="17" width="82" 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=15 alignment="1" tabsequence=110 border="5" color="0" x="356" y="158" height="17" width="82" format="#########.###" html.valueishtml="0" name=extra_2 visible="1" edit.limit=13 edit.case=any edit.format="#########.###" 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="Extra 2 :" border="0" color="0" x="256" y="158" height="17" width="95" html.valueishtml="0" name=extra_2_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=100 border="5" color="0" x="142" y="158" height="17" width="82" format="#########.###" html.valueishtml="0" name=extra_1 visible="1" edit.limit=13 edit.case=any edit.format="#########.###" 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="Extra 1 :" border="0" color="0" x="43" y="157" height="17" width="95" html.valueishtml="0" name=extra_1_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="0" tabsequence=32766 border="5" color="255" x="429" y="39" height="16" width="73" 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="67108864" )
groupbox(band=detail text="Others"border="2" color="33554432" x="12" y="195" height="49" width="508" name=gb_2 visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=detail alignment="1" text="Chg Date :" border="0" color="0" x="17" y="219" height="16" width="75" html.valueishtml="0" name=chg_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=6 alignment="0" tabsequence=32766 border="5" color="255" x="97" y="219" height="17" width="50" 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="Chg User :" border="0" color="0" x="199" y="219" height="16" width="75" html.valueishtml="0" name=chg_user_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=7 alignment="0" tabsequence=32766 border="5" color="255" x="280" y="219" height="17" width="50" 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 Term:" border="0" color="0" x="368" y="219" height="17" width="75" html.valueishtml="0" name=chg_term_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=8 alignment="0" tabsequence=32766 border="5" color="255" x="448" y="219" height="17" width="50" 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 )
......
......@@ -82,6 +82,7 @@ public class AldSlabIC extends ValidatorEJB implements AldSlabLocal,AldSlabRemot
String maxAmtStr = "";
String minBaseAmtStr = "";
String maxBaseAmtStr = "";
String slabNo = "";
int currentFormNo = 0;
int noOfChilds = 0;
int cnt = 0;
......@@ -143,7 +144,43 @@ public class AldSlabIC extends ValidatorEJB implements AldSlabLocal,AldSlabRemot
System.out.println("childNodeName.editFlag." + childNodeName + "" + editFlag);
System.out.println("@V@ Edit flag :- [" + editFlag + "");
if ("ad_code".equalsIgnoreCase(childNodeName))
if ("slab_no".equalsIgnoreCase(childNodeName))
{
slabNo = checkNull(genericUtility.getColumnValue("slab_no", dom));
if (slabNo == null || slabNo.trim().length() == 0)
{
errList.add("INVLVDATA1");
errFields.add(childNodeName.toLowerCase());
}
else
{
sql = "select count(*) as cnt from ad_slabs where slab_no = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, slabNo);
rs = pstmt.executeQuery();
if (rs.next())
{
cnt = rs.getInt("cnt");
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(cnt > 0 && !"E".equalsIgnoreCase(editFlag))
{
errList.add("INVLVDATA2");
errFields.add(childNodeName.toLowerCase());
}
}
}
else if ("ad_code".equalsIgnoreCase(childNodeName))
{
adCode = checkNull(genericUtility.getColumnValue("ad_code", dom));
sql = "select count(*) as cnt from allwdedn where ad_code = ?";
......@@ -182,7 +219,7 @@ public class AldSlabIC extends ValidatorEJB implements AldSlabLocal,AldSlabRemot
{
Date effDate = sdf.parse( effDateStr );
Date expDate = sdf.parse( expDateStr );
if(effDate.after(expDate))
if(effDate.before(expDate))
{
errList.add("VMEXPDATE");
errFields.add(childNodeName.toLowerCase());
......@@ -212,9 +249,19 @@ public class AldSlabIC extends ValidatorEJB implements AldSlabLocal,AldSlabRemot
{
maxAmt = 0;
}
if(minAmt < 0 )
{
errList.add("VXMXAMT3");
errFields.add(childNodeName.toLowerCase());
}
if(maxAmt < 0 )
{
errList.add("VXMXAMT4");
errFields.add(childNodeName.toLowerCase());
}
if(minAmt > maxAmt)
{
errList.add("VXMXAMT");
errList.add("VXMXAMT5");
errFields.add(childNodeName.toLowerCase());
}
}
......@@ -239,6 +286,16 @@ public class AldSlabIC extends ValidatorEJB implements AldSlabLocal,AldSlabRemot
{
maxBaseAmt = 0;
}
if(minBaseAmt < 0 )
{
errList.add("VXMXAMT1");
errFields.add(childNodeName.toLowerCase());
}
if(maxBaseAmt < 0 )
{
errList.add("VXMXAMT2");
errFields.add(childNodeName.toLowerCase());
}
if(minBaseAmt > maxBaseAmt)
{
errList.add("VXMXAMT");
......@@ -395,6 +452,30 @@ public class AldSlabIC extends ValidatorEJB implements AldSlabLocal,AldSlabRemot
{
adCode = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "ad_code");
valueXmlString.append("<ad_code ><![CDATA[").append(adCode).append("]]></ad_code>\r\n");
if(adCode != null && adCode.trim().length() > 0)
{
sql = " Select descr as mdescr from allwdedn where ad_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, adCode);
rs = pstmt.executeQuery();
if (rs.next())
{
descr = rs.getString("mdescr");
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
valueXmlString.append("<allwdedn_descr ><![CDATA[").append(descr).append("]]></allwdedn_descr>\r\n");
}
valueXmlString.append("<eff_date ><![CDATA[").append(todayStr).append("]]></eff_date>\r\n");
valueXmlString.append("<exp_date ><![CDATA[").append(todayStr).append("]]></exp_date>\r\n");
......
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