Commit da2589ef authored by ysawant's avatar ysawant

*Updated SQL and SRD of shiftPattern component

shift_pattern21.xml
w_shift_pattern.sql
d_shift_pattern_edit.srd
Shift-Pattern.png
Shift-PatternWht.png


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@206655 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 3c9af5fa
......@@ -99,5 +99,30 @@ delete from SHIFT_PATTERN WHERE SITE_CODE = 'S0001' and PATTERN_CODE='P0002
--------------------------------------------------Added on Yashwant 27-08-2019[End]
--------------------------------------------------------------Added by Yashwant on 03-09-2019[Start]
delete from OBJ_ACTIONS where OBJ_NAME='shift_pattern';
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 ('shift_pattern',1,'ibase/resource/objaction/add.svg','Adding New','a','a','A','Add','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,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 ('shift_pattern',2,'ibase/resource/objaction/edit.svg','Editing Existing Record','a','a','E','Edit','1',null,null,'S',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,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 ('shift_pattern',8,'ibase/resource/objaction/copyTransaction.svg','Copy Transaction','a','a','A','Copy Transaction','1',null,null,'S',null,null,null,null,null,null,null,null,null,null,null,null,'0',null,null,null,null,null,null,'1',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 ('shift_pattern',21,'ibase/resource/objaction/Audit-trail.svg','View Audit Trail','audit_trail','1','Q','View Audit','1','1','1','U',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,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 ('shift_pattern',22,'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,null,null,1);
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 ('VTPCCAN1 ','Pattern Code Alreadt Exist','Please Enter New Pattern Code.','E','Y',null,null,null,to_date('24-03-06','DD-MM-RR'),'BASE ','01BASE215',null,null);
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 ('PATTERN_CODE','W_SHIFT_PATTERN','Pattern Code Already Exist','VTPCCAN1 ','N','C','select (case when (SELECT COUNT(*) FROM SHIFT_PATTERN WHERE PATTERN_CODE = ?) = 0 then 0 else 1 end ) from dual','0','Q',to_date('26-06-07','DD-MM-RR'),'SUN ','01HOMISVISHAL',null,':0.pattern_code,:0.flag',0,null,null,null,null,null,'X','edit');
update TRANSETUP set REF_SER='E-SHFT' where TRAN_WINDOW='w_shift_pattern';
update itm2menu set icon_path = 'Shift-Pattern.png', CLOSE_ICON = 'Shift-PatternWht.png' where win_name = 'w_shift_pattern';
--------------------------------------------------------------Added by Yashwant on 03-09-2019[End]
......@@ -30,10 +30,6 @@
<overrideprintjob>no</overrideprintjob>
</print>
</BaseDefinition>
<Header>
<height>24</height>
<color>536870912</color>
</Header>
<Summary>
<height>0</height>
<color>536870912</color>
......@@ -43,7 +39,7 @@
<color>536870912</color>
</Footer>
<Detail>
<height>222</height>
<height>423</height>
<color>536870912</color>
</Detail>
<TableDefinition>
......@@ -117,7 +113,7 @@
</values>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;shift_pattern&quot; ) COLUMN(NAME=&quot;shift_pattern.pattern_code&quot;) COLUMN(NAME=&quot;shift_pattern.start_date&quot;) COLUMN(NAME=&quot;shift_pattern.shift_pattern&quot;) COLUMN(NAME=&quot;shift_pattern.no_of_days&quot;) COLUMN(NAME=&quot;shift_pattern.chg_date&quot;) COLUMN(NAME=&quot;shift_pattern.chg_term&quot;) COLUMN(NAME=&quot;shift_pattern.chg_user&quot;) COLUMN(NAME=&quot;shift_pattern.site_code&quot;) COLUMN(NAME=&quot;shift_pattern.gen_shift_hol&quot;)WHERE( EXP1 =&quot;SHIFT_PATTERN.PATTERN_CODE&quot; OP =&quot;=&quot; EXP2 =&quot;:as_pattern_code&quot; ) ) ARG(NAME = &quot;as_pattern_code&quot; TYPE = string) </retrieve>
<update>SHIFT_PATTERN</update>
<update>shift_pattern</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
<argument>
......@@ -125,15 +121,39 @@
<type>string</type>
</argument>
</TableDefinition>
<GroupBox>
<band>Detail</band>
<text>Other</text>
<border>2</border>
<color>33554432</color>
<x>33</x>
<y>164</y>
<height>93</height>
<width>474</width>
<name>gb_2</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>2</mode>
<color>134217739</color>
</background>
</GroupBox>
<GroupBox>
<band>Detail</band>
<text>Basic</text>
<border>2</border>
<color>33554432</color>
<x>25</x>
<y>7</y>
<height>141</height>
<width>451</width>
<x>34</x>
<y>14</y>
<height>127</height>
<width>472</width>
<name>gb_1</name>
<visible>1</visible>
<font>
......@@ -146,23 +166,23 @@
</font>
<background>
<mode>2</mode>
<color>67108864</color>
<color>134217739</color>
</background>
</GroupBox>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Start Date:</text>
<text>Pattern Code:</text>
<border>0</border>
<color>33554432</color>
<x>273</x>
<y>38</y>
<x>88</x>
<y>40</y>
<height>16</height>
<width>80</width>
<width>81</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>start_date_t</name>
<name>pattern_code_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -177,48 +197,58 @@
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<ColumnObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Pattern Code:</text>
<border>0</border>
<id>1</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>5</border>
<color>33554432</color>
<x>70</x>
<y>38</y>
<x>173</x>
<y>40</y>
<height>16</height>
<width>81</width>
<width>66</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pattern_code_t</name>
<name>pattern_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>upper</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>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
<mode>2</mode>
<color>16777215</color>
</background>
</TextObject>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Shift Pattern:</text>
<text>Start Date:</text>
<border>0</border>
<color>33554432</color>
<x>71</x>
<y>60</y>
<x>291</x>
<y>40</y>
<height>16</height>
<width>80</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>shift_pattern_t</name>
<name>start_date_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -240,8 +270,8 @@
<tabsequence>20</tabsequence>
<border>5</border>
<color>33554432</color>
<x>358</x>
<y>38</y>
<x>376</x>
<y>40</y>
<height>16</height>
<width>94</width>
<format>dd/mm/yy</format>
......@@ -268,6 +298,34 @@
<color>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Shift Pattern:</text>
<border>0</border>
<color>33554432</color>
<x>89</x>
<y>62</y>
<height>16</height>
<width>80</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>shift_pattern_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>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
......@@ -275,8 +333,8 @@
<tabsequence>30</tabsequence>
<border>5</border>
<color>33554432</color>
<x>155</x>
<y>60</y>
<x>173</x>
<y>62</y>
<height>16</height>
<width>297</width>
<format>[general]</format>
......@@ -286,10 +344,11 @@
<name>shift_pattern</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<limit>100</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -305,6 +364,34 @@
<color>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Number Of Days:</text>
<border>0</border>
<color>33554432</color>
<x>69</x>
<y>85</y>
<height>16</height>
<width>100</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>no_of_days_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>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
......@@ -312,8 +399,8 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>155</x>
<y>83</y>
<x>173</x>
<y>85</y>
<height>16</height>
<width>53</width>
<format>[general]</format>
......@@ -343,6 +430,34 @@
<color>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Generate Shift On Holiday:</text>
<border>0</border>
<color>33554432</color>
<x>236</x>
<y>85</y>
<height>16</height>
<width>163</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>gen_shift_hol_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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>9</id>
......@@ -350,8 +465,8 @@
<tabsequence>40</tabsequence>
<border>5</border>
<color>33554432</color>
<x>386</x>
<y>83</y>
<x>404</x>
<y>85</y>
<height>16</height>
<width>66</width>
<format>[general]</format>
......@@ -382,17 +497,17 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Generate Shift On Holiday:</text>
<text>Site Code:</text>
<border>0</border>
<color>33554432</color>
<x>218</x>
<y>83</y>
<x>69</x>
<y>107</y>
<height>16</height>
<width>163</width>
<width>100</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>gen_shift_hol_t</name>
<name>site_code_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -403,37 +518,36 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<id>8</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>956</x>
<y>32</y>
<height>19</height>
<x>173</x>
<y>107</y>
<height>16</height>
<width>66</width>
<format>[shortdate] [time]</format>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date</name>
<visible>0</visible>
<name>site_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
......@@ -445,63 +559,53 @@
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<TextObject>
<band>Detail</band>
<id>6</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<text>Change Date : </text>
<border>0</border>
<color>33554432</color>
<x>955</x>
<y>54</y>
<height>19</height>
<width>66</width>
<format>[general]</format>
<x>90</x>
<y>190</y>
<height>16</height>
<width>78</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>15</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<name>chg_date_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
<color>134217739</color>
</background>
</ColumnObject>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<id>5</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>955</x>
<y>80</y>
<height>19</height>
<x>172</x>
<y>189</y>
<height>17</height>
<width>66</width>
<format>[general]</format>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user</name>
<visible>0</visible>
<name>chg_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
......@@ -509,7 +613,7 @@
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
......@@ -521,66 +625,57 @@
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<TextObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>5</border>
<text>Change Term : </text>
<border>0</border>
<color>33554432</color>
<x>155</x>
<y>38</y>
<x>86</x>
<y>211</y>
<height>16</height>
<width>66</width>
<format>[general]</format>
<width>82</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pattern_code</name>
<name>chg_term_t</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>upper</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>2</family>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
<color>134217739</color>
</background>
</ColumnObject>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<id>6</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>155</x>
<y>105</y>
<x>172</x>
<y>211</y>
<height>16</height>
<width>66</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code</name>
<name>chg_term</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<limit>15</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -598,18 +693,18 @@
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Number Of Days:</text>
<alignment>0</alignment>
<text>Change User :</text>
<border>0</border>
<color>33554432</color>
<x>51</x>
<y>83</y>
<x>322</x>
<y>189</y>
<height>16</height>
<width>100</width>
<width>79</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>no_of_days_t</name>
<name>chg_user_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -620,38 +715,48 @@
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
<mode>2</mode>
<color>134217739</color>
</background>
</TextObject>
<TextObject>
<ColumnObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Site Code:</text>
<border>0</border>
<id>7</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>51</x>
<y>105</y>
<height>16</height>
<width>100</width>
<x>405</x>
<y>189</y>
<height>15</height>
<width>66</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code_t</name>
<name>chg_user</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</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>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
<mode>2</mode>
<color>16777215</color>
</background>
</TextObject>
</ColumnObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
......
$PBExportHeader$d_shift_pattern_edit.srd
release 9;
datawindow(units=1 timer_interval=0 color=67108864 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" )
footer(height=0 color="536870912" )
detail(height=131 color="536870912" )
table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=pattern_code dbname="shift_pattern.pattern_code" )
column=(type=datetime update=yes updatewhereclause=yes name=start_date dbname="shift_pattern.start_date" )
column=(type=char(100) update=yes updatewhereclause=yes name=shift_pattern dbname="shift_pattern.shift_pattern" )
column=(type=decimal(0) update=yes updatewhereclause=yes name=no_of_days dbname="shift_pattern.no_of_days" )
column=(type=datetime update=yes updatewhereclause=yes name=chg_date dbname="shift_pattern.chg_date" )
column=(type=char(15) update=yes updatewhereclause=yes name=chg_term dbname="shift_pattern.chg_term" )
column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="shift_pattern.chg_user" )
column=(type=char(5) update=yes updatewhereclause=yes name=site_code dbname="shift_pattern.site_code" )
column=(type=char(1) update=yes updatewhereclause=yes name=gen_shift_hol dbname="shift_pattern.gen_shift_hol" initial="N" values="Yes Y/No N/" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"shift_pattern~" ) COLUMN(NAME=~"shift_pattern.pattern_code~") COLUMN(NAME=~"shift_pattern.start_date~") COLUMN(NAME=~"shift_pattern.shift_pattern~") COLUMN(NAME=~"shift_pattern.no_of_days~") COLUMN(NAME=~"shift_pattern.chg_date~") COLUMN(NAME=~"shift_pattern.chg_term~") COLUMN(NAME=~"shift_pattern.chg_user~") COLUMN(NAME=~"shift_pattern.site_code~") COLUMN(NAME=~"shift_pattern.gen_shift_hol~")WHERE( EXP1 =~"SHIFT_PATTERN.PATTERN_CODE~" OP =~"=~" EXP2 =~":as_pattern_code~" ) ) ARG(NAME = ~"as_pattern_code~" TYPE = string) " update="shift_pattern" updatewhere=0 updatekeyinplace=no arguments=(("as_pattern_code", string)) )
text(band=detail alignment="1" text="Start Date:" border="0" color="33554432" x="237" y="10" height="16" width="80" html.valueishtml="0" name=start_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="536870912" )
text(band=detail alignment="1" text="Pattern Code:" border="0" color="33554432" x="34" y="10" height="16" width="81" html.valueishtml="0" name=pattern_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" )
text(band=detail alignment="1" text="Shift Pattern:" border="0" color="33554432" x="35" y="32" height="16" width="80" html.valueishtml="0" name=shift_pattern_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=20 border="5" color="33554432" x="322" y="10" height="16" width="94" format="dd/mm/yy" html.valueishtml="0" name=start_date visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=3 alignment="0" tabsequence=30 border="5" color="33554432" x="119" y="32" height="16" width="297" format="[general]" html.valueishtml="0" name=shift_pattern visible="1" edit.limit=100 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="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=4 alignment="1" tabsequence=32766 border="5" color="33554432" x="119" y="55" height="16" width="53" format="[general]" html.valueishtml="0" name=no_of_days visible="1" edit.limit=3 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="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=9 alignment="0" tabsequence=40 border="5" color="33554432" x="350" y="55" height="16" width="66" format="[general]" html.valueishtml="0" name=gen_shift_hol visible="1" ddlb.limit=1 ddlb.allowedit=no ddlb.case=upper ddlb.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Generate Shift On Holiday:" border="0" color="33554432" x="182" y="55" height="16" width="163" html.valueishtml="0" name=gen_shift_hol_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="67108864" )
column(band=detail id=5 alignment="0" tabsequence=32766 border="5" color="33554432" x="920" y="4" height="19" width="66" format="[shortdate] [time]" html.valueishtml="0" name=chg_date visible="0" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=6 alignment="0" tabsequence=32766 border="5" color="33554432" x="919" y="26" height="19" width="66" format="[general]" html.valueishtml="0" name=chg_term visible="0" edit.limit=15 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=7 alignment="0" tabsequence=32766 border="5" color="33554432" x="919" y="52" height="19" width="66" format="[general]" html.valueishtml="0" name=chg_user visible="0" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=1 alignment="0" tabsequence=10 border="5" color="33554432" x="119" y="10" height="16" width="66" format="[general]" html.valueishtml="0" name=pattern_code visible="1" edit.limit=10 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="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=8 alignment="0" tabsequence=32766 border="5" color="33554432" x="119" y="77" height="16" width="66" format="[general]" html.valueishtml="0" name=site_code 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="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Number Of Days:" border="0" color="33554432" x="15" y="55" height="16" width="100" html.valueishtml="0" name=no_of_days_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" )
text(band=detail alignment="1" text="Site Code:" border="0" color="33554432" x="15" y="77" height="16" width="100" html.valueishtml="0" name=site_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" )
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 )
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
$PBExportHeader$d_shift_pattern_edit.srd
release 9;
datawindow(units=1 timer_interval=0 color=67108864 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" )
footer(height=0 color="536870912" )
detail(height=423 color="536870912" )
table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=pattern_code dbname="shift_pattern.pattern_code" )
column=(type=datetime update=yes updatewhereclause=yes name=start_date dbname="shift_pattern.start_date" )
column=(type=char(100) update=yes updatewhereclause=yes name=shift_pattern dbname="shift_pattern.shift_pattern" )
column=(type=decimal(0) update=yes updatewhereclause=yes name=no_of_days dbname="shift_pattern.no_of_days" )
column=(type=datetime update=yes updatewhereclause=yes name=chg_date dbname="shift_pattern.chg_date" )
column=(type=char(15) update=yes updatewhereclause=yes name=chg_term dbname="shift_pattern.chg_term" )
column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="shift_pattern.chg_user" )
column=(type=char(5) update=yes updatewhereclause=yes name=site_code dbname="shift_pattern.site_code" )
column=(type=char(1) update=yes updatewhereclause=yes name=gen_shift_hol dbname="shift_pattern.gen_shift_hol" initial="N" values="Yes Y/No N/" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"shift_pattern~" ) COLUMN(NAME=~"shift_pattern.pattern_code~") COLUMN(NAME=~"shift_pattern.start_date~") COLUMN(NAME=~"shift_pattern.shift_pattern~") COLUMN(NAME=~"shift_pattern.no_of_days~") COLUMN(NAME=~"shift_pattern.chg_date~") COLUMN(NAME=~"shift_pattern.chg_term~") COLUMN(NAME=~"shift_pattern.chg_user~") COLUMN(NAME=~"shift_pattern.site_code~") COLUMN(NAME=~"shift_pattern.gen_shift_hol~")WHERE( EXP1 =~"SHIFT_PATTERN.PATTERN_CODE~" OP =~"=~" EXP2 =~":as_pattern_code~" ) ) ARG(NAME = ~"as_pattern_code~" TYPE = string) " update="shift_pattern" updatewhere=0 updatekeyinplace=no arguments=(("as_pattern_code", string)) )
groupbox(band=detail text="Other"border="2" color="33554432" x="33" y="164" height="93" width="474" 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="2" background.color="134217739" )
groupbox(band=detail text="Basic"border="2" color="33554432" x="34" y="14" height="127" width="472" 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="2" background.color="134217739" )
text(band=detail alignment="1" text="Pattern Code:" border="0" color="33554432" x="88" y="40" height="16" width="81" html.valueishtml="0" name=pattern_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=1 alignment="0" tabsequence=10 border="5" color="33554432" x="173" y="40" height="16" width="66" format="[general]" html.valueishtml="0" name=pattern_code visible="1" edit.limit=10 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="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Start Date:" border="0" color="33554432" x="291" y="40" height="16" width="80" html.valueishtml="0" name=start_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="536870912" )
column(band=detail id=2 alignment="0" tabsequence=20 border="5" color="33554432" x="376" y="40" height="16" width="94" format="dd/mm/yy" html.valueishtml="0" name=start_date visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Shift Pattern:" border="0" color="33554432" x="89" y="62" height="16" width="80" html.valueishtml="0" name=shift_pattern_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=3 alignment="0" tabsequence=30 border="5" color="33554432" x="173" y="62" height="16" width="297" format="[general]" html.valueishtml="0" name=shift_pattern visible="1" edit.limit=100 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="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Number Of Days:" border="0" color="33554432" x="69" y="85" height="16" width="100" html.valueishtml="0" name=no_of_days_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=32766 border="5" color="33554432" x="173" y="85" height="16" width="53" format="[general]" html.valueishtml="0" name=no_of_days visible="1" edit.limit=3 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="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Generate Shift On Holiday:" border="0" color="33554432" x="236" y="85" height="16" width="163" html.valueishtml="0" name=gen_shift_hol_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="67108864" )
column(band=detail id=9 alignment="0" tabsequence=40 border="5" color="33554432" x="404" y="85" height="16" width="66" format="[general]" html.valueishtml="0" name=gen_shift_hol visible="1" ddlb.limit=1 ddlb.allowedit=no ddlb.case=upper ddlb.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Site Code:" border="0" color="33554432" x="69" y="107" height="16" width="100" html.valueishtml="0" name=site_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=8 alignment="0" tabsequence=32766 border="5" color="33554432" x="173" y="107" height="16" width="66" format="[general]" html.valueishtml="0" name=site_code 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="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="0" text="Change Date : " border="0" color="33554432" x="90" y="190" height="16" width="78" 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="134217739" )
column(band=detail id=5 alignment="0" tabsequence=32766 border="5" color="33554432" x="172" y="189" height="17" width="66" 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="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="0" text="Change Term : " border="0" color="33554432" x="86" y="211" height="16" width="82" 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="134217739" )
column(band=detail id=6 alignment="0" tabsequence=32766 border="5" color="33554432" x="172" y="211" height="16" width="66" 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="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="0" text="Change User :" border="0" color="33554432" x="322" y="189" height="16" width="79" 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="134217739" )
column(band=detail id=7 alignment="0" tabsequence=32766 border="5" color="33554432" x="405" y="189" height="15" width="66" 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="2" 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 )
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
\ No newline at end of file
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