Commit cdffe7ac authored by ysawant's avatar ysawant

*Added updated SRC,SQL ,metadata and SRD of Grade Site OT menu [12-11-19]

GradeSiteOTIC.java
grade_site_ot11.xml
grade_site_ot21.xml
d_grade_site_ot_brow.srd
d_grade_site_ot_edit.srd
w_grade_site_ot_v1.sql


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@211761 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 447de3dc
------------------------------------------------------------------Yashwant START [07/11/2019] ---------------------------------
-----1) Icon missing and content not configured
update OBJ_FORMS set DISP_METADATA =
'<html>
<span style="white-space: normal !important; word-break: break-word; "><b>{grade_descr} ({grade_code})</b>
<br/> Limit Hours :<b>({limit_hrs})</b> , Limit Type :<b> {limit_type}</b> , Limit Hours :<b>({limit_hrs})</b> , Site Code :<b>({site_code})</b>
</span>
</html>' where WIN_NAME= 'w_grade_site_ot';
update TRANSETUP set THUMB_ALT_COL = 'descr', THUMB_IMAGE_COL= 'grade_code', THUMB_OBJ = 'GradeImages' , REF_SER = 'GSOT', SITE_ACC_COL = null where TRAN_WINDOW = 'w_grade_site_ot';
update OBJ_FORMS set THUMB_ALT_COL = 'descr', THUMB_IMAGE_COL= 'grade_code', THUMB_OBJ = 'GradeImages' where WIN_NAME = 'w_grade_site_ot';
update ITM2MENU set ICON_PATH='GradeSiteOT.png',CLOSE_ICON='GradeSiteOTwht.png' where WIN_NAME='w_grade_site_ot';
-----2) Heading should be 'Grade site OT' instead of 'Site oth':
update OBJ_FORMS set TITLE='Grade Site OT' where WIN_NAME='w_grade_site_ot';
-----3) No images for actions and Export to Excel, Audit Trail NOT Working:
update OBJ_ACTIONS set IMAGE = 'ibase/resource/objaction/add.svg',DISPLAY_MODE = '0' where OBJ_NAME = 'grade_site_ot' and TITLE = 'Add';
update OBJ_ACTIONS set IMAGE = 'ibase/resource/objaction/edit.svg',DISPLAY_MODE = '0' where OBJ_NAME = 'grade_site_ot' and TITLE = 'Edit';
update OBJ_ACTIONS set IMAGE = 'ibase/resource/objaction/Audit-trail.svg',RIGHTS_CHAR = 'X',SHOW_IN_PANEL = '1' ,DISPLAY_MODE = '1' where OBJ_NAME = 'grade_site_ot' and TITLE = 'View Audit';
update OBJ_ACTIONS set IMAGE = 'ibase/resource/objaction/exprtExl.svg', SERVICE_CODE = 'a',INTERACTIVE = 'a', RIGHTS_CHAR = 'B', TITLE = 'Export2XLS',SERVICE_HANDLER = null,PLACEMENT = null, ACTION_TYPE = 'S',DISPLAY_MODE = '1' where OBJ_NAME = 'grade_site_ot' and DESCRIPTION = 'Export Excel';
------------------------------------------------------------------Yashwant END [07/11/2019] ---------------------------------
...@@ -64,15 +64,23 @@ ...@@ -64,15 +64,23 @@
</table_column> </table_column>
<table_column> <table_column>
<type precision="3">decimal</type> <type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>limit_hrs</name> <name>limit_hrs</name>
<dbname>grade_site_ot.limit_hrs</dbname> <dbname>grade_site_ot.limit_hrs</dbname>
<initial>0</initial>
</table_column> </table_column>
<table_column> <table_column>
<type size="1">char</type> <type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>limit_type</name> <name>limit_type</name>
<dbname>grade_site_ot.limit_type</dbname> <dbname>grade_site_ot.limit_type</dbname>
<initial>M</initial>
<values>
<item display="Monthly" data="M"/>
<item display="Quaterly" data="Q"/>
</values>
</table_column> </table_column>
<table_column> <table_column>
<type size="5">char</type> <type size="5">char</type>
...@@ -84,27 +92,32 @@ ...@@ -84,27 +92,32 @@
</table_column> </table_column>
<table_column> <table_column>
<type>datetime</type> <type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>chg_date</name> <name>chg_date</name>
<dbname>grade_site_ot.chg_date</dbname> <dbname>grade_site_ot.chg_date</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="10">char</type> <type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>chg_user</name> <name>chg_user</name>
<dbname>grade_site_ot.chg_user</dbname> <dbname>grade_site_ot.chg_user</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="15">char</type> <type size="300">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>chg_term</name> <name>chg_term</name>
<dbname>grade_site_ot.chg_term</dbname> <dbname>grade_site_ot.chg_term</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type precision="3">decimal</type> <type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>min_minutes</name> <name>min_minutes</name>
<dbname>grade_site_ot.min_minutes</dbname> <dbname>grade_site_ot.min_minutes</dbname>
<initial>0</initial>
</table_column> </table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;grade_site_ot&quot; ) TABLE(NAME=&quot;grade&quot; ) COLUMN(NAME=&quot;grade_site_ot.grade_code&quot;) COLUMN(NAME=&quot;grade.descr&quot;) COLUMN(NAME=&quot;grade_site_ot.limit_hrs&quot;) COLUMN(NAME=&quot;grade_site_ot.limit_type&quot;) COLUMN(NAME=&quot;grade_site_ot.site_code&quot;) COLUMN(NAME=&quot;grade_site_ot.chg_date&quot;) COLUMN(NAME=&quot;grade_site_ot.chg_user&quot;) COLUMN(NAME=&quot;grade_site_ot.chg_term&quot;) COLUMN(NAME=&quot;grade_site_ot.min_minutes&quot;) JOIN (LEFT=&quot;grade_site_ot.grade_code&quot; OP =&quot;=&quot;RIGHT=&quot;grade.grade_code&quot; )WHERE( EXP1 =&quot;grade_site_ot.site_code&quot; OP =&quot;=&quot; EXP2 =&quot;:site_code&quot; ) ) ARG(NAME = &quot;site_code&quot; TYPE = string) </retrieve> <retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;grade_site_ot&quot; ) TABLE(NAME=&quot;grade&quot; ) COLUMN(NAME=&quot;grade_site_ot.grade_code&quot;) COLUMN(NAME=&quot;grade.descr&quot;) COLUMN(NAME=&quot;grade_site_ot.limit_hrs&quot;) COLUMN(NAME=&quot;grade_site_ot.limit_type&quot;) COLUMN(NAME=&quot;grade_site_ot.site_code&quot;) COLUMN(NAME=&quot;grade_site_ot.chg_date&quot;) COLUMN(NAME=&quot;grade_site_ot.chg_user&quot;) COLUMN(NAME=&quot;grade_site_ot.chg_term&quot;) COLUMN(NAME=&quot;grade_site_ot.min_minutes&quot;) JOIN (LEFT=&quot;grade_site_ot.grade_code&quot; OP =&quot;=&quot;RIGHT=&quot;grade.grade_code&quot; )WHERE( EXP1 =&quot;grade_site_ot.site_code&quot; OP =&quot;=&quot; EXP2 =&quot;:site_code&quot; ) ) ARG(NAME = &quot;site_code&quot; TYPE = string) </retrieve>
<update>GRADE_SITE_OT</update> <update>GRADE_SITE_OT</update>
...@@ -230,7 +243,7 @@ ...@@ -230,7 +243,7 @@
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>2</alignment> <alignment>2</alignment>
<text>Site</text> <text>Site Code</text>
<border>0</border> <border>0</border>
<color>0</color> <color>0</color>
<x>774</x> <x>774</x>
...@@ -495,11 +508,10 @@ ...@@ -495,11 +508,10 @@
</html> </html>
<name>limit_type</name> <name>limit_type</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="ddlb">
<limit>1</limit> <limit>0</limit>
<case>upper</case> <allowedit>no</allowedit>
<focusrectangle>no</focusrectangle> <case>any</case>
<autoselect>no</autoselect>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
......
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