Commit 95e1adb4 authored by dpingle's avatar dpingle

* update sql file on [31/10/19]

w_grade_mthad.sql


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@210788 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 641080bb
......@@ -146,7 +146,7 @@ update TRANSETUP set THUMB_ALT_COL = 'sh_descr', THUMB_IMAGE_COL= 'ad_code', THU
----------------------------------------------------- End[15/10/19]
----------------------------------------------[24/10/19]Start
----------------------------------------------[30/10/19]Start
update transetup set REF_SER ='G-MTAD' where TRAN_WINDOW = 'w_grade_mthad';
......@@ -155,30 +155,16 @@ update itm2menu set ICON_PATH='GradewiseMonthlyPaystructure.png' , CLOSE_ICON='G
update obj_forms set disp_metadata=
'<html>
<span style="white-space: normal !important; word-break: break-word; "> <b>{sh_descr}</b> <b>{ad_code}</b> , grade code <b>{grade_code}</b> , Pay Table <b>{pay_table}</b><br/>
<span style="white-space: normal !important; word-break: break-word; "> <b>{allwdedn_descr}</b> <b>{ad_code}</b> , grade code <b>{grade_code}</b> , Pay Table <b>{pay_table}</b><br/>
Month Code <b>{month_code}</b> , Effective Date <b>{eff_date}</b>
</span>
<br/> <span style="float:right;"></span>
</html>' where win_name='w_grade_mthad';
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 ('pay_table','W_GRADE_MTHAD','Pay table can not be null','PAYTBLNULL','N','C','select (case when (length(trim(?)) > 0) then 1 else 0 end) from dual','1','Q',to_date('17-04-14','DD-MM-RR'),'BASE ','BASE ',null,':0.pay_table',5,null,null,null,null,null,'X','edit');
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 ('month_code','W_GRADE_MTHAD','Month code can not be null','MTHCODNULL','N','C','select (case when (length(trim(?)) > 0) then 1 else 0 end) from dual','1','Q',to_date('17-04-14','DD-MM-RR'),'BASE ','BASE ',null,':0.month_code',2,null,null,null,null,null,'X','edit');
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 ('grade_code','W_GRADE_MTHAD','cadre code can not be null','GRDCODNULL','N','C','select (case when (length(trim(?)) > 0) then 1 else 0 end) from dual','1','Q',to_date('17-04-14','DD-MM-RR'),'BASE ','BASE ',null,':0.grade_code',5,null,null,null,null,null,'X','edit');
Insert into MESSAGES (MSG_NO,MSG_STR,MSG_DESCR,MSG_TYPE,MSG_OPT,MSG_TIME,ALARM,ERR_SOURCE,CHG_DATE,CHG_USER,CHG_TERM,OVERRIDE_INPUT,MAIL_OPTION)
values ('GRDCODNULL','Empty Grade code!!','Grade code cannot be null','E','Y',null,null,null,to_date('18-03-06','DD-MM-RR'),'TSD ','TSD ',null,null);
Insert into MESSAGES (MSG_NO,MSG_STR,MSG_DESCR,MSG_TYPE,MSG_OPT,MSG_TIME,ALARM,ERR_SOURCE,CHG_DATE,CHG_USER,CHG_TERM,OVERRIDE_INPUT,MAIL_OPTION)
values ('MTHCODNULL','Empty Month code!!','Month code cannot be null','E','Y',null,null,null,to_date('18-03-06','DD-MM-RR'),'TSD ','TSD ',null,null);
Insert into MESSAGES (MSG_NO,MSG_STR,MSG_DESCR,MSG_TYPE,MSG_OPT,MSG_TIME,ALARM,ERR_SOURCE,CHG_DATE,CHG_USER,CHG_TERM,OVERRIDE_INPUT,MAIL_OPTION)
values ('PAYTBLNULL','Empty Pay table!!','Pay table can not be null','E','Y',null,null,null,to_date('18-03-06','DD-MM-RR'),'TSD ','TSD ',null,null);
update obj_actions set DISPLAY_MODE=0 where OBJ_NAME='grade_mthad' and LINE_NO=1;
update obj_actions set DISPLAY_MODE=0 where OBJ_NAME='grade_mthad' and LINE_NO=2;
update obj_actions set LINE_NO=21 ,DISPLAY_MODE=1 where OBJ_NAME='grade_mthad' and DESCRIPTION='View Audit Trail';
update obj_actions set LINE_NO=22 ,DISPLAY_MODE=1 where OBJ_NAME='grade_mthad' and DESCRIPTION='Export To Excel';
----------------------------------------------[24/10/19]Start
----------------------------------------------[30/10/19]Start
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