Commit 763615c2 authored by dpingle's avatar dpingle

* update sql, srd, xml and src file.

workshft11.xml
workshft21.xml
w_workshft.sql
d_wrkshift_brow.srd
d_wrkshift_edit.srd
WorkShiftIC.java


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@213595 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 51e2d846
......@@ -26,9 +26,6 @@ update OBJ_ACTIONS set image='ibase/resource/objaction/edit.svg' where OBJ_NAME=
update OBJ_ACTIONS set image='ibase/resource/objaction/Audit-trail.svg' where OBJ_NAME='workshft' and LINE_NO=21;
update OBJ_ACTIONS set image='ibase/resource/objaction/exprtExl.svg' where OBJ_NAME='workshft' and LINE_NO=22;
----------------------------------------------------- SYSTEM_EVENTS
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,OVERWRITE_CORE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,COMP_TYPE,COMP_NAME,COMM_FORMAT) values ('workshft','audit_trail','1','project_audit_trail',null,'0',to_date('04-12-07','DD-MM-RR'),'d ','Base45','2',null,null,null);
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,OVERWRITE_CORE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,COMP_TYPE,COMP_NAME,COMM_FORMAT) values ('workshft','export_excel','1','export_excel',null,null,to_date('26-03-15','DD-MM-RR'),'danish ','Base143',null,null,null,null);
......@@ -109,10 +106,75 @@ Insert into MESSAGES (MSG_NO,MSG_STR,MSG_DESCR,MSG_TYPE,MSG_OPT,MSG_TIME,ALARM,E
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 ('VMTIME ','Invalid Time','Enter valid time','E','Y',null,null,null,to_date('22-10-00','DD-MM-RR'),'SUN ','HDP ',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 ('VTDESC1 ','Description cannot be empty','Description cannot be empty','E','Y',null,null,null,to_date('22-10-00','DD-MM-RR'),'SUN ','HDP ',null,null);
----------------------------------------------------- SARITA [31/08/2019] ---------------------- START
update itm2menu set icon_path='workshft.png' , close_icon='workshftwht.png' where win_name='w_workshft';
----------------------------------------------------- SARITA [31/08/2019] ---------------------- END
----------------------------------------------[18/10/19]Start
update transetup set REF_SER ='W-SHFT' where TRAN_WINDOW = 'w_workshft';
----------------------------------------------[18/10/19]Start
----------------------------------------------[16/12/19]Start
update obj_actions set IMAGE='ibase/resource/objaction/add.svg', DISPLAY_MODE=2 where OBJ_NAME='workshft' and LINE_NO=1;
update obj_actions set IMAGE='ibase/resource/objaction/edit.svg', DISPLAY_MODE=2 where OBJ_NAME='workshft' and LINE_NO=2;
update obj_actions set DISPLAY_MODE=2 , Rights_Char='X', title='View Audit', SHOW_IN_PANEL=1 where OBJ_NAME='workshft' 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='workshft' 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 ('workshft',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 ('workshft',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 itm2menu set ICON_PATH='WorkShifts.png' , CLOSE_ICON='WorkShiftswht.png' where WIN_NAME='w_workshft';
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 ('NEXT_SHIFT','W_WORKSHFT','SELECT SHIFT, DAY_NO FROM WORKSHFT',null,null,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',null,null,null,'2 ',null,null,null,null,null,null,null);
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 ('SHIFT','W_WORKSHFT','SELECT FLD_VALUE as shift,DESCR as shift_descr FROM GENCODES WHERE MOD_NAME = ''W_TOUR_PORTAL_WIZ''',null,null,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',null,null,null,'2 ',null,null,null,null,null,null,null);
update pophelp set THUMB_ALT_COL = 'shift_descr', THUMB_IMAGE_COL= 'shift_descr', THUMB_OBJ = 'icon' where mod_name='W_WORKSHFT' AND field_name='SHIFT';
update pophelp set THUMB_ALT_COL = 'SHIFT', THUMB_IMAGE_COL= 'SHIFT', THUMB_OBJ = 'icon' where mod_name='W_WORKSHFT' AND field_name='NEXT_SHIFT';
update obj_forms set disp_metadata=
'<html>
<span style="white-space: normal !important; word-break: break-word; "> <b> {shift} {descr} {day_no} </b> <br/>
Next Shift: <b>{next_shift}</b> , In time : <b>{in_time}</b> , Out Time : <b>{out_time}<b> </br>
</span>
<br/> <span style="float:right;"></b></span>
</html>' where win_name='w_workshft';
update OBJ_FORMS set THUMB_ALT_COL = 'shift', THUMB_IMAGE_COL= 'shift', THUMB_OBJ = 'icon' where WIN_NAME = 'w_workshft';
update TRANSETUP set THUMB_ALT_COL = 'shift', THUMB_IMAGE_COL= 'shift', THUMB_OBJ = 'icon' where TRAN_WINDOW = 'w_workshft';
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 ('VTDAYNO1','empty Day No.','Day No cannot be empty.','E','Y',null,null,null,to_date('22-10-00','DD-MM-RR'),'SUN ','HDP ',null,null);
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('workshft','1 ','fd_hrs',null);
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('workshft','1 ','hd_hrs',null);
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('workshft','1 ','hd_in_time',null);
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('workshft','1 ','out_time',null);
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('workshft','1 ','in_time',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 ('GRATIME01','Empty Grace Time!!','Grace Time cannot be empty','E','Y',null,null,null,to_date('22-10-00','DD-MM-RR'),'SUN ','HDP ',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 ('GRATIME02','negative Grace Time','Grace Time cannot be negative','E','Y',null,null,null,to_date('22-10-00','DD-MM-RR'),'SUN ','HDP ',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 ('GRANOTIM01','Empty Grace No Time!!','Grace No Time cannot be empty','E','Y',null,null,null,to_date('22-10-00','DD-MM-RR'),'SUN ','HDP ',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 ('GRANOTIM02','Negative Grace No Time','Grace No Time cannot be negative','E','Y',null,null,null,to_date('22-10-00','DD-MM-RR'),'SUN ','HDP ',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 ('VEWSH2','Work Shift does not exists!!','Work Shift does not exists in Work Shift table','E','Y',null,null,null,to_date('22-10-00','DD-MM-RR'),'SUN ','HDP ',null,null);
----------------------------------------------[16/12/19]End
......
......@@ -50,6 +50,7 @@
<TableDefinition>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>day_no</name>
......@@ -81,12 +82,14 @@
</table_column>
<table_column>
<type size="5">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>in_time</name>
<dbname>workshft.in_time</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>out_time</name>
<dbname>workshft.out_time</dbname>
......@@ -104,13 +107,14 @@
<dbname>workshft.chg_user</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<type size="300">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>chg_term</name>
<dbname>workshft.chg_term</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>site_code</name>
<dbname>workshft.site_code</dbname>
......@@ -131,6 +135,7 @@
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>work_type</name>
<dbname>workshft.work_type</dbname>
......@@ -141,18 +146,55 @@
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>rotation_type</name>
<dbname>workshft.rotation_type</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>hd_in_time</name>
<dbname>workshft.hd_in_time</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;workshft&quot; ) COLUMN(NAME=&quot;workshft.day_no&quot;) COLUMN(NAME=&quot;workshft.descr&quot;) COLUMN(NAME=&quot;workshft.shift&quot;) COLUMN(NAME=&quot;workshft.in_time&quot;) COLUMN(NAME=&quot;workshft.out_time&quot;) COLUMN(NAME=&quot;workshft.chg_date&quot;) COLUMN(NAME=&quot;workshft.chg_user&quot;) COLUMN(NAME=&quot;workshft.chg_term&quot;) COLUMN(NAME=&quot;workshft.site_code&quot;) COLUMN(NAME=&quot;workshft.status&quot;) COLUMN(NAME=&quot;workshft.lunch_time&quot;) COLUMN(NAME=&quot;workshft.work_type&quot;) COLUMN(NAME=&quot;workshft.rotation_type&quot;) COLUMN(NAME=&quot;workshft.hd_in_time&quot;)WHERE( EXP1 =&quot;workshft.site_code&quot; OP =&quot;=&quot; EXP2 =&quot;:site_code&quot; ) ) ARG(NAME = &quot;site_code&quot; TYPE = string) </retrieve>
<update>workshft</update>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>grace_time</name>
<dbname>workshft.grace_time</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>hd_hrs</name>
<dbname>workshft.hd_hrs</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>fd_hrs</name>
<dbname>workshft.fd_hrs</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>next_shift</name>
<dbname>workshft.next_shift</dbname>
</table_column>
<table_column>
<type precision="0">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>grace_no_time</name>
<dbname>workshft.grace_no_time</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;workshft&quot; ) COLUMN(NAME=&quot;workshft.day_no&quot;) COLUMN(NAME=&quot;workshft.descr&quot;) COLUMN(NAME=&quot;workshft.shift&quot;) COLUMN(NAME=&quot;workshft.in_time&quot;) COLUMN(NAME=&quot;workshft.out_time&quot;) COLUMN(NAME=&quot;workshft.chg_date&quot;) COLUMN(NAME=&quot;workshft.chg_user&quot;) COLUMN(NAME=&quot;workshft.chg_term&quot;) COLUMN(NAME=&quot;workshft.site_code&quot;) COLUMN(NAME=&quot;workshft.status&quot;) COLUMN(NAME=&quot;workshft.lunch_time&quot;) COLUMN(NAME=&quot;workshft.work_type&quot;) COLUMN(NAME=&quot;workshft.rotation_type&quot;) COLUMN(NAME=&quot;workshft.hd_in_time&quot;) COLUMN(NAME=&quot;workshft.grace_time&quot;) COLUMN(NAME=&quot;workshft.hd_hrs&quot;) COLUMN(NAME=&quot;workshft.fd_hrs&quot;) COLUMN(NAME=&quot;workshft.next_shift&quot;) COLUMN(NAME=&quot;workshft.grace_no_time&quot;)WHERE( EXP1 =&quot;workshft.site_code&quot; OP =&quot;=&quot; EXP2 =&quot;:site_code&quot; ) ) ARG(NAME = &quot;site_code&quot; TYPE = string) </retrieve>
<update>WORKSHFT</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
<argument>
......@@ -306,7 +348,7 @@
<text>Change Date</text>
<border>6</border>
<color>0</color>
<x>604</x>
<x>1510</x>
<y>3</y>
<height>16</height>
<width>75</width>
......@@ -334,7 +376,7 @@
<text>Change User</text>
<border>6</border>
<color>0</color>
<x>681</x>
<x>1433</x>
<y>3</y>
<height>16</height>
<width>75</width>
......@@ -362,7 +404,7 @@
<text>Change Term</text>
<border>6</border>
<color>0</color>
<x>758</x>
<x>1356</x>
<y>3</y>
<height>16</height>
<width>75</width>
......@@ -390,7 +432,7 @@
<text>Site</text>
<border>6</border>
<color>0</color>
<x>835</x>
<x>604</x>
<y>3</y>
<height>16</height>
<width>75</width>
......@@ -418,7 +460,7 @@
<text>Status</text>
<border>6</border>
<color>0</color>
<x>912</x>
<x>681</x>
<y>3</y>
<height>16</height>
<width>85</width>
......@@ -446,7 +488,7 @@
<text>Lunch Time (min.)</text>
<border>6</border>
<color>33554432</color>
<x>999</x>
<x>768</x>
<y>3</y>
<height>16</height>
<width>96</width>
......@@ -474,7 +516,7 @@
<text>Work Type</text>
<border>6</border>
<color>0</color>
<x>1097</x>
<x>866</x>
<y>3</y>
<height>16</height>
<width>64</width>
......@@ -502,7 +544,7 @@
<text>Rot.Type</text>
<border>6</border>
<color>33554432</color>
<x>1163</x>
<x>932</x>
<y>3</y>
<height>16</height>
<width>62</width>
......@@ -552,6 +594,146 @@
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Grace Time</text>
<border>0</border>
<color>33554432</color>
<x>996</x>
<y>3</y>
<height>16</height>
<width>84</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>grace_time_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>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Hd Hrs</text>
<border>0</border>
<color>33554432</color>
<x>1082</x>
<y>3</y>
<height>16</height>
<width>47</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>hd_hrs_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>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Fd Hrs</text>
<border>0</border>
<color>33554432</color>
<x>1131</x>
<y>3</y>
<height>16</height>
<width>61</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>fd_hrs_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>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Next Shift</text>
<border>0</border>
<color>33554432</color>
<x>1194</x>
<y>3</y>
<height>16</height>
<width>67</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>next_shift_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>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Grace No Time</text>
<border>0</border>
<color>33554432</color>
<x>1263</x>
<y>3</y>
<height>16</height>
<width>91</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>grace_no_time_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>
<band>Detail</band>
<id>1</id>
......@@ -737,10 +919,10 @@
<band>Detail</band>
<id>6</id>
<alignment>0</alignment>
<tabsequence>70</tabsequence>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>604</x>
<x>1510</x>
<y>1</y>
<height>18</height>
<width>75</width>
......@@ -773,10 +955,10 @@
<band>Detail</band>
<id>7</id>
<alignment>0</alignment>
<tabsequence>80</tabsequence>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>681</x>
<x>1433</x>
<y>1</y>
<height>18</height>
<width>75</width>
......@@ -809,10 +991,10 @@
<band>Detail</band>
<id>8</id>
<alignment>0</alignment>
<tabsequence>90</tabsequence>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>758</x>
<x>1356</x>
<y>1</y>
<height>18</height>
<width>75</width>
......@@ -845,10 +1027,10 @@
<band>Detail</band>
<id>9</id>
<alignment>0</alignment>
<tabsequence>100</tabsequence>
<tabsequence>70</tabsequence>
<border>5</border>
<color>0</color>
<x>835</x>
<x>604</x>
<y>1</y>
<height>18</height>
<width>75</width>
......@@ -881,10 +1063,10 @@
<band>Detail</band>
<id>10</id>
<alignment>0</alignment>
<tabsequence>110</tabsequence>
<tabsequence>80</tabsequence>
<border>5</border>
<color>0</color>
<x>912</x>
<x>681</x>
<y>1</y>
<height>16</height>
<width>85</width>
......@@ -918,10 +1100,10 @@
<band>Detail</band>
<id>11</id>
<alignment>0</alignment>
<tabsequence>120</tabsequence>
<tabsequence>90</tabsequence>
<border>5</border>
<color>0</color>
<x>999</x>
<x>768</x>
<y>1</y>
<height>16</height>
<width>96</width>
......@@ -957,10 +1139,10 @@
<band>Detail</band>
<id>12</id>
<alignment>0</alignment>
<tabsequence>130</tabsequence>
<tabsequence>100</tabsequence>
<border>5</border>
<color>0</color>
<x>1097</x>
<x>866</x>
<y>1</y>
<height>16</height>
<width>64</width>
......@@ -993,10 +1175,10 @@
<band>Detail</band>
<id>13</id>
<alignment>0</alignment>
<tabsequence>140</tabsequence>
<tabsequence>110</tabsequence>
<border>5</border>
<color>0</color>
<x>1163</x>
<x>932</x>
<y>1</y>
<height>16</height>
<width>62</width>
......@@ -1063,6 +1245,186 @@
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>15</id>
<alignment>0</alignment>
<tabsequence>120</tabsequence>
<border>0</border>
<color>0</color>
<x>996</x>
<y>1</y>
<height>16</height>
<width>84</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>grace_time</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>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>16</id>
<alignment>0</alignment>
<tabsequence>130</tabsequence>
<border>0</border>
<color>0</color>
<x>1082</x>
<y>1</y>
<height>16</height>
<width>47</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>hd_hrs</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>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>17</id>
<alignment>0</alignment>
<tabsequence>140</tabsequence>
<border>0</border>
<color>0</color>
<x>1131</x>
<y>1</y>
<height>16</height>
<width>61</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>fd_hrs</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>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>18</id>
<alignment>0</alignment>
<tabsequence>150</tabsequence>
<border>0</border>
<color>0</color>
<x>1194</x>
<y>1</y>
<height>16</height>
<width>67</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>next_shift</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>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>19</id>
<alignment>0</alignment>
<tabsequence>160</tabsequence>
<border>0</border>
<color>0</color>
<x>1263</x>
<y>1</y>
<height>16</height>
<width>91</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>grace_no_time</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>16777215</color>
</background>
</ColumnObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
......
......@@ -207,7 +207,7 @@
<dbname>workshft.grace_no_time</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;workshft&quot; ) COLUMN(NAME=&quot;workshft.day_no&quot;) COLUMN(NAME=&quot;workshft.shift&quot;) COLUMN(NAME=&quot;workshft.descr&quot;) COLUMN(NAME=&quot;workshft.in_time&quot;) COLUMN(NAME=&quot;workshft.out_time&quot;) COLUMN(NAME=&quot;workshft.fd_hrs&quot;) COLUMN(NAME=&quot;workshft.hd_hrs&quot;) COLUMN(NAME=&quot;workshft.grace_time&quot;) COLUMN(NAME=&quot;workshft.chg_user&quot;) COLUMN(NAME=&quot;workshft.chg_date&quot;) COLUMN(NAME=&quot;workshft.chg_term&quot;) COLUMN(NAME=&quot;workshft.hd_in_time&quot;) COLUMN(NAME=&quot;workshft.next_shift&quot;) COLUMN(NAME=&quot;workshft.site_code&quot;) COLUMN(NAME=&quot;workshft.status&quot;) COLUMN(NAME=&quot;workshft.lunch_time&quot;) COLUMN(NAME=&quot;workshft.work_type&quot;) COLUMN(NAME=&quot;workshft.rotation_type&quot;) COLUMN(NAME=&quot;workshft.grace_no_time&quot;)WHERE( EXP1 =&quot;( workshft.day_no&quot; OP =&quot;=&quot; EXP2 =&quot;:mdayno )&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;( workshft.shift&quot; OP =&quot;=&quot; EXP2 =&quot;:mshift )&quot; ) ) ARG(NAME = &quot;mdayno&quot; TYPE = string) ARG(NAME = &quot;mshift&quot; TYPE = string) </retrieve>
<update>workshft</update>
<update>WORKSHFT</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
<argument>
......@@ -224,9 +224,9 @@
<text>Others</text>
<border>2</border>
<color>0</color>
<x>20</x>
<y>273</y>
<height>93</height>
<x>21</x>
<y>271</y>
<height>73</height>
<width>456</width>
<name>gb_2</name>
<visible>1</visible>
......@@ -1371,10 +1371,10 @@
<text>Chg Date:</text>
<border>0</border>
<color>0</color>
<x>57</x>
<y>291</y>
<x>35</x>
<y>306</y>
<height>16</height>
<width>102</width>
<width>60</width>
<html>
<valueishtml>0</valueishtml>
</html>
......@@ -1393,31 +1393,21 @@
<color>79741120</color>
</background>
</TextObject>
<ColumnObject>
<TextObject>
<band>Detail</band>
<id>10</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<alignment>1</alignment>
<text>Chg User:</text>
<border>0</border>
<color>0</color>
<x>163</x>
<y>291</y>
<x>180</x>
<y>306</y>
<height>16</height>
<width>111</width>
<format>[shortdate] [time]</format>
<width>60</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date</name>
<name>chg_user_t</name>
<visible expression="0">1</visible>
<EditStyle style="edit">
<limit>0</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>
......@@ -1428,23 +1418,23 @@
</font>
<background>
<mode>2</mode>
<color>16777215</color>
<color>79741120</color>
</background>
</ColumnObject>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Chg User:</text>
<text>Chg Term:</text>
<border>0</border>
<color>0</color>
<x>57</x>
<y>315</y>
<x>333</x>
<y>306</y>
<height>16</height>
<width>101</width>
<width>60</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user_t</name>
<name>chg_term_t</name>
<visible expression="0">1</visible>
<font>
<face>Times New Roman</face>
......@@ -1461,23 +1451,23 @@
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<id>10</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>163</x>
<y>315</y>
<color>255</color>
<x>99</x>
<y>306</y>
<height>16</height>
<width>111</width>
<format>[general]</format>
<width>60</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user</name>
<name>chg_date</name>
<visible expression="0">1</visible>
<EditStyle style="edit">
<limit>10</limit>
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
......@@ -1493,25 +1483,35 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
<mode>1</mode>
<color>553648127</color>
</background>
</ColumnObject>
<TextObject>
<ColumnObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Chg Term:</text>
<border>0</border>
<color>0</color>
<x>56</x>
<y>342</y>
<id>9</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>243</x>
<y>306</y>
<height>16</height>
<width>103</width>
<width>60</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term_t</name>
<name>chg_user</name>
<visible expression="0">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>
......@@ -1521,21 +1521,21 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
<mode>1</mode>
<color>553648127</color>
</background>
</TextObject>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>11</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>163</x>
<y>342</y>
<color>255</color>
<x>397</x>
<y>306</y>
<height>16</height>
<width>111</width>
<width>60</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
......@@ -1559,8 +1559,8 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
<mode>1</mode>
<color>553648127</color>
</background>
</ColumnObject>
<HtmlTable>
......
$PBExportHeader$d_wrkshift_brow.srd
$PBExportComments$Work shift master
release 9;
datawindow(units=1 timer_interval=0 color=79741120 processing=1 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 grid.lines=0 )
header(height=20 color="536870912" )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=19 color="536870912" )
table(column=(type=char(1) updatewhereclause=yes key=yes name=day_no dbname="workshft.day_no" values="Monday 2/Tuesday 3/Wednesday 4/Thursday 5/Friday 6/Saturday 7/Sunday 1/" )
column=(type=char(20) update=yes updatewhereclause=yes name=descr dbname="workshft.descr" )
column=(type=char(5) update=yes updatewhereclause=yes key=yes name=shift dbname="workshft.shift" )
column=(type=char(5) updatewhereclause=yes name=in_time dbname="workshft.in_time" )
column=(type=char(5) updatewhereclause=yes name=out_time dbname="workshft.out_time" )
column=(type=datetime updatewhereclause=yes name=chg_date dbname="workshft.chg_date" )
column=(type=char(10) updatewhereclause=yes name=chg_user dbname="workshft.chg_user" )
column=(type=char(15) updatewhereclause=yes name=chg_term dbname="workshft.chg_term" )
column=(type=char(5) updatewhereclause=yes name=site_code dbname="workshft.site_code" )
column=(type=char(1) update=yes updatewhereclause=yes name=status dbname="workshft.status" )
column=(type=decimal(2) update=yes updatewhereclause=yes name=lunch_time dbname="workshft.lunch_time" )
column=(type=char(1) updatewhereclause=yes name=work_type dbname="workshft.work_type" values="fixed X/flexible F/" )
column=(type=char(1) updatewhereclause=yes name=rotation_type dbname="workshft.rotation_type" )
column=(type=char(5) updatewhereclause=yes name=hd_in_time dbname="workshft.hd_in_time" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"workshft~" ) COLUMN(NAME=~"workshft.day_no~") COLUMN(NAME=~"workshft.descr~") COLUMN(NAME=~"workshft.shift~") COLUMN(NAME=~"workshft.in_time~") COLUMN(NAME=~"workshft.out_time~") COLUMN(NAME=~"workshft.chg_date~") COLUMN(NAME=~"workshft.chg_user~") COLUMN(NAME=~"workshft.chg_term~") COLUMN(NAME=~"workshft.site_code~") COLUMN(NAME=~"workshft.status~") COLUMN(NAME=~"workshft.lunch_time~") COLUMN(NAME=~"workshft.work_type~") COLUMN(NAME=~"workshft.rotation_type~") COLUMN(NAME=~"workshft.hd_in_time~")WHERE( EXP1 =~"workshft.site_code~" OP =~"=~" EXP2 =~":site_code~" ) ) ARG(NAME = ~"site_code~" TYPE = string) " update="workshft" updatewhere=0 updatekeyinplace=no arguments=(("site_code", string)) )
text(band=header alignment="0" text="Day No." border="6" color="0" x="2" y="3" height="16" width="103" html.valueishtml="0" name=day_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="0" text="Description" border="6" color="0" x="107" y="3" height="16" width="166" html.valueishtml="0" name=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" )
text(band=header alignment="0" text="Shift" border="6" color="0" x="275" y="3" height="16" width="102" html.valueishtml="0" name=shift_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="In Time" border="6" color="0" x="379" y="3" height="16" width="64" html.valueishtml="0" name=in_time_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="Out Time" border="6" color="0" x="445" y="3" height="16" width="65" html.valueishtml="0" name=out_time_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="604" y="3" height="16" width="75" 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="681" y="3" height="16" width="75" 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="758" y="3" height="16" width="75" 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="Site" border="6" color="0" x="835" y="3" height="16" width="75" 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="2" background.color="79741120" )
text(band=header alignment="0" text="Status" border="6" color="0" x="912" y="3" height="16" width="85" html.valueishtml="0" name=status_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="Lunch Time (min.)" border="6" color="33554432" x="999" y="3" height="16" width="96" html.valueishtml="0" name=lunch_time_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" )
text(band=header alignment="0" text="Work Type" border="6" color="0" x="1097" y="3" height="16" width="64" html.valueishtml="0" name=work_type_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="134217728" )
text(band=header alignment="0" text="Rot.Type" border="6" color="33554432" x="1163" y="3" height="16" width="62" html.valueishtml="0" name=rotation_type_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" )
text(band=header alignment="0" text="Half Day In Time" border="6" color="33554432" x="512" y="3" height="16" width="90" html.valueishtml="0" name=hd_in_time_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=1 alignment="0" tabsequence=10 border="5" color="0" x="2" y="1" height="18" width="103" format="[general]" html.valueishtml="0" name=day_no visible="1" ddlb.limit=0 ddlb.allowedit=no ddlb.case=any ddlb.vscrollbar=yes ddlb.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=2 alignment="0" tabsequence=20 border="5" color="0" x="107" y="1" height="18" width="166" format="[general]" html.valueishtml="0" name=descr visible="1" edit.limit=20 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=30 border="5" color="0" x="275" y="1" height="18" width="102" format="[general]" html.valueishtml="0" name=shift visible="1" edit.limit=1 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=4 alignment="0" tabsequence=40 border="5" color="0" x="379" y="1" height="18" width="64" format="0.00" html.valueishtml="0" name=in_time visible="1" editmask.mask="xxxxx" editmask.imemode=0 editmask.focusrectangle=no 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=50 border="5" color="0" x="445" y="1" height="18" width="65" format="[general]" html.valueishtml="0" name=out_time visible="1" editmask.mask="xxxxx" editmask.imemode=0 editmask.focusrectangle=no 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=70 border="5" color="0" x="604" y="1" height="18" width="75" 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=7 alignment="0" tabsequence=80 border="5" color="0" x="681" y="1" height="18" width="75" 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=8 alignment="0" tabsequence=90 border="5" color="0" x="758" y="1" height="18" width="75" 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=9 alignment="0" tabsequence=100 border="5" color="0" x="835" y="1" height="18" width="75" format="[general]" html.valueishtml="0" name=site_code 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=110 border="5" color="0" x="912" y="1" height="16" width="85" format="[general]" html.valueishtml="0" name=status 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="16777215" )
column(band=detail id=11 alignment="0" tabsequence=120 border="5" color="0" x="999" y="1" height="16" width="96" format="0.00" html.valueishtml="0" name=lunch_time visible="1" edit.limit=6 edit.case=any edit.format="0.00" 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" )
column(band=detail id=12 alignment="0" tabsequence=130 border="5" color="0" x="1097" y="1" height="16" width="64" format="[general]" html.valueishtml="0" name=work_type visible="1" ddlb.limit=0 ddlb.allowedit=no ddlb.case=any ddlb.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=140 border="5" color="0" x="1163" y="1" height="16" width="62" format="[general]" html.valueishtml="0" name=rotation_type 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="16777215" )
column(band=detail id=14 alignment="0" tabsequence=60 border="5" color="0" x="512" y="1" height="16" width="90" format="[general]" html.valueishtml="0" name=hd_in_time 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="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" )
$PBExportHeader$d_wrkshift_brow.srd
$PBExportComments$Work shift master
release 9;
datawindow(units=1 timer_interval=0 color=79741120 processing=1 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 grid.lines=0 )
header(height=20 color="536870912" )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=19 color="536870912" )
table(column=(type=char(1) update=yes updatewhereclause=yes key=yes name=day_no dbname="workshft.day_no" values="Monday 2/Tuesday 3/Wednesday 4/Thursday 5/Friday 6/Saturday 7/Sunday 1/" )
column=(type=char(20) update=yes updatewhereclause=yes name=descr dbname="workshft.descr" )
column=(type=char(5) update=yes updatewhereclause=yes key=yes name=shift dbname="workshft.shift" )
column=(type=char(5) update=yes updatewhereclause=yes name=in_time dbname="workshft.in_time" )
column=(type=char(5) update=yes updatewhereclause=yes name=out_time dbname="workshft.out_time" )
column=(type=datetime updatewhereclause=yes name=chg_date dbname="workshft.chg_date" )
column=(type=char(10) updatewhereclause=yes name=chg_user dbname="workshft.chg_user" )
column=(type=char(300) updatewhereclause=yes name=chg_term dbname="workshft.chg_term" )
column=(type=char(5) update=yes updatewhereclause=yes name=site_code dbname="workshft.site_code" )
column=(type=char(1) update=yes updatewhereclause=yes name=status dbname="workshft.status" )
column=(type=decimal(2) update=yes updatewhereclause=yes name=lunch_time dbname="workshft.lunch_time" )
column=(type=char(1) update=yes updatewhereclause=yes name=work_type dbname="workshft.work_type" values="fixed X/flexible F/" )
column=(type=char(1) update=yes updatewhereclause=yes name=rotation_type dbname="workshft.rotation_type" )
column=(type=char(5) update=yes updatewhereclause=yes name=hd_in_time dbname="workshft.hd_in_time" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=grace_time dbname="workshft.grace_time" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=hd_hrs dbname="workshft.hd_hrs" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=fd_hrs dbname="workshft.fd_hrs" )
column=(type=char(5) update=yes updatewhereclause=yes name=next_shift dbname="workshft.next_shift" )
column=(type=decimal(0) update=yes updatewhereclause=yes name=grace_no_time dbname="workshft.grace_no_time" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"workshft~" ) COLUMN(NAME=~"workshft.day_no~") COLUMN(NAME=~"workshft.descr~") COLUMN(NAME=~"workshft.shift~") COLUMN(NAME=~"workshft.in_time~") COLUMN(NAME=~"workshft.out_time~") COLUMN(NAME=~"workshft.chg_date~") COLUMN(NAME=~"workshft.chg_user~") COLUMN(NAME=~"workshft.chg_term~") COLUMN(NAME=~"workshft.site_code~") COLUMN(NAME=~"workshft.status~") COLUMN(NAME=~"workshft.lunch_time~") COLUMN(NAME=~"workshft.work_type~") COLUMN(NAME=~"workshft.rotation_type~") COLUMN(NAME=~"workshft.hd_in_time~") COLUMN(NAME=~"workshft.grace_time~") COLUMN(NAME=~"workshft.hd_hrs~") COLUMN(NAME=~"workshft.fd_hrs~") COLUMN(NAME=~"workshft.next_shift~") COLUMN(NAME=~"workshft.grace_no_time~")WHERE( EXP1 =~"workshft.site_code~" OP =~"=~" EXP2 =~":site_code~" ) ) ARG(NAME = ~"site_code~" TYPE = string) " update="WORKSHFT" updatewhere=0 updatekeyinplace=no arguments=(("site_code", string)) )
text(band=header alignment="0" text="Day No." border="6" color="0" x="2" y="3" height="16" width="103" html.valueishtml="0" name=day_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="0" text="Description" border="6" color="0" x="107" y="3" height="16" width="166" html.valueishtml="0" name=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" )
text(band=header alignment="0" text="Shift" border="6" color="0" x="275" y="3" height="16" width="102" html.valueishtml="0" name=shift_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="In Time" border="6" color="0" x="379" y="3" height="16" width="64" html.valueishtml="0" name=in_time_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="Out Time" border="6" color="0" x="445" y="3" height="16" width="65" html.valueishtml="0" name=out_time_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="1510" y="3" height="16" width="75" 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="1433" y="3" height="16" width="75" 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="1356" y="3" height="16" width="75" 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="Site" border="6" color="0" x="604" y="3" height="16" width="75" 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="2" background.color="79741120" )
text(band=header alignment="0" text="Status" border="6" color="0" x="681" y="3" height="16" width="85" html.valueishtml="0" name=status_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="Lunch Time (min.)" border="6" color="33554432" x="768" y="3" height="16" width="96" html.valueishtml="0" name=lunch_time_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" )
text(band=header alignment="0" text="Work Type" border="6" color="0" x="866" y="3" height="16" width="64" html.valueishtml="0" name=work_type_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="134217728" )
text(band=header alignment="0" text="Rot.Type" border="6" color="33554432" x="932" y="3" height="16" width="62" html.valueishtml="0" name=rotation_type_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" )
text(band=header alignment="0" text="Half Day In Time" border="6" color="33554432" x="512" y="3" height="16" width="90" html.valueishtml="0" name=hd_in_time_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" )
text(band=header alignment="0" text="Grace Time" border="0" color="33554432" x="996" y="3" height="16" width="84" html.valueishtml="0" name=grace_time_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="Hd Hrs" border="0" color="33554432" x="1082" y="3" height="16" width="47" html.valueishtml="0" name=hd_hrs_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="Fd Hrs" border="0" color="33554432" x="1131" y="3" height="16" width="61" html.valueishtml="0" name=fd_hrs_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="Next Shift" border="0" color="33554432" x="1194" y="3" height="16" width="67" html.valueishtml="0" name=next_shift_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="Grace No Time" border="0" color="33554432" x="1263" y="3" height="16" width="91" html.valueishtml="0" name=grace_no_time_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=1 alignment="0" tabsequence=10 border="5" color="0" x="2" y="1" height="18" width="103" format="[general]" html.valueishtml="0" name=day_no visible="1" ddlb.limit=0 ddlb.allowedit=no ddlb.case=any ddlb.vscrollbar=yes ddlb.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=2 alignment="0" tabsequence=20 border="5" color="0" x="107" y="1" height="18" width="166" format="[general]" html.valueishtml="0" name=descr visible="1" edit.limit=20 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=30 border="5" color="0" x="275" y="1" height="18" width="102" format="[general]" html.valueishtml="0" name=shift visible="1" edit.limit=1 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=4 alignment="0" tabsequence=40 border="5" color="0" x="379" y="1" height="18" width="64" format="0.00" html.valueishtml="0" name=in_time visible="1" editmask.mask="xxxxx" editmask.imemode=0 editmask.focusrectangle=no 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=50 border="5" color="0" x="445" y="1" height="18" width="65" format="[general]" html.valueishtml="0" name=out_time visible="1" editmask.mask="xxxxx" editmask.imemode=0 editmask.focusrectangle=no 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=32766 border="5" color="0" x="1510" y="1" height="18" width="75" 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=7 alignment="0" tabsequence=32766 border="5" color="0" x="1433" y="1" height="18" width="75" 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=8 alignment="0" tabsequence=32766 border="5" color="0" x="1356" y="1" height="18" width="75" 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=9 alignment="0" tabsequence=70 border="5" color="0" x="604" y="1" height="18" width="75" format="[general]" html.valueishtml="0" name=site_code 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=80 border="5" color="0" x="681" y="1" height="16" width="85" format="[general]" html.valueishtml="0" name=status 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="16777215" )
column(band=detail id=11 alignment="0" tabsequence=90 border="5" color="0" x="768" y="1" height="16" width="96" format="0.00" html.valueishtml="0" name=lunch_time visible="1" edit.limit=6 edit.case=any edit.format="0.00" 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" )
column(band=detail id=12 alignment="0" tabsequence=100 border="5" color="0" x="866" y="1" height="16" width="64" format="[general]" html.valueishtml="0" name=work_type visible="1" ddlb.limit=0 ddlb.allowedit=no ddlb.case=any ddlb.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=110 border="5" color="0" x="932" y="1" height="16" width="62" format="[general]" html.valueishtml="0" name=rotation_type 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="16777215" )
column(band=detail id=14 alignment="0" tabsequence=60 border="5" color="0" x="512" y="1" height="16" width="90" format="[general]" html.valueishtml="0" name=hd_in_time 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="16777215" )
column(band=detail id=15 alignment="0" tabsequence=120 border="0" color="0" x="996" y="1" height="16" width="84" format="[general]" html.valueishtml="0" name=grace_time 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=16 alignment="0" tabsequence=130 border="0" color="0" x="1082" y="1" height="16" width="47" format="[general]" html.valueishtml="0" name=hd_hrs 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=17 alignment="0" tabsequence=140 border="0" color="0" x="1131" y="1" height="16" width="61" format="[general]" html.valueishtml="0" name=fd_hrs 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=18 alignment="0" tabsequence=150 border="0" color="0" x="1194" y="1" height="16" width="67" format="[general]" html.valueishtml="0" name=next_shift 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=19 alignment="0" tabsequence=160 border="0" color="0" x="1263" y="1" height="16" width="91" format="[general]" html.valueishtml="0" name=grace_no_time 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 )
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
\ No newline at end of file
$PBExportHeader$d_wrkshift_edit.srd
$PBExportComments$Work shift edit data window
release 9;
datawindow(units=1 timer_interval=0 color=79741120 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 )
header(height=4 color="536870912" )
summary(height=1 color="536870912" )
footer(height=0 color="536870912" )
detail(height=262 color="536870912" )
table(column=(type=char(1) update=yes updatewhereclause=yes key=yes name=day_no dbname="workshft.day_no" values="Monday 2/Tuesday 3/Wednesday 4/Thursday 5/Friday 6/Saturday 7/Sunday 1/" )
column=(type=char(5) update=yes updatewhereclause=yes key=yes name=shift dbname="workshft.shift" )
column=(type=char(20) update=yes updatewhereclause=yes name=descr dbname="workshft.descr" )
column=(type=char(5) update=yes updatewhereclause=yes name=in_time dbname="workshft.in_time" )
column=(type=char(5) update=yes updatewhereclause=yes name=out_time dbname="workshft.out_time" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=fd_hrs dbname="workshft.fd_hrs" initial="0" validation="number(gettext()) <= 24 and number(gettext()) >= 0" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=hd_hrs dbname="workshft.hd_hrs" initial="0" validation="number(gettext()) <= 24 and number(gettext()) >= 0" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=grace_time dbname="workshft.grace_time" initial="0" validation="number(gettext()) <= 60 and number(gettext()) >= 0" )
column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="workshft.chg_user" )
column=(type=datetime update=yes updatewhereclause=yes name=chg_date dbname="workshft.chg_date" )
column=(type=char(15) update=yes updatewhereclause=yes name=chg_term dbname="workshft.chg_term" )
column=(type=char(5) update=yes updatewhereclause=yes name=hd_in_time dbname="workshft.hd_in_time" )
column=(type=char(5) update=yes updatewhereclause=yes name=next_shift dbname="workshft.next_shift" )
column=(type=char(5) update=yes updatewhereclause=yes name=site_code dbname="workshft.site_code" )
column=(type=char(1) update=yes updatewhereclause=yes name=status dbname="workshft.status" initial="A" values="Active A/Inactive I/" )
column=(type=decimal(2) update=yes updatewhereclause=yes name=lunch_time dbname="workshft.lunch_time" )
column=(type=char(1) update=yes updatewhereclause=yes name=work_type dbname="workshft.work_type" values="Fixed X/Flexible F/" )
column=(type=char(1) update=yes updatewhereclause=yes name=rotation_type dbname="workshft.rotation_type" )
column=(type=decimal(0) update=yes updatewhereclause=yes name=grace_no_time dbname="workshft.grace_no_time" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"workshft~" ) COLUMN(NAME=~"workshft.day_no~") COLUMN(NAME=~"workshft.shift~") COLUMN(NAME=~"workshft.descr~") COLUMN(NAME=~"workshft.in_time~") COLUMN(NAME=~"workshft.out_time~") COLUMN(NAME=~"workshft.fd_hrs~") COLUMN(NAME=~"workshft.hd_hrs~") COLUMN(NAME=~"workshft.grace_time~") COLUMN(NAME=~"workshft.chg_user~") COLUMN(NAME=~"workshft.chg_date~") COLUMN(NAME=~"workshft.chg_term~") COLUMN(NAME=~"workshft.hd_in_time~") COLUMN(NAME=~"workshft.next_shift~") COLUMN(NAME=~"workshft.site_code~") COLUMN(NAME=~"workshft.status~") COLUMN(NAME=~"workshft.lunch_time~") COLUMN(NAME=~"workshft.work_type~") COLUMN(NAME=~"workshft.rotation_type~") COLUMN(NAME=~"workshft.grace_no_time~")WHERE( EXP1 =~"( workshft.day_no~" OP =~"=~" EXP2 =~":mdayno )~" LOGIC =~"and~" ) WHERE( EXP1 =~"( workshft.shift~" OP =~"=~" EXP2 =~":mshift )~" ) ) ARG(NAME = ~"mdayno~" TYPE = string) ARG(NAME = ~"mshift~" TYPE = string) " update="workshft" updatewhere=0 updatekeyinplace=no arguments=(("mdayno", string),("mshift", string)) )
text(band=detail alignment="1" text="Chg Date:" border="0" color="0" x="655" y="8" height="16" width="63" html.valueishtml="0" name=chg_date_t visible="1~t0" 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=10 alignment="0" tabsequence=32766 border="5" color="0" x="722" y="8" height="16" width="111" format="[shortdate] [time]" html.valueishtml="0" name=chg_date visible="1~t0" 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="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Chg User:" border="0" color="0" x="655" y="32" height="16" width="62" html.valueishtml="0" name=chg_user_t visible="1~t0" 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=9 alignment="0" tabsequence=32766 border="5" color="0" x="722" y="32" height="16" width="111" format="[general]" html.valueishtml="0" name=chg_user visible="1~t0" 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="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Chg Term:" border="0" color="0" x="655" y="59" height="16" width="63" html.valueishtml="0" name=chg_term_t visible="1~t0" 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=11 alignment="0" tabsequence=32766 border="5" color="0" x="722" y="59" height="16" width="111" format="[general]" html.valueishtml="0" name=chg_term visible="1~t0" 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="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Shift Number :" border="0" color="0" x="205" y="13" height="16" width="84" html.valueishtml="0" name=shift_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=detail alignment="1" text="Week day :" border="0" color="0" x="6" y="13" height="16" width="104" html.valueishtml="0" name=day_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(band=detail id=1 alignment="0" tabsequence=10 border="5" color="0" x="115" y="13" height="16" width="83" format="[general]" html.valueishtml="0" name=day_no visible="1" ddlb.limit=1 ddlb.allowedit=no ddlb.case=any ddlb.vscrollbar=yes ddlb.useasborder=yes ddlb.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=2 alignment="0" tabsequence=20 border="5" color="0" x="294" y="13" height="16" width="75" format="[general]" html.valueishtml="0" name=shift visible="1" edit.limit=0 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="Description :" border="0" color="0" x="6" y="41" height="16" width="104" html.valueishtml="0" name=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" )
text(band=detail alignment="1" text="In Time :" border="0" color="0" x="6" y="69" height="16" width="104" html.valueishtml="0" name=in_time_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=detail alignment="1" text="Full Day Hours :" border="0" color="0" x="6" y="97" height="16" width="104" html.valueishtml="0" name=fd_hrs_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=detail alignment="1" text="Half Day In Time :" border="0" color="0" x="6" y="125" height="16" width="104" html.valueishtml="0" name=hd_in_time_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(band=detail id=7 alignment="1" tabsequence=90 border="5" color="0" x="309" y="125" height="16" width="60" format="0.00" html.valueishtml="0" name=hd_hrs visible="1" edit.limit=4 edit.case=any edit.format="#0.00" 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="Half Day Hours :" border="0" color="0" x="213" y="125" height="16" width="92" html.valueishtml="0" name=hd_hrs_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=detail alignment="1" text="Grace Time :" border="0" color="0" x="6" y="153" height="16" width="104" html.valueishtml="0" name=grace_time_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(band=detail id=8 alignment="1" tabsequence=100 border="5" color="0" x="115" y="153" height="16" width="43" format="0" html.valueishtml="0" name=grace_time visible="1" edit.limit=13 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="16777215" )
text(band=detail alignment="0" text="(minutes)" border="0" color="0" x="163" y="153" height="16" width="60" html.valueishtml="0" name=grace_time_min_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=detail alignment="1" text="Grace No. Time :" border="0" color="0" x="233" y="153" height="16" width="90" html.valueishtml="0" name=grace_no_time_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(band=detail id=19 alignment="1" tabsequence=110 border="5" color="0" x="326" y="153" height="16" width="43" format="[general]" html.valueishtml="0" name=grace_no_time visible="1" edit.limit=3 edit.case=upper 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="16777215" )
text(band=detail alignment="1" text="Status :" border="0" color="0" x="238" y="181" height="16" width="42" html.valueishtml="0" name=status_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=detail alignment="0" text="(minutes)" border="0" color="0" x="177" y="181" height="16" width="53" html.valueishtml="0" name=lunch_time_min_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(band=detail id=15 alignment="0" tabsequence=130 border="5" color="0" x="286" y="181" height="16" width="83" format="[general]" html.valueishtml="0" name=status visible="1" ddlb.limit=0 ddlb.allowedit=no ddlb.case=any ddlb.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="Lunch Time :" border="0" color="0" x="6" y="181" height="16" width="104" html.valueishtml="0" name=lunch_time_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=detail alignment="1" text="Rotation Type :" border="0" color="0" x="198" y="209" height="16" width="83" html.valueishtml="0" name=rotation_type_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(band=detail id=18 alignment="0" tabsequence=150 border="5" color="0" x="286" y="209" height="16" width="83" format="[general]" html.valueishtml="0" name=rotation_type 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="16777215" )
column(band=detail id=17 alignment="0" tabsequence=140 border="5" color="0" x="115" y="209" height="16" width="58" format="[general]" html.valueishtml="0" name=work_type visible="1" ddlb.limit=0 ddlb.allowedit=no ddlb.case=any ddlb.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=30 border="5" color="0" x="115" y="41" height="16" width="254" format="[general]" html.valueishtml="0" name=descr visible="1" edit.limit=20 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="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=13 alignment="0" tabsequence=70 border="5" color="0" x="319" y="97" height="16" width="50" format="[general]" html.valueishtml="0" name=next_shift visible="1" edit.limit=0 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="Next Shift :" border="0" color="0" x="211" y="97" height="16" width="104" html.valueishtml="0" name=next_shift_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=detail alignment="1" text="Out Time :" border="0" color="0" x="211" y="69" height="16" width="104" html.valueishtml="0" name=out_time_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(band=detail id=5 alignment="0" tabsequence=50 border="5" color="0" x="319" y="69" height="16" width="50" format="[general]" html.valueishtml="0" name=out_time visible="1" editmask.mask="##:##" editmask.imemode=0 editmask.focusrectangle=no 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=40 border="5" color="0" x="115" y="69" height="16" width="50" format="[general]" html.valueishtml="0" name=in_time visible="1" editmask.mask="##:##" editmask.imemode=0 editmask.focusrectangle=no 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=80 border="5" color="0" x="115" y="125" height="16" width="50" format="[general]" html.valueishtml="0" name=hd_in_time visible="1" editmask.mask="##:##" editmask.imemode=0 editmask.focusrectangle=no 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="1" tabsequence=60 border="5" color="0" x="115" y="97" height="16" width="50" format="0.00" html.valueishtml="0" name=fd_hrs visible="1" edit.limit=4 edit.case=any edit.format="#0.00" 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" )
column(band=detail id=16 alignment="1" tabsequence=120 border="5" color="0" x="115" y="181" height="16" width="58" format="0.00" html.valueishtml="0" name=lunch_time visible="1" edit.limit=0 edit.case=any edit.format="#0" 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="Work Type :" border="0" color="0" x="6" y="209" height="16" width="104" html.valueishtml="0" name=work_type_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(band=detail id=14 alignment="0" tabsequence=32766 border="5" color="0" x="115" y="234" height="16" width="58" format="[general]" html.valueishtml="0" name=site_code visible="1~t0" 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" )
text(band=detail alignment="1" text="Site Code :" border="0" color="0" x="6" y="234" height="16" width="104" html.valueishtml="0" name=site_code_t visible="1~t0" 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="79416533" )
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_wrkshift_edit.srd
$PBExportComments$Work shift edit data window
release 9;
datawindow(units=1 timer_interval=0 color=79741120 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 )
header(height=4 color="536870912" )
summary(height=34 color="536870912" )
footer(height=0 color="536870912" )
detail(height=380 color="536870912" )
table(column=(type=char(1) update=yes updatewhereclause=yes key=yes name=day_no dbname="workshft.day_no" values="Monday 2/Tuesday 3/Wednesday 4/Thursday 5/Friday 6/Saturday 7/Sunday 1/" )
column=(type=char(5) update=yes updatewhereclause=yes key=yes name=shift dbname="workshft.shift" )
column=(type=char(20) update=yes updatewhereclause=yes name=descr dbname="workshft.descr" )
column=(type=char(5) update=yes updatewhereclause=yes name=in_time dbname="workshft.in_time" )
column=(type=char(5) update=yes updatewhereclause=yes name=out_time dbname="workshft.out_time" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=fd_hrs dbname="workshft.fd_hrs" initial="0" validation="number(gettext()) <= 24 and number(gettext()) >= 0" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=hd_hrs dbname="workshft.hd_hrs" initial="0" validation="number(gettext()) <= 24 and number(gettext()) >= 0" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=grace_time dbname="workshft.grace_time" initial="0" validation="number(gettext()) <= 60 and number(gettext()) >= 0" )
column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="workshft.chg_user" )
column=(type=datetime update=yes updatewhereclause=yes name=chg_date dbname="workshft.chg_date" )
column=(type=char(15) update=yes updatewhereclause=yes name=chg_term dbname="workshft.chg_term" )
column=(type=char(5) update=yes updatewhereclause=yes name=hd_in_time dbname="workshft.hd_in_time" )
column=(type=char(5) update=yes updatewhereclause=yes name=next_shift dbname="workshft.next_shift" )
column=(type=char(5) update=yes updatewhereclause=yes name=site_code dbname="workshft.site_code" )
column=(type=char(1) update=yes updatewhereclause=yes name=status dbname="workshft.status" initial="A" values="Active A/Inactive I/" )
column=(type=decimal(2) update=yes updatewhereclause=yes name=lunch_time dbname="workshft.lunch_time" )
column=(type=char(1) update=yes updatewhereclause=yes name=work_type dbname="workshft.work_type" values="Fixed X/Flexible F/" )
column=(type=char(1) update=yes updatewhereclause=yes name=rotation_type dbname="workshft.rotation_type" )
column=(type=decimal(0) update=yes updatewhereclause=yes name=grace_no_time dbname="workshft.grace_no_time" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"workshft~" ) COLUMN(NAME=~"workshft.day_no~") COLUMN(NAME=~"workshft.shift~") COLUMN(NAME=~"workshft.descr~") COLUMN(NAME=~"workshft.in_time~") COLUMN(NAME=~"workshft.out_time~") COLUMN(NAME=~"workshft.fd_hrs~") COLUMN(NAME=~"workshft.hd_hrs~") COLUMN(NAME=~"workshft.grace_time~") COLUMN(NAME=~"workshft.chg_user~") COLUMN(NAME=~"workshft.chg_date~") COLUMN(NAME=~"workshft.chg_term~") COLUMN(NAME=~"workshft.hd_in_time~") COLUMN(NAME=~"workshft.next_shift~") COLUMN(NAME=~"workshft.site_code~") COLUMN(NAME=~"workshft.status~") COLUMN(NAME=~"workshft.lunch_time~") COLUMN(NAME=~"workshft.work_type~") COLUMN(NAME=~"workshft.rotation_type~") COLUMN(NAME=~"workshft.grace_no_time~")WHERE( EXP1 =~"( workshft.day_no~" OP =~"=~" EXP2 =~":mdayno )~" LOGIC =~"and~" ) WHERE( EXP1 =~"( workshft.shift~" OP =~"=~" EXP2 =~":mshift )~" ) ) ARG(NAME = ~"mdayno~" TYPE = string) ARG(NAME = ~"mshift~" TYPE = string) " update="WORKSHFT" updatewhere=0 updatekeyinplace=no arguments=(("mdayno", string),("mshift", string)) )
groupbox(band=detail text="Others"border="2" color="0" x="21" y="271" height="73" width="456" 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="0" x="19" y="0" height="262" width="455" 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="1" background.color="553648127" )
text(band=detail alignment="1" text="Day No :" border="0" color="0" x="55" y="19" height="16" width="104" html.valueishtml="0" name=day_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(band=detail id=1 alignment="0" tabsequence=10 border="5" color="0" x="163" y="18" height="16" width="83" format="[general]" html.valueishtml="0" name=day_no visible="1" ddlb.limit=1 ddlb.allowedit=no ddlb.case=any ddlb.vscrollbar=yes ddlb.useasborder=yes ddlb.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="Shift Number :" border="0" color="0" x="254" y="19" height="16" width="84" html.valueishtml="0" name=shift_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(band=detail id=2 alignment="0" tabsequence=20 border="5" color="0" x="343" y="19" height="16" width="75" format="[general]" html.valueishtml="0" name=shift 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="Description :" border="0" color="0" x="55" y="47" height="16" width="104" html.valueishtml="0" name=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" )
column(band=detail id=3 alignment="0" tabsequence=30 border="5" color="0" x="164" y="47" height="16" width="254" format="[general]" html.valueishtml="0" name=descr visible="1" edit.limit=20 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="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="In Time :" border="0" color="0" x="55" y="75" height="16" width="104" html.valueishtml="0" name=in_time_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(band=detail id=4 alignment="0" tabsequence=40 border="5" color="0" x="164" y="75" height="16" width="50" format="[general]" html.valueishtml="0" name=in_time visible="1" editmask.mask="##:##" editmask.imemode=0 editmask.focusrectangle=no 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="Out Time :" border="0" color="0" x="260" y="75" height="16" width="104" html.valueishtml="0" name=out_time_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(band=detail id=5 alignment="0" tabsequence=50 border="5" color="0" x="368" y="75" height="16" width="50" format="[general]" html.valueishtml="0" name=out_time visible="1" editmask.mask="##:##" editmask.imemode=0 editmask.focusrectangle=no 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="Full Day Hours :" border="0" color="0" x="55" y="103" height="16" width="104" html.valueishtml="0" name=fd_hrs_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(band=detail id=6 alignment="1" tabsequence=60 border="5" color="0" x="163" y="103" height="16" width="50" format="0.00" html.valueishtml="0" name=fd_hrs visible="1" edit.limit=4 edit.case=any edit.format="#0.00" 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="Next Shift :" border="0" color="0" x="260" y="103" height="16" width="104" html.valueishtml="0" name=next_shift_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(band=detail id=13 alignment="0" tabsequence=70 border="5" color="0" x="368" y="103" height="16" width="50" format="[general]" html.valueishtml="0" name=next_shift 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" )
column(band=detail id=7 alignment="1" tabsequence=90 border="5" color="0" x="358" y="131" height="16" width="60" format="0.00" html.valueishtml="0" name=hd_hrs visible="1" edit.limit=4 edit.case=any edit.format="#0.00" 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="Half Day Hours :" border="0" color="0" x="262" y="131" height="16" width="92" html.valueishtml="0" name=hd_hrs_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(band=detail id=12 alignment="0" tabsequence=80 border="5" color="0" x="164" y="131" height="16" width="50" format="[general]" html.valueishtml="0" name=hd_in_time visible="1" editmask.mask="##:##" editmask.imemode=0 editmask.focusrectangle=no 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="Half Day In Time :" border="0" color="0" x="55" y="131" height="16" width="104" html.valueishtml="0" name=hd_in_time_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=detail alignment="1" text="Grace Time :" border="0" color="0" x="55" y="159" height="16" width="104" html.valueishtml="0" name=grace_time_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(band=detail id=8 alignment="1" tabsequence=100 border="5" color="0" x="164" y="159" height="16" width="43" format="0" html.valueishtml="0" name=grace_time visible="1" edit.limit=13 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="16777215" )
text(band=detail alignment="0" text="(minutes)" border="0" color="0" x="212" y="159" height="16" width="60" html.valueishtml="0" name=grace_time_min_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=detail alignment="1" text="Grace No. Time :" border="0" color="0" x="282" y="159" height="16" width="90" html.valueishtml="0" name=grace_no_time_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(band=detail id=19 alignment="1" tabsequence=110 border="5" color="0" x="375" y="159" height="16" width="43" format="[general]" html.valueishtml="0" name=grace_no_time visible="1" edit.limit=3 edit.case=upper 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="16777215" )
column(band=detail id=15 alignment="0" tabsequence=130 border="5" color="0" x="335" y="187" height="16" width="83" format="[general]" html.valueishtml="0" name=status visible="1" ddlb.limit=1 ddlb.allowedit=no ddlb.case=any ddlb.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="Status :" border="0" color="0" x="287" y="187" height="16" width="42" html.valueishtml="0" name=status_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=detail alignment="0" text="(minutes)" border="0" color="0" x="226" y="187" height="16" width="53" html.valueishtml="0" name=lunch_time_min_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(band=detail id=16 alignment="1" tabsequence=120 border="5" color="0" x="164" y="187" height="16" width="58" format="0.00" html.valueishtml="0" name=lunch_time visible="1" edit.limit=0 edit.case=any edit.format="#0" 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="Lunch Time :" border="0" color="0" x="55" y="187" height="16" width="104" html.valueishtml="0" name=lunch_time_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=detail alignment="1" text="Work Type :" border="0" color="0" x="55" y="215" height="16" width="104" html.valueishtml="0" name=work_type_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(band=detail id=17 alignment="0" tabsequence=140 border="5" color="0" x="164" y="215" height="16" width="58" format="[general]" html.valueishtml="0" name=work_type visible="1" ddlb.limit=1 ddlb.allowedit=no ddlb.case=any ddlb.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="Rotation Type :" border="0" color="0" x="247" y="215" height="16" width="83" html.valueishtml="0" name=rotation_type_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(band=detail id=18 alignment="0" tabsequence=150 border="5" color="0" x="335" y="215" height="16" width="83" format="[general]" html.valueishtml="0" name=rotation_type visible="1" edit.limit=1 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="16777215" )
column(band=detail id=14 alignment="0" tabsequence=32766 border="5" color="0" x="164" y="240" height="16" width="58" format="[general]" html.valueishtml="0" name=site_code visible="1~t0" 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" )
text(band=detail alignment="1" text="Site Code :" border="0" color="0" x="55" y="240" height="16" width="104" html.valueishtml="0" name=site_code_t visible="1~t0" 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="79416533" )
text(band=detail alignment="1" text="Chg Date:" border="0" color="0" x="35" y="306" height="16" width="60" html.valueishtml="0" name=chg_date_t visible="1~t0" 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="Chg User:" border="0" color="0" x="180" y="306" height="16" width="60" html.valueishtml="0" name=chg_user_t visible="1~t0" 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="Chg Term:" border="0" color="0" x="333" y="306" height="16" width="60" html.valueishtml="0" name=chg_term_t visible="1~t0" 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=10 alignment="0" tabsequence=32766 border="5" color="255" x="99" y="306" height="16" width="60" format="[shortdate] [time]" html.valueishtml="0" name=chg_date visible="1~t0" 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="1" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
column(band=detail id=9 alignment="0" tabsequence=32766 border="5" color="255" x="243" y="306" height="16" width="60" format="[general]" html.valueishtml="0" name=chg_user visible="1~t0" 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="1" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
column(band=detail id=11 alignment="0" tabsequence=32766 border="5" color="255" x="397" y="306" height="16" width="60" format="[general]" html.valueishtml="0" name=chg_term visible="1~t0" edit.limit=300 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="1" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
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
......@@ -80,6 +80,11 @@ public class WorkShiftIC extends ValidatorEJB implements WorkShiftLocal, WorkShi
String inTime = "";
String outTime = "";
String hdInTime = "";
String graceTimeStr = "";
String graceNoTimeStr = "";
int graceNoTime = 0;
int graceTime = 0;
int currentFormNo = 0;
int noOfChilds = 0;
int cnt = 0;
......@@ -146,12 +151,11 @@ public class WorkShiftIC extends ValidatorEJB implements WorkShiftLocal, WorkShi
errList.add("VEWSH1");
errFields.add(childNodeName.toLowerCase());
}
else
else if((shift != null && shift.trim().length() > 0))
{
sql = "select count (*) as cnt from workshft where shift= ? and day_no =?";
sql = "select count(*) as cnt from workshft where shift = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, shift);
pstmt.setString(2, dayNo);
rs = pstmt.executeQuery();
if (rs.next())
......@@ -168,14 +172,89 @@ public class WorkShiftIC extends ValidatorEJB implements WorkShiftLocal, WorkShi
pstmt.close();
pstmt = null;
}
if(cnt > 0)
if(cnt == 0)
{
errList.add("VDWSH1");
errList.add("VEWSH2");
errFields.add(childNodeName.toLowerCase());
}
else
{
sql = "select count (*) as cnt from workshft where shift= ? and day_no =?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, shift);
pstmt.setString(2, dayNo);
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)
{
errList.add("VDWSH1");
errFields.add(childNodeName.toLowerCase());
}
}
}
}
}
else if ("grace_time".equalsIgnoreCase(childNodeName))
{
graceTimeStr = checkNull(genericUtility.getColumnValue("grace_time", dom));
if(graceTimeStr == null || graceTimeStr.trim().length() == 0)
{
errList.add("GRATIME01");
errFields.add(childNodeName.toLowerCase());
}
try
{
graceTime = Integer.parseInt(graceTimeStr);
}
catch (Exception e)
{
graceTime = 0;
}
if(graceTime < 0)
{
errList.add("GRATIME02");
errFields.add(childNodeName.toLowerCase());
}
}
else if ("grace_no_time".equalsIgnoreCase(childNodeName))
{
graceNoTimeStr = checkNull(genericUtility.getColumnValue("grace_no_time", dom));
if(graceNoTimeStr == null || graceNoTimeStr.trim().length() == 0)
{
errList.add("GRANOTIM01");
errFields.add(childNodeName.toLowerCase());
}
try
{
graceNoTime = Integer.parseInt(graceNoTimeStr);
}
catch (Exception e)
{
graceNoTime = 0;
}
if(graceNoTime < 0)
{
errList.add("GRANOTIM02");
errFields.add(childNodeName.toLowerCase());
}
}
else if ("next_shift".equalsIgnoreCase(childNodeName))
{
nextShift = checkNull(genericUtility.getColumnValue("next_shift", dom));
......@@ -213,6 +292,15 @@ public class WorkShiftIC extends ValidatorEJB implements WorkShiftLocal, WorkShi
errFields.add(childNodeName.toLowerCase());
}
}
else if ("day_no".equalsIgnoreCase(childNodeName))
{
dayNo = checkNull(genericUtility.getColumnValue("day_no", dom));
if(dayNo.length() == 0 || dayNo == null)
{
errList.add("VTDAYNO1");
errFields.add(childNodeName.toLowerCase());
}
}
else if ("in_time".equalsIgnoreCase(childNodeName))
{
inTime = checkNull(genericUtility.getColumnValue("in_time", dom));
......@@ -227,7 +315,6 @@ public class WorkShiftIC extends ValidatorEJB implements WorkShiftLocal, WorkShi
outTime = checkNull(genericUtility.getColumnValue("out_time", dom));
if(! isTime(outTime))
{
//not istime(string(mval,"@@:@@"))
errList.add("VMTIME");
errFields.add(childNodeName.toLowerCase());
}
......@@ -247,7 +334,7 @@ public class WorkShiftIC extends ValidatorEJB implements WorkShiftLocal, WorkShi
hdInTime = checkNull(genericUtility.getColumnValue("hd_in_time", dom));
inTime = checkNull(genericUtility.getColumnValue("in_time", dom));
outTime = checkNull(genericUtility.getColumnValue("out_time", dom));
if(hdInTime.indexOf(":") <0 && inTime.indexOf(":") <0 && outTime.indexOf(":") <0)
if(hdInTime.indexOf(":") <0 || inTime.indexOf(":") <0 || outTime.indexOf(":") <0)
{
errList.add("VMTIME");
errFields.add(childNodeName.toLowerCase());
......@@ -408,8 +495,12 @@ public class WorkShiftIC extends ValidatorEJB implements WorkShiftLocal, WorkShi
E12GenericUtility genericUtility = null;
int currentFormNo = 0;
String siteCode = "";
String fdHrsStr = "";
String hdHrsStr = "";
String hdInTime = "";
String outTime = "";
String inTime = "";
try
{
genericUtility = new E12GenericUtility();
......@@ -433,11 +524,61 @@ public class WorkShiftIC extends ValidatorEJB implements WorkShiftLocal, WorkShi
{
siteCode = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "site_code");
valueXmlString.append("<site_code ><![CDATA[").append(siteCode).append("]]></site_code>\r\n");
valueXmlString.append("<hd_in_time ><![CDATA[").append("00:00").append("]]></hd_in_time>\r\n");
valueXmlString.append("<in_time ><![CDATA[").append("00:00").append("]]></in_time>\r\n");
valueXmlString.append("<out_time ><![CDATA[").append("00:00").append("]]></out_time>\r\n");
}
else if("fd_hrs".equalsIgnoreCase(currentColumn))
{
fdHrsStr = checkNull(genericUtility.getColumnValue("fd_hrs", dom));
System.out.println("fdHrsStr:::"+fdHrsStr);
if(fdHrsStr == null || fdHrsStr.trim().length() == 0)
{
valueXmlString.append("<fd_hrs ><![CDATA[").append(0).append("]]></fd_hrs>\r\n");
}
}
else if("hd_hrs".equalsIgnoreCase(currentColumn))
{
hdHrsStr = checkNull(genericUtility.getColumnValue("hd_hrs", dom));
System.out.println("hdHrsStr:::"+hdHrsStr);
if(hdHrsStr == null || hdHrsStr.trim().length() == 0)
{
valueXmlString.append("<hd_hrs ><![CDATA[").append(0).append("]]></hd_hrs>\r\n");
}
}
else if("hd_in_time".equalsIgnoreCase(currentColumn))
{
hdInTime = checkNull(genericUtility.getColumnValue("hd_in_time", dom));
System.out.println("hdInTime:::"+hdInTime);
if(hdInTime == null || hdInTime.trim().length() == 0)
{
valueXmlString.append("<hd_in_time ><![CDATA[").append("00:00").append("]]></hd_in_time>\r\n");
}
}
else if("in_time".equalsIgnoreCase(currentColumn))
{
inTime = checkNull(genericUtility.getColumnValue("in_time", dom));
System.out.println("inTime:::"+inTime);
if(inTime == null || inTime.trim().length() == 0)
{
valueXmlString.append("<in_time ><![CDATA[").append("00:00").append("]]></in_time>\r\n");
}
}
else if("out_time".equalsIgnoreCase(currentColumn))
{
outTime = checkNull(genericUtility.getColumnValue("out_time", dom));
System.out.println("outTime:::"+outTime);
if(outTime == null || outTime.trim().length() == 0)
{
valueXmlString.append("<out_time ><![CDATA[").append("00:00").append("]]></out_time>\r\n");
}
}
}
valueXmlString.append("</Detail1>");
......
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