Commit 7803aa66 authored by sghate's avatar sghate

Shital: updated sql on 25/10/2019

w_rep_specific_ad.sql
w_site_env.sql
w_site_holtbl.sql
w_site_itdecl_aprvr.sql
w_site_stan_paytbl.sql
w_sun_geobi_access.sql
w_work_location.sql


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@210619 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 4e1dab0a
......@@ -85,9 +85,6 @@ Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('rep_
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('rep_specific_ad','1','ad_code','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('rep_specific_ad','1','itm_default','Y');
---------------------------------------- SARITA on 30/08/2019 [START]
update itm2menu set icon_path='rep_specific_ad.png' , close_icon = 'rep_specific_adwht.png' where win_name='w_rep_specific_ad';
---------------------------------------- SARITA on 30/08/2019 [END]
---------------------------------------- Shital on 07/10/2019 [Start]---------
update TRANSETUP set THUMB_ALT_COL = 'ad_code', THUMB_IMAGE_COL= 'report_id', THUMB_OBJ = 'EmpImages' where TRAN_WINDOW = 'w_rep_specific_ad';
......@@ -118,13 +115,20 @@ SET DEFINE OFF;
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_REP_SPECIFIC_AD','SELECT AD_CODE, DESCR FROM ALLWDEDN WHERE TYPE <> ''S''',null,null,0,0,to_date('08-12-01','DD-MM-RR'),'BASE ','97SYSTEM4 ','1',null,null,0,null,null,null,null,null,0,'2',null,'3','AdCodeImages','ad_code','descr','3 ',null,null,null,null,null,null,null);
---------------------------------------- Shital on 14/10/2019 [End]---------
---------------------------------------- Shital on 25/10/2019 [START]
update itm2menu set icon_path='ReportSpecification' , close_icon = 'ReportSpecificationwht.png' where win_name='w_rep_specific_ad';
update obj_actions set DISPLAY_MODE=0 where OBJ_NAME='rep_specific_ad' and TITLE in ('Add','Edit');--View on HOMESCREEN,ADD,EDIT,VIEW MODE
update obj_actions set DISPLAY_MODE=1 where OBJ_NAME='rep_specific_ad' and TITLE in ('Copy Transaction','Export2XLS','Audit Trail');----View on HOMESCREEN Only.
update obj_forms set disp_metadata=
'<html>
<span style="white-space: normal !important; word-break: break-word; ">Report Id : <b>({report_id}) </b>, Ad Code : <b>({ad_code})</b>
<span style="white-space: normal !important; word-break: break-word; "><b>({report_id}) </b>, Ad Code : <b>({ad_code})</b>
</span>
</html>' where win_name='w_rep_specific_ad';
---------------------------------------- Shital on 14/10/2019 [End]---------
---------------------------------------- Shital on 25/10/2019 [END]
......
......@@ -146,11 +146,7 @@ Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERAC
--------------------------------------------Added by shital on 27/08/2019 End---------------
--------------------------------------------Added by Sarita on 30/08/2019 Start-------------
update itm2menu set icon_path='site-wise-variables.png' , close_icon = 'site-wise-variableswht.png' where win_name='w_site_env';
--------------------------------------------Added by Sarita on 30/08/2019 Start-------------
--------------------------------------------Added by Sarita on 10/09/2019 Start-------------
--------------------------------------------Added by Shital on 10/09/2019 Start-------------
delete from OBJ_ACTIONS where obj_name='site_env';
......@@ -163,7 +159,7 @@ Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERAC
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 ('site_env',40,'ibase/resource/objaction/Audit-trail.svg','View Audit Trail','audit_trail','1','X','Audit Trail','1','1','1','U',null,null,null,null,null,null,null,'1',null,null,null,null,null,null,null,null,null,null,null,'2',null,null);
Insert into TRANS_COPY_SETUP (OBJ_NAME,FORM_NO,FIELD_NAME,DEF_VALUE,COPY_FLAG) values ('site_env','1','site_descr',null,'N');
--------------------------------------------Added by Sarita on 10/09/2019 End-------------
--------------------------------------------Added by Shital on 10/09/2019 End-------------
--------------------------------------------Added by Shital on 19/09/2019 Start-------------
......@@ -179,13 +175,22 @@ update POPHELP set THUMB_ALT_COL = 'site_descr', THUMB_IMAGE_COL= 'site_code', T
update POPHELP set AUTO_FILL_LEN = 3, AUTO_MIN_LENGTH = 2 , HELP_OPTION = 2 where MOD_NAME = 'W_SITE_ENV';
update TRANSETUP set PERIOD_OPTION = 'M' where TRAN_WINDOW = 'w_site_env';
--------------------------------------------Added by Shital on 07/10/2019 End-------------
--------------------------------------------Added by Shital on 25/10/2019 Start-------------
update itm2menu set icon_path='SiteWiseVariables.png' , close_icon = 'SiteWiseVariableswht.png' where win_name='w_site_env';
update obj_forms set disp_metadata=
'<html>
<span style="white-space: normal !important; word-break: break-word; ">Site Code :<b> {site_descr} ({site_code})</b> , Level Code :<b> {level_code}</b> <br/>
Par. Name :<b> {par_name} </b>, Par. Value :<b>{par_value} </b>, Effective Date :<b>{eff_date} </b> , Upto Date :<b> {upto_date}</b>
<span style="white-space: normal !important; word-break: break-word; "><b> {site_descr} ({site_code})</b><br/>
Level Code :<b> {level_code}</b> , Par. Name :<b> {par_name} </b>, Par. Value :<b>{par_value} </b>, Effective Date :<b>{eff_date} </b> , Upto Date :<b> {upto_date}</b>
</span>
</html>' where win_name='w_site_env';
--------------------------------------------Added by Shital on 07/10/2019 End-------------
update obj_actions set DISPLAY_MODE=0 where OBJ_NAME='site_env' and TITLE in ('Add','Edit');--View on HOMESCREEN,ADD,EDIT,VIEW MODE
update obj_actions set DISPLAY_MODE=1 where OBJ_NAME='site_env' and TITLE in ('Copy Transaction','Export2XLS','Audit Trail');----View on HOMESCREEN Only.
--------------------------------------------Added by Shital on 25/10/2019 Start-------------
......
......@@ -107,16 +107,13 @@ SET DEFINE OFF;
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 ('VMHOLTBL ','Empty/Invalid holiday table','Holiday table cannot be Empty/Data Already Existed for Entered GENMST Table','E','Y',null,null,null,to_date('10-04-10','DD-MM-RR'),'VISHAL ','VISHAL ',null,null);
---------------------------------------------------Added by Shital on 29/8/2019 Start---------------
---------------------------------------------------Added by Sarita on 30/8/2019 Start---------------
update itm2menu set icon_path='site_holtbl.png' , close_icon = 'site_holtblwht.png' where win_name='w_site_holtbl';
---------------------------------------------------Added by Shital on 30/8/2019 Start---------------
---------------------------------------------------Added by Shital on 14/10/2019 Start---------------
update OBJ_FORMS set THUMB_OBJ='SiteImages', THUMB_IMAGE_COL='site_code',THUMB_ALT_COL='descr' where WIN_NAME='w_site_holtbl';
update obj_forms set disp_metadata=
'<html>
<span style="white-space: normal !important; word-break: break-word; "><b> {site_descr} ({site_code})</b>,
<span style="white-space: normal !important; word-break: break-word; "><b> {site_descr} ({site_code})</b><br/>
Holiday Table No :<b> {holtbl_descr} ({hol_tblno})</b>
</span>
</html>' where win_name='w_site_holtbl';
......@@ -139,6 +136,12 @@ values ('VMINVHLTBL','Invalid Holiday Table No.','Holiday Table No not present i
---------------------------------------------------Added by Shital on 14/10/2019 End---------------
---------------------------------------------------Added by Shital on 25/10/2019 Start---------------
update itm2menu set icon_path='SiteWiseHoliday.png' , close_icon = 'SiteWiseHolidaywht.png' where win_name='w_site_holtbl';
update obj_actions set DISPLAY_MODE=0 where OBJ_NAME='site_holtbl' and TITLE in ('Add','Edit');--View on HOMESCREEN,ADD,EDIT,VIEW MODE
update obj_actions set DISPLAY_MODE=1 where OBJ_NAME='site_holtbl' and TITLE in ('Copy Transaction','Export2XLS','Audit Trail');----View on HOMESCREEN Only.
---------------------------------------------------Added by Shital on 25/10/2019 End---------------
......
......@@ -158,6 +158,20 @@ update SYSTEM_SERVICE_ARGS set ARG_VALUE='JB' where ARG_NAME='COMPONENT_TYPE' an
------------------------------------------------- Shital [18/10/19] ---------------- END
------------------------------------------------- Shital [25/10/19] ---------------- Start
update itm2menu set ICON_PATH='ItSitecodeDetails.png',CLOSE_ICON='ItSitecodeDetailswht.png' where APPLICATION='ADP' and WIN_NAME='w_site_itdecl_aprvr';
update obj_forms set disp_metadata=
'<html>
<span style="white-space: normal !important; word-break: break-word; "><b> {site_code}: {site_descr}</b> <br/>
Approver Employee Code: <b> {emp_descr} ({emp_code__aprv})</b> , Email id :<b> {email_id}</b>
</span>
</html>' where win_name='w_site_itdecl_aprvr';
update obj_actions set DISPLAY_MODE=0 where OBJ_NAME='site_itdecl_aprvr' and TITLE in ('Add','Edit');--View on HOMESCREEN,ADD,EDIT,VIEW MODE
update obj_actions set DISPLAY_MODE=1 where OBJ_NAME='site_itdecl_aprvr' and TITLE in ('Copy Transaction','Export2XLS','Audit Trail');----View on HOMESCREEN Only.
------------------------------------------------- Shital [25/10/19] ---------------- End
......
......@@ -96,7 +96,7 @@ Insert into MESSAGES (MSG_NO,MSG_STR,MSG_DESCR,MSG_TYPE,MSG_OPT,MSG_TIME,ALARM,E
delete from obj_actions where obj_name='site_stan_paytbl' and line_no in (3,8);
update obj_forms set disp_metadata=
'<html>
<span style="white-space: normal !important; word-break: break-word; "><b>Site Code :</b> {site_descr} ({site_code}) , <b>State Code :</b> {state_descr} ({state_code})
<span style="white-space: normal !important; word-break: break-word; "><b>{site_descr} ({site_code}) </b> , <b>State Code :</b> {state_descr} ({state_code})
<br/> <b>Station Code :</b> {station_descr} ({stan_code}) , <b>Pay Table :</b> {paytable_descr} ({pay_table})
</span>
<br> <span style="float:right;"> <b> {chg_date} </b></span>
......@@ -129,10 +129,6 @@ Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERAC
--------------------------------------------Added by shital on 29/08/2019 End-------------
-------------------------------------------Added by Sarita on 30/08/2019 Start-------------
update itm2menu set icon_path='site_stan_paytbl.png' , close_icon = 'site_stan_paytblwht.png' where win_name='w_site_stan_paytbl';
--------------------------------------------Added by Sarita on 30/08/2019 Start-------------
--------------------------------------------Added by shital on 3/09/2019 Start-------------
REM INSERTING into MESSAGES
SET DEFINE OFF;
......@@ -149,12 +145,6 @@ Insert into TRANS_COPY_SETUP (OBJ_NAME,FORM_NO,FIELD_NAME,DEF_VALUE,COPY_FLAG) v
update obj_forms set title='SiteStation PayTable' where WIN_NAME='w_site_stan_paytbl';
update obj_forms set disp_metadata=
'<html>
<span style="white-space: normal !important; word-break: break-word; ">Site Code :<b> {site_descr} ({site_code})</b> , State Code : <b>{state_descr} ({state_code})</b>
<br/> Station Code :<b> {station_descr} ({stan_code})</b> , Pay Table :<b> {paytable_descr} ({pay_table})</b>
</span>
</html>' where win_name='w_site_stan_paytbl';
--------------------------------------------Added by shital on 5/09/2019 End-------------
--------------------------------------------Added by shital on 07/10/2019 Start-------------
......@@ -167,4 +157,19 @@ update TRANSETUP set PERIOD_OPTION = 'M' where TRAN_WINDOW = 'w_site_stan_paytb
update POPHELP set THUMB_ALT_COL = 'DESCR', THUMB_IMAGE_COL= 'PAY_TABLE', THUMB_OBJ = 'EmpImages' where FIELD_NAME='PAY_TABLE' and MOD_NAME = 'W_SITE_STAN_PAYTBL';
--------------------------------------------Added by shital on 07/10/2019 End-------------
-------------------------------------------Added by Shital on 25/10/2019 Start-------------
update itm2menu set icon_path='SiteStationPayTable.png' , close_icon = 'SiteStationPayTablewht.png' where win_name='w_site_stan_paytbl';
update obj_forms set disp_metadata=
'<html>
<span style="white-space: normal !important; word-break: break-word; "><b> {site_descr} ({site_code})</b> <br/>
State Code : <b>{state_descr} ({state_code})</b> , Station Code :<b> {station_descr} ({stan_code})</b> , Pay Table :<b> {paytable_descr} ({pay_table})</b>
</span>
</html>' where win_name='w_site_stan_paytbl';
update obj_actions set DISPLAY_MODE=0 where OBJ_NAME='site_stan_paytbl' and TITLE in ('Add','Edit');--View on HOMESCREEN,ADD,EDIT,VIEW MODE
update obj_actions set DISPLAY_MODE=1 where OBJ_NAME='site_stan_paytbl' and TITLE in ('Copy Transaction','Export2XLS','Audit Trail');----View on HOMESCREEN Only.
--------------------------------------------Added by Sarita on 25/10/2019 End-------------
......@@ -125,6 +125,18 @@ update POPHELP set AUTO_FILL_LEN = 3, AUTO_MIN_LENGTH = 2 , HELP_OPTION = 2 wher
update TRANSETUP set PERIOD_OPTION = 'M' where TRAN_WINDOW = 'w_sun_geobi_access';
-------------------------------------------- Shital [07/10/19] -------------------[End]
-------------------------------------------- Shital [25/10/19] -------------------[START]
update itm2menu set icon_path='GeoLocationAccess.png' , close_icon = 'GeoLocationAccesswht.png' where win_name='w_sun_geobi_access';
update obj_forms set disp_metadata=
'<html>
<span style="white-space: normal !important; word-break: break-word; "><b>{username} ({user_id})</b> , Geo Location : <b>({geo_loc})</b>
</span>
</html>' where win_name='w_sun_geobi_access';
update obj_actions set DISPLAY_MODE=0 where OBJ_NAME='sun_geobi_access' and TITLE in ('Add','Edit');--View on HOMESCREEN,ADD,EDIT,VIEW MODE
update obj_actions set DISPLAY_MODE=1 where OBJ_NAME='sun_geobi_access' and TITLE in ('Copy Transaction','Export2XLS','Audit Trail');----View on HOMESCREEN Only.
-------------------------------------------- Shital [25/10/19] -------------------[END]
......
......@@ -103,15 +103,6 @@ Insert into TRANS_COPY_SETUP (OBJ_NAME,FORM_NO,FIELD_NAME,DEF_VALUE,COPY_FLAG) v
Insert into TRANS_COPY_SETUP (OBJ_NAME,FORM_NO,FIELD_NAME,DEF_VALUE,COPY_FLAG) values ('work_location','1','username',null,'N');
-------------------------------------------- Shital [3/09/19] -------------------[END]
-------------------------------------------- Shital [9/09/19] -------------------[START]
update obj_forms set disp_metadata=
'<html>
<span style="white-space: normal !important; word-break: break-word; ">Work Location Code :<b>({work_loc_code})</b> , Description : <b>({descr})</b>
<br/> City :<b> {city}</b> , State Code :<b>({state_code})</b> , Active : <b>({active})</b>
</span>
</html>' where win_name='w_work_location';
-------------------------------------------- Shital [9/09/19] -------------------[End]
-------------------------------------------- Shital [07/10/19] -------------------[START]
update TRANSETUP set THUMB_ALT_COL = 'descr', THUMB_IMAGE_COL= 'work_loc_code', THUMB_OBJ = 'EmpImages' where TRAN_WINDOW = 'w_work_location';
update OBJ_FORMS set THUMB_ALT_COL = 'descr', THUMB_IMAGE_COL= 'work_loc_code', THUMB_OBJ = 'EmpImages' where WIN_NAME = 'w_work_location';
......@@ -120,10 +111,20 @@ update POPHELP set AUTO_FILL_LEN = 3, AUTO_MIN_LENGTH = 2 , HELP_OPTION = 2 wher
update TRANSETUP set PERIOD_OPTION = 'M' where TRAN_WINDOW = 'w_work_location';
-------------------------------------------- Shital [07/10/19] -------------------[End]
--------------------------------------------Added by Shital on 15/10/2019 Start-------------
update itm2menu set ICON_PATH='Work-LocationG.png',CLOSE_ICON='Work-Locationwht.png' where APPLICATION='ADP' and WIN_NAME='w_work_location';
--------------------------------------------Added by Shital on 15/10/2019 End-------------
-------------------------------------------- Shital [25/10/19] -------------------[START]
update itm2menu set ICON_PATH='WorkLocation.png',CLOSE_ICON='WorkLocationwht.png' where APPLICATION='ADP' and WIN_NAME='w_work_location';
update obj_forms set disp_metadata=
'<html>
<span style="white-space: normal !important; word-break: break-word; "><b>({work_loc_code})</b> <br>
Description : <b>({descr})</b> , City :<b> {city}</b> , State Code :<b>({state_code})</b> , Active : <b>({active})</b>
</span>
</html>' where win_name='w_work_location';
update obj_actions set DISPLAY_MODE=0 where OBJ_NAME='work_location' and TITLE in ('Add','Edit');--View on HOMESCREEN,ADD,EDIT,VIEW MODE
update obj_actions set DISPLAY_MODE=1 where OBJ_NAME='work_location' and TITLE in ('Copy Transaction','Export2XLS','Audit Trail');----View on HOMESCREEN Only.
-------------------------------------------- Shital [25/10/19] -------------------[End]
......
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