Commit 51e2d846 authored by dpingle's avatar dpingle

* updated sql , srd , xml and src file

loanscheme_grade11.xml
loanscheme_grade21.xml
w_loanscheme_grade.sql
d_loanscheme_gra_brow.srd
d_loanscheme_gra_edit.srd
GradeWiseLoanSchemeIC.java


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@213593 ce508802-f39f-4f6c-b175-0d175dae99d5
parent ce159f34
......@@ -115,3 +115,31 @@ Insert into POPHELP (FIELD_NAME,MOD_NAME,SQL_STR,DW_OBJECT,MSG_TITLE,WIDTH,HEIGH
values ('GRADE_CODE','W_LOANSCHEME_GRADE','SELECT GRADE_CODE,DESCR FROM GRADE',null,'Grades',0,0,to_date('27-05-00','DD-MM-RR'),'SUN ','CLIENT1 ','0',null,null,null,null,null,null,null,null,null,'2',null,'3','GradeImages','grade_code','descr','2 ',null,null,null,null,null,null,null);
------------------------------------------------[16/12/19]Start
update obj_actions set IMAGE='ibase/resource/objaction/add.svg', DISPLAY_MODE=2 where OBJ_NAME='loanscheme_grade' and LINE_NO=1;
update obj_actions set IMAGE='ibase/resource/objaction/edit.svg', DISPLAY_MODE=2 where OBJ_NAME='loanscheme_grade' and LINE_NO=2;
update obj_actions set DISPLAY_MODE=2 , Rights_Char='X', title='View Audit', SHOW_IN_PANEL=1 where OBJ_NAME='loanscheme_grade' and LINE_NO =21;
update obj_actions set IMAGE='ibase/resource/objaction/exprtExl.svg',DESCRIPTION='Export To Excel',SERVICE_CODE='a',INTERACTIVE='a',RIGHTS_CHAR='B',TITLE='Export2XLS',ACTION_TYPE='S', DISPLAY_MODE=1 where OBJ_NAME='loanscheme_grade' 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 ('loanscheme_grade',3,'ibase/resource/objaction/edit.svg','Editing Existing Record','a','a','E','Edit','2',null,null,'S',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,'2',null,null);
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 ('loanscheme_grade',4,'ibase/resource/objaction/add.svg','Adding New','a','a','A','Add','2',null,null,'S',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,'2',null,null);
update obj_forms set disp_metadata=
'<html>
<span style="white-space: normal !important; word-break: break-word; "> {grade_descr} <b>({grade_code})</b> <br>
Scheme No: <b> {scheme_no} </b> , Interest Term: <b>{int_term}</b> </b>
</span>
<br/> <span style="float:right;"></span>
</html>' where win_name='w_loanscheme_grade';
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 ('VMGRA2','Already exists!!','Grade code is Already exists against this Scheme No in Loan Scheme grade table','E','Y',null,null,null,to_date('06-05-09','DD-MM-RR'),'VISHAL ','VISHAL ',null,null);
------------------------------------------------[16/12/19]End
......@@ -86,6 +86,7 @@
</table_column>
<table_column>
<type size="5">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>int_term</name>
<dbname>loan_scheme_grade.int_term</dbname>
......@@ -111,25 +112,35 @@
<name>nvo_no</name>
<dbname>loan_scheme_grade.nvo_no</dbname>
</table_column>
<table_column>
<type>datetime</type>
<updatewhereclause>yes</updatewhereclause>
<name>chg_date</name>
<dbname>loan_scheme_grade.chg_date</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_user</name>
<dbname>loan_scheme_grade.chg_user</dbname>
</table_column>
<table_column>
<type size="300">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_term</name>
<dbname>loan_scheme_grade.chg_term</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;loan_scheme_grade&quot; ) TABLE(NAME=&quot;grade&quot; ) COLUMN(NAME=&quot;loan_scheme_grade.scheme_no&quot;) COLUMN(NAME=&quot;loan_scheme_grade.grade_code&quot;) COLUMN(NAME=&quot;grade.descr&quot;) COLUMN(NAME=&quot;loan_scheme_grade.min_amt&quot;) COLUMN(NAME=&quot;loan_scheme_grade.max_amt&quot;) COLUMN(NAME=&quot;loan_scheme_grade.int_term&quot;) COLUMN(NAME=&quot;loan_scheme_grade.interest&quot;) COLUMN(NAME=&quot;loan_scheme_grade.term&quot;) COLUMN(NAME=&quot;loan_scheme_grade.nvo_no&quot;) COLUMN(NAME=&quot;loan_scheme_grade.chg_date&quot;) COLUMN(NAME=&quot;loan_scheme_grade.chg_user&quot;) COLUMN(NAME=&quot;loan_scheme_grade.chg_term&quot;) JOIN (LEFT=&quot;loan_scheme_grade.grade_code&quot; OP =&quot;=&quot;RIGHT=&quot;grade.grade_code&quot; )WHERE( EXP1 =&quot;loan_scheme_grade.scheme_no&quot; OP =&quot;=&quot; EXP2 =&quot;:scheme_no&quot; ) ) ARG(NAME = &quot;scheme_no&quot; TYPE = string) </retrieve>
<table_column>
<type size="300">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>udf_str1</name>
<dbname>loan_scheme_grade.udf_str1</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_date</name>
<dbname>loan_scheme_grade.chg_date</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;loan_scheme_grade&quot; ) TABLE(NAME=&quot;grade&quot; ) COLUMN(NAME=&quot;loan_scheme_grade.scheme_no&quot;) COLUMN(NAME=&quot;loan_scheme_grade.grade_code&quot;) COLUMN(NAME=&quot;grade.descr&quot;) COLUMN(NAME=&quot;loan_scheme_grade.min_amt&quot;) COLUMN(NAME=&quot;loan_scheme_grade.max_amt&quot;) COLUMN(NAME=&quot;loan_scheme_grade.int_term&quot;) COLUMN(NAME=&quot;loan_scheme_grade.interest&quot;) COLUMN(NAME=&quot;loan_scheme_grade.term&quot;) COLUMN(NAME=&quot;loan_scheme_grade.nvo_no&quot;) COLUMN(NAME=&quot;loan_scheme_grade.chg_user&quot;) COLUMN(NAME=&quot;loan_scheme_grade.chg_term&quot;) COLUMN(NAME=&quot;loan_scheme_grade.udf_str1&quot;) COLUMN(NAME=&quot;loan_scheme_grade.chg_date&quot;) JOIN (LEFT=&quot;loan_scheme_grade.grade_code&quot; OP =&quot;=&quot;RIGHT=&quot;grade.grade_code&quot; )WHERE( EXP1 =&quot;loan_scheme_grade.scheme_no&quot; OP =&quot;=&quot; EXP2 =&quot;:scheme_no&quot; ) ) ARG(NAME = &quot;scheme_no&quot; TYPE = string) </retrieve>
<update>LOAN_SCHEME_GRADE</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
......@@ -147,7 +158,7 @@
<x>640</x>
<y>3</y>
<height>16</height>
<width>24</width>
<width>86</width>
<html>
<valueishtml>0</valueishtml>
</html>
......@@ -393,17 +404,17 @@
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Change date</text>
<text>Change user</text>
<border>6</border>
<color>0</color>
<x>666</x>
<x>860</x>
<y>3</y>
<height>16</height>
<width>76</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date_t</name>
<name>chg_user_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -421,17 +432,17 @@
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Change user</text>
<text>Change term</text>
<border>6</border>
<color>0</color>
<x>744</x>
<x>938</x>
<y>3</y>
<height>16</height>
<width>76</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user_t</name>
<name>chg_term_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -449,17 +460,17 @@
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Change term</text>
<border>6</border>
<text>Udf Str1</text>
<border>5</border>
<color>0</color>
<x>822</x>
<x>728</x>
<y>3</y>
<height>16</height>
<width>76</width>
<width>75</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term_t</name>
<name>udf_str1_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -470,8 +481,36 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
<mode>1</mode>
<color>553648127</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Chg Date</text>
<border>5</border>
<color>0</color>
<x>805</x>
<y>3</y>
<height>16</height>
<width>53</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
</background>
</TextObject>
<ColumnObject>
......@@ -566,7 +605,7 @@
<name>min_amt</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<limit>12</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
......@@ -602,7 +641,7 @@
<name>max_amt</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<limit>12</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
......@@ -638,7 +677,7 @@
<name>int_term</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<limit>5</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
......@@ -674,7 +713,7 @@
<name>interest</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<limit>6</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
......@@ -710,7 +749,7 @@
<name>term</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<limit>3</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
......@@ -738,7 +777,7 @@
<x>640</x>
<y>3</y>
<height>16</height>
<width>24</width>
<width>86</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
......@@ -746,7 +785,7 @@
<name>nvo_no</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<limit>2</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
......@@ -771,18 +810,18 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>666</x>
<x>860</x>
<y>3</y>
<height>16</height>
<width>76</width>
<format>[shortdate] [time]</format>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date</name>
<name>chg_user</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<limit>10</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
......@@ -807,7 +846,7 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>744</x>
<x>938</x>
<y>3</y>
<height>16</height>
<width>76</width>
......@@ -815,10 +854,10 @@
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user</name>
<name>chg_term</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<limit>300</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
......@@ -838,20 +877,58 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>12</id>
<id>1</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>822</x>
<x>2</x>
<y>2</y>
<height>16</height>
<width>87</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>scheme_no</name>
<tag>Loan Scheme number</tag>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<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>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>12</id>
<alignment>0</alignment>
<tabsequence>90</tabsequence>
<border>5</border>
<color>0</color>
<x>728</x>
<y>3</y>
<height>16</height>
<width>76</width>
<width>75</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term</name>
<name>udf_str1</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
......@@ -874,27 +951,25 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<id>13</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<tabsequence>100</tabsequence>
<border>5</border>
<color>0</color>
<x>2</x>
<y>2</y>
<x>805</x>
<y>3</y>
<height>16</height>
<width>87</width>
<format>[general]</format>
<width>53</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>scheme_no</name>
<tag>Loan Scheme number</tag>
<name>chg_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......
......@@ -123,25 +123,28 @@
<name>udf_str1</name>
<dbname>loan_scheme_grade.udf_str1</dbname>
</table_column>
<table_column>
<type>datetime</type>
<updatewhereclause>yes</updatewhereclause>
<name>chg_date</name>
<dbname>loan_scheme_grade.chg_date</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_user</name>
<dbname>loan_scheme_grade.chg_user</dbname>
</table_column>
<table_column>
<type size="300">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_term</name>
<dbname>loan_scheme_grade.chg_term</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;loan_scheme_grade&quot; ) TABLE(NAME=&quot;grade&quot; ) COLUMN(NAME=&quot;loan_scheme_grade.scheme_no&quot;) COLUMN(NAME=&quot;loan_scheme_grade.grade_code&quot;) COLUMN(NAME=&quot;loan_scheme_grade.min_amt&quot;) COLUMN(NAME=&quot;loan_scheme_grade.max_amt&quot;) COLUMN(NAME=&quot;loan_scheme_grade.nvo_no&quot;) COLUMN(NAME=&quot;grade.descr&quot;) COLUMN(NAME=&quot;loan_scheme_grade.int_term&quot;) COLUMN(NAME=&quot;loan_scheme_grade.interest&quot;) COLUMN(NAME=&quot;loan_scheme_grade.term&quot;) COLUMN(NAME=&quot;loan_scheme_grade.udf_str1&quot;) COLUMN(NAME=&quot;loan_scheme_grade.chg_date&quot;) COLUMN(NAME=&quot;loan_scheme_grade.chg_user&quot;) COLUMN(NAME=&quot;loan_scheme_grade.chg_term&quot;) JOIN (LEFT=&quot;loan_scheme_grade.grade_code&quot; OP =&quot;=&quot;RIGHT=&quot;grade.grade_code&quot; )WHERE( EXP1 =&quot;loan_scheme_grade.scheme_no&quot; OP =&quot;=&quot; EXP2 =&quot;:scheme_no&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;loan_scheme_grade.grade_code&quot; OP =&quot;=&quot; EXP2 =&quot;:grade_code&quot; ) ) ARG(NAME = &quot;scheme_no&quot; TYPE = string) ARG(NAME = &quot;grade_code&quot; TYPE = string) </retrieve>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_date</name>
<dbname>loan_scheme_grade.chg_date</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;loan_scheme_grade&quot; ) TABLE(NAME=&quot;grade&quot; ) COLUMN(NAME=&quot;loan_scheme_grade.scheme_no&quot;) COLUMN(NAME=&quot;loan_scheme_grade.grade_code&quot;) COLUMN(NAME=&quot;loan_scheme_grade.min_amt&quot;) COLUMN(NAME=&quot;loan_scheme_grade.max_amt&quot;) COLUMN(NAME=&quot;loan_scheme_grade.nvo_no&quot;) COLUMN(NAME=&quot;grade.descr&quot;) COLUMN(NAME=&quot;loan_scheme_grade.int_term&quot;) COLUMN(NAME=&quot;loan_scheme_grade.interest&quot;) COLUMN(NAME=&quot;loan_scheme_grade.term&quot;) COLUMN(NAME=&quot;loan_scheme_grade.udf_str1&quot;) COLUMN(NAME=&quot;loan_scheme_grade.chg_user&quot;) COLUMN(NAME=&quot;loan_scheme_grade.chg_term&quot;) COLUMN(NAME=&quot;loan_scheme_grade.chg_date&quot;) JOIN (LEFT=&quot;loan_scheme_grade.grade_code&quot; OP =&quot;=&quot;RIGHT=&quot;grade.grade_code&quot; )WHERE( EXP1 =&quot;loan_scheme_grade.scheme_no&quot; OP =&quot;=&quot; EXP2 =&quot;:scheme_no&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;loan_scheme_grade.grade_code&quot; OP =&quot;=&quot; EXP2 =&quot;:grade_code&quot; ) ) ARG(NAME = &quot;scheme_no&quot; TYPE = string) ARG(NAME = &quot;grade_code&quot; TYPE = string) </retrieve>
<update>LOAN_SCHEME_GRADE</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
......@@ -220,7 +223,7 @@
<name>scheme_no</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
......@@ -352,7 +355,7 @@
<name>min_amt</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<limit>12</limit>
<case>any</case>
<format>0.00</format>
<focusrectangle>no</focusrectangle>
......@@ -418,7 +421,7 @@
<name>max_amt</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<limit>12</limit>
<case>any</case>
<format>0.00</format>
<focusrectangle>no</focusrectangle>
......@@ -484,7 +487,7 @@
<name>nvo_no</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>1</limit>
<limit>2</limit>
<case>any</case>
<format>0</format>
<focusrectangle>no</focusrectangle>
......@@ -522,7 +525,7 @@
<name>interest</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>4</limit>
<limit>6</limit>
<case>any</case>
<format>###.00</format>
<focusrectangle>no</focusrectangle>
......@@ -772,8 +775,8 @@
<tabsequence>70</tabsequence>
<border>5</border>
<color>0</color>
<x>163</x>
<y>140</y>
<x>162</x>
<y>139</y>
<height>18</height>
<width>257</width>
<format>[general]</format>
......@@ -836,50 +839,14 @@
<band>Detail</band>
<id>11</id>
<alignment>0</alignment>
<tabsequence>80</tabsequence>
<border>0</border>
<color>255</color>
<x>238</x>
<y>215</y>
<height>16</height>
<width>55</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date</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>
<ColumnObject>
<band>Detail</band>
<id>12</id>
<alignment>0</alignment>
<tabsequence>90</tabsequence>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>255</color>
<x>400</x>
<y>215</y>
<height>16</height>
<width>50</width>
<format>[general]</format>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
......@@ -888,7 +855,8 @@
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -906,9 +874,9 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>13</id>
<id>12</id>
<alignment>0</alignment>
<tabsequence>100</tabsequence>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>255</color>
<x>91</x>
......@@ -922,7 +890,7 @@
<name>chg_term</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<limit>300</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
......@@ -1024,6 +992,42 @@
<color>553648127</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>13</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>255</color>
<x>238</x>
<y>216</y>
<height>16</height>
<width>55</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date</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>
<HtmlTable>
<border>1</border>
</HtmlTable>
......
......@@ -11,15 +11,16 @@ table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=scheme
column=(type=char(40) updatewhereclause=yes name=grade_descr dbname="grade.descr" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=min_amt dbname="loan_scheme_grade.min_amt" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=max_amt dbname="loan_scheme_grade.max_amt" )
column=(type=char(5) updatewhereclause=yes name=int_term dbname="loan_scheme_grade.int_term" )
column=(type=char(5) update=yes updatewhereclause=yes name=int_term dbname="loan_scheme_grade.int_term" )
column=(type=decimal(2) update=yes updatewhereclause=yes name=interest dbname="loan_scheme_grade.interest" )
column=(type=decimal(0) update=yes updatewhereclause=yes name=term dbname="loan_scheme_grade.term" )
column=(type=decimal(0) update=yes updatewhereclause=yes name=nvo_no dbname="loan_scheme_grade.nvo_no" )
column=(type=datetime updatewhereclause=yes name=chg_date dbname="loan_scheme_grade.chg_date" )
column=(type=char(10) updatewhereclause=yes name=chg_user dbname="loan_scheme_grade.chg_user" )
column=(type=char(300) updatewhereclause=yes name=chg_term dbname="loan_scheme_grade.chg_term" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"loan_scheme_grade~" ) TABLE(NAME=~"grade~" ) COLUMN(NAME=~"loan_scheme_grade.scheme_no~") COLUMN(NAME=~"loan_scheme_grade.grade_code~") COLUMN(NAME=~"grade.descr~") COLUMN(NAME=~"loan_scheme_grade.min_amt~") COLUMN(NAME=~"loan_scheme_grade.max_amt~") COLUMN(NAME=~"loan_scheme_grade.int_term~") COLUMN(NAME=~"loan_scheme_grade.interest~") COLUMN(NAME=~"loan_scheme_grade.term~") COLUMN(NAME=~"loan_scheme_grade.nvo_no~") COLUMN(NAME=~"loan_scheme_grade.chg_date~") COLUMN(NAME=~"loan_scheme_grade.chg_user~") COLUMN(NAME=~"loan_scheme_grade.chg_term~") JOIN (LEFT=~"loan_scheme_grade.grade_code~" OP =~"=~"RIGHT=~"grade.grade_code~" )WHERE( EXP1 =~"loan_scheme_grade.scheme_no~" OP =~"=~" EXP2 =~":scheme_no~" ) ) ARG(NAME = ~"scheme_no~" TYPE = string) " update="LOAN_SCHEME_GRADE" updatewhere=0 updatekeyinplace=no arguments=(("scheme_no", string)) )
text(band=header alignment="1" text="BO" border="6" color="0" x="640" y="3" height="16" width="24" html.valueishtml="0" name=nvo_no_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="loan_scheme_grade.chg_user" )
column=(type=char(300) update=yes updatewhereclause=yes name=chg_term dbname="loan_scheme_grade.chg_term" )
column=(type=char(300) update=yes updatewhereclause=yes name=udf_str1 dbname="loan_scheme_grade.udf_str1" )
column=(type=datetime update=yes updatewhereclause=yes name=chg_date dbname="loan_scheme_grade.chg_date" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"loan_scheme_grade~" ) TABLE(NAME=~"grade~" ) COLUMN(NAME=~"loan_scheme_grade.scheme_no~") COLUMN(NAME=~"loan_scheme_grade.grade_code~") COLUMN(NAME=~"grade.descr~") COLUMN(NAME=~"loan_scheme_grade.min_amt~") COLUMN(NAME=~"loan_scheme_grade.max_amt~") COLUMN(NAME=~"loan_scheme_grade.int_term~") COLUMN(NAME=~"loan_scheme_grade.interest~") COLUMN(NAME=~"loan_scheme_grade.term~") COLUMN(NAME=~"loan_scheme_grade.nvo_no~") COLUMN(NAME=~"loan_scheme_grade.chg_user~") COLUMN(NAME=~"loan_scheme_grade.chg_term~") COLUMN(NAME=~"loan_scheme_grade.udf_str1~") COLUMN(NAME=~"loan_scheme_grade.chg_date~") JOIN (LEFT=~"loan_scheme_grade.grade_code~" OP =~"=~"RIGHT=~"grade.grade_code~" )WHERE( EXP1 =~"loan_scheme_grade.scheme_no~" OP =~"=~" EXP2 =~":scheme_no~" ) ) ARG(NAME = ~"scheme_no~" TYPE = string) " update="LOAN_SCHEME_GRADE" updatewhere=0 updatekeyinplace=no arguments=(("scheme_no", string)) )
text(band=header alignment="1" text="BO" border="6" color="0" x="640" y="3" height="16" width="86" html.valueishtml="0" name=nvo_no_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=header alignment="2" text="Scheme No" border="6" color="0" x="2" y="3" height="16" width="87" html.valueishtml="0" name=scheme_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=header alignment="2" text="Grade Code" border="6" color="0" x="91" y="3" height="16" width="63" 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=header alignment="0" text="Description" border="6" color="0" x="156" y="3" height="16" width="177" html.valueishtml="0" name=grade_descr_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
......@@ -28,21 +29,23 @@ text(band=header alignment="1" text="Max. Amt." border="6" color="0" x="407" y="
text(band=header alignment="1" text="Int. Term" border="6" color="0" x="479" y="3" height="16" width="52" html.valueishtml="0" name=int_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" )
text(band=header alignment="1" text="Int. Perc." border="6" color="0" x="533" y="3" height="16" width="71" html.valueishtml="0" name=interest_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=header alignment="1" text="Term" border="6" color="0" x="606" y="3" height="16" width="32" html.valueishtml="0" name=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" )
text(band=header alignment="0" text="Change date" border="6" color="0" x="666" y="3" height="16" width="76" 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=header alignment="0" text="Change user" border="6" color="0" x="744" y="3" height="16" width="76" 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=header alignment="0" text="Change term" border="6" color="0" x="822" y="3" height="16" width="76" 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" )
text(band=header alignment="0" text="Change user" border="6" color="0" x="860" y="3" height="16" width="76" 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=header alignment="0" text="Change term" border="6" color="0" x="938" y="3" height="16" width="76" 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" )
text(band=header alignment="0" text="Udf Str1" border="5" color="0" x="728" y="3" height="16" width="75" html.valueishtml="0" name=udf_str1_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=header alignment="0" text="Chg Date" border="5" color="0" x="805" y="3" height="16" width="53" 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="1" background.color="553648127" )
column(band=detail id=2 alignment="0" tabsequence=10 border="5" color="0" x="91" y="3" height="16" width="63" format="[general]" html.valueishtml="0" name=grade_code tag="Grade code validated from master" visible="1" edit.limit=5 edit.case=any 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="156" y="3" height="16" width="177" format="[general]" html.valueishtml="0" name=grade_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="16777215" )
column(band=detail id=4 alignment="0" tabsequence=30 border="5" color="0" x="335" y="3" height="16" width="70" format="#,##,##,###.####" html.valueishtml="0" name=min_amt visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=5 alignment="0" tabsequence=40 border="5" color="0" x="407" y="3" height="16" width="70" format="#,##,##,###.####" html.valueishtml="0" name=max_amt visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=6 alignment="0" tabsequence=50 border="5" color="0" x="479" y="3" height="16" width="52" format="[general]" html.valueishtml="0" name=int_term visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=7 alignment="0" tabsequence=60 border="5" color="0" x="533" y="3" height="16" width="71" format="#,##,##,###.####" html.valueishtml="0" name=interest visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=8 alignment="0" tabsequence=70 border="5" color="0" x="606" y="3" height="16" width="32" format="#,##,##,###.####" html.valueishtml="0" name=term visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=9 alignment="0" tabsequence=80 border="5" color="0" x="640" y="3" height="16" width="24" format="[general]" html.valueishtml="0" name=nvo_no visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=10 alignment="0" tabsequence=32766 border="5" color="0" x="666" y="3" height="16" width="76" format="[shortdate] [time]" html.valueishtml="0" name=chg_date visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=11 alignment="0" tabsequence=32766 border="5" color="0" x="744" y="3" height="16" width="76" format="[general]" html.valueishtml="0" name=chg_user visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=12 alignment="0" tabsequence=32766 border="5" color="0" x="822" y="3" height="16" width="76" format="[general]" html.valueishtml="0" name=chg_term visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=4 alignment="0" tabsequence=30 border="5" color="0" x="335" y="3" height="16" width="70" format="#,##,##,###.####" html.valueishtml="0" name=min_amt visible="1" edit.limit=12 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=5 alignment="0" tabsequence=40 border="5" color="0" x="407" y="3" height="16" width="70" format="#,##,##,###.####" html.valueishtml="0" name=max_amt visible="1" edit.limit=12 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=6 alignment="0" tabsequence=50 border="5" color="0" x="479" y="3" height="16" width="52" format="[general]" html.valueishtml="0" name=int_term 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="16777215" )
column(band=detail id=7 alignment="0" tabsequence=60 border="5" color="0" x="533" y="3" height="16" width="71" format="#,##,##,###.####" html.valueishtml="0" name=interest visible="1" edit.limit=6 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=8 alignment="0" tabsequence=70 border="5" color="0" x="606" y="3" height="16" width="32" format="#,##,##,###.####" html.valueishtml="0" name=term visible="1" edit.limit=3 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=9 alignment="0" tabsequence=80 border="5" color="0" x="640" y="3" height="16" width="86" format="[general]" html.valueishtml="0" name=nvo_no visible="1" edit.limit=2 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=10 alignment="0" tabsequence=32766 border="5" color="0" x="860" y="3" height="16" width="76" format="[general]" html.valueishtml="0" name=chg_user visible="1" edit.limit=10 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=11 alignment="0" tabsequence=32766 border="5" color="0" x="938" y="3" height="16" width="76" format="[general]" html.valueishtml="0" name=chg_term visible="1" edit.limit=300 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="5" color="0" x="2" y="2" height="16" width="87" format="[general]" html.valueishtml="0" name=scheme_no tag="Loan Scheme number" visible="1" edit.limit=10 edit.case=any 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="0" tabsequence=90 border="5" color="0" x="728" y="3" height="16" width="75" format="[general]" html.valueishtml="0" name=udf_str1 visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=13 alignment="0" tabsequence=100 border="5" color="0" x="805" y="3" height="16" width="53" format="[shortdate] [time]" html.valueishtml="0" name=chg_date visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
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 )
......
......@@ -15,13 +15,13 @@ table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=scheme
column=(type=decimal(2) update=yes updatewhereclause=yes name=interest dbname="loan_scheme_grade.interest" initial="0" validation="number(gettext()) >= 0" )
column=(type=decimal(0) update=yes updatewhereclause=yes name=term dbname="loan_scheme_grade.term" initial="0" validation="number(gettext()) >= 0" )
column=(type=char(300) update=yes updatewhereclause=yes name=udf_str1 dbname="loan_scheme_grade.udf_str1" )
column=(type=datetime updatewhereclause=yes name=chg_date dbname="loan_scheme_grade.chg_date" )
column=(type=char(10) updatewhereclause=yes name=chg_user dbname="loan_scheme_grade.chg_user" )
column=(type=char(300) updatewhereclause=yes name=chg_term dbname="loan_scheme_grade.chg_term" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"loan_scheme_grade~" ) TABLE(NAME=~"grade~" ) COLUMN(NAME=~"loan_scheme_grade.scheme_no~") COLUMN(NAME=~"loan_scheme_grade.grade_code~") COLUMN(NAME=~"loan_scheme_grade.min_amt~") COLUMN(NAME=~"loan_scheme_grade.max_amt~") COLUMN(NAME=~"loan_scheme_grade.nvo_no~") COLUMN(NAME=~"grade.descr~") COLUMN(NAME=~"loan_scheme_grade.int_term~") COLUMN(NAME=~"loan_scheme_grade.interest~") COLUMN(NAME=~"loan_scheme_grade.term~") COLUMN(NAME=~"loan_scheme_grade.udf_str1~") COLUMN(NAME=~"loan_scheme_grade.chg_date~") COLUMN(NAME=~"loan_scheme_grade.chg_user~") COLUMN(NAME=~"loan_scheme_grade.chg_term~") JOIN (LEFT=~"loan_scheme_grade.grade_code~" OP =~"=~"RIGHT=~"grade.grade_code~" )WHERE( EXP1 =~"loan_scheme_grade.scheme_no~" OP =~"=~" EXP2 =~":scheme_no~" LOGIC =~"and~" ) WHERE( EXP1 =~"loan_scheme_grade.grade_code~" OP =~"=~" EXP2 =~":grade_code~" ) ) ARG(NAME = ~"scheme_no~" TYPE = string) ARG(NAME = ~"grade_code~" TYPE = string) " update="LOAN_SCHEME_GRADE" updatewhere=0 updatekeyinplace=no arguments=(("scheme_no", string),("grade_code", string)) )
column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="loan_scheme_grade.chg_user" )
column=(type=char(300) update=yes updatewhereclause=yes name=chg_term dbname="loan_scheme_grade.chg_term" )
column=(type=datetime update=yes updatewhereclause=yes name=chg_date dbname="loan_scheme_grade.chg_date" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"loan_scheme_grade~" ) TABLE(NAME=~"grade~" ) COLUMN(NAME=~"loan_scheme_grade.scheme_no~") COLUMN(NAME=~"loan_scheme_grade.grade_code~") COLUMN(NAME=~"loan_scheme_grade.min_amt~") COLUMN(NAME=~"loan_scheme_grade.max_amt~") COLUMN(NAME=~"loan_scheme_grade.nvo_no~") COLUMN(NAME=~"grade.descr~") COLUMN(NAME=~"loan_scheme_grade.int_term~") COLUMN(NAME=~"loan_scheme_grade.interest~") COLUMN(NAME=~"loan_scheme_grade.term~") COLUMN(NAME=~"loan_scheme_grade.udf_str1~") COLUMN(NAME=~"loan_scheme_grade.chg_user~") COLUMN(NAME=~"loan_scheme_grade.chg_term~") COLUMN(NAME=~"loan_scheme_grade.chg_date~") JOIN (LEFT=~"loan_scheme_grade.grade_code~" OP =~"=~"RIGHT=~"grade.grade_code~" )WHERE( EXP1 =~"loan_scheme_grade.scheme_no~" OP =~"=~" EXP2 =~":scheme_no~" LOGIC =~"and~" ) WHERE( EXP1 =~"loan_scheme_grade.grade_code~" OP =~"=~" EXP2 =~":grade_code~" ) ) ARG(NAME = ~"scheme_no~" TYPE = string) ARG(NAME = ~"grade_code~" TYPE = string) " update="LOAN_SCHEME_GRADE" updatewhere=0 updatekeyinplace=no arguments=(("scheme_no", string),("grade_code", string)) )
groupbox(band=detail text="Others"border="2" color="33554432" x="8" y="183" height="70" width="451" 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="33554432" x="8" y="0" height="172" width="451" name=gb_1 visible="1" font.face="Arial" font.height="-11" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="5" color="255" x="163" y="14" height="16" width="78" format="[general]" html.valueishtml="0" name=scheme_no 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="67108864" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="5" color="255" x="163" y="14" height="16" width="78" format="[general]" html.valueishtml="0" name=scheme_no visible="1" edit.limit=10 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="67108864" )
text(band=detail alignment="1" text="Grade :" border="0" color="0" x="56" y="40" height="16" width="103" 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="1" background.color="536870912" )
column(band=detail id=2 alignment="0" tabsequence=10 border="5" color="0" x="163" y="39" height="16" width="45" format="[general]" html.valueishtml="0" name=grade_code tag="Grade code validated from master" visible="1" edit.limit=5 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Min. Amount :" border="0" color="0" x="56" y="65" height="16" width="103" 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="1" background.color="536870912" )
......@@ -29,8 +29,8 @@ column(band=detail id=3 alignment="1" tabsequence=20 border="5" color="0" x="163
text(band=detail alignment="1" text="Max. Amount :" border="0" color="0" x="249" y="65" height="16" width="88" 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="1" tabsequence=30 border="5" color="0" x="341" y="65" height="16" width="78" 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=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="Check BO :" border="0" color="0" x="252" y="91" height="16" width="88" html.valueishtml="0" name=nvo_no_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=5 alignment="1" tabsequence=32766 border="5" color="255" x="345" y="92" height="16" width="75" format="[general]" html.valueishtml="0" name=nvo_no visible="1" edit.limit=1 edit.case=any edit.format="0" edit.focusrectangle=no edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=8 alignment="1" tabsequence=60 border="5" color="0" x="341" y="117" height="16" width="78" format="0.00" html.valueishtml="0" name=interest visible="1" edit.limit=4 edit.case=any edit.format="###.00" 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=5 alignment="1" tabsequence=32766 border="5" color="255" x="345" y="92" height="16" width="75" format="[general]" html.valueishtml="0" name=nvo_no visible="1" edit.limit=2 edit.case=any edit.format="0" edit.focusrectangle=no edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=8 alignment="1" tabsequence=60 border="5" color="0" x="341" y="117" height="16" width="78" format="0.00" html.valueishtml="0" name=interest visible="1" edit.limit=6 edit.case=any edit.format="###.00" 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="Interest Perc. :" border="0" color="0" x="244" y="116" height="16" width="93" html.valueishtml="0" name=interest_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=6 alignment="0" tabsequence=32766 border="5" color="255" x="212" y="39" height="16" width="207" format="[general]" html.valueishtml="0" name=grade_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="Loan Term (months) :" border="0" color="0" x="45" y="91" height="16" width="114" html.valueishtml="0" name=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="1" background.color="536870912" )
......@@ -38,14 +38,14 @@ column(band=detail id=9 alignment="1" tabsequence=40 border="5" color="0" x="163
text(band=detail alignment="1" text="Interest Term :" border="0" color="0" x="56" y="116" height="16" width="103" html.valueishtml="0" name=int_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="1" background.color="536870912" )
column(band=detail id=7 alignment="0" tabsequence=50 border="5" color="0" x="163" y="117" height="16" width="61" format="" html.valueishtml="0" name=int_term visible="1" edit.limit=5 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Udf Str :" border="0" color="0" x="56" y="140" height="16" width="103" html.valueishtml="0" name=udf_str1_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=10 alignment="0" tabsequence=70 border="5" color="0" x="163" y="140" height="18" width="257" format="[general]" html.valueishtml="0" name=udf_str1 visible="1" edit.limit=300 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autovscroll=yes edit.imemode=0 edit.vscrollbar=yes font.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="0" tabsequence=70 border="5" color="0" x="162" y="139" height="18" width="257" format="[general]" html.valueishtml="0" name=udf_str1 visible="1" edit.limit=300 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autovscroll=yes edit.imemode=0 edit.vscrollbar=yes font.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="Scheme No :" border="0" color="0" x="56" y="14" height="16" width="103" html.valueishtml="0" name=scheme_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="1" background.color="553648127" )
column(band=detail id=11 alignment="0" tabsequence=80 border="0" color="255" x="238" y="215" height="16" width="55" format="[shortdate] [time]" html.valueishtml="0" name=chg_date 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" )
column(band=detail id=12 alignment="0" tabsequence=90 border="0" color="255" x="400" y="215" height="16" width="50" format="[general]" html.valueishtml="0" name=chg_user visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=13 alignment="0" tabsequence=100 border="0" color="255" x="91" y="215" height="16" width="50" format="[general]" html.valueishtml="0" name=chg_term visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=11 alignment="0" tabsequence=32766 border="0" color="255" x="400" y="215" height="16" width="50" format="[shortdate] [time]" html.valueishtml="0" name=chg_user 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="67108864" )
column(band=detail id=12 alignment="0" tabsequence=32766 border="0" color="255" x="91" y="215" height="16" width="50" format="[general]" html.valueishtml="0" name=chg_term visible="1" edit.limit=300 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="0" text="Change Term" border="0" color="33554432" x="17" y="215" height="16" width="71" 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="1" background.color="553648127" )
text(band=detail alignment="0" text="Change Date" border="0" color="33554432" x="166" y="215" height="16" width="69" 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="1" background.color="553648127" )
text(band=detail alignment="0" text="Change User" border="0" color="33554432" x="328" y="215" height="16" width="69" 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="1" background.color="553648127" )
column(band=detail id=13 alignment="0" tabsequence=32766 border="0" color="255" x="238" y="216" height="16" width="55" format="[shortdate] [time]" html.valueishtml="0" name=chg_date 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" )
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 )
......
......@@ -4,7 +4,6 @@ import java.rmi.RemoteException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import org.w3c.dom.Document;
......@@ -74,6 +73,7 @@ public class GradeWiseLoanSchemeIC extends ValidatorEJB implements GradeWiseLoan
String gradeCode = "";
String sql = "";
String intTerm = "";
String schemeNo = "";
int currentFormNo = 0;
int noOfChilds = 0;
int cnt = 0;
......@@ -87,8 +87,6 @@ public class GradeWiseLoanSchemeIC extends ValidatorEJB implements GradeWiseLoan
{
genericUtility = new E12GenericUtility();
itmDbAcess = new ITMDBAccessEJB();
SimpleDateFormat sdf = new SimpleDateFormat(genericUtility.getApplDateFormat());
conn = getConnection();
userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginCode");
......@@ -126,6 +124,8 @@ public class GradeWiseLoanSchemeIC extends ValidatorEJB implements GradeWiseLoan
if ("grade_code".equalsIgnoreCase(childNodeName))
{
gradeCode = checkNull(genericUtility.getColumnValue("grade_code", dom));
schemeNo = checkNull(genericUtility.getColumnValue("scheme_no", dom));
sql = "select count(*) as cnt from grade where grade_code = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, gradeCode);
......@@ -150,6 +150,34 @@ public class GradeWiseLoanSchemeIC extends ValidatorEJB implements GradeWiseLoan
errList.add("VMGRA1");
errFields.add(childNodeName.toLowerCase());
}
else
{
sql = "select count(*) as cnt from loan_scheme_grade where grade_code = ? and scheme_no= ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, gradeCode);
pstmt.setString(2, schemeNo);
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("VMGRA2");
errFields.add(childNodeName.toLowerCase());
}
}
}
else if ("int_term".equalsIgnoreCase(childNodeName))
{
......@@ -311,12 +339,12 @@ public class GradeWiseLoanSchemeIC extends ValidatorEJB implements GradeWiseLoan
String mdescr = "";
String intTerm = "";
try
{
genericUtility = new E12GenericUtility();
System.out.println("currentFormNo...." + currentFormNo);
conn = getConnection();
if (objContext != null && objContext.trim().length() > 0)
{
currentFormNo = Integer.parseInt(objContext);
......@@ -336,6 +364,7 @@ public class GradeWiseLoanSchemeIC extends ValidatorEJB implements GradeWiseLoan
schemeNo = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "scheme_no");
valueXmlString.append("<scheme_no ><![CDATA[").append(schemeNo).append("]]></scheme_no>\r\n");
valueXmlString.append("<scheme_no protect=\"1\"><![CDATA[").append(schemeNo).append("]]></scheme_no>\r\n");
}
else if("itm_defaultedit".equalsIgnoreCase(currentColumn))
{
......@@ -414,11 +443,6 @@ public class GradeWiseLoanSchemeIC extends ValidatorEJB implements GradeWiseLoan
{
try
{
if (conn != null)
{
conn.close();
conn = null;
}
if (rs != null)
{
rs.close();
......@@ -429,6 +453,11 @@ public class GradeWiseLoanSchemeIC extends ValidatorEJB implements GradeWiseLoan
pstmt.close();
pstmt = null;
}
if (conn != null)
{
conn.close();
conn = null;
}
}
catch (Exception e)
{
......
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