Commit 8f4d45b3 authored by ysawant's avatar ysawant

*Migrated component of Tour Programme menu

AttendanceProcess.java
tour11.xml
tour12.xml
tour21.xml
tour22.xml
d_tour_brow.srd
d_tour_edit.srd
TourApprove.java
TourApproveErp.java
TourApproveErpLocal.java
TourApproveErpRemote.java
TourApproveLocal.java
TourApproveRemote.java
TourCnc.java
TourCncErp.java
TourCncErpLocal.java
TourCncErpRemote.java
TourCncLocal.java
TourCncRemote.java
TourIC.java
TourICLocal.java
TourICRemote.java
w_tour.sql
d_tourdet_brow.srd
d_tourdet_edit.srd
TourProgramme.png
TourProgrammewht.png


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@212571 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 2f29226c
----------------------------------------------------- TRANSETUP
Insert into TRANSETUP (TRAN_WINDOW,SAVE_FLAG,VAL_FLAG,KEY_FLAG,KEY_STRING,UDF_1,UDF_2,UDF_3,UDF_4,UDF_5,REPEATE_ADD,CHG_DATE,CHG_USER,CHG_TERM,EDI_OPTION,SITE_ACC_COL,CONFIRM_COL,CONFIRM_VAL,REPEAT_ADD_DET,REPEATADDDET,LOAD_MODE,AUTO_CONFIRM,LEDG_POST_CONF,CHG_DATE_ON_CONF,TRAN_ID_COL,MAIL_OPTION,CONFIRM_MODE,GARBAGE_OPT,VAL_FLAG_EDI,VERIFY_PASSWORD,CUST_ACC_COL,SALES_PERS_ACC_COL,SUPP_ACC_COL,ITEM_SER_ACC_CODE,EMP_ACC_COL,ITEM_SER_ACC_COL,WORKFLOW_OPT,TABLE_NAME,APPLICATION,TABLE_DESC,TRAN_DATE_COL,TRAN_ID__FROM,TRAN_ID__TO,TABLE_NAME_DET1,TABLE_NAME_DET2,TABLE_NAME_DET3,MULTITIRE_OPT,REF_SER,VIEW_MODE,TAX_FORMS,SIGN_STATUS,USER_TRAN_WINDOW,CUSTOM_PREVIEW_OBJ,IGNOREERRLIST_ONLOAD,CHILDDATA_ARGOPT,EDIT_TMPLT,WRKFLW_INIT,EDITTAX,FORMAL_ARGS,AUDIT_TRAIL_OPT,EDIT_OPT,CACHE_OPT,OPTIMIZE_MODE,EDIT_EXPR,RATE_COL,QTY_COL,EDIT_EXPR_INP,RCP_CACHE_STATUS,PRINT_CONTROL,TRANSFER_MODE,PROFILE_ID__RES,TRAN_COMPL_MSG,PERIOD_OPTION,WRKFLW_PRIORITY,EXEC_TYPE,DISP_META_DATA,ALLOW_ATTACH,START_FORM,ISATTACHMENT,HEADER_FORM_NO,CONFIRM_DATE_COL,CONFIRM_BY_COL,MSG_ONSAVE,WF_STATUS,RESTART_FORM,CMS_PATH,BROW_DATA_DEF,DEF_VIEW,VIEW_OPTS,ISGWTINITIATED,DEFAULT_DATA_ROW,IN_WF_VAL,IN_WF_COL,CANCEL_VAL,CANCEL_COL,THUMB_ALT_COL,THUMB_IMAGE_COL,THUMB_OBJ,ATTACH_COUNT_MIN,FUNCTION_TYPE,COMPL_ACTION,DEFAULT_EDITOR,MSG_NO,OBJ_TYPE,STATUS_COL,ENABLE_EDITOR,OFFLINE_OPT,CLOSE_COL,CLOSE_VAL) values ('w_tour','2','2','A','_spwork_site,TO,_ppdate_from,seq04',null,null,null,null,null,'Y',to_date('26-05-99','DD-MM-RR'),'BASE ','1 ','0','EMPLOYEE.WORK_SITE','status','A',null,null,null,null,'N','N','tour_id','0','0',null,null,null,null,null,null,null,null,null,'0','TOUR','ADM',null,null,null,null,null,null,null,null,'E-TOUR','F',null,null,null,null,null,null,null,null,null,null,'0','3',null,null,' OR TOUR.STATUS IN( ''X'' , ''C'',''O'') OR TOUR.WRKFLW_STATUS IS NOT NULL',null,null,null,null,null,null,null,null,'W',null,null,null,null,null,null,null,null,null,null,null,null,null,'Y',null,null,null,null,null,null,'C','status',null,null,null,null,null,null,'compact',null,'C',null,'C',null,null,null);
----------------------------------------------------- OBJ_FORMS
Insert into OBJ_FORMS (WIN_NAME,TITLE,OBJ_BROW_NAME,OBJ_EDIT_NAME,CROSS_UPDATE_EXPR,EXPR_FLD_INFO,TARGET_FLD_INFO,EXPR_COMMENT,FORM_NO,SCR_FLAG,AUTO_ACCEPT_SCAN,SCAN_FLAG,SCAN_METADATA,PROPERTY_INFO,SCAN_DELIMITER,COLUMN_ON_SAVE,AFTER_SAVE,EXT_SETUP,EXT_METADATA,EXT_COM,AUTO_ACCEPT_WEIGHDATA,FORM_TYPE,DISP_METADATA,PARENT_KEY_COL,QTY_COL,RATE_COL,ASSISTED_MODE,STORAGE_KEY_METADATA,SELECTION_MODE,DEFAULT_VIEW,AUTO_ADDON_ENTRY,DUPLICATE_ADD,DEFAULT_ROW_CNT,FREEZE_COL_POS,IS_MANDATORY,TRAN_ID_COL,SELECTION_OPT,KEY_INFO,THUMB_OBJ,THUMB_IMAGE_COL,THUMB_ALT_COL,FORM_NAME,FORM_ICON,FORM_VIEW_OPTS,X_COLUMN,Y_COLUMN,ACTION_ARG) values ('w_tour','Tour','d_tour_brow','d_tour_edit',null,null,null,null,'1','F',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,'DetailForm.png',null,null,null,null);
Insert into OBJ_FORMS (WIN_NAME,TITLE,OBJ_BROW_NAME,OBJ_EDIT_NAME,CROSS_UPDATE_EXPR,EXPR_FLD_INFO,TARGET_FLD_INFO,EXPR_COMMENT,FORM_NO,SCR_FLAG,AUTO_ACCEPT_SCAN,SCAN_FLAG,SCAN_METADATA,PROPERTY_INFO,SCAN_DELIMITER,COLUMN_ON_SAVE,AFTER_SAVE,EXT_SETUP,EXT_METADATA,EXT_COM,AUTO_ACCEPT_WEIGHDATA,FORM_TYPE,DISP_METADATA,PARENT_KEY_COL,QTY_COL,RATE_COL,ASSISTED_MODE,STORAGE_KEY_METADATA,SELECTION_MODE,DEFAULT_VIEW,AUTO_ADDON_ENTRY,DUPLICATE_ADD,DEFAULT_ROW_CNT,FREEZE_COL_POS,IS_MANDATORY,TRAN_ID_COL,SELECTION_OPT,KEY_INFO,THUMB_OBJ,THUMB_IMAGE_COL,THUMB_ALT_COL,FORM_NAME,FORM_ICON,FORM_VIEW_OPTS,X_COLUMN,Y_COLUMN,ACTION_ARG) values ('w_tour','Tour Detail','d_tourdet_brow','d_tourdet_edit',null,null,null,null,'2','T',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,'DetailForm.png',null,null,null,null);
-----------------Update Quaries
update OBJ_FORMS set DISP_METADATA =
'<html>
<span style="white-space: normal !important; word-break: break-word; "><b>{emp_fname} {emp_lname}({emp_code})</b> <br/>
Tour ID :<b>({tour_id})</b> , Status :<b> ({status})</b> , Date From :<b>({date_from}) , Date To :<b>({date_to})</b>
</span>
</html>' where WIN_NAME= 'w_tour' and FORM_NO = '1';
update OBJ_FORMS set disp_metadata='
<html>
<span style="white-space: normal !important; word-break: break-word; ">
Tour ID :<b>({tour_id})</b> , Line No Place :<b>{line_no__plan}</b>
<br/>Station Code :<b>({stan_code})</b>, Place :<b>({to_place})</b>
</html>' where WIN_NAME='w_tour' and FORM_NO = '2';
------------------------------------------------------ ITM2MENU
Insert into ITM2MENU (APPLICATION,LEVEL_1,LEVEL_2,LEVEL_3,LEVEL_4,LEVEL_5,WIN_NAME,DESCR,COMMENTS,MENU_PATH,ICON_PATH,CLOSE_ICON,OPEN_ICON,OBJ_TYPE,CHG_DATE,CHG_TERM,CHG_USER,MOB_DEPLOY,DEFAULT_STATE,DEF_ACTION,MOB_DEPLY,ENT_TYPES) values ('ADH',3,10,2,0,0,'w_tour','Tour Programme','Tour Programme','ADH.3.10.2.0.0','TourProgramme.png','TourProgrammewht.png',null,'T',null,null,null,'B',null,null,'B','0');
update ITM2MENU set ICON_PATH='TourProgramme.png', CLOSE_ICON='TourProgrammewht.png' where WIN_NAME='w_tour';
----------------------------------------------------- OBJ_ACTIONS
Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,RIGHTS_CHAR,INTERACTIVE,SERVICE_CODE,DESCRIPTION,TITLE,IMAGE,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,SWIPE_POSITION,MULTI_ROW_OPT,ACTION_ID,DEF_NODATA) values ('tour',5,'F','a','pre_confirm_erp','Confirmation','Approve','approve.gif','1','2',null,'U',null,null,null,null,null,null,null,null,null,null,null,null);
Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,RIGHTS_CHAR,INTERACTIVE,SERVICE_CODE,DESCRIPTION,TITLE,IMAGE,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,SWIPE_POSITION,MULTI_ROW_OPT,ACTION_ID,DEF_NODATA) values ('tour',6,'X','a','pre_cancel_erp','Cancellation','Cancel','cancel.gif','1','2',null,'U',null,null,null,null,null,null,null,null,null,null,null,null);
Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,RIGHTS_CHAR,INTERACTIVE,SERVICE_CODE,DESCRIPTION,TITLE,IMAGE,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,SWIPE_POSITION,MULTI_ROW_OPT,ACTION_ID,DEF_NODATA) values ('tour',1,'A','a','a','Adding New','Add','add.gif','1',null,null,'S',null,null,null,null,null,null,null,null,null,null,null,null);
Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,RIGHTS_CHAR,INTERACTIVE,SERVICE_CODE,DESCRIPTION,TITLE,IMAGE,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,SWIPE_POSITION,MULTI_ROW_OPT,ACTION_ID,DEF_NODATA) values ('tour',2,'E','a','a','Editing Existing Record','Edit','edit.gif','1',null,null,'S',null,null,null,null,null,null,null,null,null,null,null,null);
Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,RIGHTS_CHAR,INTERACTIVE,SERVICE_CODE,DESCRIPTION,TITLE,IMAGE,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,SWIPE_POSITION,MULTI_ROW_OPT,ACTION_ID,DEF_NODATA) values ('tour',21,'Q','1','audit_trail','View Audit Trail','View Audit','menu.bmp','1','1','1','U',null,null,null,null,null,null,null,null,null,null,null,null);
Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,RIGHTS_CHAR,INTERACTIVE,SERVICE_CODE,DESCRIPTION,TITLE,IMAGE,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,SWIPE_POSITION,MULTI_ROW_OPT,ACTION_ID,DEF_NODATA) values ('tour',22,'O','1','export_excel','Export Excel','Export','Download.gif','1','1','1','U',null,null,null,null,null,null,null,null,null,null,null,null);
-----------------Update Quaries
update OBJ_ACTIONS set IMAGE='ibase/resource/objaction/add.svg',DISPLAY_MODE='0' where OBJ_NAME='tour' and TITLE = 'Add';
update OBJ_ACTIONS set IMAGE='ibase/resource/objaction/edit.svg',DISPLAY_MODE='0' where OBJ_NAME='tour' and TITLE = 'Edit';
update OBJ_ACTIONS set IMAGE = 'ibase/resource/objaction/Audit-trail.svg',RIGHTS_CHAR = 'X',SHOW_IN_PANEL = '1' ,DISPLAY_MODE = '1' where OBJ_NAME = 'tour' and TITLE = 'View Audit';
update OBJ_ACTIONS set IMAGE = 'ibase/resource/objaction/exprtExl.svg', SERVICE_CODE = 'a',INTERACTIVE = 'a', RIGHTS_CHAR = 'B', TITLE = 'Export2XLS',SERVICE_HANDLER = null,PLACEMENT = null, ACTION_TYPE = 'S',DISPLAY_MODE = '1' where OBJ_NAME = 'tour' and (DESCRIPTION = 'Export Excel' OR DESCRIPTION = 'Export To Excel');
update OBJ_ACTIONS set IMAGE = 'ibase/resource/objaction/confirm.svg', DISPLAY_MODE = '1' where OBJ_NAME = 'tour' and TITLE = 'Approve';
update OBJ_ACTIONS set IMAGE='ibase/resource/objaction/cancel.svg', DISPLAY_MODE='1' where OBJ_NAME ='tour' and TITLE='Cancel';
----------------------------------------------------- OBJ_LINKS
Insert into OBJ_LINKS (OBJ_NAME,FORM_NO,FIELD_NAME,TARGET_OBJ_NAME,LINK_FORM_NAME,LINK_TITLE,LINK_URI,LINK_TYPE,LINK_ARG,UPDATE_FLAG,LINK_NAME,RIGHTS_CHAR,IMAGE,SHOW_IN_PANEL,SHORTCUT_CHAR,AUTO_INVOKE,SWIPE_POSITION,TITLE,DESCR,SHOW_CONFIRM,DISPLAY_MODE,LINE_NO,LINK_ID,REC_SPECIFIC) values ('tour','1','home_upload',' ',' ','Upload Utility','/ibase/webitm/jsp/E12UploadTemplate.jsp?reset=true','3','tour.String:OBJ_NAME,Tour Programme.String:OBJ_DESC,fromHomePage.String:FROM_HOMEPAGE',null,null,'U',null,'3',null,null,null,null,'Upload Utility',null,'3',1,null,1);
-----------------Update Quaries
update OBJ_LINKS set IMAGE='ibase/resource/objaction/ulpoad_utility.svg' where OBJ_NAME='tour' and LINK_TITLE='Upload Utility';
----------------------------------------------------- SYSTEM_EVENTS
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,OVERWRITE_CORE,COMP_TYPE,COMP_NAME,COMM_FORMAT) values ('tour','audit_trail','1','project_audit_trail_adm',null,to_date('2018-02-14','RRRR-MM-DD'),'VAIBHAV ','VAIBHAV','2','0',null,null,null);
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,OVERWRITE_CORE,COMP_TYPE,COMP_NAME,COMM_FORMAT) values ('tour','export_excel','1','export_excel_adm',null,to_date('2018-02-03','RRRR-MM-DD'),'VAIBHAV ','VAIBHAV',null,null,null,null,null);
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,OVERWRITE_CORE,COMP_TYPE,COMP_NAME,COMM_FORMAT) values ('tour','post_item_change','1','poic_adm_default_1',null,to_date('2007-12-04','RRRR-MM-DD'),'Asutosh ','User6','2','0','WSR','nvo_bo_tour',null);
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,OVERWRITE_CORE,COMP_TYPE,COMP_NAME,COMM_FORMAT) values ('tour','act_cancel','1','prcm_default_1',null,to_date('2007-12-04','RRRR-MM-DD'),'Aviprash ','Base216','2','0','WSR','nvo_business_object_tour_cnc',null);
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,OVERWRITE_CORE,COMP_TYPE,COMP_NAME,COMM_FORMAT) values ('tour','pre_validate','1','prv_adm_default_1',null,to_date('2007-12-04','RRRR-MM-DD'),'Asutosh ','User6','2','0','WSR','nvo_bo_tour',null);
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,OVERWRITE_CORE,COMP_TYPE,COMP_NAME,COMM_FORMAT) values ('tour','post_validate','1','post_gen_val',null,to_date('2007-12-04','RRRR-MM-DD'),'system ','system','2','0','EJB','GenValidate',null);
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,OVERWRITE_CORE,COMP_TYPE,COMP_NAME,COMM_FORMAT) values ('tour','pre_approve','1','prcm_default_1',null,to_date('2007-12-04','RRRR-MM-DD'),'Base ','Base','2','0','WSR','nvo_business_object_tour_approve',null);
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,OVERWRITE_CORE,COMP_TYPE,COMP_NAME,COMM_FORMAT) values ('tour','pre_cancel','1','prcm_default_1',null,to_date('2007-12-04','RRRR-MM-DD'),'Aviprash ','Base216','2','0','WSR','nvo_business_object_tour_cnc',null);
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,OVERWRITE_CORE,COMP_TYPE,COMP_NAME,COMM_FORMAT) values ('tour','pre_confirm_erp','1','prcm_adm_default_1',null,to_date('2015-05-06','RRRR-MM-DD'),'BASE ','BASE','2','0','WSR','nvo_business_object_tour_approve_erp',null);
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,OVERWRITE_CORE,COMP_TYPE,COMP_NAME,COMM_FORMAT) values ('tour','pre_cancel_erp','1','prcm_adm_default_1',null,to_date('2015-05-06','RRRR-MM-DD'),'BASE ','BASE','2','0','WSR','nvo_business_object_tour_cnc_erp',null);
-----------------Update Quaries
update SYSTEM_EVENTS set SERVICE_CODE='prcm_default_ejb',COMP_TYPE='JB',COMP_NAME='ibase.webitm.ejb.adm.adv.TourCnc' where OBJ_NAME='tour' and EVENT_CODE='act_cancel';
update SYSTEM_EVENTS set SERVICE_CODE='poic_default_ejb',COMP_TYPE='JB',COMP_NAME='ibase.webitm.ejb.adm.TourIC' where OBJ_NAME='tour' and EVENT_CODE='post_item_change';
update SYSTEM_EVENTS set SERVICE_CODE='prcm_default_ejb',COMP_TYPE='JB',COMP_NAME='ibase.webitm.ejb.adm.adv.TourApprove' where OBJ_NAME='tour' and EVENT_CODE='pre_approve';
update SYSTEM_EVENTS set SERVICE_CODE='prcm_default_ejb',COMP_TYPE='JB',COMP_NAME='ibase.webitm.ejb.adm.adv.TourCnc' where OBJ_NAME='tour' and EVENT_CODE='pre_cancel';
update SYSTEM_EVENTS set SERVICE_CODE='prcm_adm_default_ejb',COMP_TYPE='JB',COMP_NAME='ibase.webitm.ejb.adm.adv.TourCncErp' where OBJ_NAME='tour' and EVENT_CODE='pre_cancel_erp';
update SYSTEM_EVENTS set SERVICE_CODE='prcm_adm_default_ejb',COMP_TYPE='JB',COMP_NAME='ibase.webitm.ejb.adm.adv.TourApproveErp' where OBJ_NAME='tour' and EVENT_CODE='pre_confirm_erp';
update SYSTEM_EVENTS set SERVICE_CODE='prv_default_ejb',COMP_TYPE='JB',COMP_NAME='ibase.webitm.ejb.adm.TourIC' where OBJ_NAME='tour' and EVENT_CODE='pre_validate';
---------------------------------------------------- SYSTEM_EVENT_SERVICES
Insert into SYSTEM_EVENT_SERVICES (SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVICE_PROVIDER,METHOD_NAME,RETURN_VALUE,RETURN_TYPE,RETURN_DESCR,RETURN_XFRM,CHG_DATE,CHG_USER,CHG_TERM,SERVICE_NAMESPACE,RES_ELEM,SOAP_ACTION) values ('project_audit_trail','calling audit log jsp','/ibase/webitm/jsp/ITMAuditForms.jsp',null,'doPost',null,null,null,null,to_date('14-02-17','DD-MM-RR'),'BASE ','BASE','http://NvoServiceurl.org','doPostResult','http://NvoServiceurl.org/doPost');
Insert into SYSTEM_EVENT_SERVICES (SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVICE_PROVIDER,METHOD_NAME,RETURN_VALUE,RETURN_TYPE,RETURN_DESCR,RETURN_XFRM,CHG_DATE,CHG_USER,CHG_TERM,SERVICE_NAMESPACE,RES_ELEM,SOAP_ACTION) values ('export_excel','Calling Export To Excel','/ibase/jsp/E12ExportToExcel.jsp',null,'doPost',null,null,null,null,to_date('12-08-14','DD-MM-RR'),'DANISH ','Base143',null,null,null);
Insert into SYSTEM_EVENT_SERVICES (SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVICE_PROVIDER,METHOD_NAME,RETURN_VALUE,RETURN_TYPE,RETURN_DESCR,RETURN_XFRM,CHG_DATE,CHG_USER,CHG_TERM,SERVICE_NAMESPACE,RES_ELEM,SOAP_ACTION) values ('poic_default_ejb','Item Changed','http://localhost:9090/axis/services/ValidatorService',null,'itemChanged','String','S',null,null,to_date('28-08-19','DD-MM-RR'),'BASE','BASE',null,null,null);
Insert into SYSTEM_EVENT_SERVICES (SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVICE_PROVIDER,METHOD_NAME,RETURN_VALUE,RETURN_TYPE,RETURN_DESCR,RETURN_XFRM,CHG_DATE,CHG_USER,CHG_TERM,SERVICE_NAMESPACE,RES_ELEM,SOAP_ACTION) values ('post_gen_val','validation','http://localhost:9090/axis/services/ValidatorService','BASE iformation','wfValData','String','S',null,null,to_date('21-05-16','DD-MM-RR'),'BASE','VAIBHAV',null,null,null);
Insert into SYSTEM_EVENT_SERVICES (SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVICE_PROVIDER,METHOD_NAME,RETURN_VALUE,RETURN_TYPE,RETURN_DESCR,RETURN_XFRM,CHG_DATE,CHG_USER,CHG_TERM,SERVICE_NAMESPACE,RES_ELEM,SOAP_ACTION) values ('prcm_default_ejb','Action To confirm indent requisition','http://localhost:9090/axis/services/ActionHandlerService','Base','confirm','String','S',null,null,to_date('24-01-18','DD-MM-RR'),'base','base',null,null,null);
Insert into SYSTEM_EVENT_SERVICES (SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVICE_PROVIDER,METHOD_NAME,RETURN_VALUE,RETURN_TYPE,RETURN_DESCR,RETURN_XFRM,CHG_DATE,CHG_USER,CHG_TERM,SERVICE_NAMESPACE,RES_ELEM,SOAP_ACTION) values ('prcm_adm_default_ejb','Action To confirm','http://localhost:9090/axis/services/ActionHandlerService','Base Information','actionHandler','String','S',null,null,to_date('12-11-08','DD-MM-RR'),'jaimin ','BASE207',null,null,null);
Insert into SYSTEM_EVENT_SERVICES (SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVICE_PROVIDER,METHOD_NAME,RETURN_VALUE,RETURN_TYPE,RETURN_DESCR,RETURN_XFRM,CHG_DATE,CHG_USER,CHG_TERM,SERVICE_NAMESPACE,RES_ELEM,SOAP_ACTION) values ('prv_default_ejb','method for validation','http://localhost:9090/axis/services/ValidatorService','BASE','wfValData','String','S',null,null,to_date('28-08-19','DD-MM-RR'),'BASE','BASE',null,null,null);
---------------------------------------------------- SYSTEM_SERVICE_ARGS
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('project_audit_trail',1,'COMPONENT_TYPE','I',null,'S',null,to_date('22-11-16','DD-MM-RR'),'SFA ','SFA','JB');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('project_audit_trail',2,'COMPONENT_NAME','I',null,'S',null,to_date('22-11-16','DD-MM-RR'),'SFA ','SFA','ibase.webitm.ejb.fin.adv.MiscPayAct');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('project_audit_trail',3,'XML_DATA','l',null,'S',null,to_date('22-11-16','DD-MM-RR'),'SFA ','SFA',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('project_audit_trail',4,'XML_DATA_1','l',null,'S',null,to_date('22-11-16','DD-MM-RR'),'SFA ','SFA',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('project_audit_trail',5,'XML_DATA_ALL','l',null,'S',null,to_date('22-11-16','DD-MM-RR'),'SFA ','SFA',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('project_audit_trail',6,'OBJ_CONTEXT','l',null,'S',null,to_date('22-11-16','DD-MM-RR'),'SFA ','SFA',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('project_audit_trail',7,'XTRA_PARAMS','l',null,'S',null,to_date('22-11-16','DD-MM-RR'),'SFA ','SFA',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('project_audit_trail',8,'DB_CONN','l',null,'S.Connection',null,to_date('22-11-16','DD-MM-RR'),'SFA ','SFA',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_default_ejb',1,'COMPONENT_TYPE','I',null,'S',null,to_date('01-06-19','DD-MM-RR'),'HRISHIKESH','HRISHIKESH','JB');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_default_ejb',2,'COMPONENT_NAME ','I',null,'S',null,to_date('01-06-19','DD-MM-RR'),'HRISHIKESH','HRISHIKESH',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_default_ejb',3,'XML_DATA ','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','This ',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_default_ejb',4,'XML_DATA_1 ','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','Manohar',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_default_ejb',5,'XML_DATA_ALL ','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','Manohar',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_default_ejb',6,'OBJ_CONTEXT ','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','Manohar',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_default_ejb',7,'FOCUSED_COLUMN ','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','Manohar',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_default_ejb',8,'EDIT_FLAG ','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','Manohar',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_default_ejb',9,'XTRA_PARAMS ','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','Manohar',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('post_gen_val',1,'COMPONENT_TYPE','I',null,'C.String',null,to_date('21-05-16','DD-MM-RR'),'VAIBHAV ','VAIBHAV','JB');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('post_gen_val',2,'COMPONENT_NAME','I',null,'C.String',null,to_date('21-05-16','DD-MM-RR'),'VAIBHAV ','VAIBHAV','ibase.webitm.ejb.sys.GenValidate');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('post_gen_val',3,'XML_DATA','I',null,'S',null,to_date('21-05-16','DD-MM-RR'),'VAIBHAV ','VAIBHAV',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('post_gen_val',4,'XML_DATA_ALL','I',null,'S',null,to_date('21-05-16','DD-MM-RR'),'VAIBHAV ','VAIBHAV',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('post_gen_val',5,'XML_DATA_ALL','I',null,'S',null,to_date('21-05-16','DD-MM-RR'),'VAIBHAV ','VAIBHAV',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('post_gen_val',6,'OBJ_CONTEXT','I',null,'S',null,to_date('21-05-16','DD-MM-RR'),'VAIBHAV ','VAIBHAV',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('post_gen_val',7,'WIN_NAME','I',null,'S',null,to_date('21-05-16','DD-MM-RR'),'VAIBHAV ','VAIBHAV',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('post_gen_val',8,'XTRA_PARAMS','I',null,'S',null,to_date('21-05-16','DD-MM-RR'),'VAIBHAV ','VAIBHAV',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('post_gen_val',9,'ACTION','I',null,'S',null,to_date('19-05-15','DD-MM-RR'),'BASE ','BASE',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prcm_default_ejb',1,'COMPONENT_TYPE','I','Component Type','S',null,to_date('01-06-12','DD-MM-RR'),'BASE ','BASE','JB');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prcm_default_ejb',2,'COMPONENT_NAME','I','Component Name','S',null,to_date('01-06-12','DD-MM-RR'),'BASE ','BASE',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prcm_default_ejb',3,'<tran_id>','I','tranid','B.String',null,to_date('01-06-12','DD-MM-RR'),'BASE ','BASE',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prcm_default_ejb',4,'XTRA_PARAMS','I','Extra Arguments','S',null,to_date('01-06-12','DD-MM-RR'),'BASE ','BASE',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prcm_default_ejb',5,'FORCED_FLAG','I','Forced Flag','S',null,to_date('01-06-12','DD-MM-RR'),'BASE ','BASE',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prcm_adm_default_ejb',1,'COMPONENT_TYPE','I','Component Type','C.String',null,to_date('03-04-09','DD-MM-RR'),'skale ','Base34 ','JB');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prcm_adm_default_ejb',2,'COMPONENT_NAME','I','Component Name','C.String',null,to_date('03-04-09','DD-MM-RR'),'skale ','Base34 ','ibase.webitm.ejb.adm.adv.EmpMaritalStatusConf');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prcm_adm_default_ejb',3,'<tran_id>','I','tranid','C.String',null,to_date('03-04-09','DD-MM-RR'),'skale ','Base34 ',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prcm_adm_default_ejb',4,'XTRA_PARAMS','I','Extra Arguments','S',null,to_date('03-04-09','DD-MM-RR'),'skale ','Base34 ',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prcm_adm_default_ejb',5,'FORCED_FLAG','I','Forced Flag','S',null,to_date('03-04-09','DD-MM-RR'),'skale ','Base34 ',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prv_default_ejb',1,'COMPONENT_TYPE','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','Manohar','JB');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prv_default_ejb',2,'COMPONENT_NAME','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','Manohar',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prv_default_ejb',3,'XML_DATA ','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','Manohar',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prv_default_ejb',4,'XML_DATA_1 ','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','Manohar',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prv_default_ejb',5,'XML_DATA_ALL ','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','Manohar',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prv_default_ejb',6,'OBJ_CONTEXT','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','Manohar',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prv_default_ejb',7,'EDIT_FLAG ','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','Manohar',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prv_default_ejb',8,'XTRA_PARAMS','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','Manohar',null);
----------------------------------------------------- OBJ_ITEMCHANGE
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('tour','1','date_from',null);
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('tour','1','date_to',null);
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('tour','1','emp_code',null);
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('tour','1','emp_code__appr',null);
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('tour','1','itm_default',null);
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('tour','1','plan_id',null);
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('tour','1','tour_ends','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('tour','1','tour_starts','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('tour','2','itm_default',null);
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('tour','2','line_no__plan',null);
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('tour','2','stan_code',null);
------------------------------------------------------ POPHELP
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)
values ('EMP_CODE','W_TOUR','Select emp_code, emp_fname, emp_mname, emp_lname, dept_code from employee where emp_site = ''?'' and nvl(status,'' '') !=''S''',null,'Employee Code',null,null,to_date('2018-05-15','RRRR-MM-DD'),'VAIBHAV ','VAIBHAV ','0',null,':login_site',null,null,null,'0',null,null,null,'0',null,null,null,null,null,null);
update POPHELP set THUMB_IMAGE_COL = 'emp_code', THUMB_ALT_COL = 'emp_fname', THUMB_OBJ = 'EmpImages', AUTO_FILL_LEN = '3', HELP_OPTION = '2', AUTO_MIN_LENGTH = '2' where FIELD_NAME='EMP_CODE' and MOD_NAME = 'W_TOUR';
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 ('PLAN_ID','W_TOUR','SELECT PLAN_ID,EMP_CODE from TOURPLAN',null,'Plan ID',null,null,to_date('22-10-00','DD-MM-RR'),'SUN ','HDP ','1',null,null,null,null,null,null,null,null,null,'2',null,'3','EmpImages','PLAN_ID','EMP_CODE','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 ('STAN_CODE','W_TOUR','select ''Enter minimum three characters of station name'' as descr, '' '' as STAN_CODE,'' '' as state_code from dual where ''?'' is null or length(''?'') < 3 union all SELECT DESCR,STAN_CODE,state_code FROM STATION WHERE (upper(DESCR) LIKE UPPER(''%?%'') or stan_code like ''%?%'') and length(''?'') >= 3 ',null,'Station Master',0,0,to_date('27-05-09','DD-MM-RR'),'VISHAL ','VISHAL ','0',null,':stan_code,:stan_code,:stan_code,:stan_code,:stan_code',2,null,null,null,null,null,null,'2',null,'4','StationImages','stan_code','descr','3 ',null,null,null,null,null,null,null);
------------------------------------------------------ MESSAGES
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 ('VEDATE ','Invalid From/To Dt.','Pls enter both From Dates','E','Y',null,null,null,to_date('06-03-99','DD-MM-RR'),'SUN ','1 ',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 ('VMDTNUL1 ','Invalid Date !','Date can not 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 ('VMEMP1 ','Invalid employee code','The employee code entered does not exist in the employee master. First you have to define it in the master','E','Y',null,null,null,to_date('15-03-02','DD-MM-RR'),'SUN ','98COMPUTER ',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 ('VMPLANID ','Error !','Plan ID not correct.','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 ('VMPLANLINE','Error !','No such plan line number present in plan detail.','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 ('VTDTFR1 ','InValid Date !','From Date must be between From Date and To Date of Header .','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 ('VTEMPNF ','Error !','Employee is defferent from tour plan.','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 ('VTRELDT ','Invalid tour to date','The tour date cannot be greater then the relieve date','E','Y',null,null,null,to_date('13-09-01','DD-MM-RR'),'ADMIN ','97NILESH12 ',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 ('VTSEPEMP ','Invalid Employee','Cannot Process as Separation present','E','Y',null,null,null,to_date('13-09-01','DD-MM-RR'),'ADMIN ','97NILESH12 ',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 ('VTTOUR ','Invalid tour','The Employee already has a tour for the specified period','E','Y',null,null,null,to_date('28-06-01','DD-MM-RR'),'SUN ','96NAVEENK ',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 ('VTTOUR0003','Invalid No of Days!','No of days can not blank and should be grater then 0','E','Y',null,null,null,to_date('17-08-15','DD-MM-RR'),'BASE ','BASE ',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 ('VTTOUR0004','Invalid Place!','Place can not be null or empty, please enter place','E','Y',null,null,null,to_date('17-08-15','DD-MM-RR'),'BASE ','BASE ',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 ('VTTOUR1 ','No of days check failed','No of days doesn''t match with the range provided','E','Y',null,null,null,to_date('28-08-06','DD-MM-RR'),'VISHAL ','VISHAL ',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 ('VTNODAYS ','No of days','No. ofdays is either 0 or -ve','E','Y',null,null,null,to_date('20-10-00','DD-MM-RR'),'SEJAL ','SEJAL ',null,null);
-------------------------------------------------------Table Structure of TOURPLAN
create table TOURPLAN(
PLAN_ID CHAR(10) NOT NULL,EMP_CODE CHAR(10) NOT NULL,DATE_FROM DATE,DATE_TO DATE,
TOUR_DETAILS VARCHAR2(250),REMARKS VARCHAR2(50),CHG_DATE DATE,CHG_USER CHAR(10),CHG_TERM CHAR(15));
-------------------------------------------------------Table Structure of TOURPLANDET
create table TOURPLANDET(
PLAN_ID CHAR(10) NOT NULL,
LINE_NO NUMBER(3) NOT NULL,
STAN_CODE CHAR(5),
TO_PLACE VARCHAR2(20) NOT NULL,
TEL_NO VARCHAR2(15),
DATE_FROM DATE NOT NULL,
DATE_TO DATE NOT NULL,
PURPOSE VARCHAR2(30)
);
...@@ -126,16 +126,16 @@ ...@@ -126,16 +126,16 @@
</values> </values>
</table_column> </table_column>
<table_column> <table_column>
<type size="15">char</type> <type size="4000">char</type>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>emp_fname</name> <name>emp_fname</name>
<dbname>employee.emp_fname</dbname> <dbname>emp_fname</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="15">char</type> <type size="4000">char</type>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>emp_lname</name> <name>emp_lname</name>
<dbname>employee.emp_lname</dbname> <dbname>emp_lname</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="5">char</type> <type size="5">char</type>
...@@ -199,7 +199,7 @@ ...@@ -199,7 +199,7 @@
<name>aprv_date</name> <name>aprv_date</name>
<dbname>tour.aprv_date</dbname> <dbname>tour.aprv_date</dbname>
</table_column> </table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;tour&quot; ) TABLE(NAME=&quot;employee&quot; ) COLUMN(NAME=&quot;tour.tour_id&quot;) COLUMN(NAME=&quot;tour.emp_code&quot;) COLUMN(NAME=&quot;tour.plan_id&quot;) COLUMN(NAME=&quot;tour.date_from&quot;) COLUMN(NAME=&quot;tour.date_to&quot;) COLUMN(NAME=&quot;tour.no_days&quot;) COLUMN(NAME=&quot;tour.tour_details&quot;) COLUMN(NAME=&quot;tour.remarks&quot;) COLUMN(NAME=&quot;tour.emp_code__appr&quot;) COLUMN(NAME=&quot;tour.status&quot;) COLUMN(NAME=&quot;employee.emp_fname&quot;) COLUMN(NAME=&quot;employee.emp_lname&quot;) COLUMN(NAME=&quot;employee.work_site&quot;) COLUMN(NAME=&quot;tour.tour_starts&quot;) COLUMN(NAME=&quot;tour.tour_ends&quot;) COLUMN(NAME=&quot;tour.start_time&quot;) COLUMN(NAME=&quot;tour.end_time&quot;) COLUMN(NAME=&quot;tour.chg_date&quot;) COLUMN(NAME=&quot;tour.chg_user&quot;) COLUMN(NAME=&quot;tour.chg_term&quot;) COLUMN(NAME=&quot;tour.aprv_date&quot;) JOIN (LEFT=&quot;tour.emp_code&quot; OP =&quot;=&quot;RIGHT=&quot;employee.emp_code&quot; )WHERE( EXP1 =&quot;tour.date_from&quot; OP =&quot;&gt;=&quot; EXP2 =&quot;:frdate&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;tour.date_from&quot; OP =&quot;&lt;=&quot; EXP2 =&quot;:todate&quot; ) ) ARG(NAME = &quot;frdate&quot; TYPE = datetime) ARG(NAME = &quot;todate&quot; TYPE = datetime) </retrieve> <retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;tour&quot; ) TABLE(NAME=&quot;employee&quot; ) COLUMN(NAME=&quot;tour.tour_id&quot;) COLUMN(NAME=&quot;tour.emp_code&quot;) COLUMN(NAME=&quot;tour.plan_id&quot;) COLUMN(NAME=&quot;tour.date_from&quot;) COLUMN(NAME=&quot;tour.date_to&quot;) COLUMN(NAME=&quot;tour.no_days&quot;) COLUMN(NAME=&quot;tour.tour_details&quot;) COLUMN(NAME=&quot;tour.remarks&quot;) COLUMN(NAME=&quot;tour.emp_code__appr&quot;) COLUMN(NAME=&quot;tour.status&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME (~&quot;TOUR~&quot;.~&quot;EMP_CODE~&quot;, &apos;F1&apos;) as emp_fname&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME (~&quot;TOUR~&quot;.~&quot;EMP_CODE~&quot;, &apos;L1&apos;) as emp_lname&quot;) COLUMN(NAME=&quot;employee.work_site&quot;) COLUMN(NAME=&quot;tour.tour_starts&quot;) COLUMN(NAME=&quot;tour.tour_ends&quot;) COLUMN(NAME=&quot;tour.start_time&quot;) COLUMN(NAME=&quot;tour.end_time&quot;) COLUMN(NAME=&quot;tour.chg_date&quot;) COLUMN(NAME=&quot;tour.chg_user&quot;) COLUMN(NAME=&quot;tour.chg_term&quot;) COLUMN(NAME=&quot;tour.aprv_date&quot;) JOIN (LEFT=&quot;tour.emp_code&quot; OP =&quot;=&quot;RIGHT=&quot;employee.emp_code&quot; )WHERE( EXP1 =&quot;tour.date_from&quot; OP =&quot;&gt;=&quot; EXP2 =&quot;:frdate&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;tour.date_from&quot; OP =&quot;&lt;=&quot; EXP2 =&quot;:todate&quot; ) ) ARG(NAME = &quot;frdate&quot; TYPE = datetime) ARG(NAME = &quot;todate&quot; TYPE = datetime) </retrieve>
<update>tour</update> <update>tour</update>
<updatewhere>1</updatewhere> <updatewhere>1</updatewhere>
<updatekeyinplace>no</updatekeyinplace> <updatekeyinplace>no</updatekeyinplace>
...@@ -305,7 +305,7 @@ ...@@ -305,7 +305,7 @@
<x>254</x> <x>254</x>
<y>3</y> <y>3</y>
<height>16</height> <height>16</height>
<width>78</width> <width>122</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
...@@ -330,10 +330,10 @@ ...@@ -330,10 +330,10 @@
<text>Last Name</text> <text>Last Name</text>
<border>6</border> <border>6</border>
<color>0</color> <color>0</color>
<x>334</x> <x>378</x>
<y>3</y> <y>3</y>
<height>16</height> <height>16</height>
<width>86</width> <width>138</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
...@@ -358,7 +358,7 @@ ...@@ -358,7 +358,7 @@
<text>Date From</text> <text>Date From</text>
<border>6</border> <border>6</border>
<color>0</color> <color>0</color>
<x>422</x> <x>518</x>
<y>3</y> <y>3</y>
<height>16</height> <height>16</height>
<width>76</width> <width>76</width>
...@@ -386,7 +386,7 @@ ...@@ -386,7 +386,7 @@
<text>Date To</text> <text>Date To</text>
<border>6</border> <border>6</border>
<color>0</color> <color>0</color>
<x>500</x> <x>596</x>
<y>3</y> <y>3</y>
<height>16</height> <height>16</height>
<width>65</width> <width>65</width>
...@@ -414,7 +414,7 @@ ...@@ -414,7 +414,7 @@
<text>Status</text> <text>Status</text>
<border>6</border> <border>6</border>
<color>0</color> <color>0</color>
<x>567</x> <x>663</x>
<y>3</y> <y>3</y>
<height>16</height> <height>16</height>
<width>98</width> <width>98</width>
...@@ -442,7 +442,7 @@ ...@@ -442,7 +442,7 @@
<text>Days</text> <text>Days</text>
<border>6</border> <border>6</border>
<color>0</color> <color>0</color>
<x>667</x> <x>763</x>
<y>3</y> <y>3</y>
<height>16</height> <height>16</height>
<width>41</width> <width>41</width>
...@@ -470,7 +470,7 @@ ...@@ -470,7 +470,7 @@
<text>Tour Starts</text> <text>Tour Starts</text>
<border>6</border> <border>6</border>
<color>0</color> <color>0</color>
<x>710</x> <x>806</x>
<y>3</y> <y>3</y>
<height>16</height> <height>16</height>
<width>96</width> <width>96</width>
...@@ -498,7 +498,7 @@ ...@@ -498,7 +498,7 @@
<text>Tour Ends</text> <text>Tour Ends</text>
<border>6</border> <border>6</border>
<color>0</color> <color>0</color>
<x>808</x> <x>904</x>
<y>3</y> <y>3</y>
<height>16</height> <height>16</height>
<width>96</width> <width>96</width>
...@@ -526,7 +526,7 @@ ...@@ -526,7 +526,7 @@
<text>Start Time</text> <text>Start Time</text>
<border>6</border> <border>6</border>
<color>0</color> <color>0</color>
<x>906</x> <x>1002</x>
<y>3</y> <y>3</y>
<height>16</height> <height>16</height>
<width>84</width> <width>84</width>
...@@ -554,7 +554,7 @@ ...@@ -554,7 +554,7 @@
<text>End Time</text> <text>End Time</text>
<border>6</border> <border>6</border>
<color>0</color> <color>0</color>
<x>992</x> <x>1088</x>
<y>3</y> <y>3</y>
<height>16</height> <height>16</height>
<width>84</width> <width>84</width>
...@@ -582,7 +582,7 @@ ...@@ -582,7 +582,7 @@
<text>Tour Details </text> <text>Tour Details </text>
<border>6</border> <border>6</border>
<color>0</color> <color>0</color>
<x>1078</x> <x>1174</x>
<y>3</y> <y>3</y>
<height>16</height> <height>16</height>
<width>183</width> <width>183</width>
...@@ -610,7 +610,7 @@ ...@@ -610,7 +610,7 @@
<text>Remarks</text> <text>Remarks</text>
<border>6</border> <border>6</border>
<color>0</color> <color>0</color>
<x>1263</x> <x>1359</x>
<y>3</y> <y>3</y>
<height>16</height> <height>16</height>
<width>140</width> <width>140</width>
...@@ -638,7 +638,7 @@ ...@@ -638,7 +638,7 @@
<text>Approved By</text> <text>Approved By</text>
<border>6</border> <border>6</border>
<color>0</color> <color>0</color>
<x>1405</x> <x>1501</x>
<y>3</y> <y>3</y>
<height>16</height> <height>16</height>
<width>82</width> <width>82</width>
...@@ -666,7 +666,7 @@ ...@@ -666,7 +666,7 @@
<text>Work Site</text> <text>Work Site</text>
<border>6</border> <border>6</border>
<color>0</color> <color>0</color>
<x>1827</x> <x>1923</x>
<y>3</y> <y>3</y>
<height>16</height> <height>16</height>
<width>65</width> <width>65</width>
...@@ -694,7 +694,7 @@ ...@@ -694,7 +694,7 @@
<text>Change Date</text> <text>Change Date</text>
<border>6</border> <border>6</border>
<color>33554432</color> <color>33554432</color>
<x>1578</x> <x>1674</x>
<y>3</y> <y>3</y>
<height>16</height> <height>16</height>
<width>76</width> <width>76</width>
...@@ -722,7 +722,7 @@ ...@@ -722,7 +722,7 @@
<text>Change User</text> <text>Change User</text>
<border>6</border> <border>6</border>
<color>33554432</color> <color>33554432</color>
<x>1656</x> <x>1752</x>
<y>3</y> <y>3</y>
<height>16</height> <height>16</height>
<width>82</width> <width>82</width>
...@@ -750,7 +750,7 @@ ...@@ -750,7 +750,7 @@
<text>Change Term</text> <text>Change Term</text>
<border>6</border> <border>6</border>
<color>33554432</color> <color>33554432</color>
<x>1740</x> <x>1836</x>
<y>3</y> <y>3</y>
<height>16</height> <height>16</height>
<width>85</width> <width>85</width>
...@@ -778,7 +778,7 @@ ...@@ -778,7 +778,7 @@
<text>Approval Date</text> <text>Approval Date</text>
<border>6</border> <border>6</border>
<color>33554432</color> <color>33554432</color>
<x>1489</x> <x>1585</x>
<y>3</y> <y>3</y>
<height>16</height> <height>16</height>
<width>87</width> <width>87</width>
...@@ -922,7 +922,7 @@ ...@@ -922,7 +922,7 @@
<x>254</x> <x>254</x>
<y>1</y> <y>1</y>
<height>17</height> <height>17</height>
<width>78</width> <width>122</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
...@@ -955,10 +955,10 @@ ...@@ -955,10 +955,10 @@
<tabsequence>50</tabsequence> <tabsequence>50</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>334</x> <x>378</x>
<y>1</y> <y>1</y>
<height>17</height> <height>17</height>
<width>86</width> <width>138</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
...@@ -991,7 +991,7 @@ ...@@ -991,7 +991,7 @@
<tabsequence>60</tabsequence> <tabsequence>60</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>422</x> <x>518</x>
<y>1</y> <y>1</y>
<height>17</height> <height>17</height>
<width>76</width> <width>76</width>
...@@ -1027,7 +1027,7 @@ ...@@ -1027,7 +1027,7 @@
<tabsequence>70</tabsequence> <tabsequence>70</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>500</x> <x>596</x>
<y>1</y> <y>1</y>
<height>17</height> <height>17</height>
<width>65</width> <width>65</width>
...@@ -1064,7 +1064,7 @@ ...@@ -1064,7 +1064,7 @@
<tabsequence>80</tabsequence> <tabsequence>80</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>567</x> <x>663</x>
<y>1</y> <y>1</y>
<height>17</height> <height>17</height>
<width>98</width> <width>98</width>
...@@ -1101,7 +1101,7 @@ ...@@ -1101,7 +1101,7 @@
<tabsequence>90</tabsequence> <tabsequence>90</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>667</x> <x>763</x>
<y>1</y> <y>1</y>
<height>17</height> <height>17</height>
<width>41</width> <width>41</width>
...@@ -1139,7 +1139,7 @@ ...@@ -1139,7 +1139,7 @@
<tabsequence>140</tabsequence> <tabsequence>140</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>1078</x> <x>1174</x>
<y>1</y> <y>1</y>
<height>17</height> <height>17</height>
<width>183</width> <width>183</width>
...@@ -1176,7 +1176,7 @@ ...@@ -1176,7 +1176,7 @@
<tabsequence>150</tabsequence> <tabsequence>150</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>1263</x> <x>1359</x>
<y>1</y> <y>1</y>
<height>17</height> <height>17</height>
<width>140</width> <width>140</width>
...@@ -1213,7 +1213,7 @@ ...@@ -1213,7 +1213,7 @@
<tabsequence>130</tabsequence> <tabsequence>130</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>992</x> <x>1088</x>
<y>1</y> <y>1</y>
<height>16</height> <height>16</height>
<width>84</width> <width>84</width>
...@@ -1248,7 +1248,7 @@ ...@@ -1248,7 +1248,7 @@
<tabsequence>120</tabsequence> <tabsequence>120</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>906</x> <x>1002</x>
<y>1</y> <y>1</y>
<height>16</height> <height>16</height>
<width>84</width> <width>84</width>
...@@ -1283,7 +1283,7 @@ ...@@ -1283,7 +1283,7 @@
<tabsequence>110</tabsequence> <tabsequence>110</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>808</x> <x>904</x>
<y>1</y> <y>1</y>
<height>16</height> <height>16</height>
<width>96</width> <width>96</width>
...@@ -1319,7 +1319,7 @@ ...@@ -1319,7 +1319,7 @@
<tabsequence>100</tabsequence> <tabsequence>100</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>710</x> <x>806</x>
<y>1</y> <y>1</y>
<height>16</height> <height>16</height>
<width>96</width> <width>96</width>
...@@ -1355,7 +1355,7 @@ ...@@ -1355,7 +1355,7 @@
<tabsequence>160</tabsequence> <tabsequence>160</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>1405</x> <x>1501</x>
<y>1</y> <y>1</y>
<height>17</height> <height>17</height>
<width>82</width> <width>82</width>
...@@ -1392,7 +1392,7 @@ ...@@ -1392,7 +1392,7 @@
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>1827</x> <x>1923</x>
<y>1</y> <y>1</y>
<height>17</height> <height>17</height>
<width>65</width> <width>65</width>
...@@ -1428,7 +1428,7 @@ ...@@ -1428,7 +1428,7 @@
<tabsequence>180</tabsequence> <tabsequence>180</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>1578</x> <x>1674</x>
<y>1</y> <y>1</y>
<height>17</height> <height>17</height>
<width>76</width> <width>76</width>
...@@ -1463,7 +1463,7 @@ ...@@ -1463,7 +1463,7 @@
<tabsequence>190</tabsequence> <tabsequence>190</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>1656</x> <x>1752</x>
<y>1</y> <y>1</y>
<height>17</height> <height>17</height>
<width>82</width> <width>82</width>
...@@ -1500,7 +1500,7 @@ ...@@ -1500,7 +1500,7 @@
<tabsequence>200</tabsequence> <tabsequence>200</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>1740</x> <x>1836</x>
<y>1</y> <y>1</y>
<height>17</height> <height>17</height>
<width>85</width> <width>85</width>
...@@ -1537,7 +1537,7 @@ ...@@ -1537,7 +1537,7 @@
<tabsequence>170</tabsequence> <tabsequence>170</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>1489</x> <x>1585</x>
<y>1</y> <y>1</y>
<height>17</height> <height>17</height>
<width>87</width> <width>87</width>
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow> <!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow> <Sybase_eDataWindow>
<Release>9</Release> <Release>9</Release>
<BaseDefinition> <BaseDefinition>
<units>1</units> <units>1</units>
<timer_interval>0</timer_interval> <timer_interval>0</timer_interval>
<color>79741120</color> <color>79741120</color>
<processing>1</processing> <processing>1</processing>
<HTMLDW>no</HTMLDW> <HTMLDW>no</HTMLDW>
<print> <print>
<documentname></documentname> <documentname></documentname>
<printername></printername> <printername></printername>
<orientation>0</orientation> <orientation>0</orientation>
<margin> <margin>
<left>24</left> <left>24</left>
<right>24</right> <right>24</right>
<top>24</top> <top>24</top>
<bottom>24</bottom> <bottom>24</bottom>
</margin> </margin>
<paper> <paper>
<source>0</source> <source>0</source>
<size>0</size> <size>0</size>
</paper> </paper>
<prompt>no</prompt> <prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter> <canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons> <buttons>no</buttons>
<preview.buttons>no</preview.buttons> <preview.buttons>no</preview.buttons>
<cliptext>no</cliptext> <cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob> <overrideprintjob>no</overrideprintjob>
</print> </print>
<grid.lines>0</grid.lines> <grid.lines>0</grid.lines>
</BaseDefinition> </BaseDefinition>
<Header> <Header>
<height>19</height> <height>19</height>
<color>536870912</color> <color>536870912</color>
</Header> </Header>
<Summary> <Summary>
<height>0</height> <height>0</height>
<color>536870912</color> <color>536870912</color>
</Summary> </Summary>
<Footer> <Footer>
<height>0</height> <height>0</height>
<color>536870912</color> <color>536870912</color>
</Footer> </Footer>
<Detail> <Detail>
<height>20</height> <height>20</height>
<color>536870912</color> <color>536870912</color>
</Detail> </Detail>
<TableDefinition> <TableDefinition>
<table_column> <table_column>
<type size="10">char</type> <type size="10">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<key>yes</key> <key>yes</key>
<name>tour_id</name> <name>tour_id</name>
<dbname>tourdet.tour_id</dbname> <dbname>tourdet.tour_id</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type precision="0">decimal</type> <type precision="0">decimal</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<key>yes</key> <key>yes</key>
<name>line_no</name> <name>line_no</name>
<dbname>tourdet.line_no</dbname> <dbname>tourdet.line_no</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type precision="0">decimal</type> <type precision="0">decimal</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>line_no__plan</name> <name>line_no__plan</name>
<dbname>tourdet.line_no__plan</dbname> <dbname>tourdet.line_no__plan</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="5">char</type> <type size="5">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>stan_code</name> <name>stan_code</name>
<dbname>tourdet.stan_code</dbname> <dbname>tourdet.stan_code</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="20">char</type> <type size="60">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>to_place</name> <name>to_place</name>
<dbname>tourdet.to_place</dbname> <dbname>tourdet.to_place</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type>datetime</type> <type>datetime</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>date_from</name> <name>date_to</name>
<dbname>tourdet.date_from</dbname> <dbname>tourdet.date_to</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type>datetime</type> <type size="200">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>date_to</name> <name>purpose</name>
<dbname>tourdet.date_to</dbname> <dbname>tourdet.purpose</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="200">char</type> <type size="50">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>purpose</name> <name>mode_travel</name>
<dbname>tourdet.purpose</dbname> <dbname>tourdet.mode_travel</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="15">char</type> <type>datetime</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>mode_travel</name> <name>date_from</name>
<dbname>tourdet.mode_travel</dbname> <dbname>tourdet.date_from</dbname>
</table_column> </table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;tourdet&quot; ) COLUMN(NAME=&quot;tourdet.tour_id&quot;) COLUMN(NAME=&quot;tourdet.line_no&quot;) COLUMN(NAME=&quot;tourdet.line_no__plan&quot;) COLUMN(NAME=&quot;tourdet.stan_code&quot;) COLUMN(NAME=&quot;tourdet.to_place&quot;) COLUMN(NAME=&quot;tourdet.date_from&quot;) COLUMN(NAME=&quot;tourdet.date_to&quot;) COLUMN(NAME=&quot;tourdet.purpose&quot;) COLUMN(NAME=&quot;tourdet.mode_travel&quot;)WHERE( EXP1 =&quot;tourdet.tour_id&quot; OP =&quot;=&quot; EXP2 =&quot;:mtour_id &quot; ) ) ARG(NAME = &quot;mtour_id&quot; TYPE = string) </retrieve> <retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;tourdet&quot; ) COLUMN(NAME=&quot;tourdet.tour_id&quot;) COLUMN(NAME=&quot;tourdet.line_no&quot;) COLUMN(NAME=&quot;tourdet.line_no__plan&quot;) COLUMN(NAME=&quot;tourdet.stan_code&quot;) COLUMN(NAME=&quot;tourdet.to_place&quot;) COLUMN(NAME=&quot;tourdet.date_to&quot;) COLUMN(NAME=&quot;tourdet.purpose&quot;) COLUMN(NAME=&quot;tourdet.mode_travel&quot;) COLUMN(NAME=&quot;tourdet.date_from&quot;)WHERE( EXP1 =&quot;tourdet.tour_id&quot; OP =&quot;=&quot; EXP2 =&quot;:mtour_id &quot; ) ) ARG(NAME = &quot;mtour_id&quot; TYPE = string) </retrieve>
<update>tourdet</update> <update>TOURDET</update>
<updatewhere>0</updatewhere> <updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace> <updatekeyinplace>no</updatekeyinplace>
<argument> <argument>
<name>mtour_id</name> <name>mtour_id</name>
<type>string</type> <type>string</type>
</argument> </argument>
</TableDefinition> </TableDefinition>
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>0</alignment> <alignment>0</alignment>
<text>Line No</text> <text>Line No</text>
<border>6</border> <border>6</border>
<color>0</color> <color>0</color>
<x>2</x> <x>2</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>51</width> <width>51</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>line_no_t</name> <name>line_no_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>79741120</color> <color>79741120</color>
</background> </background>
</TextObject> </TextObject>
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>0</alignment> <alignment>0</alignment>
<text>Line No Plan</text> <text>Line No Plan</text>
<border>6</border> <border>6</border>
<color>0</color> <color>0</color>
<x>55</x> <x>55</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>81</width> <width>81</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>line_no__plan_t</name> <name>line_no__plan_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>79741120</color> <color>79741120</color>
</background> </background>
</TextObject> </TextObject>
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>2</alignment> <alignment>0</alignment>
<text>Station Code</text> <text>Station Code</text>
<border>6</border> <border>6</border>
<color>0</color> <color>0</color>
<x>138</x> <x>138</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>85</width> <width>85</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>stan_code_t</name> <name>stan_code_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>79741120</color> <color>79741120</color>
</background> </background>
</TextObject> </TextObject>
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>0</alignment> <alignment>0</alignment>
<text>Place</text> <text>Place</text>
<border>6</border> <border>6</border>
<color>0</color> <color>0</color>
<x>225</x> <x>225</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>142</width> <width>142</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>to_place_t</name> <name>to_place_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>79741120</color> <color>79741120</color>
</background> </background>
</TextObject> </TextObject>
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>0</alignment> <alignment>0</alignment>
<text>Date From</text> <text>Date To</text>
<border>6</border> <border>6</border>
<color>0</color> <color>0</color>
<x>369</x> <x>369</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>65</width> <width>67</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>date_from_t</name> <name>date_to_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>79741120</color> <color>79741120</color>
</background> </background>
</TextObject> </TextObject>
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>0</alignment> <alignment>0</alignment>
<text>Date To</text> <text>Purpose</text>
<border>6</border> <border>6</border>
<color>0</color> <color>0</color>
<x>436</x> <x>438</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>67</width> <width>174</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>date_to_t</name> <name>purpose_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>79741120</color> <color>79741120</color>
</background> </background>
</TextObject> </TextObject>
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>0</alignment> <alignment>0</alignment>
<text>Purpose</text> <text>Mode of Travel</text>
<border>6</border> <border>6</border>
<color>0</color> <color>0</color>
<x>505</x> <x>614</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>174</width> <width>92</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>purpose_t</name> <name>mode_travel_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>79741120</color> <color>79741120</color>
</background> </background>
</TextObject> </TextObject>
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>0</alignment> <alignment>0</alignment>
<text>Mode of Travel</text> <text>Tour Id</text>
<border>6</border> <border>6</border>
<color>0</color> <color>0</color>
<x>681</x> <x>708</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>92</width> <width>63</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>mode_travel_t</name> <name>tour_id_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>79741120</color> <color>79741120</color>
</background> </background>
</TextObject> </TextObject>
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>2</alignment> <alignment>0</alignment>
<text>Tour Id</text> <text>Date From</text>
<border>6</border> <border>6</border>
<color>0</color> <color>0</color>
<x>775</x> <x>773</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>63</width> <width>78</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>tour_id_t</name> <name>date_from_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>79741120</color> <color>67108864</color>
</background> </background>
</TextObject> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>2</id> <id>2</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>2</x> <x>2</x>
<y>1</y> <y>1</y>
<height>16</height> <height>16</height>
<width>51</width> <width>51</width>
<format>#,##,##,###.####</format> <format>#,##,##,###.####</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>line_no</name> <name>line_no</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>0</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll> <autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>16777215</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>3</id> <id>3</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>10</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>55</x> <x>55</x>
<y>1</y> <y>1</y>
<height>16</height> <height>16</height>
<width>81</width> <width>81</width>
<format>#,##,##,###.####</format> <format>#,##,##,###.####</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>line_no__plan</name> <name>line_no__plan</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>0</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll> <autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>16777215</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>4</id> <id>4</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>20</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>138</x> <x>138</x>
<y>1</y> <y>1</y>
<height>16</height> <height>16</height>
<width>85</width> <width>85</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>stan_code</name> <name>stan_code</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>5</limit> <limit>5</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll> <autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>16777215</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>5</id> <id>5</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>30</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>225</x> <x>225</x>
<y>1</y> <y>1</y>
<height>16</height> <height>16</height>
<width>142</width> <width>142</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>to_place</name> <name>to_place</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>20</limit> <limit>20</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll> <autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>16777215</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>6</id> <id>6</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>40</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>369</x> <x>369</x>
<y>1</y> <y>1</y>
<height>16</height> <height>16</height>
<width>65</width> <width>67</width>
<format>[shortdate] [time]</format> <format>[shortdate] [time]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>date_from</name> <name>date_to</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>0</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<imemode>0</imemode> <autohscroll>yes</autohscroll>
</EditStyle> <imemode>0</imemode>
<font> </EditStyle>
<face>Times New Roman</face> <font>
<height>-10</height> <face>Times New Roman</face>
<weight>400</weight> <height>-10</height>
<family>1</family> <weight>400</weight>
<pitch>2</pitch> <family>1</family>
<charset>0</charset> <pitch>2</pitch>
</font> <charset>0</charset>
<background> </font>
<mode>2</mode> <background>
<color>16777215</color> <mode>2</mode>
</background> <color>16777215</color>
</ColumnObject> </background>
<ColumnObject> </ColumnObject>
<band>Detail</band> <ColumnObject>
<id>7</id> <band>Detail</band>
<alignment>0</alignment> <id>7</id>
<tabsequence>32766</tabsequence> <alignment>0</alignment>
<border>5</border> <tabsequence>50</tabsequence>
<color>0</color> <border>5</border>
<x>436</x> <color>0</color>
<y>1</y> <x>438</x>
<height>16</height> <y>1</y>
<width>67</width> <height>16</height>
<format>[shortdate] [time]</format> <width>174</width>
<html> <format>[general]</format>
<valueishtml>0</valueishtml> <html>
</html> <valueishtml>0</valueishtml>
<name>date_to</name> </html>
<visible>1</visible> <name>purpose</name>
<EditStyle style="edit"> <visible>1</visible>
<limit>0</limit> <EditStyle style="edit">
<case>any</case> <limit>200</limit>
<focusrectangle>no</focusrectangle> <case>any</case>
<autoselect>yes</autoselect> <focusrectangle>no</focusrectangle>
<autohscroll>yes</autohscroll> <autoselect>yes</autoselect>
<imemode>0</imemode> <autohscroll>yes</autohscroll>
</EditStyle> <imemode>0</imemode>
<font> </EditStyle>
<face>Times New Roman</face> <font>
<height>-10</height> <face>Times New Roman</face>
<weight>400</weight> <height>-10</height>
<family>1</family> <weight>400</weight>
<pitch>2</pitch> <family>1</family>
<charset>0</charset> <pitch>2</pitch>
</font> <charset>0</charset>
<background> </font>
<mode>2</mode> <background>
<color>16777215</color> <mode>2</mode>
</background> <color>16777215</color>
</ColumnObject> </background>
<ColumnObject> </ColumnObject>
<band>Detail</band> <ColumnObject>
<id>8</id> <band>Detail</band>
<alignment>0</alignment> <id>8</id>
<tabsequence>32766</tabsequence> <alignment>0</alignment>
<border>5</border> <tabsequence>60</tabsequence>
<color>0</color> <border>5</border>
<x>505</x> <color>0</color>
<y>1</y> <x>614</x>
<height>16</height> <y>0</y>
<width>174</width> <height>16</height>
<format>[general]</format> <width>92</width>
<html> <format>[general]</format>
<valueishtml>0</valueishtml> <html>
</html> <valueishtml>0</valueishtml>
<name>purpose</name> </html>
<visible>1</visible> <name>mode_travel</name>
<EditStyle style="edit"> <visible>1</visible>
<limit>200</limit> <EditStyle style="edit">
<case>any</case> <limit>15</limit>
<focusrectangle>no</focusrectangle> <case>any</case>
<autoselect>yes</autoselect> <focusrectangle>no</focusrectangle>
<autohscroll>yes</autohscroll> <autoselect>yes</autoselect>
<imemode>0</imemode> <autohscroll>yes</autohscroll>
</EditStyle> <imemode>0</imemode>
<font> </EditStyle>
<face>Times New Roman</face> <font>
<height>-10</height> <face>Times New Roman</face>
<weight>400</weight> <height>-10</height>
<family>1</family> <weight>400</weight>
<pitch>2</pitch> <family>1</family>
<charset>0</charset> <pitch>2</pitch>
</font> <charset>0</charset>
<background> </font>
<mode>2</mode> <background>
<color>16777215</color> <mode>2</mode>
</background> <color>16777215</color>
</ColumnObject> </background>
<ColumnObject> </ColumnObject>
<band>Detail</band> <ColumnObject>
<id>9</id> <band>Detail</band>
<alignment>0</alignment> <id>1</id>
<tabsequence>32766</tabsequence> <alignment>0</alignment>
<border>5</border> <tabsequence>32766</tabsequence>
<color>0</color> <border>5</border>
<x>681</x> <color>0</color>
<y>1</y> <x>708</x>
<height>16</height> <y>0</y>
<width>92</width> <height>16</height>
<format>[general]</format> <width>63</width>
<html> <format>[general]</format>
<valueishtml>0</valueishtml> <html>
</html> <valueishtml>0</valueishtml>
<name>mode_travel</name> </html>
<visible>1</visible> <name>tour_id</name>
<EditStyle style="edit"> <visible>1</visible>
<limit>15</limit> <EditStyle style="edit">
<case>any</case> <limit>10</limit>
<focusrectangle>no</focusrectangle> <case>any</case>
<autoselect>yes</autoselect> <focusrectangle>no</focusrectangle>
<autohscroll>yes</autohscroll> <autoselect>yes</autoselect>
<imemode>0</imemode> <autohscroll>yes</autohscroll>
</EditStyle> <imemode>0</imemode>
<font> </EditStyle>
<face>Times New Roman</face> <font>
<height>-10</height> <face>Times New Roman</face>
<weight>400</weight> <height>-10</height>
<family>1</family> <weight>400</weight>
<pitch>2</pitch> <family>1</family>
<charset>0</charset> <pitch>2</pitch>
</font> <charset>0</charset>
<background> </font>
<mode>2</mode> <background>
<color>16777215</color> <mode>2</mode>
</background> <color>16777215</color>
</ColumnObject> </background>
<ColumnObject> </ColumnObject>
<band>Detail</band> <ColumnObject>
<id>1</id> <band>Detail</band>
<alignment>0</alignment> <id>9</id>
<tabsequence>32766</tabsequence> <alignment>0</alignment>
<border>5</border> <tabsequence>70</tabsequence>
<color>0</color> <border>5</border>
<x>775</x> <color>0</color>
<y>1</y> <x>773</x>
<height>16</height> <y>0</y>
<width>63</width> <height>16</height>
<format>[general]</format> <width>78</width>
<html> <format>[shortdate] [time]</format>
<valueishtml>0</valueishtml> <html>
</html> <valueishtml>0</valueishtml>
<name>tour_id</name> </html>
<visible>1</visible> <name>date_from</name>
<EditStyle style="edit"> <visible>1</visible>
<limit>10</limit> <EditStyle style="edit">
<case>any</case> <limit>0</limit>
<focusrectangle>no</focusrectangle> <case>any</case>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll> <imemode>0</imemode>
<imemode>0</imemode> </EditStyle>
</EditStyle> <font>
<font> <face>Times New Roman</face>
<face>Times New Roman</face> <height>-10</height>
<height>-10</height> <weight>400</weight>
<weight>400</weight> <family>1</family>
<family>1</family> <pitch>2</pitch>
<pitch>2</pitch> <charset>0</charset>
<charset>0</charset> </font>
</font> <background>
<background> <mode>2</mode>
<mode>2</mode> <color>16777215</color>
<color>16777215</color> </background>
</background> </ColumnObject>
</ColumnObject> <HtmlTable>
<HtmlTable> <border>1</border>
<border>1</border> </HtmlTable>
</HtmlTable> <HtmlGen>
<HtmlGen> <clientevents>1</clientevents>
<clientevents>1</clientevents> <clientvalidation>1</clientvalidation>
<clientvalidation>1</clientvalidation> <clientcomputedfields>1</clientcomputedfields>
<clientcomputedfields>1</clientcomputedfields> <clientformatting>0</clientformatting>
<clientformatting>0</clientformatting> <clientscriptable>0</clientscriptable>
<clientscriptable>0</clientscriptable> <generatejavascript>1</generatejavascript>
<generatejavascript>1</generatejavascript> <encodeselflinkargs>1</encodeselflinkargs>
<encodeselflinkargs>1</encodeselflinkargs> <netscapelayers>0</netscapelayers>
<netscapelayers>0</netscapelayers> </HtmlGen>
</HtmlGen> <Export.XML>
<Export.XML> <headgroups>1</headgroups>
<headgroups>1</headgroups> <includewhitespace>0</includewhitespace>
<includewhitespace>0</includewhitespace> <metadatatype>0</metadatatype>
<metadatatype>0</metadatatype> <savemetadata>0</savemetadata>
<savemetadata>0</savemetadata> </Export.XML>
</Export.XML> <Import.XML>
<Import.XML> </Import.XML>
</Import.XML> <Export.PDF>
<Export.PDF> <method>0</method>
<method>0</method> <distill.custompostscript>0</distill.custompostscript>
<distill.custompostscript>0</distill.custompostscript> <xslfop.print>0</xslfop.print>
<xslfop.print>0</xslfop.print> </Export.PDF>
</Export.PDF> </Sybase_eDataWindow>
</Sybase_eDataWindow>
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
<color>536870912</color> <color>536870912</color>
</Footer> </Footer>
<Detail> <Detail>
<height>342</height> <height>486</height>
<color>536870912</color> <color>536870912</color>
</Detail> </Detail>
<TableDefinition> <TableDefinition>
...@@ -143,28 +143,28 @@ ...@@ -143,28 +143,28 @@
<dbname>tour.chg_term</dbname> <dbname>tour.chg_term</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="15">char</type> <type size="4000">char</type>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>emp_fname</name> <name>emp_fname</name>
<dbname>employee.emp_fname</dbname> <dbname>emp_fname</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="15">char</type> <type size="4000">char</type>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>emp_lname</name> <name>emp_lname</name>
<dbname>employee.emp_lname</dbname> <dbname>emp_lname</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="15">char</type> <type size="4000">char</type>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>appr_by_fname</name> <name>appr_by_fname</name>
<dbname>employee.emp_fname</dbname> <dbname>appr_by_fname</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="15">char</type> <type size="4000">char</type>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>appr_by_lname</name> <name>appr_by_lname</name>
<dbname>employee.emp_lname</dbname> <dbname>appr_by_lname</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="5">char</type> <type size="5">char</type>
...@@ -217,8 +217,8 @@ ...@@ -217,8 +217,8 @@
<name>aprv_date</name> <name>aprv_date</name>
<dbname>tour.aprv_date</dbname> <dbname>tour.aprv_date</dbname>
</table_column> </table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;tour&quot; ) TABLE(NAME=&quot;employee&quot; ALIAS=&quot;employee_a&quot; ) TABLE(NAME=&quot;employee&quot; ALIAS=&quot;employee_b&quot; ) COLUMN(NAME=&quot;tour.tour_id&quot;) COLUMN(NAME=&quot;tour.plan_id&quot;) COLUMN(NAME=&quot;tour.emp_code&quot;) COLUMN(NAME=&quot;tour.date_from&quot;) COLUMN(NAME=&quot;tour.date_to&quot;) COLUMN(NAME=&quot;tour.no_days&quot;) COLUMN(NAME=&quot;tour.tour_details&quot;) COLUMN(NAME=&quot;tour.remarks&quot;) COLUMN(NAME=&quot;tour.emp_code__appr&quot;) COLUMN(NAME=&quot;tour.status&quot;) COLUMN(NAME=&quot;tour.chg_date&quot;) COLUMN(NAME=&quot;tour.chg_user&quot;) COLUMN(NAME=&quot;tour.chg_term&quot;) COLUMN(NAME=&quot;employee_a.emp_fname&quot;) COLUMN(NAME=&quot;employee_a.emp_lname&quot;) COLUMN(NAME=&quot;employee_b.emp_fname&quot;) COLUMN(NAME=&quot;employee_b.emp_lname&quot;) COLUMN(NAME=&quot;employee_a.work_site&quot;) COLUMN(NAME=&quot;tour.tour_starts&quot;) COLUMN(NAME=&quot;tour.tour_ends&quot;) COLUMN(NAME=&quot;tour.start_time&quot;) COLUMN(NAME=&quot;tour.end_time&quot;) COLUMN(NAME=&quot;tour.aprv_date&quot;) JOIN (LEFT=&quot;tour.emp_code__appr&quot; OP =&quot;=&quot;RIGHT=&quot;employee_b.emp_code&quot; OUTER1 =&quot;tour.emp_code__appr&quot; ) JOIN (LEFT=&quot;tour.emp_code&quot; OP =&quot;=&quot;RIGHT=&quot;employee_a.emp_code&quot; )WHERE( EXP1 =&quot;tour.tour_id&quot; OP =&quot;=&quot; EXP2 =&quot;:mtour_id &quot; ) ) ARG(NAME = &quot;mtour_id&quot; TYPE = string) </retrieve> <retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;tour&quot; ) TABLE(NAME=&quot;employee&quot; ) COLUMN(NAME=&quot;tour.tour_id&quot;) COLUMN(NAME=&quot;tour.plan_id&quot;) COLUMN(NAME=&quot;tour.emp_code&quot;) COLUMN(NAME=&quot;tour.date_from&quot;) COLUMN(NAME=&quot;tour.date_to&quot;) COLUMN(NAME=&quot;tour.no_days&quot;) COLUMN(NAME=&quot;tour.tour_details&quot;) COLUMN(NAME=&quot;tour.remarks&quot;) COLUMN(NAME=&quot;tour.emp_code__appr&quot;) COLUMN(NAME=&quot;tour.status&quot;) COLUMN(NAME=&quot;tour.chg_date&quot;) COLUMN(NAME=&quot;tour.chg_user&quot;) COLUMN(NAME=&quot;tour.chg_term&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME (~&quot;TOUR~&quot;.~&quot;EMP_CODE~&quot;, &apos;F1&apos;) as emp_fname&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME (~&quot;TOUR~&quot;.~&quot;EMP_CODE~&quot;, &apos;L1&apos;) as emp_lname&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME (~&quot;TOUR~&quot;.~&quot;EMP_CODE__APPR~&quot;, &apos;F1&apos;) as appr_by_fname&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME (~&quot;TOUR~&quot;.~&quot;EMP_CODE__APPR~&quot;, &apos;L1&apos;) as appr_by_lname&quot;) COLUMN(NAME=&quot;employee.work_site&quot;) COLUMN(NAME=&quot;tour.tour_starts&quot;) COLUMN(NAME=&quot;tour.tour_ends&quot;) COLUMN(NAME=&quot;tour.start_time&quot;) COLUMN(NAME=&quot;tour.end_time&quot;) COLUMN(NAME=&quot;tour.aprv_date&quot;) JOIN (LEFT=&quot;tour.emp_code&quot; OP =&quot;=&quot;RIGHT=&quot;employee.emp_code&quot; )WHERE( EXP1 =&quot;tour.tour_id&quot; OP =&quot;=&quot; EXP2 =&quot;:mtour_id &quot; ) ) ARG(NAME = &quot;mtour_id&quot; TYPE = string) </retrieve>
<update>tour</update> <update>TOUR</update>
<updatewhere>0</updatewhere> <updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace> <updatekeyinplace>no</updatekeyinplace>
<argument> <argument>
...@@ -228,18 +228,42 @@ ...@@ -228,18 +228,42 @@
</TableDefinition> </TableDefinition>
<GroupBox> <GroupBox>
<band>Detail</band> <band>Detail</band>
<text>Tour</text> <text>Other</text>
<border>2</border> <border>2</border>
<color>0</color> <color>33554432</color>
<x>7</x> <x>21</x>
<y>7</y> <y>316</y>
<height>331</height> <height>83</height>
<width>523</width> <width>603</width>
<name>gb_2</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-11</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
</background>
</GroupBox>
<GroupBox>
<band>Detail</band>
<text>Basic</text>
<border>2</border>
<color>33554432</color>
<x>23</x>
<y>14</y>
<height>281</height>
<width>599</width>
<name>gb_1</name> <name>gb_1</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-11</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
...@@ -256,14 +280,14 @@ ...@@ -256,14 +280,14 @@
<text>Remarks :</text> <text>Remarks :</text>
<border>0</border> <border>0</border>
<color>0</color> <color>0</color>
<x>18</x> <x>67</x>
<y>132</y> <y>141</y>
<height>16</height> <height>16</height>
<width>104</width> <width>104</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>t_1</name> <name>remarks_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
...@@ -281,17 +305,17 @@ ...@@ -281,17 +305,17 @@
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Tour Id :</text> <text>Tour Starts :</text>
<border>0</border> <border>0</border>
<color>0</color> <color>0</color>
<x>18</x> <x>67</x>
<y>37</y> <y>166</y>
<height>16</height> <height>16</height>
<width>104</width> <width>104</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>tour_id_t</name> <name>tour_starts_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
...@@ -309,17 +333,17 @@ ...@@ -309,17 +333,17 @@
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Employee :</text> <text>Tour Ends :</text>
<border>0</border> <border>0</border>
<color>0</color> <color>0</color>
<x>18</x> <x>378</x>
<y>61</y> <y>166</y>
<height>16</height> <height>16</height>
<width>104</width> <width>83</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>emp_code_t</name> <name>tour_ends_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
...@@ -337,17 +361,17 @@ ...@@ -337,17 +361,17 @@
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Date From :</text> <text>Approved By :</text>
<border>0</border> <border>0</border>
<color>0</color> <color>0</color>
<x>18</x> <x>67</x>
<y>85</y> <y>190</y>
<height>16</height> <height>16</height>
<width>104</width> <width>104</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>date_fr_t</name> <name>emp_code__appr_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
...@@ -365,17 +389,17 @@ ...@@ -365,17 +389,17 @@
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Date To :</text> <text>Status :</text>
<border>0</border> <border>0</border>
<color>0</color> <color>0</color>
<x>244</x> <x>67</x>
<y>85</y> <y>214</y>
<height>16</height> <height>16</height>
<width>56</width> <width>104</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>date_to_t</name> <name>status_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
...@@ -390,21 +414,30 @@ ...@@ -390,21 +414,30 @@
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </TextObject>
<TextObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <id>10</id>
<text>Days :</text> <alignment>0</alignment>
<border>0</border> <tabsequence>32766</tabsequence>
<color>0</color> <border>5</border>
<x>427</x> <color>255</color>
<y>85</y> <x>175</x>
<y>214</y>
<height>16</height> <height>16</height>
<width>44</width> <width>98</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>no_days_t</name> <name>status</name>
<tag>Status of the tour.</tag>
<visible>1</visible> <visible>1</visible>
<EditStyle style="ddlb">
<limit>1</limit>
<allowedit>no</allowedit>
<case>upper</case>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
...@@ -414,25 +447,32 @@ ...@@ -414,25 +447,32 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>1</mode> <mode>2</mode>
<color>536870912</color> <color>79741120</color>
</background> </background>
</TextObject> </ColumnObject>
<TextObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <id>23</id>
<text>Tour Details :</text> <alignment>0</alignment>
<border>0</border> <tabsequence>32766</tabsequence>
<color>0</color> <border>5</border>
<x>18</x> <color>255</color>
<y>109</y> <x>481</x>
<y>214</y>
<height>16</height> <height>16</height>
<width>104</width> <width>82</width>
<format>[shortdate] [time]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>tour_details_t</name> <name>aprv_date</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="editmask">
<mask>dd/mm/yy</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
...@@ -442,24 +482,24 @@ ...@@ -442,24 +482,24 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>1</mode> <mode>2</mode>
<color>536870912</color> <color>67108864</color>
</background> </background>
</TextObject> </ColumnObject>
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Remarks :</text> <text>Approval Date :</text>
<border>0</border> <border>0</border>
<color>0</color> <color>33554432</color>
<x>18</x> <x>377</x>
<y>132</y> <y>214</y>
<height>16</height> <height>16</height>
<width>104</width> <width>99</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>remarks_t</name> <name>aprv_date_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
...@@ -470,33 +510,32 @@ ...@@ -470,33 +510,32 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>1</mode> <mode>2</mode>
<color>536870912</color> <color>67108864</color>
</background> </background>
</TextObject> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>7</id> <id>19</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>60</tabsequence> <tabsequence>80</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>126</x> <x>175</x>
<y>109</y> <y>166</y>
<height>16</height> <height>16</height>
<width>388</width> <width>97</width>
<format>[general]</format> <format></format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>details</name> <name>tour_starts</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="ddlb">
<limit>250</limit> <limit>1</limit>
<case>any</case> <allowedit>no</allowedit>
<focusrectangle>no</focusrectangle> <case>upper</case>
<autoselect>yes</autoselect> <useasborder>yes</useasborder>
<autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
...@@ -512,21 +551,31 @@ ...@@ -512,21 +551,31 @@
<color>16777215</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<TextObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <id>8</id>
<text>Tour Starts :</text> <alignment>0</alignment>
<border>0</border> <tabsequence>70</tabsequence>
<border>5</border>
<color>0</color> <color>0</color>
<x>18</x> <x>175</x>
<y>157</y> <y>142</y>
<height>16</height> <height>16</height>
<width>104</width> <width>388</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>tour_starts_t</name> <name>remarks</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit">
<limit>50</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
...@@ -536,25 +585,34 @@ ...@@ -536,25 +585,34 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>1</mode> <mode>2</mode>
<color>536870912</color> <color>16777215</color>
</background> </background>
</TextObject> </ColumnObject>
<TextObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <id>20</id>
<text>Tour Ends :</text> <alignment>0</alignment>
<border>0</border> <tabsequence>90</tabsequence>
<border>5</border>
<color>0</color> <color>0</color>
<x>329</x> <x>466</x>
<y>157</y> <y>166</y>
<height>16</height> <height>16</height>
<width>83</width> <width>97</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>tour_ends_t</name> <name>tour_ends</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="ddlb">
<limit>1</limit>
<allowedit>no</allowedit>
<case>upper</case>
<useasborder>yes</useasborder>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
...@@ -564,33 +622,31 @@ ...@@ -564,33 +622,31 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>1</mode> <mode>2</mode>
<color>536870912</color> <color>16777215</color>
</background> </background>
</TextObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>9</id> <id>16</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>255</color> <color>255</color>
<x>126</x> <x>261</x>
<y>181</y> <y>190</y>
<height>16</height> <height>16</height>
<width>127</width> <width>148</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>emp_code__appr</name> <name>appr_by_fname</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>10</limit> <limit>0</limit>
<case>upper</case> <case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
...@@ -606,21 +662,31 @@ ...@@ -606,21 +662,31 @@
<color>79741120</color> <color>79741120</color>
</background> </background>
</ColumnObject> </ColumnObject>
<TextObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <id>9</id>
<text>Approved By :</text> <alignment>0</alignment>
<border>0</border> <tabsequence>32766</tabsequence>
<color>0</color> <border>5</border>
<x>18</x> <color>255</color>
<y>181</y> <x>175</x>
<y>190</y>
<height>16</height> <height>16</height>
<width>104</width> <width>82</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>emp_code__appr_t</name> <name>emp_code__appr</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
...@@ -630,26 +696,26 @@ ...@@ -630,26 +696,26 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>1</mode> <mode>2</mode>
<color>536870912</color> <color>79741120</color>
</background> </background>
</TextObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>16</id> <id>17</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>255</color> <color>255</color>
<x>256</x> <x>414</x>
<y>181</y> <y>190</y>
<height>16</height> <height>16</height>
<width>127</width> <width>149</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>appr_by_fname</name> <name>appr_by_lname</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>0</limit>
...@@ -673,17 +739,17 @@ ...@@ -673,17 +739,17 @@
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Status :</text> <text>Work Site :</text>
<border>0</border> <border>0</border>
<color>0</color> <color>0</color>
<x>18</x> <x>392</x>
<y>205</y> <y>238</y>
<height>16</height> <height>16</height>
<width>104</width> <width>99</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>status_t</name> <name>work_site_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
...@@ -697,59 +763,65 @@ ...@@ -697,59 +763,65 @@
<mode>1</mode> <mode>1</mode>
<color>536870912</color> <color>536870912</color>
</background> </background>
<height.autosize>yes</height.autosize>
</TextObject> </TextObject>
<TextObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <id>18</id>
<text>Change User :</text> <alignment>0</alignment>
<border>0</border> <tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color> <color>0</color>
<x>314</x> <x>497</x>
<y>229</y> <y>238</y>
<height>16</height> <height>16</height>
<width>99</width> <width>66</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_user_t</name> <name>work_site</name>
<visible>1</visible> <visible>1</visible>
<font> <EditStyle style="edit">
<face>Times New Roman</face> <limit>0</limit>
<height>-10</height> <case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>1</mode> <mode>2</mode>
<color>536870912</color> <color>16777215</color>
</background> </background>
<height.autosize>yes</height.autosize> </ColumnObject>
</TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>10</id> <id>21</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>255</color> <color>255</color>
<x>126</x> <x>175</x>
<y>205</y> <y>237</y>
<height>16</height> <height>16</height>
<width>98</width> <width>98</width>
<format>[general]</format> <format>[shortdate] [time]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>status</name> <name>start_time</name>
<tag>Status of the tour.</tag> <visible>0</visible>
<visible>1</visible> <EditStyle style="editmask">
<EditStyle style="ddlb"> <mask>dd/mm/yy</mask>
<limit>1</limit>
<allowedit>no</allowedit>
<case>upper</case>
<imemode>0</imemode> <imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle> </EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
...@@ -761,27 +833,26 @@ ...@@ -761,27 +833,26 @@
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>79741120</color> <color>67108864</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>11</id> <id>22</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>255</color>
<x>125</x> <x>175</x>
<y>229</y> <y>259</y>
<height>16</height> <height>16</height>
<width>87</width> <width>98</width>
<format>[shortdate] [time]</format> <format>[shortdate] [time]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_date</name> <name>end_time</name>
<tag>User modified date, for internal purpose only.</tag> <visible>0</visible>
<visible>1</visible>
<EditStyle style="editmask"> <EditStyle style="editmask">
<mask>dd/mm/yy</mask> <mask>dd/mm/yy</mask>
<imemode>0</imemode> <imemode>0</imemode>
...@@ -797,31 +868,31 @@ ...@@ -797,31 +868,31 @@
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>16777215</color> <color>67108864</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>13</id> <id>6</id>
<alignment>0</alignment> <alignment>1</alignment>
<tabsequence>32766</tabsequence> <tabsequence>50</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>125</x> <x>507</x>
<y>253</y> <y>94</y>
<height>16</height> <height>16</height>
<width>87</width> <width>56</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_term</name> <name>no_days</name>
<tag>User modified terminal, for internal purpose only.</tag> <tag>Total no. of days.</tag>
<visible>1</visible> <visible>1</visible>
<height.autosize>yes</height.autosize>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>15</limit> <limit>0</limit>
<case>any</case> <case>any</case>
<format>##0.0</format>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll> <autohscroll>yes</autohscroll>
...@@ -843,17 +914,17 @@ ...@@ -843,17 +914,17 @@
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Work Site :</text> <text>Tour Id :</text>
<border>0</border> <border>0</border>
<color>0</color> <color>0</color>
<x>343</x> <x>67</x>
<y>253</y> <y>46</y>
<height>16</height> <height>16</height>
<width>99</width> <width>104</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>work_site_t</name> <name>tour_id_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
...@@ -867,23 +938,32 @@ ...@@ -867,23 +938,32 @@
<mode>1</mode> <mode>1</mode>
<color>536870912</color> <color>536870912</color>
</background> </background>
<height.autosize>yes</height.autosize>
</TextObject> </TextObject>
<TextObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <id>1</id>
<text>Change Date :</text> <alignment>0</alignment>
<border>0</border> <tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color> <color>0</color>
<x>18</x> <x>175</x>
<y>229</y> <y>46</y>
<height>16</height> <height>16</height>
<width>104</width> <width>82</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_date_t</name> <name>tour_id</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
...@@ -893,24 +973,24 @@ ...@@ -893,24 +973,24 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>1</mode> <mode>2</mode>
<color>536870912</color> <color>16777215</color>
</background> </background>
</TextObject> </ColumnObject>
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Change Term :</text> <text>Tour Plan Id :</text>
<border>0</border> <border>0</border>
<color>0</color> <color>0</color>
<x>18</x> <x>393</x>
<y>253</y> <y>46</y>
<height>16</height> <height>16</height>
<width>104</width> <width>83</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_term_t</name> <name>plan_id_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
...@@ -924,29 +1004,30 @@ ...@@ -924,29 +1004,30 @@
<mode>1</mode> <mode>1</mode>
<color>536870912</color> <color>536870912</color>
</background> </background>
<height.autosize>yes</height.autosize>
</TextObject> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>17</id> <id>2</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>10</tabsequence>
<border>5</border> <border>5</border>
<color>255</color> <color>0</color>
<x>387</x> <x>481</x>
<y>181</y> <y>46</y>
<height>16</height> <height>16</height>
<width>127</width> <width>82</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>appr_by_lname</name> <name>plan_id</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>10</limit>
<case>any</case> <case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
...@@ -959,34 +1040,30 @@ ...@@ -959,34 +1040,30 @@
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>79741120</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>12</id> <id>15</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>255</color>
<x>417</x> <x>414</x>
<y>229</y> <y>70</y>
<height>16</height> <height>16</height>
<width>97</width> <width>149</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_user</name> <name>emp_lname</name>
<tag>User modifying the record, for internal purpose only.</tag>
<visible>1</visible> <visible>1</visible>
<height.autosize>yes</height.autosize>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>10</limit> <limit>0</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
...@@ -999,25 +1076,25 @@ ...@@ -999,25 +1076,25 @@
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>16777215</color> <color>79741120</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>18</id> <id>14</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>255</color>
<x>448</x> <x>263</x>
<y>253</y> <y>70</y>
<height>16</height> <height>16</height>
<width>66</width> <width>146</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>work_site</name> <name>emp_fname</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>0</limit>
...@@ -1035,25 +1112,26 @@ ...@@ -1035,25 +1112,26 @@
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>16777215</color> <color>79741120</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>1</id> <id>3</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>20</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>126</x> <x>175</x>
<y>37</y> <y>70</y>
<height>16</height> <height>16</height>
<width>82</width> <width>82</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>tour_id</name> <name>emp_code</name>
<tag>The code of the employee.</tag>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>10</limit> <limit>10</limit>
...@@ -1076,28 +1154,21 @@ ...@@ -1076,28 +1154,21 @@
<color>16777215</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<id>4</id> <alignment>1</alignment>
<alignment>0</alignment> <text>Employee :</text>
<tabsequence>30</tabsequence> <border>0</border>
<border>5</border>
<color>0</color> <color>0</color>
<x>126</x> <x>67</x>
<y>85</y> <y>70</y>
<height>16</height> <height>16</height>
<width>82</width> <width>104</width>
<format>dd/mm/yy</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>date_from</name> <name>emp_code_t</name>
<visible>1</visible> <visible>1</visible>
<EditStyle name="datetime" style="editmask">
<mask>dd/mm/yy</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
...@@ -1107,32 +1178,25 @@ ...@@ -1107,32 +1178,25 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>1</mode>
<color>16777215</color> <color>536870912</color>
</background> </background>
</ColumnObject> </TextObject>
<ColumnObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<id>5</id> <alignment>1</alignment>
<alignment>0</alignment> <text>Date From :</text>
<tabsequence>40</tabsequence> <border>0</border>
<border>5</border>
<color>0</color> <color>0</color>
<x>305</x> <x>67</x>
<y>85</y> <y>94</y>
<height>16</height> <height>16</height>
<width>82</width> <width>104</width>
<format>dd/mm/yy</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>date_to</name> <name>date_from_t</name>
<visible>1</visible> <visible>1</visible>
<EditStyle name="datetime" style="editmask">
<mask>dd/mm/yy</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
...@@ -1142,34 +1206,31 @@ ...@@ -1142,34 +1206,31 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>1</mode>
<color>16777215</color> <color>536870912</color>
</background> </background>
</ColumnObject> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>2</id> <id>4</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>10</tabsequence> <tabsequence>30</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>432</x> <x>175</x>
<y>37</y> <y>94</y>
<height>16</height> <height>16</height>
<width>82</width> <width>82</width>
<format>[general]</format> <format>dd/mm/yy</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>plan_id</name> <name>date_from</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle name="datetime" style="editmask">
<limit>10</limit> <mask>dd/mm/yy</mask>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle> </EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
...@@ -1186,25 +1247,28 @@ ...@@ -1186,25 +1247,28 @@
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>23</id> <id>7</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>60</tabsequence>
<border>5</border> <border>5</border>
<color>255</color> <color>0</color>
<x>432</x> <x>175</x>
<y>205</y> <y>118</y>
<height>16</height> <height>16</height>
<width>82</width> <width>388</width>
<format>[shortdate] [time]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>aprv_date</name> <name>details</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="editmask"> <EditStyle style="edit">
<mask>dd/mm/yy</mask> <limit>250</limit>
<imemode>0</imemode> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
...@@ -1216,23 +1280,23 @@ ...@@ -1216,23 +1280,23 @@
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>67108864</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Tour Plan Id :</text> <text>Tour Details :</text>
<border>0</border> <border>0</border>
<color>0</color> <color>0</color>
<x>344</x> <x>67</x>
<y>37</y> <y>118</y>
<height>16</height> <height>16</height>
<width>83</width> <width>104</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>plan_id_t</name> <name>details_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
...@@ -1250,17 +1314,17 @@ ...@@ -1250,17 +1314,17 @@
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Approval Date :</text> <text>Date To :</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>0</color>
<x>328</x> <x>293</x>
<y>205</y> <y>94</y>
<height>16</height> <height>16</height>
<width>99</width> <width>56</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>aprv_date_t</name> <name>date_to_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
...@@ -1271,36 +1335,31 @@ ...@@ -1271,36 +1335,31 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>1</mode>
<color>67108864</color> <color>536870912</color>
</background> </background>
</TextObject> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>6</id> <id>5</id>
<alignment>1</alignment> <alignment>0</alignment>
<tabsequence>50</tabsequence> <tabsequence>40</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>476</x> <x>354</x>
<y>85</y> <y>94</y>
<height>16</height> <height>16</height>
<width>38</width> <width>82</width>
<format>[general]</format> <format>dd/mm/yy</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>no_days</name> <name>date_to</name>
<tag>Total no. of days.</tag>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle name="datetime" style="editmask">
<limit>0</limit> <mask>dd/mm/yy</mask>
<case>any</case>
<format>##0.0</format>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle> </EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
...@@ -1315,30 +1374,21 @@ ...@@ -1315,30 +1374,21 @@
<color>16777215</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<id>19</id> <alignment>1</alignment>
<alignment>0</alignment> <text>Days :</text>
<tabsequence>80</tabsequence> <border>0</border>
<border>5</border>
<color>0</color> <color>0</color>
<x>127</x> <x>458</x>
<y>157</y> <y>94</y>
<height>16</height> <height>16</height>
<width>97</width> <width>44</width>
<format></format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>tour_starts</name> <name>no_days_t</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="ddlb">
<limit>1</limit>
<allowedit>no</allowedit>
<case>upper</case>
<useasborder>yes</useasborder>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
...@@ -1348,34 +1398,32 @@ ...@@ -1348,34 +1398,32 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>1</mode>
<color>16777215</color> <color>536870912</color>
</background> </background>
</ColumnObject> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>8</id> <id>11</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>70</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>126</x> <x>174</x>
<y>133</y> <y>345</y>
<height>16</height> <height>16</height>
<width>388</width> <width>87</width>
<format>[general]</format> <format>[shortdate] [time]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>remarks</name> <name>chg_date</name>
<tag>User modified date, for internal purpose only.</tag>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="editmask">
<limit>50</limit> <mask>dd/mm/yy</mask>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle> </EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
...@@ -1390,30 +1438,21 @@ ...@@ -1390,30 +1438,21 @@
<color>16777215</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<id>20</id> <alignment>1</alignment>
<alignment>0</alignment> <text>Change Date :</text>
<tabsequence>90</tabsequence> <border>0</border>
<border>5</border>
<color>0</color> <color>0</color>
<x>417</x> <x>66</x>
<y>157</y> <y>345</y>
<height>16</height> <height>16</height>
<width>97</width> <width>104</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>tour_ends</name> <name>chg_date_t</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="ddlb">
<limit>1</limit>
<allowedit>no</allowedit>
<case>upper</case>
<useasborder>yes</useasborder>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
...@@ -1423,36 +1462,25 @@ ...@@ -1423,36 +1462,25 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>1</mode>
<color>16777215</color> <color>536870912</color>
</background> </background>
</ColumnObject> </TextObject>
<ColumnObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<id>3</id> <alignment>1</alignment>
<alignment>0</alignment> <text>Change Term :</text>
<tabsequence>20</tabsequence> <border>0</border>
<border>5</border>
<color>0</color> <color>0</color>
<x>126</x> <x>66</x>
<y>61</y> <y>369</y>
<height>16</height> <height>16</height>
<width>82</width> <width>104</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>emp_code</name> <name>chg_term_t</name>
<tag>The code of the employee.</tag>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
...@@ -1462,31 +1490,36 @@ ...@@ -1462,31 +1490,36 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>1</mode>
<color>16777215</color> <color>536870912</color>
</background> </background>
</ColumnObject> <height.autosize>yes</height.autosize>
</TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>14</id> <id>13</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>255</color> <color>0</color>
<x>214</x> <x>174</x>
<y>61</y> <y>369</y>
<height>16</height> <height>16</height>
<width>146</width> <width>87</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>emp_fname</name> <name>chg_term</name>
<tag>User modified terminal, for internal purpose only.</tag>
<visible>1</visible> <visible>1</visible>
<height.autosize>yes</height.autosize>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>15</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
...@@ -1499,32 +1532,24 @@ ...@@ -1499,32 +1532,24 @@
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>79741120</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<id>15</id> <alignment>1</alignment>
<alignment>0</alignment> <text>Change User :</text>
<tabsequence>32766</tabsequence> <border>0</border>
<border>5</border> <color>0</color>
<color>255</color> <x>362</x>
<x>365</x> <y>345</y>
<y>61</y>
<height>16</height> <height>16</height>
<width>149</width> <width>99</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>emp_lname</name> <name>chg_user_t</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
...@@ -1534,66 +1559,37 @@ ...@@ -1534,66 +1559,37 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>1</mode>
<color>79741120</color> <color>536870912</color>
</background> </background>
</ColumnObject> <height.autosize>yes</height.autosize>
</TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>22</id> <id>12</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>255</color> <color>0</color>
<x>333</x> <x>465</x>
<y>296</y> <y>345</y>
<height>16</height> <height>16</height>
<width>90</width> <width>97</width>
<format>[shortdate] [time]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>end_time</name> <name>chg_user</name>
<visible>0</visible> <tag>User modifying the record, for internal purpose only.</tag>
<EditStyle style="editmask"> <visible>1</visible>
<mask>dd/mm/yy</mask> <height.autosize>yes</height.autosize>
<imemode>0</imemode> <EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
</EditStyle> <autoselect>yes</autoselect>
<font> <autohscroll>yes</autohscroll>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>21</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>128</x>
<y>294</y>
<height>16</height>
<width>98</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>start_time</name>
<visible>0</visible>
<EditStyle style="editmask">
<mask>dd/mm/yy</mask>
<imemode>0</imemode> <imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle> </EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
...@@ -1605,7 +1601,7 @@ ...@@ -1605,7 +1601,7 @@
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>67108864</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<HtmlTable> <HtmlTable>
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow> <!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow> <Sybase_eDataWindow>
<Release>9</Release> <Release>9</Release>
<BaseDefinition> <BaseDefinition>
<units>1</units> <units>1</units>
<timer_interval>0</timer_interval> <timer_interval>0</timer_interval>
<color>79741120</color> <color>79741120</color>
<processing>0</processing> <processing>0</processing>
<HTMLDW>no</HTMLDW> <HTMLDW>no</HTMLDW>
<print> <print>
<documentname></documentname> <documentname></documentname>
<printername></printername> <printername></printername>
<orientation>0</orientation> <orientation>0</orientation>
<margin> <margin>
<left>24</left> <left>24</left>
<right>24</right> <right>24</right>
<top>24</top> <top>24</top>
<bottom>24</bottom> <bottom>24</bottom>
</margin> </margin>
<paper> <paper>
<source>0</source> <source>0</source>
<size>0</size> <size>0</size>
</paper> </paper>
<prompt>no</prompt> <prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter> <canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons> <buttons>no</buttons>
<preview.buttons>no</preview.buttons> <preview.buttons>no</preview.buttons>
<cliptext>no</cliptext> <cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob> <overrideprintjob>no</overrideprintjob>
</print> </print>
</BaseDefinition> </BaseDefinition>
<Summary> <Summary>
<height>0</height> <height>0</height>
<color>536870912</color> <color>536870912</color>
</Summary> </Summary>
<Footer> <Footer>
<height>0</height> <height>0</height>
<color>536870912</color> <color>536870912</color>
</Footer> </Footer>
<Detail> <Detail>
<height>255</height> <height>322</height>
<color>536870912</color> <color>536870912</color>
</Detail> </Detail>
<TableDefinition> <TableDefinition>
<table_column> <table_column>
<type size="10">char</type> <type size="10">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<key>yes</key> <key>yes</key>
<name>tour_id</name> <name>tour_id</name>
<dbname>tourdet.tour_id</dbname> <dbname>tourdet.tour_id</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type precision="0">decimal</type> <type precision="0">decimal</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<key>yes</key> <key>yes</key>
<name>line_no</name> <name>line_no</name>
<dbname>tourdet.line_no</dbname> <dbname>tourdet.line_no</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type precision="0">decimal</type> <type precision="0">decimal</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>line_no__plan</name> <name>line_no__plan</name>
<dbname>tourdet.line_no__plan</dbname> <dbname>tourdet.line_no__plan</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="5">char</type> <type size="5">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>stan_code</name> <name>stan_code</name>
<dbname>tourdet.stan_code</dbname> <dbname>tourdet.stan_code</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="20">char</type> <type size="60">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>to_place</name> <name>to_place</name>
<dbname>tourdet.to_place</dbname> <dbname>tourdet.to_place</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type>datetime</type> <type>datetime</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>date_from</name> <name>date_to</name>
<dbname>tourdet.date_from</dbname> <dbname>tourdet.date_to</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type>datetime</type> <type size="200">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>date_to</name> <name>purpose</name>
<dbname>tourdet.date_to</dbname> <dbname>tourdet.purpose</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="200">char</type> <type size="50">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>purpose</name> <name>mode_travel</name>
<dbname>tourdet.purpose</dbname> <dbname>tourdet.mode_travel</dbname>
</table_column> <initial>Road</initial>
<table_column> <values>
<type size="15">char</type> <item display="Air" data="Air"/>
<update>yes</update> <item display="Road" data="Road"/>
<updatewhereclause>yes</updatewhereclause> <item display="Train" data="Train"/>
<name>mode_travel</name> <item display="Ship" data="Ship"/>
<dbname>tourdet.mode_travel</dbname> </values>
<initial>Road</initial> </table_column>
<values> <table_column>
<item display="Air" data="Air"/> <type>datetime</type>
<item display="Road" data="Road"/> <update>yes</update>
<item display="Train" data="Train"/> <updatewhereclause>yes</updatewhereclause>
<item display="Ship" data="Ship"/> <name>date_from</name>
</values> <dbname>tourdet.date_from</dbname>
</table_column> </table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;tourdet&quot; ) COLUMN(NAME=&quot;tourdet.tour_id&quot;) COLUMN(NAME=&quot;tourdet.line_no&quot;) COLUMN(NAME=&quot;tourdet.line_no__plan&quot;) COLUMN(NAME=&quot;tourdet.stan_code&quot;) COLUMN(NAME=&quot;tourdet.to_place&quot;) COLUMN(NAME=&quot;tourdet.date_from&quot;) COLUMN(NAME=&quot;tourdet.date_to&quot;) COLUMN(NAME=&quot;tourdet.purpose&quot;) COLUMN(NAME=&quot;tourdet.mode_travel&quot;)) </retrieve> <retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;tourdet&quot; ) COLUMN(NAME=&quot;tourdet.tour_id&quot;) COLUMN(NAME=&quot;tourdet.line_no&quot;) COLUMN(NAME=&quot;tourdet.line_no__plan&quot;) COLUMN(NAME=&quot;tourdet.stan_code&quot;) COLUMN(NAME=&quot;tourdet.to_place&quot;) COLUMN(NAME=&quot;tourdet.date_to&quot;) COLUMN(NAME=&quot;tourdet.purpose&quot;) COLUMN(NAME=&quot;tourdet.mode_travel&quot;) COLUMN(NAME=&quot;tourdet.date_from&quot;)) </retrieve>
<update>tourdet</update> <update>TOURDET</update>
<updatewhere>0</updatewhere> <updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace> <updatekeyinplace>no</updatekeyinplace>
</TableDefinition> </TableDefinition>
<GroupBox> <GroupBox>
<band>Detail</band> <band>Detail</band>
<text>Tour Detail</text> <text>Tour Details</text>
<border>2</border> <border>2</border>
<color>0</color> <color>0</color>
<x>6</x> <x>12</x>
<y>6</y> <y>25</y>
<height>235</height> <height>211</height>
<width>580</width> <width>571</width>
<name>gb_1</name> <name>gb_1</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>1</mode>
<color>67108864</color> <color>553648127</color>
</background> </background>
</GroupBox> </GroupBox>
<ColumnObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<id>4</id> <alignment>1</alignment>
<alignment>0</alignment> <text>Purpose :</text>
<tabsequence>20</tabsequence> <border>0</border>
<border>5</border> <color>0</color>
<color>0</color> <x>26</x>
<x>138</x> <y>129</y>
<y>79</y> <height>16</height>
<height>16</height> <width>104</width>
<width>74</width> <html>
<format>[general]</format> <valueishtml>0</valueishtml>
<html> </html>
<valueishtml>0</valueishtml> <name>purpose_t</name>
</html> <visible>1</visible>
<name>stan_code</name> <font>
<visible>1</visible> <face>Times New Roman</face>
<EditStyle style="edit"> <height>-10</height>
<limit>5</limit> <weight>400</weight>
<case>upper</case> <family>1</family>
<focusrectangle>no</focusrectangle> <pitch>2</pitch>
<autoselect>yes</autoselect> <charset>0</charset>
<autohscroll>yes</autohscroll> </font>
<imemode>0</imemode> <background>
</EditStyle> <mode>2</mode>
<font> <color>79741120</color>
<face>Times New Roman</face> </background>
<height>-10</height> </TextObject>
<weight>400</weight> <TextObject>
<family>1</family> <band>Detail</band>
<pitch>2</pitch> <alignment>1</alignment>
<charset>0</charset> <text>Mode of Travel :</text>
</font> <border>0</border>
<background> <color>0</color>
<mode>2</mode> <x>26</x>
<color>16777215</color> <y>189</y>
</background> <height>16</height>
</ColumnObject> <width>104</width>
<TextObject> <html>
<band>Detail</band> <valueishtml>0</valueishtml>
<alignment>1</alignment> </html>
<text>Station Code :</text> <name>mode_travel_t</name>
<border>0</border> <visible>1</visible>
<color>0</color> <font>
<x>26</x> <face>Times New Roman</face>
<y>79</y> <height>-10</height>
<height>16</height> <weight>400</weight>
<width>104</width> <family>1</family>
<html> <pitch>2</pitch>
<valueishtml>0</valueishtml> <charset>0</charset>
</html> </font>
<name>stan_code_t</name> <background>
<visible>1</visible> <mode>2</mode>
<font> <color>79741120</color>
<face>Times New Roman</face> </background>
<height>-10</height> </TextObject>
<weight>400</weight> <TextObject>
<family>1</family> <band>Detail</band>
<pitch>2</pitch> <alignment>1</alignment>
<charset>0</charset> <text>Line No :</text>
</font> <border>0</border>
<background> <color>0</color>
<mode>2</mode> <x>26</x>
<color>79741120</color> <y>54</y>
</background> <height>16</height>
</TextObject> <width>104</width>
<TextObject> <html>
<band>Detail</band> <valueishtml>0</valueishtml>
<alignment>1</alignment> </html>
<text>Date From :</text> <name>line_no_t</name>
<border>0</border> <visible>1</visible>
<color>0</color> <font>
<x>26</x> <face>Times New Roman</face>
<y>104</y> <height>-10</height>
<height>16</height> <weight>400</weight>
<width>104</width> <family>1</family>
<html> <pitch>2</pitch>
<valueishtml>0</valueishtml> <charset>0</charset>
</html> </font>
<name>date_fr_t</name> <background>
<visible>1</visible> <mode>2</mode>
<font> <color>79741120</color>
<face>Times New Roman</face> </background>
<height>-10</height> </TextObject>
<weight>400</weight> <ColumnObject>
<family>1</family> <band>Detail</band>
<pitch>2</pitch> <id>2</id>
<charset>0</charset> <alignment>1</alignment>
</font> <tabsequence>32766</tabsequence>
<background> <border>5</border>
<mode>2</mode> <color>255</color>
<color>79741120</color> <x>134</x>
</background> <y>54</y>
</TextObject> <height>16</height>
<TextObject> <width>42</width>
<band>Detail</band> <format>[General]</format>
<alignment>1</alignment> <html>
<text>Purpose :</text> <valueishtml>0</valueishtml>
<border>0</border> </html>
<color>0</color> <name>line_no</name>
<x>26</x> <visible>1</visible>
<y>129</y> <EditStyle style="edit">
<height>16</height> <limit>0</limit>
<width>104</width> <case>any</case>
<html> <focusrectangle>no</focusrectangle>
<valueishtml>0</valueishtml> <autoselect>yes</autoselect>
</html> <autohscroll>yes</autohscroll>
<name>purpose_t</name> <imemode>0</imemode>
<visible>1</visible> </EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>79741120</color> <color>79741120</color>
</background> </background>
</TextObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>6</id> <id>7</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>40</tabsequence> <tabsequence>50</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>138</x> <x>134</x>
<y>104</y> <y>129</y>
<height>16</height> <height>51</height>
<width>88</width> <width>393</width>
<format>dd/mm/yy</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>date_from</name> <name>purpose</name>
<visible>1</visible> <visible>1</visible>
<EditStyle name="datetime" style="editmask"> <EditStyle style="edit">
<mask>dd/mm/yy</mask> <limit>200</limit>
<imemode>0</imemode> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
</EditStyle> <autoselect>yes</autoselect>
<font> <autovscroll>yes</autovscroll>
<face>Times New Roman</face> <imemode>0</imemode>
<height>-10</height> <vscrollbar>yes</vscrollbar>
<weight>400</weight> </EditStyle>
<family>1</family> <font>
<pitch>2</pitch> <face>Times New Roman</face>
<charset>0</charset> <height>-10</height>
</font> <weight>400</weight>
<background> <family>1</family>
<mode>2</mode> <pitch>2</pitch>
<color>16777215</color> <charset>0</charset>
</background> </font>
</ColumnObject> <background>
<ColumnObject> <mode>2</mode>
<band>Detail</band> <color>16777215</color>
<id>9</id> </background>
<alignment>0</alignment> </ColumnObject>
<tabsequence>70</tabsequence> <ColumnObject>
<border>5</border> <band>Detail</band>
<color>0</color> <id>8</id>
<x>138</x> <alignment>0</alignment>
<y>189</y> <tabsequence>60</tabsequence>
<height>16</height> <border>5</border>
<width>91</width> <color>0</color>
<format>[general]</format> <x>134</x>
<html> <y>189</y>
<valueishtml>0</valueishtml> <height>16</height>
</html> <width>91</width>
<name>mode_travel</name> <format>[general]</format>
<visible>1</visible> <html>
<EditStyle style="ddlb"> <valueishtml>0</valueishtml>
<limit>1</limit> </html>
<allowedit>no</allowedit> <name>mode_travel</name>
<case>upper</case> <visible>1</visible>
<imemode>0</imemode> <EditStyle style="ddlb">
</EditStyle> <limit>1</limit>
<font> <allowedit>no</allowedit>
<face>Times New Roman</face> <case>upper</case>
<height>-10</height> <imemode>0</imemode>
<weight>400</weight> </EditStyle>
<family>1</family> <font>
<pitch>2</pitch> <face>Times New Roman</face>
<charset>0</charset> <height>-10</height>
</font> <weight>400</weight>
<background> <family>1</family>
<mode>2</mode> <pitch>2</pitch>
<color>16777215</color> <charset>0</charset>
</background> </font>
</ColumnObject> <background>
<TextObject> <mode>2</mode>
<band>Detail</band> <color>16777215</color>
<alignment>1</alignment> </background>
<text>Mode of Travel :</text> </ColumnObject>
<border>0</border> <ColumnObject>
<color>0</color> <band>Detail</band>
<x>26</x> <id>5</id>
<y>189</y> <alignment>0</alignment>
<height>16</height> <tabsequence>30</tabsequence>
<width>104</width> <border>5</border>
<html> <color>0</color>
<valueishtml>0</valueishtml> <x>427</x>
</html> <y>79</y>
<name>mode_travel_t</name> <height>16</height>
<visible>1</visible> <width>98</width>
<font> <format>[general]</format>
<face>Times New Roman</face> <html>
<height>-10</height> <valueishtml>0</valueishtml>
<weight>400</weight> </html>
<family>1</family> <name>to_place</name>
<pitch>2</pitch> <visible>1</visible>
<charset>0</charset> <EditStyle style="edit">
</font> <limit>20</limit>
<background> <case>any</case>
<mode>2</mode> <focusrectangle>no</focusrectangle>
<color>79741120</color> <autoselect>yes</autoselect>
</background> <autohscroll>yes</autohscroll>
</TextObject> <imemode>0</imemode>
<ColumnObject> </EditStyle>
<band>Detail</band> <font>
<id>8</id> <face>Times New Roman</face>
<alignment>0</alignment> <height>-10</height>
<tabsequence>60</tabsequence> <weight>400</weight>
<border>5</border> <family>1</family>
<color>0</color> <pitch>2</pitch>
<x>138</x> <charset>0</charset>
<y>129</y> </font>
<height>51</height> <background>
<width>393</width> <mode>2</mode>
<format>[general]</format> <color>16777215</color>
<html> </background>
<valueishtml>0</valueishtml> </ColumnObject>
</html> <ColumnObject>
<name>purpose</name> <band>Detail</band>
<visible>1</visible> <id>3</id>
<EditStyle style="edit"> <alignment>1</alignment>
<limit>200</limit> <tabsequence>10</tabsequence>
<case>any</case> <border>5</border>
<focusrectangle>no</focusrectangle> <color>0</color>
<autoselect>yes</autoselect> <x>427</x>
<autovscroll>yes</autovscroll> <y>54</y>
<imemode>0</imemode> <height>16</height>
<vscrollbar>yes</vscrollbar> <width>98</width>
</EditStyle> <format>###</format>
<font> <html>
<face>Times New Roman</face> <valueishtml>0</valueishtml>
<height>-10</height> </html>
<weight>400</weight> <name>line_no__plan</name>
<family>1</family> <visible>1</visible>
<pitch>2</pitch> <EditStyle style="editmask">
<charset>0</charset> <mask>###</mask>
</font> <imemode>0</imemode>
<background> <focusrectangle>no</focusrectangle>
<mode>2</mode> </EditStyle>
<color>16777215</color> <font>
</background> <face>Times New Roman</face>
</ColumnObject> <height>-10</height>
<ColumnObject> <weight>400</weight>
<band>Detail</band> <family>1</family>
<id>7</id> <pitch>2</pitch>
<alignment>0</alignment> <charset>0</charset>
<tabsequence>50</tabsequence> </font>
<border>5</border> <background>
<color>0</color> <mode>2</mode>
<x>443</x> <color>16777215</color>
<y>104</y> </background>
<height>16</height> </ColumnObject>
<width>88</width> <ColumnObject>
<format>dd/mm/yy</format> <band>Detail</band>
<html> <id>4</id>
<valueishtml>0</valueishtml> <alignment>0</alignment>
</html> <tabsequence>20</tabsequence>
<name>date_to</name> <border>5</border>
<visible>1</visible> <color>0</color>
<EditStyle name="datetime" style="editmask"> <x>134</x>
<mask>dd/mm/yy</mask> <y>79</y>
<imemode>0</imemode> <height>16</height>
<focusrectangle>no</focusrectangle> <width>74</width>
</EditStyle> <format>[general]</format>
<font> <html>
<face>Times New Roman</face> <valueishtml>0</valueishtml>
<height>-10</height> </html>
<weight>400</weight> <name>stan_code</name>
<family>1</family> <visible>1</visible>
<pitch>2</pitch> <EditStyle style="edit">
<charset>0</charset> <limit>5</limit>
</font> <case>upper</case>
<background> <focusrectangle>no</focusrectangle>
<mode>2</mode> <autoselect>yes</autoselect>
<color>16777215</color> <autohscroll>yes</autohscroll>
</background> <imemode>0</imemode>
</ColumnObject> </EditStyle>
<ColumnObject> <font>
<band>Detail</band> <face>Times New Roman</face>
<id>5</id> <height>-10</height>
<alignment>0</alignment> <weight>400</weight>
<tabsequence>30</tabsequence> <family>1</family>
<border>5</border> <pitch>2</pitch>
<color>0</color> <charset>0</charset>
<x>429</x> </font>
<y>79</y> <background>
<height>16</height> <mode>2</mode>
<width>102</width> <color>16777215</color>
<format>[general]</format> </background>
<html> </ColumnObject>
<valueishtml>0</valueishtml> <TextObject>
</html> <band>Detail</band>
<name>to_place</name> <alignment>1</alignment>
<visible>1</visible> <text>Station Code :</text>
<EditStyle style="edit"> <border>0</border>
<limit>20</limit> <color>0</color>
<case>any</case> <x>26</x>
<focusrectangle>no</focusrectangle> <y>79</y>
<autoselect>yes</autoselect> <height>16</height>
<autohscroll>yes</autohscroll> <width>104</width>
<imemode>0</imemode> <html>
</EditStyle> <valueishtml>0</valueishtml>
<font> </html>
<face>Times New Roman</face> <name>stan_code_t</name>
<height>-10</height> <visible>1</visible>
<weight>400</weight> <font>
<family>1</family> <face>Times New Roman</face>
<pitch>2</pitch> <height>-10</height>
<charset>0</charset> <weight>400</weight>
</font> <family>1</family>
<background> <pitch>2</pitch>
<mode>2</mode> <charset>0</charset>
<color>16777215</color> </font>
</background> <background>
</ColumnObject> <mode>2</mode>
<ColumnObject> <color>79741120</color>
<band>Detail</band> </background>
<id>1</id> </TextObject>
<alignment>0</alignment> <TextObject>
<tabsequence>32766</tabsequence> <band>Detail</band>
<border>5</border> <alignment>1</alignment>
<color>0</color> <text>Line No Plan :</text>
<x>443</x> <border>0</border>
<y>189</y> <color>0</color>
<height>16</height> <x>339</x>
<width>88</width> <y>54</y>
<format>[general]</format> <height>16</height>
<html> <width>84</width>
<valueishtml>0</valueishtml> <html>
</html> <valueishtml>0</valueishtml>
<name>tour_id</name> </html>
<visible>1</visible> <name>line_no__plan_t</name>
<EditStyle style="edit"> <visible>1</visible>
<limit>10</limit> <font>
<case>any</case> <face>Times New Roman</face>
<focusrectangle>no</focusrectangle> <height>-10</height>
<autoselect>yes</autoselect> <weight>400</weight>
<autohscroll>yes</autohscroll> <family>1</family>
<imemode>0</imemode> <pitch>2</pitch>
</EditStyle> <charset>0</charset>
<font> </font>
<face>Times New Roman</face> <background>
<height>-10</height> <mode>2</mode>
<weight>400</weight> <color>79741120</color>
<family>1</family> </background>
<pitch>2</pitch> </TextObject>
<charset>0</charset> <TextObject>
</font> <band>Detail</band>
<background> <alignment>1</alignment>
<mode>2</mode> <text>Place :</text>
<color>16777215</color> <border>0</border>
</background> <color>0</color>
</ColumnObject> <x>339</x>
<TextObject> <y>79</y>
<band>Detail</band> <height>16</height>
<alignment>1</alignment> <width>84</width>
<text>Place :</text> <html>
<border>0</border> <valueishtml>0</valueishtml>
<color>0</color> </html>
<x>362</x> <name>to_place_t</name>
<y>79</y> <visible>1</visible>
<height>16</height> <font>
<width>61</width> <face>Times New Roman</face>
<html> <height>-10</height>
<valueishtml>0</valueishtml> <weight>400</weight>
</html> <family>1</family>
<name>to_place_t</name> <pitch>2</pitch>
<visible>1</visible> <charset>0</charset>
<font> </font>
<face>Times New Roman</face> <background>
<height>-10</height> <mode>2</mode>
<weight>400</weight> <color>79741120</color>
<family>1</family> </background>
<pitch>2</pitch> </TextObject>
<charset>0</charset> <TextObject>
</font> <band>Detail</band>
<background> <alignment>1</alignment>
<mode>2</mode> <text>Date To :</text>
<color>79741120</color> <border>0</border>
</background> <color>0</color>
</TextObject> <x>340</x>
<TextObject> <y>104</y>
<band>Detail</band> <height>16</height>
<alignment>1</alignment> <width>84</width>
<text>Date To :</text> <html>
<border>0</border> <valueishtml>0</valueishtml>
<color>0</color> </html>
<x>380</x> <name>date_to_t</name>
<y>104</y> <visible>1</visible>
<height>16</height> <font>
<width>56</width> <face>Times New Roman</face>
<html> <height>-10</height>
<valueishtml>0</valueishtml> <weight>400</weight>
</html> <family>1</family>
<name>date_to_t</name> <pitch>2</pitch>
<visible>1</visible> <charset>0</charset>
<font> </font>
<face>Times New Roman</face> <background>
<height>-10</height> <mode>2</mode>
<weight>400</weight> <color>79741120</color>
<family>1</family> </background>
<pitch>2</pitch> </TextObject>
<charset>0</charset> <TextObject>
</font> <band>Detail</band>
<background> <alignment>1</alignment>
<mode>2</mode> <text>Tour Id :</text>
<color>79741120</color> <border>0</border>
</background> <color>0</color>
</TextObject> <x>340</x>
<TextObject> <y>189</y>
<band>Detail</band> <height>16</height>
<alignment>1</alignment> <width>84</width>
<text>Tour Id :</text> <html>
<border>0</border> <valueishtml>0</valueishtml>
<color>0</color> </html>
<x>386</x> <name>tour_id_t</name>
<y>189</y> <visible>1</visible>
<height>16</height> <font>
<width>51</width> <face>Times New Roman</face>
<html> <height>-10</height>
<valueishtml>0</valueishtml> <weight>400</weight>
</html> <family>1</family>
<name>tour_id_t</name> <pitch>2</pitch>
<visible>1</visible> <charset>0</charset>
<font> </font>
<face>Times New Roman</face> <background>
<height>-10</height> <mode>2</mode>
<weight>400</weight> <color>79741120</color>
<family>1</family> </background>
<pitch>2</pitch> </TextObject>
<charset>0</charset> <ColumnObject>
</font> <band>Detail</band>
<background> <id>6</id>
<mode>2</mode> <alignment>0</alignment>
<color>79741120</color> <tabsequence>40</tabsequence>
</background> <border>5</border>
</TextObject> <color>0</color>
<ColumnObject> <x>428</x>
<band>Detail</band> <y>104</y>
<id>2</id> <height>16</height>
<alignment>1</alignment> <width>98</width>
<tabsequence>32766</tabsequence> <format>dd/mm/yy</format>
<border>5</border> <html>
<color>255</color> <valueishtml>0</valueishtml>
<x>138</x> </html>
<y>54</y> <name>date_to</name>
<height>16</height> <visible>1</visible>
<width>42</width> <EditStyle name="datetime" style="editmask">
<format>[General]</format> <mask>dd/mm/yy</mask>
<html> <imemode>0</imemode>
<valueishtml>0</valueishtml> <focusrectangle>no</focusrectangle>
</html> </EditStyle>
<name>line_no</name> <font>
<visible>1</visible> <face>Times New Roman</face>
<EditStyle style="edit"> <height>-10</height>
<limit>0</limit> <weight>400</weight>
<case>any</case> <family>1</family>
<focusrectangle>no</focusrectangle> <pitch>2</pitch>
<autoselect>yes</autoselect> <charset>0</charset>
<autohscroll>yes</autohscroll> </font>
<imemode>0</imemode> <background>
</EditStyle> <mode>2</mode>
<font> <color>16777215</color>
<face>Times New Roman</face> </background>
<height>-10</height> </ColumnObject>
<weight>400</weight> <ColumnObject>
<family>1</family> <band>Detail</band>
<pitch>2</pitch> <id>1</id>
<charset>0</charset> <alignment>0</alignment>
</font> <tabsequence>32766</tabsequence>
<background> <border>5</border>
<mode>2</mode> <color>0</color>
<color>79741120</color> <x>428</x>
</background> <y>189</y>
</ColumnObject> <height>16</height>
<TextObject> <width>98</width>
<band>Detail</band> <format>[general]</format>
<alignment>1</alignment> <html>
<text>Line No :</text> <valueishtml>0</valueishtml>
<border>0</border> </html>
<color>0</color> <name>tour_id</name>
<x>26</x> <visible>1</visible>
<y>54</y> <EditStyle style="edit">
<height>16</height> <limit>10</limit>
<width>104</width> <case>any</case>
<html> <focusrectangle>no</focusrectangle>
<valueishtml>0</valueishtml> <autoselect>yes</autoselect>
</html> <autohscroll>yes</autohscroll>
<name>line_no_t</name> <imemode>0</imemode>
<visible>1</visible> </EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>79741120</color> <color>16777215</color>
</background> </background>
</TextObject> </ColumnObject>
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Line No Plan :</text> <text>Date From :</text>
<border>0</border> <border>0</border>
<color>0</color> <color>0</color>
<x>397</x> <x>26</x>
<y>54</y> <y>103</y>
<height>16</height> <height>16</height>
<width>86</width> <width>104</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>line_no__plan_t</name> <name>date_from_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>79741120</color> <color>67108864</color>
</background> </background>
</TextObject> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>3</id> <id>9</id>
<alignment>1</alignment> <alignment>0</alignment>
<tabsequence>10</tabsequence> <tabsequence>70</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>255</color>
<x>489</x> <x>134</x>
<y>54</y> <y>103</y>
<height>16</height> <height>16</height>
<width>42</width> <width>55</width>
<format>###</format> <format>[shortdate] [time]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>line_no__plan</name> <name>date_from</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="editmask"> <EditStyle style="edit">
<mask>###</mask> <limit>0</limit>
<imemode>0</imemode> <case>any</case>
<focusrectangle>no</focusrectangle> <autoselect>yes</autoselect>
</EditStyle> <imemode>0</imemode>
<font> </EditStyle>
<face>Times New Roman</face> <font>
<height>-10</height> <face>Times New Roman</face>
<weight>400</weight> <height>-10</height>
<family>1</family> <weight>400</weight>
<pitch>2</pitch> <family>1</family>
<charset>0</charset> <pitch>2</pitch>
</font> <charset>0</charset>
<background> </font>
<mode>2</mode> <background>
<color>16777215</color> <mode>2</mode>
</background> <color>79741120</color>
</ColumnObject> </background>
<HtmlTable> </ColumnObject>
<border>1</border> <HtmlTable>
</HtmlTable> <border>1</border>
<HtmlGen> </HtmlTable>
<clientevents>1</clientevents> <HtmlGen>
<clientvalidation>1</clientvalidation> <clientevents>1</clientevents>
<clientcomputedfields>1</clientcomputedfields> <clientvalidation>1</clientvalidation>
<clientformatting>0</clientformatting> <clientcomputedfields>1</clientcomputedfields>
<clientscriptable>0</clientscriptable> <clientformatting>0</clientformatting>
<generatejavascript>1</generatejavascript> <clientscriptable>0</clientscriptable>
<encodeselflinkargs>1</encodeselflinkargs> <generatejavascript>1</generatejavascript>
<netscapelayers>0</netscapelayers> <encodeselflinkargs>1</encodeselflinkargs>
</HtmlGen> <netscapelayers>0</netscapelayers>
<Export.XML> </HtmlGen>
<headgroups>1</headgroups> <Export.XML>
<includewhitespace>0</includewhitespace> <headgroups>1</headgroups>
<metadatatype>0</metadatatype> <includewhitespace>0</includewhitespace>
<savemetadata>0</savemetadata> <metadatatype>0</metadatatype>
</Export.XML> <savemetadata>0</savemetadata>
<Import.XML> </Export.XML>
</Import.XML> <Import.XML>
<Export.PDF> </Import.XML>
<method>0</method> <Export.PDF>
<distill.custompostscript>0</distill.custompostscript> <method>0</method>
<xslfop.print>0</xslfop.print> <distill.custompostscript>0</distill.custompostscript>
</Export.PDF> <xslfop.print>0</xslfop.print>
</Sybase_eDataWindow> </Export.PDF>
</Sybase_eDataWindow>
...@@ -16,8 +16,8 @@ table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tour_i ...@@ -16,8 +16,8 @@ table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tour_i
column=(type=char(50) update=yes updatewhereclause=yes name=remarks dbname="tour.remarks" ) column=(type=char(50) update=yes updatewhereclause=yes name=remarks dbname="tour.remarks" )
column=(type=char(10) update=yes updatewhereclause=yes name=emp_code__appr dbname="tour.emp_code__appr" ) column=(type=char(10) update=yes updatewhereclause=yes name=emp_code__appr dbname="tour.emp_code__appr" )
column=(type=char(1) update=yes updatewhereclause=yes name=status dbname="tour.status" values="Approved A/Unapproved U/Cancelled C/Open O/" ) column=(type=char(1) update=yes updatewhereclause=yes name=status dbname="tour.status" values="Approved A/Unapproved U/Cancelled C/Open O/" )
column=(type=char(15) updatewhereclause=yes name=emp_fname dbname="employee.emp_fname" ) column=(type=char(4000) updatewhereclause=yes name=emp_fname dbname="emp_fname" )
column=(type=char(15) updatewhereclause=yes name=emp_lname dbname="employee.emp_lname" ) column=(type=char(4000) updatewhereclause=yes name=emp_lname dbname="emp_lname" )
column=(type=char(5) updatewhereclause=yes name=work_site dbname="employee.work_site" ) column=(type=char(5) updatewhereclause=yes name=work_site dbname="employee.work_site" )
column=(type=char(1) updatewhereclause=yes name=tour_starts dbname="tour.tour_starts" values="Between Day B/Start of Day S/" ) column=(type=char(1) updatewhereclause=yes name=tour_starts dbname="tour.tour_starts" values="Between Day B/Start of Day S/" )
column=(type=char(1) updatewhereclause=yes name=tour_ends dbname="tour.tour_ends" values="Between Day B/End of Day E/" ) column=(type=char(1) updatewhereclause=yes name=tour_ends dbname="tour.tour_ends" values="Between Day B/End of Day E/" )
...@@ -27,49 +27,49 @@ table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tour_i ...@@ -27,49 +27,49 @@ table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tour_i
column=(type=char(10) updatewhereclause=yes name=chg_user dbname="tour.chg_user" ) column=(type=char(10) updatewhereclause=yes name=chg_user dbname="tour.chg_user" )
column=(type=char(15) updatewhereclause=yes name=chg_term dbname="tour.chg_term" ) column=(type=char(15) updatewhereclause=yes name=chg_term dbname="tour.chg_term" )
column=(type=datetime updatewhereclause=yes name=aprv_date dbname="tour.aprv_date" ) column=(type=datetime updatewhereclause=yes name=aprv_date dbname="tour.aprv_date" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"tour~" ) TABLE(NAME=~"employee~" ) COLUMN(NAME=~"tour.tour_id~") COLUMN(NAME=~"tour.emp_code~") COLUMN(NAME=~"tour.plan_id~") COLUMN(NAME=~"tour.date_from~") COLUMN(NAME=~"tour.date_to~") COLUMN(NAME=~"tour.no_days~") COLUMN(NAME=~"tour.tour_details~") COLUMN(NAME=~"tour.remarks~") COLUMN(NAME=~"tour.emp_code__appr~") COLUMN(NAME=~"tour.status~") COLUMN(NAME=~"employee.emp_fname~") COLUMN(NAME=~"employee.emp_lname~") COLUMN(NAME=~"employee.work_site~") COLUMN(NAME=~"tour.tour_starts~") COLUMN(NAME=~"tour.tour_ends~") COLUMN(NAME=~"tour.start_time~") COLUMN(NAME=~"tour.end_time~") COLUMN(NAME=~"tour.chg_date~") COLUMN(NAME=~"tour.chg_user~") COLUMN(NAME=~"tour.chg_term~") COLUMN(NAME=~"tour.aprv_date~") JOIN (LEFT=~"tour.emp_code~" OP =~"=~"RIGHT=~"employee.emp_code~" )WHERE( EXP1 =~"tour.date_from~" OP =~">=~" EXP2 =~":frdate~" LOGIC =~"and~" ) WHERE( EXP1 =~"tour.date_from~" OP =~"<=~" EXP2 =~":todate~" ) ) ARG(NAME = ~"frdate~" TYPE = datetime) ARG(NAME = ~"todate~" TYPE = datetime) " update="tour" updatewhere=1 updatekeyinplace=no arguments=(("frdate", datetime),("todate", datetime)) ) retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"tour~" ) TABLE(NAME=~"employee~" ) COLUMN(NAME=~"tour.tour_id~") COLUMN(NAME=~"tour.emp_code~") COLUMN(NAME=~"tour.plan_id~") COLUMN(NAME=~"tour.date_from~") COLUMN(NAME=~"tour.date_to~") COLUMN(NAME=~"tour.no_days~") COLUMN(NAME=~"tour.tour_details~") COLUMN(NAME=~"tour.remarks~") COLUMN(NAME=~"tour.emp_code__appr~") COLUMN(NAME=~"tour.status~") COMPUTE(NAME=~"FN_GET_EMP_NAME (~~~"TOUR~~~".~~~"EMP_CODE~~~", 'F1') as emp_fname~") COMPUTE(NAME=~"FN_GET_EMP_NAME (~~~"TOUR~~~".~~~"EMP_CODE~~~", 'L1') as emp_lname~") COLUMN(NAME=~"employee.work_site~") COLUMN(NAME=~"tour.tour_starts~") COLUMN(NAME=~"tour.tour_ends~") COLUMN(NAME=~"tour.start_time~") COLUMN(NAME=~"tour.end_time~") COLUMN(NAME=~"tour.chg_date~") COLUMN(NAME=~"tour.chg_user~") COLUMN(NAME=~"tour.chg_term~") COLUMN(NAME=~"tour.aprv_date~") JOIN (LEFT=~"tour.emp_code~" OP =~"=~"RIGHT=~"employee.emp_code~" )WHERE( EXP1 =~"tour.date_from~" OP =~">=~" EXP2 =~":frdate~" LOGIC =~"and~" ) WHERE( EXP1 =~"tour.date_from~" OP =~"<=~" EXP2 =~":todate~" ) ) ARG(NAME = ~"frdate~" TYPE = datetime) ARG(NAME = ~"todate~" TYPE = datetime) " update="tour" updatewhere=1 updatekeyinplace=no arguments=(("frdate", datetime),("todate", datetime)) )
text(band=header alignment="0" text="Tour Id" border="6" color="0" x="2" y="3" height="16" width="79" html.valueishtml="0" name=tour_id_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header alignment="0" text="Tour Id" border="6" color="0" x="2" y="3" height="16" width="79" html.valueishtml="0" name=tour_id_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="0" text="Plan Id" border="6" color="0" x="83" y="3" height="16" width="79" html.valueishtml="0" name=plan_id_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header alignment="0" text="Plan Id" border="6" color="0" x="83" y="3" height="16" width="79" html.valueishtml="0" name=plan_id_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="0" text="Employee Code" border="6" color="0" x="164" y="3" height="16" width="88" html.valueishtml="0" name=emp_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header alignment="0" text="Employee Code" border="6" color="0" x="164" y="3" height="16" width="88" html.valueishtml="0" name=emp_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="0" text="First Name" border="6" color="0" x="254" y="3" height="16" width="78" html.valueishtml="0" name=emp_fname_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header alignment="0" text="First Name" border="6" color="0" x="254" y="3" height="16" width="122" html.valueishtml="0" name=emp_fname_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="0" text="Last Name" border="6" color="0" x="334" y="3" height="16" width="86" html.valueishtml="0" name=emp_lname_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="Last Name" border="6" color="0" x="378" y="3" height="16" width="138" html.valueishtml="0" name=emp_lname_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="Date From" border="6" color="0" x="422" y="3" height="16" width="76" html.valueishtml="0" name=date_from_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header alignment="0" text="Date From" border="6" color="0" x="518" y="3" height="16" width="76" html.valueishtml="0" name=date_from_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="0" text="Date To" border="6" color="0" x="500" y="3" height="16" width="65" html.valueishtml="0" name=date_to_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header alignment="0" text="Date To" border="6" color="0" x="596" y="3" height="16" width="65" html.valueishtml="0" name=date_to_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Status" border="6" color="0" x="567" y="3" height="16" width="98" 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="1" background.color="536870912" ) text(band=header alignment="2" text="Status" border="6" color="0" x="663" y="3" height="16" width="98" 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="1" background.color="536870912" )
text(band=header alignment="1" text="Days" border="6" color="0" x="667" y="3" height="16" width="41" html.valueishtml="0" name=no_days_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header alignment="1" text="Days" border="6" color="0" x="763" y="3" height="16" width="41" html.valueishtml="0" name=no_days_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="0" text="Tour Starts" border="6" color="0" x="710" y="3" height="16" width="96" html.valueishtml="0" name=tour_starts_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="Tour Starts" border="6" color="0" x="806" y="3" height="16" width="96" html.valueishtml="0" name=tour_starts_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="Tour Ends" border="6" color="0" x="808" y="3" height="16" width="96" html.valueishtml="0" name=tour_ends_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="Tour Ends" border="6" color="0" x="904" y="3" height="16" width="96" html.valueishtml="0" name=tour_ends_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="Start Time" border="6" color="0" x="906" y="3" height="16" width="84" html.valueishtml="0" name=start_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="Start Time" border="6" color="0" x="1002" y="3" height="16" width="84" html.valueishtml="0" name=start_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="End Time" border="6" color="0" x="992" y="3" height="16" width="84" html.valueishtml="0" name=end_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="End Time" border="6" color="0" x="1088" y="3" height="16" width="84" html.valueishtml="0" name=end_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="Tour Details " border="6" color="0" x="1078" y="3" height="16" width="183" html.valueishtml="0" name=tour_details_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header alignment="0" text="Tour Details " border="6" color="0" x="1174" y="3" height="16" width="183" html.valueishtml="0" name=tour_details_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="0" text="Remarks" border="6" color="0" x="1263" y="3" height="16" width="140" html.valueishtml="0" name=remarks_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header alignment="0" text="Remarks" border="6" color="0" x="1359" y="3" height="16" width="140" html.valueishtml="0" name=remarks_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="0" text="Approved By" border="6" color="0" x="1405" y="3" height="16" width="82" html.valueishtml="0" name=emp_code__appr_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header alignment="0" text="Approved By" border="6" color="0" x="1501" y="3" height="16" width="82" html.valueishtml="0" name=emp_code__appr_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Work Site" border="6" color="0" x="1827" y="3" height="16" width="65" html.valueishtml="0" name=work_site_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header alignment="2" text="Work Site" border="6" color="0" x="1923" y="3" height="16" width="65" html.valueishtml="0" name=work_site_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="0" text="Change Date" border="6" color="33554432" x="1578" y="3" height="16" width="76" 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="67108864" ) text(band=header alignment="0" text="Change Date" border="6" color="33554432" x="1674" y="3" height="16" width="76" 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="67108864" )
text(band=header alignment="0" text="Change User" border="6" color="33554432" x="1656" y="3" height="16" width="82" 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="67108864" ) text(band=header alignment="0" text="Change User" border="6" color="33554432" x="1752" y="3" height="16" width="82" 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="67108864" )
text(band=header alignment="0" text="Change Term" border="6" color="33554432" x="1740" y="3" height="16" width="85" 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="67108864" ) text(band=header alignment="0" text="Change Term" border="6" color="33554432" x="1836" y="3" height="16" width="85" 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="67108864" )
text(band=header alignment="0" text="Approval Date" border="6" color="33554432" x="1489" y="3" height="16" width="87" html.valueishtml="0" name=aprv_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="67108864" ) text(band=header alignment="0" text="Approval Date" border="6" color="33554432" x="1585" y="3" height="16" width="87" html.valueishtml="0" name=aprv_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="67108864" )
column(band=detail id=1 alignment="0" tabsequence=10 border="5" color="0" x="2" y="1" height="17" width="79" format="[general]" html.valueishtml="0" name=tour_id visible="1" edit.limit=10 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=1 alignment="0" tabsequence=10 border="5" color="0" x="2" y="1" height="17" width="79" format="[general]" html.valueishtml="0" name=tour_id visible="1" edit.limit=10 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=20 border="5" color="0" x="83" y="1" height="17" width="79" format="[general]" html.valueishtml="0" name=plan_id visible="1" edit.limit=10 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=20 border="5" color="0" x="83" y="1" height="17" width="79" format="[general]" html.valueishtml="0" name=plan_id visible="1" edit.limit=10 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=2 alignment="0" tabsequence=30 border="5" color="0" x="164" y="1" height="17" width="88" format="[general]" html.valueishtml="0" name=emp_code tag="The code of the employee." visible="1" edit.limit=10 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=2 alignment="0" tabsequence=30 border="5" color="0" x="164" y="1" height="17" width="88" format="[general]" html.valueishtml="0" name=emp_code tag="The code of the employee." visible="1" edit.limit=10 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=11 alignment="0" tabsequence=40 border="5" color="0" x="254" y="1" height="17" width="78" format="[general]" html.valueishtml="0" name=emp_fname 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=11 alignment="0" tabsequence=40 border="5" color="0" x="254" y="1" height="17" width="122" format="[general]" html.valueishtml="0" name=emp_fname 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=12 alignment="0" tabsequence=50 border="5" color="0" x="334" y="1" height="17" width="86" format="[general]" html.valueishtml="0" name=emp_lname 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=12 alignment="0" tabsequence=50 border="5" color="0" x="378" y="1" height="17" width="138" format="[general]" html.valueishtml="0" name=emp_lname 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=4 alignment="0" tabsequence=60 border="5" color="0" x="422" y="1" height="17" width="76" format="[shortdate] [time]" html.valueishtml="0" name=date_from 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=4 alignment="0" tabsequence=60 border="5" color="0" x="518" y="1" height="17" width="76" format="[shortdate] [time]" html.valueishtml="0" name=date_from 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=5 alignment="0" tabsequence=70 border="5" color="0" x="500" y="1" height="17" width="65" format="[shortdate] [time]" html.valueishtml="0" name=date_to visible="1" edit.limit=0 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=5 alignment="0" tabsequence=70 border="5" color="0" x="596" y="1" height="17" width="65" format="[shortdate] [time]" html.valueishtml="0" name=date_to visible="1" edit.limit=0 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=10 alignment="0" tabsequence=80 border="5" color="0" x="567" y="1" height="17" width="98" format="[general]" html.valueishtml="0" name=status tag="Status of the tour." 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=10 alignment="0" tabsequence=80 border="5" color="0" x="663" y="1" height="17" width="98" format="[general]" html.valueishtml="0" name=status tag="Status of the tour." 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=6 alignment="1" tabsequence=90 border="5" color="0" x="667" y="1" height="17" width="41" format="[general]" html.valueishtml="0" name=no_days tag="Total no. of days." visible="1" edit.limit=0 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=6 alignment="1" tabsequence=90 border="5" color="0" x="763" y="1" height="17" width="41" format="[general]" html.valueishtml="0" name=no_days tag="Total no. of days." visible="1" edit.limit=0 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=7 alignment="0" tabsequence=140 border="5" color="0" x="1078" y="1" height="17" width="183" format="[general]" html.valueishtml="0" name=tour_details visible="1" edit.limit=250 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=7 alignment="0" tabsequence=140 border="5" color="0" x="1174" y="1" height="17" width="183" format="[general]" html.valueishtml="0" name=tour_details visible="1" edit.limit=250 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=8 alignment="0" tabsequence=150 border="5" color="0" x="1263" y="1" height="17" width="140" format="[general]" html.valueishtml="0" name=remarks visible="1" edit.limit=50 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=8 alignment="0" tabsequence=150 border="5" color="0" x="1359" y="1" height="17" width="140" format="[general]" html.valueishtml="0" name=remarks visible="1" edit.limit=50 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=17 alignment="0" tabsequence=130 border="5" color="0" x="992" y="1" height="16" width="84" format="[shortdate] [time]" html.valueishtml="0" name=end_time visible="1" editmask.mask="HH:MM:SS" 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=17 alignment="0" tabsequence=130 border="5" color="0" x="1088" y="1" height="16" width="84" format="[shortdate] [time]" html.valueishtml="0" name=end_time visible="1" editmask.mask="HH:MM:SS" 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=16 alignment="0" tabsequence=120 border="5" color="0" x="906" y="1" height="16" width="84" format="" html.valueishtml="0" name=start_time visible="1" editmask.mask=" HH:MM:SS" 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=16 alignment="0" tabsequence=120 border="5" color="0" x="1002" y="1" height="16" width="84" format="" html.valueishtml="0" name=start_time visible="1" editmask.mask=" HH:MM:SS" 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=15 alignment="0" tabsequence=110 border="5" color="0" x="808" y="1" height="16" width="96" format="" html.valueishtml="0" name=tour_ends 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" ) column(band=detail id=15 alignment="0" tabsequence=110 border="5" color="0" x="904" y="1" height="16" width="96" format="" html.valueishtml="0" name=tour_ends 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" )
column(band=detail id=14 alignment="0" tabsequence=100 border="5" color="0" x="710" y="1" height="16" width="96" format="" html.valueishtml="0" name=tour_starts 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=14 alignment="0" tabsequence=100 border="5" color="0" x="806" y="1" height="16" width="96" format="" html.valueishtml="0" name=tour_starts 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=9 alignment="0" tabsequence=160 border="5" color="0" x="1405" y="1" height="17" width="82" format="[general]" html.valueishtml="0" name=emp_code__appr visible="1" edit.limit=10 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=9 alignment="0" tabsequence=160 border="5" color="0" x="1501" y="1" height="17" width="82" format="[general]" html.valueishtml="0" name=emp_code__appr visible="1" edit.limit=10 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=13 alignment="0" tabsequence=32766 border="5" color="0" x="1827" y="1" height="17" width="65" format="[general]" html.valueishtml="0" name=work_site 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=13 alignment="0" tabsequence=32766 border="5" color="0" x="1923" y="1" height="17" width="65" format="[general]" html.valueishtml="0" name=work_site 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=180 border="5" color="0" x="1578" y="1" height="17" width="76" format="dd/mm/yy" html.valueishtml="0" name=chg_date visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=18 alignment="0" tabsequence=180 border="5" color="0" x="1674" y="1" height="17" width="76" format="dd/mm/yy" html.valueishtml="0" name=chg_date visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=19 alignment="0" tabsequence=190 border="5" color="0" x="1656" y="1" height="17" width="82" format="[general]" html.valueishtml="0" name=chg_user 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=19 alignment="0" tabsequence=190 border="5" color="0" x="1752" y="1" height="17" width="82" format="[general]" html.valueishtml="0" name=chg_user 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=20 alignment="0" tabsequence=200 border="5" color="0" x="1740" y="1" height="17" width="85" format="[general]" html.valueishtml="0" name=chg_term 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=20 alignment="0" tabsequence=200 border="5" color="0" x="1836" y="1" height="17" width="85" format="[general]" html.valueishtml="0" name=chg_term 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=21 alignment="0" tabsequence=170 border="5" color="0" x="1489" y="1" height="17" width="87" format="dd/mm/yy" html.valueishtml="0" name=aprv_date visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=21 alignment="0" tabsequence=170 border="5" color="0" x="1585" y="1" height="17" width="87" format="dd/mm/yy" html.valueishtml="0" name=aprv_date visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
htmltable(border="1" ) htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" ) 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 ) export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
......
...@@ -18,17 +18,17 @@ table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tour_i ...@@ -18,17 +18,17 @@ table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tour_i
column=(type=datetime update=yes updatewhereclause=yes name=chg_date dbname="tour.chg_date" ) column=(type=datetime update=yes updatewhereclause=yes name=chg_date dbname="tour.chg_date" )
column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="tour.chg_user" ) column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="tour.chg_user" )
column=(type=char(15) update=yes updatewhereclause=yes name=chg_term dbname="tour.chg_term" ) column=(type=char(15) update=yes updatewhereclause=yes name=chg_term dbname="tour.chg_term" )
column=(type=char(15) updatewhereclause=yes name=emp_fname dbname="employee.emp_fname" ) column=(type=char(4000) updatewhereclause=yes name=emp_fname dbname="emp_fname" )
column=(type=char(15) updatewhereclause=yes name=emp_lname dbname="employee.emp_lname" ) column=(type=char(4000) updatewhereclause=yes name=emp_lname dbname="emp_lname" )
column=(type=char(15) updatewhereclause=yes name=appr_by_fname dbname="employee.emp_fname" ) column=(type=char(4000) updatewhereclause=yes name=appr_by_fname dbname="appr_by_fname" )
column=(type=char(15) updatewhereclause=yes name=appr_by_lname dbname="employee.emp_lname" ) column=(type=char(4000) updatewhereclause=yes name=appr_by_lname dbname="appr_by_lname" )
column=(type=char(5) updatewhereclause=yes name=work_site dbname="employee.work_site" ) column=(type=char(5) updatewhereclause=yes name=work_site dbname="employee.work_site" )
column=(type=char(1) update=yes updatewhereclause=yes name=tour_starts dbname="tour.tour_starts" initial="S" values="Between Day B/Start of Day S/" ) column=(type=char(1) update=yes updatewhereclause=yes name=tour_starts dbname="tour.tour_starts" initial="S" values="Between Day B/Start of Day S/" )
column=(type=char(1) update=yes updatewhereclause=yes name=tour_ends dbname="tour.tour_ends" initial="E" values="Between Day B/End of Day E/" ) column=(type=char(1) update=yes updatewhereclause=yes name=tour_ends dbname="tour.tour_ends" initial="E" values="Between Day B/End of Day E/" )
column=(type=datetime update=yes updatewhereclause=yes name=start_time dbname="tour.start_time" ) column=(type=datetime update=yes updatewhereclause=yes name=start_time dbname="tour.start_time" )
column=(type=datetime update=yes updatewhereclause=yes name=end_time dbname="tour.end_time" ) column=(type=datetime update=yes updatewhereclause=yes name=end_time dbname="tour.end_time" )
column=(type=datetime update=yes updatewhereclause=yes name=aprv_date dbname="tour.aprv_date" ) column=(type=datetime update=yes updatewhereclause=yes name=aprv_date dbname="tour.aprv_date" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"tour~" ) TABLE(NAME=~"employee~" ALIAS=~"employee_a~" ) TABLE(NAME=~"employee~" ALIAS=~"employee_b~" ) COLUMN(NAME=~"tour.tour_id~") COLUMN(NAME=~"tour.plan_id~") COLUMN(NAME=~"tour.emp_code~") COLUMN(NAME=~"tour.date_from~") COLUMN(NAME=~"tour.date_to~") COLUMN(NAME=~"tour.no_days~") COLUMN(NAME=~"tour.tour_details~") COLUMN(NAME=~"tour.remarks~") COLUMN(NAME=~"tour.emp_code__appr~") COLUMN(NAME=~"tour.status~") COLUMN(NAME=~"tour.chg_date~") COLUMN(NAME=~"tour.chg_user~") COLUMN(NAME=~"tour.chg_term~") COLUMN(NAME=~"employee_a.emp_fname~") COLUMN(NAME=~"employee_a.emp_lname~") COLUMN(NAME=~"employee_b.emp_fname~") COLUMN(NAME=~"employee_b.emp_lname~") COLUMN(NAME=~"employee_a.work_site~") COLUMN(NAME=~"tour.tour_starts~") COLUMN(NAME=~"tour.tour_ends~") COLUMN(NAME=~"tour.start_time~") COLUMN(NAME=~"tour.end_time~") COLUMN(NAME=~"tour.aprv_date~") JOIN (LEFT=~"tour.emp_code__appr~" OP =~"=~"RIGHT=~"employee_b.emp_code~" OUTER1 =~"tour.emp_code__appr~" ) JOIN (LEFT=~"tour.emp_code~" OP =~"=~"RIGHT=~"employee_a.emp_code~" )WHERE( EXP1 =~"tour.tour_id~" OP =~"=~" EXP2 =~":mtour_id ~" ) ) ARG(NAME = ~"mtour_id~" TYPE = string) " update="tour" updatewhere=0 updatekeyinplace=no arguments=(("mtour_id", string)) ) retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"tour~" ) TABLE(NAME=~"employee~" ) COLUMN(NAME=~"tour.tour_id~") COLUMN(NAME=~"tour.plan_id~") COLUMN(NAME=~"tour.emp_code~") COLUMN(NAME=~"tour.date_from~") COLUMN(NAME=~"tour.date_to~") COLUMN(NAME=~"tour.no_days~") COLUMN(NAME=~"tour.tour_details~") COLUMN(NAME=~"tour.remarks~") COLUMN(NAME=~"tour.emp_code__appr~") COLUMN(NAME=~"tour.status~") COLUMN(NAME=~"tour.chg_date~") COLUMN(NAME=~"tour.chg_user~") COLUMN(NAME=~"tour.chg_term~") COMPUTE(NAME=~"FN_GET_EMP_NAME (~~~"TOUR~~~".~~~"EMP_CODE~~~", 'F1') as emp_fname~") COMPUTE(NAME=~"FN_GET_EMP_NAME (~~~"TOUR~~~".~~~"EMP_CODE~~~", 'L1') as emp_lname~") COMPUTE(NAME=~"FN_GET_EMP_NAME (~~~"TOUR~~~".~~~"EMP_CODE__APPR~~~", 'F1') as appr_by_fname~") COMPUTE(NAME=~"FN_GET_EMP_NAME (~~~"TOUR~~~".~~~"EMP_CODE__APPR~~~", 'L1') as appr_by_lname~") COLUMN(NAME=~"employee.work_site~") COLUMN(NAME=~"tour.tour_starts~") COLUMN(NAME=~"tour.tour_ends~") COLUMN(NAME=~"tour.start_time~") COLUMN(NAME=~"tour.end_time~") COLUMN(NAME=~"tour.aprv_date~") JOIN (LEFT=~"tour.emp_code~" OP =~"=~"RIGHT=~"employee.emp_code~" )WHERE( EXP1 =~"tour.tour_id~" OP =~"=~" EXP2 =~":mtour_id ~" ) ) ARG(NAME = ~"mtour_id~" TYPE = string) " update="tour" updatewhere=0 updatekeyinplace=no arguments=(("mtour_id", string)) )
groupbox(band=detail text="Tour"border="2" color="0" x="7" y="7" height="331" width="523" 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" ) groupbox(band=detail text="Tour"border="2" color="0" x="7" y="7" height="331" width="523" 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="Remarks :" border="0" color="0" x="18" y="132" height="16" width="104" html.valueishtml="0" name=t_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="536870912" ) text(band=detail alignment="1" text="Remarks :" border="0" color="0" x="18" y="132" height="16" width="104" html.valueishtml="0" name=t_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="536870912" )
text(band=detail alignment="1" text="Tour Id :" border="0" color="0" x="18" y="37" height="16" width="104" html.valueishtml="0" name=tour_id_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=detail alignment="1" text="Tour Id :" border="0" color="0" x="18" y="37" height="16" width="104" html.valueishtml="0" name=tour_id_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
...@@ -41,9 +41,7 @@ text(band=detail alignment="1" text="Remarks :" border="0" color="0" x="18" y="1 ...@@ -41,9 +41,7 @@ text(band=detail alignment="1" text="Remarks :" border="0" color="0" x="18" y="1
column(band=detail id=7 alignment="0" tabsequence=60 border="5" color="0" x="126" y="109" height="16" width="388" format="[general]" html.valueishtml="0" name=details visible="1" edit.limit=250 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=7 alignment="0" tabsequence=60 border="5" color="0" x="126" y="109" height="16" width="388" format="[general]" html.valueishtml="0" name=details visible="1" edit.limit=250 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="Tour Starts :" border="0" color="0" x="18" y="157" height="16" width="104" html.valueishtml="0" name=tour_starts_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=detail alignment="1" text="Tour Starts :" border="0" color="0" x="18" y="157" height="16" width="104" html.valueishtml="0" name=tour_starts_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Tour Ends :" border="0" color="0" x="329" y="157" height="16" width="83" html.valueishtml="0" name=tour_ends_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=detail alignment="1" text="Tour Ends :" border="0" color="0" x="329" y="157" height="16" width="83" html.valueishtml="0" name=tour_ends_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=9 alignment="0" tabsequence=32766 border="5" color="255" x="126" y="181" height="16" width="127" format="[general]" html.valueishtml="0" name=emp_code__appr visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Approved By :" border="0" color="0" x="18" y="181" height="16" width="104" html.valueishtml="0" name=emp_code__appr_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=detail alignment="1" text="Approved By :" border="0" color="0" x="18" y="181" height="16" width="104" html.valueishtml="0" name=emp_code__appr_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=16 alignment="0" tabsequence=32766 border="5" color="255" x="256" y="181" height="16" width="127" format="[general]" html.valueishtml="0" name=appr_by_fname 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="79741120" )
text(band=detail alignment="1" text="Status :" border="0" color="0" x="18" y="205" height="16" width="104" 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="1" background.color="536870912" ) text(band=detail alignment="1" text="Status :" border="0" color="0" x="18" y="205" height="16" width="104" 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="1" background.color="536870912" )
text(band=detail alignment="1" text="Change User :" border="0" color="0" x="314" y="229" height="16" width="99" 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="1" background.color="536870912" height.autosize=yes) text(band=detail alignment="1" text="Change User :" border="0" color="0" x="314" y="229" height="16" width="99" 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="1" background.color="536870912" height.autosize=yes)
column(band=detail id=10 alignment="0" tabsequence=32766 border="5" color="255" x="126" y="205" height="16" width="98" format="[general]" html.valueishtml="0" name=status tag="Status of the tour." visible="1" ddlb.limit=1 ddlb.allowedit=no ddlb.case=upper ddlb.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="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="126" y="205" height="16" width="98" format="[general]" html.valueishtml="0" name=status tag="Status of the tour." visible="1" ddlb.limit=1 ddlb.allowedit=no ddlb.case=upper ddlb.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
...@@ -52,7 +50,6 @@ column(band=detail id=13 alignment="0" tabsequence=32766 border="5" color="0" x= ...@@ -52,7 +50,6 @@ column(band=detail id=13 alignment="0" tabsequence=32766 border="5" color="0" x=
text(band=detail alignment="1" text="Work Site :" border="0" color="0" x="343" y="253" height="16" width="99" html.valueishtml="0" name=work_site_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" height.autosize=yes) text(band=detail alignment="1" text="Work Site :" border="0" color="0" x="343" y="253" height="16" width="99" html.valueishtml="0" name=work_site_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" height.autosize=yes)
text(band=detail alignment="1" text="Change Date :" border="0" color="0" x="18" y="229" height="16" width="104" 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="1" background.color="536870912" ) text(band=detail alignment="1" text="Change Date :" border="0" color="0" x="18" y="229" height="16" width="104" 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="1" background.color="536870912" )
text(band=detail alignment="1" text="Change Term :" border="0" color="0" x="18" y="253" height="16" width="104" 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="1" background.color="536870912" height.autosize=yes) text(band=detail alignment="1" text="Change Term :" border="0" color="0" x="18" y="253" height="16" width="104" 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="1" background.color="536870912" height.autosize=yes)
column(band=detail id=17 alignment="0" tabsequence=32766 border="5" color="255" x="387" y="181" height="16" width="127" format="[general]" html.valueishtml="0" name=appr_by_lname 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="79741120" )
column(band=detail id=12 alignment="0" tabsequence=32766 border="5" color="0" x="417" y="229" height="16" width="97" format="[general]" html.valueishtml="0" name=chg_user tag="User modifying the record, for internal purpose only." visible="1" height.autosize=yes 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" ) column(band=detail id=12 alignment="0" tabsequence=32766 border="5" color="0" x="417" y="229" height="16" width="97" format="[general]" html.valueishtml="0" name=chg_user tag="User modifying the record, for internal purpose only." visible="1" height.autosize=yes 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" )
column(band=detail id=18 alignment="0" tabsequence=32766 border="5" color="0" x="448" y="253" height="16" width="66" format="[general]" html.valueishtml="0" name=work_site 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=32766 border="5" color="0" x="448" y="253" height="16" width="66" format="[general]" html.valueishtml="0" name=work_site 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=1 alignment="0" tabsequence=32766 border="5" color="0" x="126" y="37" height="16" width="82" format="[general]" html.valueishtml="0" name=tour_id visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=1 alignment="0" tabsequence=32766 border="5" color="0" x="126" y="37" height="16" width="82" format="[general]" html.valueishtml="0" name=tour_id visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
...@@ -66,11 +63,14 @@ column(band=detail id=6 alignment="1" tabsequence=50 border="5" color="0" x="476 ...@@ -66,11 +63,14 @@ column(band=detail id=6 alignment="1" tabsequence=50 border="5" color="0" x="476
column(band=detail id=19 alignment="0" tabsequence=80 border="5" color="0" x="127" y="157" height="16" width="97" format="" html.valueishtml="0" name=tour_starts visible="1" ddlb.limit=1 ddlb.allowedit=no ddlb.case=upper 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=19 alignment="0" tabsequence=80 border="5" color="0" x="127" y="157" height="16" width="97" format="" html.valueishtml="0" name=tour_starts visible="1" ddlb.limit=1 ddlb.allowedit=no ddlb.case=upper 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=8 alignment="0" tabsequence=70 border="5" color="0" x="126" y="133" height="16" width="388" format="[general]" html.valueishtml="0" name=remarks visible="1" edit.limit=50 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=8 alignment="0" tabsequence=70 border="5" color="0" x="126" y="133" height="16" width="388" format="[general]" html.valueishtml="0" name=remarks visible="1" edit.limit=50 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=20 alignment="0" tabsequence=90 border="5" color="0" x="417" y="157" height="16" width="97" format="[general]" html.valueishtml="0" name=tour_ends visible="1" ddlb.limit=1 ddlb.allowedit=no ddlb.case=upper 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=20 alignment="0" tabsequence=90 border="5" color="0" x="417" y="157" height="16" width="97" format="[general]" html.valueishtml="0" name=tour_ends visible="1" ddlb.limit=1 ddlb.allowedit=no ddlb.case=upper 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=3 alignment="0" tabsequence=20 border="5" color="0" x="126" y="61" height="16" width="82" format="[general]" html.valueishtml="0" name=emp_code tag="The code of the employee." visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="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="255" x="214" y="61" height="16" width="146" format="[general]" html.valueishtml="0" name=emp_fname 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="79741120" )
column(band=detail id=15 alignment="0" tabsequence=32766 border="5" color="255" x="365" y="61" height="16" width="149" format="[general]" html.valueishtml="0" name=emp_lname 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="79741120" )
column(band=detail id=22 alignment="0" tabsequence=32766 border="5" color="255" x="333" y="296" height="16" width="90" format="[shortdate] [time]" html.valueishtml="0" name=end_time visible="0" editmask.mask="dd/mm/yy" 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="67108864" ) column(band=detail id=22 alignment="0" tabsequence=32766 border="5" color="255" x="333" y="296" height="16" width="90" format="[shortdate] [time]" html.valueishtml="0" name=end_time visible="0" editmask.mask="dd/mm/yy" 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="67108864" )
column(band=detail id=21 alignment="0" tabsequence=32766 border="5" color="255" x="128" y="294" height="16" width="98" format="[shortdate] [time]" html.valueishtml="0" name=start_time visible="0" editmask.mask="dd/mm/yy" 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="67108864" ) column(band=detail id=21 alignment="0" tabsequence=32766 border="5" color="255" x="128" y="294" height="16" width="98" format="[shortdate] [time]" html.valueishtml="0" name=start_time visible="0" editmask.mask="dd/mm/yy" 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="67108864" )
column(band=detail id=14 alignment="0" tabsequence=32766 border="5" color="255" x="214" y="61" height="16" width="146" format="[general]" html.valueishtml="0" name=emp_fname 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="79741120" )
column(band=detail id=16 alignment="0" tabsequence=32766 border="5" color="255" x="214" y="181" height="16" width="146" format="[general]" html.valueishtml="0" name=appr_by_fname 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="79741120" )
column(band=detail id=3 alignment="0" tabsequence=20 border="5" color="0" x="126" y="61" height="16" width="82" format="[general]" html.valueishtml="0" name=emp_code tag="The code of the employee." visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=9 alignment="0" tabsequence=32766 border="5" color="255" x="126" y="181" height="16" width="82" format="[general]" html.valueishtml="0" name=emp_code__appr visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=15 alignment="0" tabsequence=32766 border="5" color="255" x="365" y="61" height="16" width="149" format="[general]" html.valueishtml="0" name=emp_lname 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="79741120" )
column(band=detail id=17 alignment="0" tabsequence=32766 border="5" color="255" x="365" y="181" height="16" width="149" format="[general]" html.valueishtml="0" name=appr_by_lname 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="79741120" )
htmltable(border="1" ) htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" ) 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 ) export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
......
$PBExportHeader$d_tourdet_brow.srd
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=19 color="536870912" )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=20 color="536870912" )
table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tour_id dbname="tourdet.tour_id" )
column=(type=decimal(0) update=yes updatewhereclause=yes key=yes name=line_no dbname="tourdet.line_no" )
column=(type=decimal(0) update=yes updatewhereclause=yes name=line_no__plan dbname="tourdet.line_no__plan" )
column=(type=char(5) update=yes updatewhereclause=yes name=stan_code dbname="tourdet.stan_code" )
column=(type=char(60) update=yes updatewhereclause=yes name=to_place dbname="tourdet.to_place" )
column=(type=datetime update=yes updatewhereclause=yes name=date_to dbname="tourdet.date_to" )
column=(type=char(200) update=yes updatewhereclause=yes name=purpose dbname="tourdet.purpose" )
column=(type=char(50) update=yes updatewhereclause=yes name=mode_travel dbname="tourdet.mode_travel" )
column=(type=datetime update=yes updatewhereclause=yes name=date_from dbname="tourdet.date_from" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"tourdet~" ) COLUMN(NAME=~"tourdet.tour_id~") COLUMN(NAME=~"tourdet.line_no~") COLUMN(NAME=~"tourdet.line_no__plan~") COLUMN(NAME=~"tourdet.stan_code~") COLUMN(NAME=~"tourdet.to_place~") COLUMN(NAME=~"tourdet.date_to~") COLUMN(NAME=~"tourdet.purpose~") COLUMN(NAME=~"tourdet.mode_travel~") COLUMN(NAME=~"tourdet.date_from~")WHERE( EXP1 =~"tourdet.tour_id~" OP =~"=~" EXP2 =~":mtour_id ~" ) ) ARG(NAME = ~"mtour_id~" TYPE = string) " update="TOURDET" updatewhere=0 updatekeyinplace=no arguments=(("mtour_id", string)) )
text(band=header alignment="0" text="Line No" border="6" color="0" x="2" y="2" height="16" width="51" html.valueishtml="0" name=line_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="Line No Plan" border="6" color="0" x="55" y="2" height="16" width="81" html.valueishtml="0" name=line_no__plan_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="2" text="Station Code" border="6" color="0" x="138" y="2" height="16" width="85" html.valueishtml="0" name=stan_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="Place" border="6" color="0" x="225" y="2" height="16" width="142" html.valueishtml="0" name=to_place_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="Date To" border="6" color="0" x="370" y="2" height="16" width="67" html.valueishtml="0" name=date_to_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="Purpose" border="6" color="0" x="439" y="2" height="16" width="174" html.valueishtml="0" name=purpose_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="Mode of Travel" border="6" color="0" x="615" y="2" height="16" width="92" html.valueishtml="0" name=mode_travel_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="2" text="Tour Id" border="6" color="0" x="709" y="2" height="16" width="63" html.valueishtml="0" name=tour_id_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=32766 border="5" color="0" x="2" y="1" height="16" width="51" format="#,##,##,###.####" html.valueishtml="0" name=line_no visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=3 alignment="0" tabsequence=10 border="5" color="0" x="55" y="1" height="16" width="81" format="#,##,##,###.####" html.valueishtml="0" name=line_no__plan visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=4 alignment="0" tabsequence=20 border="5" color="0" x="138" y="1" height="16" width="85" format="[general]" html.valueishtml="0" name=stan_code visible="1" edit.limit=5 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=5 alignment="0" tabsequence=30 border="5" color="0" x="225" y="1" height="16" width="142" format="[general]" html.valueishtml="0" name=to_place 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=6 alignment="0" tabsequence=40 border="5" color="0" x="370" y="1" height="16" width="67" format="[shortdate] [time]" html.valueishtml="0" name=date_to visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=7 alignment="0" tabsequence=50 border="5" color="0" x="439" y="1" height="16" width="174" format="[general]" html.valueishtml="0" name=purpose visible="1" edit.limit=200 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=8 alignment="0" tabsequence=60 border="5" color="0" x="615" y="0" height="16" width="92" format="[general]" html.valueishtml="0" name=mode_travel visible="1" edit.limit=15 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="5" color="0" x="709" y="0" height="16" width="63" format="[general]" html.valueishtml="0" name=tour_id visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="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="775" y="0" height="16" width="72" html.valueishtml="0" name=date_from 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="16777215" )
text(band=header alignment="2" text="Date From" border="6" color="0" x="774" y="1" height="16" width="73" html.valueishtml="0" name=date_from_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" )
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_tourdet_edit.srd
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 )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=322 color="536870912" )
table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tour_id dbname="tourdet.tour_id" )
column=(type=decimal(0) update=yes updatewhereclause=yes key=yes name=line_no dbname="tourdet.line_no" )
column=(type=decimal(0) update=yes updatewhereclause=yes name=line_no__plan dbname="tourdet.line_no__plan" )
column=(type=char(5) update=yes updatewhereclause=yes name=stan_code dbname="tourdet.stan_code" )
column=(type=char(60) update=yes updatewhereclause=yes name=to_place dbname="tourdet.to_place" )
column=(type=datetime update=yes updatewhereclause=yes name=date_to dbname="tourdet.date_to" )
column=(type=char(200) update=yes updatewhereclause=yes name=purpose dbname="tourdet.purpose" )
column=(type=char(50) update=yes updatewhereclause=yes name=mode_travel dbname="tourdet.mode_travel" initial="Road" values="Air Air/Road Road/Train Train/Ship Ship/" )
column=(type=datetime update=yes updatewhereclause=yes name=date_from dbname="tourdet.date_from" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"tourdet~" ) COLUMN(NAME=~"tourdet.tour_id~") COLUMN(NAME=~"tourdet.line_no~") COLUMN(NAME=~"tourdet.line_no__plan~") COLUMN(NAME=~"tourdet.stan_code~") COLUMN(NAME=~"tourdet.to_place~") COLUMN(NAME=~"tourdet.date_to~") COLUMN(NAME=~"tourdet.purpose~") COLUMN(NAME=~"tourdet.mode_travel~") COLUMN(NAME=~"tourdet.date_from~")) " update="TOURDET" updatewhere=0 updatekeyinplace=no )
groupbox(band=detail text="Tour Details"border="2" color="0" x="12" y="25" height="211" width="571" 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="Purpose :" border="0" color="0" x="26" y="129" height="16" width="104" html.valueishtml="0" name=purpose_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="Mode of Travel :" border="0" color="0" x="26" y="189" height="16" width="104" html.valueishtml="0" name=mode_travel_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="Line No :" border="0" color="0" x="26" y="54" height="16" width="104" html.valueishtml="0" name=line_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=2 alignment="1" tabsequence=32766 border="5" color="255" x="134" y="54" height="16" width="42" format="[General]" html.valueishtml="0" name=line_no visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=7 alignment="0" tabsequence=50 border="5" color="0" x="134" y="129" height="51" width="393" format="[general]" html.valueishtml="0" name=purpose visible="1" edit.limit=200 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autovscroll=yes edit.imemode=0 edit.vscrollbar=yes 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=60 border="5" color="0" x="134" y="189" height="16" width="91" format="[general]" html.valueishtml="0" name=mode_travel visible="1" ddlb.limit=1 ddlb.allowedit=no ddlb.case=upper ddlb.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=5 alignment="0" tabsequence=30 border="5" color="0" x="427" y="79" height="16" width="98" format="[general]" html.valueishtml="0" name=to_place 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=3 alignment="1" tabsequence=10 border="5" color="0" x="427" y="54" height="16" width="98" format="###" html.valueishtml="0" name=line_no__plan 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=20 border="5" color="0" x="134" y="79" height="16" width="74" format="[general]" html.valueishtml="0" name=stan_code 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="Station Code :" border="0" color="0" x="26" y="79" height="16" width="104" html.valueishtml="0" name=stan_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=detail alignment="1" text="Line No Plan :" border="0" color="0" x="339" y="54" height="16" width="84" html.valueishtml="0" name=line_no__plan_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="Place :" border="0" color="0" x="339" y="79" height="16" width="84" html.valueishtml="0" name=to_place_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="Date To :" border="0" color="0" x="340" y="104" height="16" width="84" html.valueishtml="0" name=date_to_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="Tour Id :" border="0" color="0" x="340" y="189" height="16" width="84" html.valueishtml="0" name=tour_id_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="0" tabsequence=40 border="5" color="0" x="428" y="104" height="16" width="98" format="dd/mm/yy" html.valueishtml="0" name=date_to visible="1" edit.name="datetime" editmask.mask="dd/mm/yy" 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=1 alignment="0" tabsequence=32766 border="5" color="0" x="428" y="189" height="16" width="98" format="[general]" html.valueishtml="0" name=tour_id visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Date From :" border="0" color="0" x="26" y="103" height="16" width="104" html.valueishtml="0" name=date_from_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=9 alignment="0" tabsequence=70 border="5" color="255" x="134" y="103" height="16" width="55" format="[shortdate] [time]" html.valueishtml="0" name=date_from 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="79741120" )
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
...@@ -46,7 +46,7 @@ public class AttendanceProcess extends ValidatorEJB ...@@ -46,7 +46,7 @@ public class AttendanceProcess extends ValidatorEJB
int ilRemMin1 = 0; int ilRemMin1 = 0;
public String isProcFrom = "MANUAL"; public String isProcFrom = "MANUAL";
public String gbfAutoAttdProc(String asEmpCode, Timestamp adFromDate, Timestamp adToDate, int aiCommit, String xtraParams)throws RemoteException, ITMException public String gbfAutoAttdProc(String asEmpCode, Timestamp adFromDate, Timestamp adToDate, int aiCommit, String xtraParams , Connection conn)throws RemoteException, ITMException
{ {
String[] lsPrdCode = new String[10]; String[] lsPrdCode = new String[10];
String lsErrCode = ""; String lsPrd = ""; String lsWorkSite = ""; String lsProcGroup = ""; String lsErrCode = ""; String lsPrd = ""; String lsWorkSite = ""; String lsProcGroup = "";
...@@ -55,7 +55,6 @@ public class AttendanceProcess extends ValidatorEJB ...@@ -55,7 +55,6 @@ public class AttendanceProcess extends ValidatorEJB
Timestamp ldCutOffDate = null; Timestamp ldFrDt = null; Timestamp ldToDt = null; Timestamp ldCutOffDate = null; Timestamp ldFrDt = null; Timestamp ldToDt = null;
Timestamp[] ldFr = new Timestamp[10]; Timestamp[] ldFr = new Timestamp[10];
Timestamp[] ldTo = new Timestamp[10]; Timestamp[] ldTo = new Timestamp[10];
Connection conn = null;
PreparedStatement pstmt = null; PreparedStatement pstmt = null;
PreparedStatement pstmtAttdMnth = null; PreparedStatement pstmtAttdMnth = null;
ResultSet rs = null; ResultSet rs = null;
...@@ -70,7 +69,7 @@ public class AttendanceProcess extends ValidatorEJB ...@@ -70,7 +69,7 @@ public class AttendanceProcess extends ValidatorEJB
userId = checkNull(genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginCode")); userId = checkNull(genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginCode"));
chgTerm = checkNull(genericUtility.getValueFromXTRA_PARAMS(xtraParams, "termId")); chgTerm = checkNull(genericUtility.getValueFromXTRA_PARAMS(xtraParams, "termId"));
conn = getConnection(); //conn = getConnection();
lsAuto = admCommon.getEnv("999999", "AUTOLVEAPRV", conn); lsAuto = admCommon.getEnv("999999", "AUTOLVEAPRV", conn);
String str1; String str1;
......
package ibase.webitm.ejb.adm;
import java.rmi.RemoteException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.Timestamp;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import ibase.utility.E12GenericUtility;
import ibase.webitm.ejb.ValidatorEJB;
import ibase.webitm.ejb.fin.FinCommon;
import ibase.webitm.ejb.sys.UtilMethods;
import ibase.webitm.utility.ITMException;
public class TourIC extends ValidatorEJB implements TourICLocal,TourICRemote
{
AdmCommon admCommon = new AdmCommon();
FinCommon finCommon = new FinCommon();
E12GenericUtility genericUtility = new E12GenericUtility();
UtilMethods utilmethod = new UtilMethods();
public String itemChanged(String xmlString, String xmlString1, String xmlString2, String objContext,
String currentColumn, String editFlag, String xtraParams) throws RemoteException, ITMException
{
Document dom1 = null;
Document dom = null;
Document dom2 = null;
String valueXmlString = "";
E12GenericUtility genericUtility = null;
try
{
genericUtility = new E12GenericUtility();
if (xmlString != null && xmlString.trim().length() != 0)
{
dom = genericUtility.parseString(xmlString);
}
if (xmlString1 != null && xmlString1.trim().length() != 0)
{
dom1 = genericUtility.parseString(xmlString1);
}
if (xmlString2 != null && xmlString2.trim().length() != 0)
{
dom2 = genericUtility.parseString(xmlString2);
}
valueXmlString = itemChanged(dom, dom1, dom2, objContext, currentColumn, editFlag, xtraParams);
System.out.println("valueXmlString::::::::::"+valueXmlString);
}
catch (Exception e)
{
System.out.println("Exception :TourIC :itemChanged(String,String):" + e.getMessage() + ":");
valueXmlString = genericUtility.createErrorString(e);
e.printStackTrace();
throw new ITMException(e);
}
System.out.println("returning from TourIC itemChanged");
return valueXmlString;
}
public String itemChanged(Document dom , Document dom1, Document dom2, String objContext, String currentColumn,
String editFlag, String xtraParams) throws RemoteException, ITMException
{
PreparedStatement pstmt = null;
String sql = "";
ResultSet rs = null;
Connection conn = null;
StringBuffer valueXmlString = null;
int currentFormNo = 0;
int ctr=0;
int childNodeListLength = 0;
NodeList parentNodeList = null;
NodeList childNodeList = null;
Node parentNode = null;
Node childNode = null;
String childNodeName = null;
String userId="";
String loginSite="";
String todayDateStr = "";
Timestamp mDate1 = null;
Timestamp mDate2 = null;
Timestamp mdtfr = null;
Timestamp mdtto = null;
String mCode = "";
String mCode1 = "";
String empFname = "",empLname = "";
String empCode = "",mTourDet = "",mRemrk = "";
String reportTo = "",lsSite = "";
String mdescr = "",mstancd = "",mplace = "";
String mpurpose = "",mroad = "";
String tourStarts = "",tourEnds = "";
String empFnameLong = "",empLnameLong = "";
int mLevl = 0;
String mDate1Str = "";
String mDate2Str = "";
double noDays = 0.0;
String noDaysStr ="";
String tourId = "";
String lineStr = "";
String mdtfrStr = "";
String mdttoStr = "";
long liLine = 0;
try
{
conn = getConnection();
SimpleDateFormat sdf = new SimpleDateFormat(genericUtility.getApplDateFormat());
userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginCode");
loginSite = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginSiteCode");
System.out.println("User Id ---> "+userId);
System.out.println("Login Site ---> "+loginSite);
todayDateStr=sdf.format(new java.util.Date());
mroad = admCommon.getEnv("999999", "T_MODE", conn);
sql = "select usr_lev from users where code = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, userId);
rs = pstmt.executeQuery();
if(rs.next())
{
mLevl = rs.getInt("usr_lev");
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
System.out.println("currentFormNo...." + currentFormNo);
conn = getConnection();
if (objContext != null && objContext.trim().length() > 0)
{
currentFormNo = Integer.parseInt(objContext);
}
valueXmlString = new StringBuffer("<?xml version=\"1.0\"?>\r\n<Root>\r\n<Header>\r\n<editFlag>");
valueXmlString.append(editFlag).append("</editFlag>\r\n</Header>\r\n");
System.out.println("current form no: " + currentFormNo);
switch (currentFormNo)
{
case 1:
{
System.out.println("****************Inside Case 1 of ItemChange*********************");
parentNodeList = dom.getElementsByTagName("Detail1");
parentNode = parentNodeList.item(0);
childNodeList = parentNode.getChildNodes();
valueXmlString.append("<Detail1>\r\n");
childNodeListLength = childNodeList.getLength();
do
{
childNode = childNodeList.item(ctr);
childNodeName = childNode.getNodeName();
ctr++;
}
while ((ctr < childNodeListLength) && (!childNodeName.equals(currentColumn)));
if(currentColumn.trim().equalsIgnoreCase("itm_default"))
{
System.out.println("::::Inside itm_default::::");
valueXmlString.append("<date_from>").append("<![CDATA["+todayDateStr+"]]>").append("</date_from>");
valueXmlString.append("<date_to>").append("<![CDATA["+todayDateStr+"]]>").append("</date_to>");
valueXmlString.append("<no_days>").append("<![CDATA[1]]>").append("</no_days>");
valueXmlString.append("<start_time>").append("<![CDATA["+todayDateStr+"]]>").append("</start_time>");
valueXmlString.append("<end_time>").append("<![CDATA["+todayDateStr+"]]>").append("</end_time>");
valueXmlString.append("<status>").append("<![CDATA[U]]>").append("</status>");
valueXmlString.append("<tour_starts>").append("<![CDATA[S]]>").append("</tour_starts>");
valueXmlString.append("<tour_ends>").append("<![CDATA[E]]>").append("</tour_ends>");
}
else if(currentColumn.trim().equalsIgnoreCase("plan_id"))
{
System.out.println("::::Inside plan_id::::");
mCode = checkNull(genericUtility.getColumnValue("plan_id", dom));
if(mCode != null && mCode.trim().length() > 0)
{
sql= "select emp_code,date_from,date_to,tour_details,remarks from tourplan where plan_id = ?";
pstmt= conn.prepareStatement(sql);
pstmt.setString(1, mCode);
rs = pstmt.executeQuery();
if(rs.next())
{
empCode = checkNull(rs.getString("emp_code"));
mDate1 = rs.getTimestamp("date_from");
mDate2 = rs.getTimestamp("date_to");
mTourDet = checkNull(rs.getString("tour_details"));
mRemrk = checkNull(rs.getString("remarks"));
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
valueXmlString.append("<emp_code protect=\"1\" >").append("<![CDATA["+empCode+"]]>").append("</emp_code>");
sql = "Select emp_fname,emp_lname,work_site,emp_fname_long,emp_lname_long"+
" from employee where emp_code = ? and work_site = (case when ? > 1 then ? else work_site end)";
pstmt= conn.prepareStatement(sql);
pstmt.setString(1,empCode);
pstmt.setInt(2,mLevl);
pstmt.setString(3,loginSite);
rs = pstmt.executeQuery();
if(rs.next())
{
empFname = checkNull(rs.getString("emp_fname"));
empLname = checkNull(rs.getString("emp_lname"));
lsSite = checkNull(rs.getString("work_site"));
empFnameLong = checkNull(rs.getString("emp_fname_long"));
empLnameLong = checkNull(rs.getString("emp_lname_long"));
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(empFnameLong != null && empFnameLong.trim().length() > 0)
{
empFname = empFnameLong;
}
if(empLnameLong != null && empLnameLong.trim().length() > 0)
{
empLname = empLnameLong;
}
if(mDate1 != null)
{
mDate1Str = genericUtility.getValidDateString(mDate1, genericUtility.getApplDateFormat());
}
if(mDate2 != null)
{
mDate2Str = genericUtility.getValidDateString(mDate2, genericUtility.getApplDateFormat());
}
valueXmlString.append("<emp_fname>").append("<![CDATA["+empFname+"]]>").append("</emp_fname>");
valueXmlString.append("<emp_lname>").append("<![CDATA["+empLname+"]]>").append("</emp_lname>");
valueXmlString.append("<work_site>").append("<![CDATA["+lsSite+"]]>").append("</work_site>");
valueXmlString.append("<date_from>").append("<![CDATA["+mDate1Str+"]]>").append("</date_from>");
valueXmlString.append("<date_to>").append("<![CDATA["+mDate2Str+"]]>").append("</date_to>");
valueXmlString.append("<details>").append("<![CDATA["+mTourDet+"]]>").append("</details>");
valueXmlString.append("<remarks>").append("<![CDATA["+mRemrk+"]]>").append("</remarks>");
valueXmlString.append("<start_time>").append("<![CDATA["+mDate1Str+"]]>").append("</start_time>");
valueXmlString.append("<end_time>").append("<![CDATA["+mDate2Str+"]]>").append("</end_time>");
if(mDate1 != null && mDate2 != null)
{
noDays = utilmethod.DaysAfter(mDate1, mDate2)+1;
}
valueXmlString.append("<no_days>").append("<![CDATA["+noDays+"]]>").append("</no_days>");
}
}
else if(currentColumn.trim().equalsIgnoreCase("emp_code"))
{
System.out.println("::::Inside emp_code::::");
empCode = checkNull(genericUtility.getColumnValue("emp_code", dom));
sql = "select emp_fname,emp_lname,report_to, work_site, emp_fname_long, emp_lname_long from employee where emp_code = ?";
pstmt= conn.prepareStatement(sql);
pstmt.setString(1,empCode);
rs = pstmt.executeQuery();
if(rs.next())
{
empFname = checkNull(rs.getString("emp_fname"));
empLname = checkNull(rs.getString("emp_lname"));
reportTo = checkNull(rs.getString("report_to"));
lsSite = checkNull(rs.getString("work_site"));
empFnameLong = checkNull(rs.getString("emp_fname_long"));
empLnameLong = checkNull(rs.getString("emp_lname_long"));
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(empFnameLong != null && empFnameLong.trim().length() > 0)
{
empFname = empFnameLong;
}
if(empLnameLong != null && empLnameLong.trim().length() > 0)
{
empLname = empLnameLong;
}
valueXmlString.append("<emp_fname>").append("<![CDATA["+empFname+"]]>").append("</emp_fname>");
valueXmlString.append("<emp_lname>").append("<![CDATA["+empLname+"]]>").append("</emp_lname>");
valueXmlString.append("<work_site>").append("<![CDATA["+lsSite+"]]>").append("</work_site>");
}
else if(currentColumn.trim().equalsIgnoreCase("emp_code__appr"))
{
System.out.println("::::Inside emp_code__appr::::");
mCode = checkNull(genericUtility.getColumnValue("emp_code__appr", dom));
sql = "select emp_fname, emp_lname, emp_fname_long, emp_lname_long from employee where emp_code = ?";
pstmt= conn.prepareStatement(sql);
pstmt.setString(1,mCode);
rs = pstmt.executeQuery();
if(rs.next())
{
empFname = checkNull(rs.getString("emp_fname"));
empLname = checkNull(rs.getString("emp_lname"));
empFnameLong = checkNull(rs.getString("emp_fname_long"));
empLnameLong = checkNull(rs.getString("emp_lname_long"));
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(empFnameLong != null && empFnameLong.trim().length() > 0)
{
empFname = empFnameLong;
}
if(empLnameLong != null && empLnameLong.trim().length() > 0)
{
empLname = empLnameLong;
}
valueXmlString.append("<appr_by_fname>").append("<![CDATA["+empFname+"]]>").append("</appr_by_fname>");
valueXmlString.append("<appr_by_lname>").append("<![CDATA["+empLname+"]]>").append("</appr_by_lname>");
}
else if(currentColumn.trim().equalsIgnoreCase("date_from"))
{
System.out.println("::::Inside date_from::::");
mDate1Str = checkNull(genericUtility.getColumnValue("date_from", dom));
System.out.println("mDate1Str ========"+mDate1Str);
if(mDate1Str != null && mDate1Str.trim().length() > 0)
{
mDate1 = Timestamp.valueOf(genericUtility.getValidDateString(mDate1Str, genericUtility.getApplDateFormat(), genericUtility.getDBDateFormat()) + " 00:00:00.0");
System.out.println("mDate1 ========"+mDate1);
}
mDate2Str = checkNull(genericUtility.getColumnValue("date_to", dom));
if(mDate2Str != null && mDate2Str.trim().length() > 0)
{
mDate2 = Timestamp.valueOf(genericUtility.getValidDateString(mDate2Str, genericUtility.getApplDateFormat(), genericUtility.getDBDateFormat()) + " 00:00:00.0");
}
tourStarts = checkNull(genericUtility.getColumnValue("tour_starts", dom));
tourEnds = checkNull(genericUtility.getColumnValue("tour_ends", dom));
valueXmlString.append("<start_time>").append("<![CDATA["+mDate1Str+"]]>").append("</start_time>");
if("B".equalsIgnoreCase(tourStarts) || "B".equalsIgnoreCase(tourEnds))
{
if(mDate1 != null && mDate2 != null)
{
if(noDays != utilmethod.DaysAfter(mDate1, mDate2) + 1)
{
if("B".equalsIgnoreCase(tourStarts) && "B".equalsIgnoreCase(tourEnds))
{
noDays = utilmethod.DaysAfter(mDate1, mDate2) + 1 - 1;
}
else
{
noDays = utilmethod.DaysAfter(mDate1, mDate2) + 1 - 0.5;
}
}
else
{
if("B".equalsIgnoreCase(tourStarts) && "B".equalsIgnoreCase(tourEnds))
{
noDays = noDays - 1;
}
else
{
noDays = noDays - 0.5;
}
}
}
}
else
{
if(mDate1 != null && mDate2 != null)
{
if(noDays != utilmethod.DaysAfter(mDate1, mDate2) + 1)
{
noDays = utilmethod.DaysAfter(mDate1, mDate2) + 1;
}
else
{
noDays = noDays + 0.5;
}
}
}
if(mDate1 != null && mDate2 != null)
{
if(mDate1.after(mDate2))
{
noDays = utilmethod.DaysAfter(mDate1, mDate2) + 1;
}
}
if(String.valueOf(noDays) == null ||noDays < 0)
{
noDays = 0;
}
valueXmlString.append("<no_days>").append("<![CDATA["+noDays+"]]>").append("</no_days>");
}
else if(currentColumn.trim().equalsIgnoreCase("date_to"))
{
System.out.println("::::Inside date_to::::");
mDate1Str = checkNull(genericUtility.getColumnValue("date_from", dom));
if(mDate1Str != null && mDate1Str.trim().length() > 0)
{
mDate1 = Timestamp.valueOf(genericUtility.getValidDateString(mDate1Str, genericUtility.getApplDateFormat(), genericUtility.getDBDateFormat()) + " 00:00:00.0");
}
mDate2Str = checkNull(genericUtility.getColumnValue("date_to", dom));
if(mDate2Str != null && mDate2Str.trim().length() > 0)
{
mDate2 = Timestamp.valueOf(genericUtility.getValidDateString(mDate2Str, genericUtility.getApplDateFormat(), genericUtility.getDBDateFormat()) + " 00:00:00.0");
}
tourStarts = checkNull(genericUtility.getColumnValue("tour_starts", dom));
tourEnds = checkNull(genericUtility.getColumnValue("tour_ends", dom));
valueXmlString.append("<end_time>").append("<![CDATA["+mDate2Str+"]]>").append("</end_time>");
if("B".equalsIgnoreCase(tourStarts) || "B".equalsIgnoreCase(tourEnds))
{
if(mDate1 != null && mDate2 != null)
{
if(noDays != utilmethod.DaysAfter(mDate1, mDate2) + 1)
{
if("B".equalsIgnoreCase(tourStarts) && "B".equalsIgnoreCase(tourEnds))
{
noDays = utilmethod.DaysAfter(mDate1, mDate2) + 1 - 1;
}
else
{
noDays = utilmethod.DaysAfter(mDate1, mDate2) + 1 - 0.5;
}
}
else
{
if("B".equalsIgnoreCase(tourStarts) && "B".equalsIgnoreCase(tourEnds))
{
noDays = noDays - 1;
}
else
{
noDays = noDays - 0.5;
}
}
}
}
else
{
if(mDate1 != null && mDate2 != null)
{
if(noDays != utilmethod.DaysAfter(mDate1, mDate2) + 1)
{
noDays = utilmethod.DaysAfter(mDate1, mDate2) + 1;
}
else
{
noDays = noDays + 0.5;
}
}
}
if(mDate1 != null && mDate2 != null)
{
if(mDate2.before(mDate1))
{
noDays = utilmethod.DaysAfter(mDate1, mDate2) + 1;
}
}
if(String.valueOf(noDays) == null ||noDays < 0)
{
noDays = 0;
}
valueXmlString.append("<no_days>").append("<![CDATA["+noDays+"]]>").append("</no_days>");
}
else if(currentColumn.trim().equalsIgnoreCase("tour_starts"))
{
System.out.println("::::Inside tour_starts::::");
tourStarts = checkNull(genericUtility.getColumnValue("tour_starts", dom));
noDaysStr = checkNull(genericUtility.getColumnValue("no_days", dom));
if(noDaysStr != null && noDaysStr.trim().length()>0)
{
noDays = Double.parseDouble(noDaysStr);
}
mDate1Str = checkNull(genericUtility.getColumnValue("date_from", dom));
if(mDate1Str != null && mDate1Str.trim().length() > 0)
{
mDate1 = Timestamp.valueOf(genericUtility.getValidDateString(mDate1Str, genericUtility.getApplDateFormat(), genericUtility.getDBDateFormat()) + " 00:00:00.0");
}
mDate2Str = checkNull(genericUtility.getColumnValue("date_to", dom));
if(mDate2Str != null && mDate2Str.trim().length() > 0)
{
mDate2 = Timestamp.valueOf(genericUtility.getValidDateString(mDate2Str, genericUtility.getApplDateFormat(), genericUtility.getDBDateFormat()) + " 00:00:00.0");
}
if(mDate1 != null && mDate2 != null)
{
if(mDate1.before(mDate2) || mDate1.equals(mDate2))
{
if("B".equalsIgnoreCase(tourStarts))
{
if(noDays != utilmethod.DaysAfter(mDate1, mDate2) + 1)
{
noDays = noDays - 0.5;
}
else
{
noDays = utilmethod.DaysAfter(mDate1, mDate2) + 1 - 0.5;
}
}
else
{
if(noDays != utilmethod.DaysAfter(mDate1, mDate2) + 1)
{
noDays = noDays + 0.5;
}
else
{
noDays = utilmethod.DaysAfter(mDate1, mDate2) + 1;
}
}
}
else
{
noDays = utilmethod.DaysAfter(mDate1, mDate2) + 1;
}
}
if(String.valueOf(noDays) == null ||noDays < 0)
{
noDays = 0;
}
valueXmlString.append("<no_days>").append("<![CDATA["+noDays+"]]>").append("</no_days>");
}
else if(currentColumn.trim().equalsIgnoreCase("tour_ends"))
{
System.out.println("::::Inside tour_ends::::");
tourEnds = checkNull(genericUtility.getColumnValue("tour_ends", dom));
noDaysStr = checkNull(genericUtility.getColumnValue("no_days", dom));
if(noDaysStr != null && noDaysStr.trim().length()>0)
{
noDays = Double.parseDouble(noDaysStr);
}
mDate1Str = checkNull(genericUtility.getColumnValue("date_from", dom));
if(mDate1Str != null && mDate1Str.trim().length() > 0)
{
mDate1 = Timestamp.valueOf(genericUtility.getValidDateString(mDate1Str, genericUtility.getApplDateFormat(), genericUtility.getDBDateFormat()) + " 00:00:00.0");
}
mDate2Str = checkNull(genericUtility.getColumnValue("date_to", dom));
if(mDate2Str != null && mDate2Str.trim().length() > 0)
{
mDate2 = Timestamp.valueOf(genericUtility.getValidDateString(mDate2Str, genericUtility.getApplDateFormat(), genericUtility.getDBDateFormat()) + " 00:00:00.0");
}
if(mDate1 != null && mDate2 != null)
{
if(mDate2.after(mDate1) || mDate2.equals(mDate1))
{
if("B".equalsIgnoreCase(tourEnds))
{
if(noDays != utilmethod.DaysAfter(mDate1, mDate2) + 1)
{
noDays = noDays - 0.5;
}
else
{
noDays = utilmethod.DaysAfter(mDate1, mDate2) + 1 - 0.5;
}
}
else
{
if(noDays != utilmethod.DaysAfter(mDate1, mDate2) + 1)
{
noDays = noDays + 0.5;
}
else
{
noDays = utilmethod.DaysAfter(mDate1, mDate2) + 1;
}
}
}
else
{
noDays = utilmethod.DaysAfter(mDate1, mDate2) + 1;
}
}
if(String.valueOf(noDays) == null || noDays < 0)
{
noDays = 0;
}
valueXmlString.append("<no_days>").append("<![CDATA["+noDays+"]]>").append("</no_days>");
}
valueXmlString.append ("</Detail1>\r\n");
}
break;
case 2:
{
System.out.println("****************Inside Case 2 of ItemChange*********************");
parentNodeList = dom.getElementsByTagName("Detail2");
parentNode = parentNodeList.item(0);
childNodeList = parentNode.getChildNodes();
valueXmlString.append("<Detail2>\r\n");
childNodeListLength = childNodeList.getLength();
do
{
childNode = childNodeList.item(ctr);
childNodeName = childNode.getNodeName();
ctr++;
}
while ((ctr < childNodeListLength) && (!childNodeName.equals(currentColumn)));
if(currentColumn.trim().equalsIgnoreCase("itm_default"))
{
System.out.println("::::Inside itm_default case 2::::");
System.out.println("xtraParams ==="+xtraParams);
tourId = checkNull(genericUtility.getColumnValue("tour_id", dom));
System.out.println("tourId---->"+tourId);
valueXmlString.append("<tour_id>").append("<![CDATA["+tourId+"]]>").append("</tour_id>");
lineStr = checkNull(genericUtility.getColumnValue("line_no", dom));
System.out.println("lineStr---->"+lineStr);
if(lineStr != null && lineStr.trim().length() > 0)
{
liLine = Long.parseLong(lineStr);
}
if(liLine > 0)
{
valueXmlString.append("<line_no>").append("<![CDATA["+liLine+"]]>").append("</line_no>");
}
valueXmlString.append("<mode_travel>").append("<![CDATA[Road]]>").append("</mode_travel>");
}
else if(currentColumn.trim().equalsIgnoreCase("line_no__plan"))
{
System.out.println("::::Inside line_no__plan::::");
mCode = checkNull(genericUtility.getColumnValue("plan_id", dom1));
System.out.println("plan_id dom:::::"+mCode);
mCode1 = checkNull(genericUtility.getColumnValue("line_no__plan", dom));
System.out.println("line_no__plan:::::"+mCode1);
sql = "select stan_code,to_place,date_from,date_to,purpose from tourplandet where plan_id = ? and line_no = ?";
pstmt= conn.prepareStatement(sql);
pstmt.setString(1,mCode);
pstmt.setString(2,mCode1);
rs = pstmt.executeQuery();
if(rs.next())
{
mstancd = checkNull(rs.getString("stan_code"));
mplace = checkNull(rs.getString("to_place"));
mdtfr = rs.getTimestamp("date_from");
mdtto = rs.getTimestamp("date_to");
mpurpose = checkNull(rs.getString("purpose"));
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
valueXmlString.append("<stan_code>").append("<![CDATA["+mstancd+"]]>").append("</stan_code>");
valueXmlString.append("<to_place>").append("<![CDATA["+mplace+"]]>").append("</to_place>");
if(mdtfr != null)
{
mdtfrStr = genericUtility.getValidDateString(mdtfr, genericUtility.getApplDateFormat());
}
valueXmlString.append("<date_from>").append("<![CDATA["+mdtfrStr+"]]>").append("</date_from>");
if(mdtto != null)
{
mdttoStr = genericUtility.getValidDateString(mdtto, genericUtility.getApplDateFormat());
}
valueXmlString.append("<date_to>").append("<![CDATA["+mdttoStr+"]]>").append("</date_to>");
valueXmlString.append("<purpose>").append("<![CDATA["+mpurpose+"]]>").append("</purpose>");
valueXmlString.append("<mode_travel>").append("<![CDATA["+mroad+"]]>").append("</mode_travel>");
}
else if(currentColumn.trim().equalsIgnoreCase("stan_code"))
{
System.out.println("::::Inside stan_code::::");
mCode = checkNull(genericUtility.getColumnValue("stan_code", dom));
sql = "select descr from station where stan_code = ?";
pstmt= conn.prepareStatement(sql);
pstmt.setString(1,mCode);
rs = pstmt.executeQuery();
if(rs.next())
{
mdescr = checkNull(rs.getString("descr"));
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
valueXmlString.append("<to_place>").append("<![CDATA["+mdescr+"]]>").append("</to_place>");
}
valueXmlString.append ("</Detail2>\r\n");
}
break;
}
valueXmlString.append("</Root>");
}
catch (Exception e)
{
e.printStackTrace();
System.out.println("Exception :TourIC [itemChanged(String xmlString)] : ==>\n" + e.getMessage());
throw new ITMException(e);
}
finally
{
try
{
if (conn != null)
{
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
conn.close();
conn = null;
}
}
catch (Exception e)
{
System.out.println("Exception ::" + e);
e.printStackTrace();
throw new ITMException(e);
}
}
return valueXmlString.toString();
}
public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext, String editFlag,
String xtraParams) throws RemoteException, ITMException
{
System.out.println("xmlString::::::::::::"+xmlString);
Document dom = null;
Document dom1 = null;
Document dom2 = null;
String errString = "";
E12GenericUtility genericUtility = null;
try
{
genericUtility = new E12GenericUtility();
if (xmlString != null && xmlString.trim().length() != 0)
{
dom = genericUtility.parseString(xmlString);
System.out.println("Print dom>>>> " + dom);
}
if (xmlString1 != null && xmlString1.trim().length() != 0)
{
dom1 = genericUtility.parseString(xmlString1);
}
if (xmlString2 != null && xmlString2.trim().length() != 0)
{
dom2 = genericUtility.parseString(xmlString2);
}
errString = wfValData(dom, dom1, dom2, objContext, editFlag, xtraParams);
System.out.println("ErrString :" + errString);
}
catch (Exception e)
{
System.out.println("Exception :TourIC :wfValData(String xmlString):" + e.getMessage() + ":");
errString = genericUtility.createErrorString(e);
e.printStackTrace();
throw new ITMException(e);
}
System.out.println("returning from TourIC wfvaldata");
return errString;
}
public String wfValData(Document dom, Document dom1, Document dom2,String objContext, String editFlag, String xtraParams)
throws RemoteException, ITMException
{
NodeList parentNodeList = null;
NodeList childNodeList = null;
Node parentNode = null;
Node childNode = null;
String userId="";
String errString = "";
int mLevl = 0;
String childNodeName = null,childNodeValue = null;
int cnt = 0,currentFormNo = 0,childNodeListLength = 0,ctr=0;
String sql= "";
String errCode = "",msgType= "";
ArrayList<String> errList = new ArrayList<String>();
ArrayList<String> errFields = new ArrayList<String>();
String errorType = "";
String errFldName="";
String loginSiteCode = "";
StringBuffer errStringXml = new StringBuffer("<?xml version = \"1.0\"?> \r\n <Root> <Errors>");
Connection conn = null;
PreparedStatement pstmt = null;
ResultSet rs = null;
String lsStatus = "";
String mtpemp = "";
String empCode = "";
String mVal = "";
String planId = "";
String noDays = "";
String mDate1Str = "";
String mDate2Str = "";
String mDate3Str = "";
String tourStarts = "";
String tourEnds = "";
String lsSite = "";
String lineNo = "";
Timestamp mDate = null;
Timestamp mDate1 = null;
Timestamp mDate2 = null;
Timestamp mDate3 = null;
Timestamp ldRel = null;
double lval = 0.0;
double lval1 = 0.0;
try
{
conn = getConnection();
userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginCode");
loginSiteCode = this.genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginSiteCode");
if(objContext != null && objContext.trim().length()>0)
{
currentFormNo = Integer.parseInt(objContext);
}
System.out.println(" ***********Validation for Tour "+currentFormNo + " ***********");
sql = "select usr_lev from users where code = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, userId);
rs = pstmt.executeQuery();
if(rs.next())
{
mLevl = rs.getInt("usr_lev");
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
switch(currentFormNo)
{
case 1 :
{
System.out.println("Validation for Detail 1 Loans Opening..........");
parentNodeList = dom.getElementsByTagName("Detail1");
parentNode = parentNodeList.item(0);
childNodeList = parentNode.getChildNodes();
childNodeListLength = childNodeList.getLength();
System.out.println("child Node List Length::::::"+childNodeListLength);
for(ctr = 0; ctr < childNodeListLength; ctr++)
{
childNode = childNodeList.item(ctr);
System.out.println("childNode"+childNode);
if( childNode.getNodeType() != Node.ELEMENT_NODE )
{
continue;
}
childNodeName = childNode.getNodeName();
if(childNode.getFirstChild()!= null)
{
childNodeValue = childNode.getFirstChild().getNodeValue();
}
if(childNodeName.equalsIgnoreCase("emp_code"))
{
System.out.println(":::Inside emp_code Validation:::");
empCode = genericUtility.getColumnValue("emp_code", dom);
sql = "select count(*) as cnt from employee where emp_code = ? and work_site = (case when ? > 1 then ? else work_site end)";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,empCode);
pstmt.setInt(2,mLevl);
pstmt.setString(3,loginSiteCode);
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("VMEMP1");
errFields.add(childNodeName.toLowerCase());
errorType = errorType(conn, "VMEMP1");
if(errorType.equalsIgnoreCase("E"))
{
break;
}
}
sql = "select status from employee where emp_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,empCode);
rs = pstmt.executeQuery();
if (rs.next())
{
lsStatus = checkNull(rs.getString("status"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if("S".equalsIgnoreCase(lsStatus))
{
errList.add("VTSEPEMP");
errFields.add(childNodeName.toLowerCase());
errorType = errorType(conn, "VTSEPEMP");
if(errorType.equalsIgnoreCase("E"))
{
break;
}
}
planId = genericUtility.getColumnValue("plan_id", dom);
if(planId != null && planId.trim().length() > 0)
{
sql = "select emp_code from tourplan where plan_id = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,planId);
rs = pstmt.executeQuery();
if (rs.next())
{
mtpemp = checkNull(rs.getString("emp_code"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
System.out.println("planId :::"+planId);
System.out.println("emp_code :::"+mtpemp);
if(!planId.equalsIgnoreCase(mtpemp))
{
errList.add("VTEMPNF");
errFields.add(childNodeName.toLowerCase());
errorType = errorType(conn, "VTEMPNF");
if(errorType.equalsIgnoreCase("E"))
{
break;
}
}
}
}
else if(childNodeName.equalsIgnoreCase("emp_code__appr"))
{
System.out.println(":::Inside emp_code__appr Validation:::");
mVal = genericUtility.getColumnValue("emp_code__appr", dom);
cnt = 0;
if(mVal != null && mVal.trim().length() > 0)
{
sql = "select count(*) as cnt from employee where emp_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,mVal);
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("VMEMP1");
errFields.add(childNodeName.toLowerCase());
errorType = errorType(conn, "VMEMP1");
if(errorType.equalsIgnoreCase("E"))
{
break;
}
}
}
}
else if(childNodeName.equalsIgnoreCase("no_days"))
{
System.out.println(":::Inside no_days Validation:::");
noDays =checkNull(genericUtility.getColumnValue("no_days", dom));
if(noDays != null && noDays.trim().length() > 0)
{
lval = Double.parseDouble(noDays);
}
if(lval <= 0)
{
errList.add("VTTOUR0003");
errFields.add(childNodeName.toLowerCase());
errorType = errorType(conn, "VTTOUR0003");
if(errorType.equalsIgnoreCase("E"))
{
break;
}
}
else
{
mDate1Str = checkNull(genericUtility.getColumnValue("date_from", dom));
if(mDate1Str != null && mDate1Str.trim().length() > 0)
{
mDate1 = Timestamp.valueOf(genericUtility.getValidDateString(mDate1Str, genericUtility.getApplDateFormat(), genericUtility.getDBDateFormat()) + " 00:00:00.0");
}
mDate2Str = checkNull(genericUtility.getColumnValue("date_to", dom));
if(mDate2Str != null && mDate2Str.trim().length() > 0)
{
mDate2 = Timestamp.valueOf(genericUtility.getValidDateString(mDate2Str, genericUtility.getApplDateFormat(), genericUtility.getDBDateFormat()) + " 00:00:00.0");
}
tourStarts = checkNull(genericUtility.getColumnValue("tour_starts", dom));
tourEnds = checkNull(genericUtility.getColumnValue("tour_ends", dom));
if("B".equalsIgnoreCase(tourStarts) && "B".equalsIgnoreCase(tourEnds))
{
if(mDate1 != null && mDate2 != null)
{
lval1 = utilmethod.DaysAfter(mDate1, mDate2) - 1;
}
}
else if("B".equalsIgnoreCase(tourStarts) || "B".equalsIgnoreCase(tourEnds))
{
if(mDate1 != null && mDate2 != null)
{
lval1 = utilmethod.DaysAfter(mDate1, mDate2) - 0.5;
}
}
else
{
if(mDate1 != null && mDate2 != null)
{
lval1 = utilmethod.DaysAfter(mDate1, mDate2);
}
}
if(lval <= lval1 || lval > lval1 +1)
{
errList.add("VTTOUR1");
errFields.add(childNodeName.toLowerCase());
errorType = errorType(conn, "VTTOUR1");
if(errorType.equalsIgnoreCase("E"))
{
break;
}
}
else if(lval == 0)
{
errList.add("VTNODAYS");
errFields.add(childNodeName.toLowerCase());
errorType = errorType(conn, "VTNODAYS");
if(errorType.equalsIgnoreCase("E"))
{
break;
}
}
}
}
else if(childNodeName.equalsIgnoreCase("plan_id"))
{
System.out.println(":::Inside plan_id Validation:::");
planId = checkNull(genericUtility.getColumnValue("plan_id", dom));
if(planId != null && planId.trim().length() > 0)
{
sql = "select count(*) as cnt from tourplan where plan_id = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,planId);
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("VMPLANID");
errFields.add(childNodeName.toLowerCase());
errorType = errorType(conn, "VMPLANID");
if(errorType.equalsIgnoreCase("E"))
{
break;
}
}
}
}
else if(childNodeName.equalsIgnoreCase("date_to"))
{
System.out.println(":::Inside date_to Validation:::");
empCode = checkNull(genericUtility.getColumnValue("emp_code", dom));
mDate2Str = checkNull(genericUtility.getColumnValue("date_to", dom));
System.out.println("mDate2Str---->"+mDate2Str);
if(mDate2Str != null && mDate2Str.trim().length() > 0)
{
mDate2 = Timestamp.valueOf(genericUtility.getValidDateString(mDate2Str, genericUtility.getApplDateFormat(), genericUtility.getDBDateFormat()) + " 00:00:00.0");
System.out.println("mDate2---->"+mDate2);
}
sql = "select relieve_date from employee where emp_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,empCode);
rs = pstmt.executeQuery();
if (rs.next())
{
ldRel = rs.getTimestamp("relieve_date");
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(ldRel != null && mDate2 != null && mDate2.after(ldRel))
{
errList.add("VTRELDT");
errFields.add(childNodeName.toLowerCase());
errorType = errorType(conn, "VTRELDT");
if(errorType.equalsIgnoreCase("E"))
{
break;
}
}
System.out.println("--after relive date---");
mDate1Str = checkNull(genericUtility.getColumnValue("date_from", dom));
if(mDate1Str != null && mDate1Str.trim().length() > 0)
{
mDate1 = Timestamp.valueOf(genericUtility.getValidDateString(mDate1Str, genericUtility.getApplDateFormat(), genericUtility.getDBDateFormat()) + " 00:00:00.0");
System.out.println("mDate1---->"+mDate1);
}
if(mDate1 == null || mDate2 == null)
{
errList.add("VEDATE");
errFields.add(childNodeName.toLowerCase());
errorType = errorType(conn, "VEDATE");
if(errorType.equalsIgnoreCase("E"))
{
break;
}
}
else
{
mDate = mDate1;
cnt = 0;
do
{
sql = "select count(*) as cnt from tour where emp_code = ? and ? between date_from and date_to and status = 'A'";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,empCode);
pstmt.setTimestamp(2,mDate);
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("VTTOUR");
errFields.add(childNodeName.toLowerCase());
errorType = errorType(conn, "VTTOUR");
if(errorType.equalsIgnoreCase("E"))
{
break;
}
}
if(mDate != null && mDate2 != null)
{
if(mDate.after(mDate2) || mDate.equals(mDate2)) //if mdate >= mdate2 then
{
break;
}
mDate = utilmethod.RelativeDate(mDate, 1);
}
} while (true);
}
}
}
break;
}
case 2:
{
System.out.println("Validation for Detail 2 Loans Opening..........");
parentNodeList = dom.getElementsByTagName("Detail2");
parentNode = parentNodeList.item(0);
childNodeList = parentNode.getChildNodes();
childNodeListLength = childNodeList.getLength();
for(ctr = 0; ctr < childNodeListLength; ctr++)
{
childNode = childNodeList.item(ctr);
System.out.println("childNode"+childNode);
if( childNode.getNodeType() != Node.ELEMENT_NODE )
{
continue;
}
childNodeName = childNode.getNodeName();
if(childNodeName.equalsIgnoreCase("to_place"))
{
System.out.println(":::Inside to_place Validation:::");
mVal = checkNull(genericUtility.getColumnValue("to_place", dom));
if(mVal == null || mVal.trim().length() == 0)
{
errList.add("VTTOUR0004");
errFields.add(childNodeName.toLowerCase());
errorType = errorType(conn, "VTTOUR0004");
if(errorType.equalsIgnoreCase("E"))
{
break;
}
}
}
else if(childNodeName.equalsIgnoreCase("date_from"))
{
System.out.println(":::Inside date_from Validation:::");
empCode = checkNull(genericUtility.getColumnValue("emp_code", dom));
sql = "select work_site from employee where emp_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,empCode);
rs = pstmt.executeQuery();
if (rs.next())
{
lsSite = checkNull(rs.getString("work_site"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
mDate1Str = checkNull(genericUtility.getColumnValue("date_from", dom));
System.out.println("mDate1Str---->>"+mDate1Str);
if(mDate1Str != null && mDate1Str.trim().length() > 0)
{
mDate1 = Timestamp.valueOf(genericUtility.getValidDateString(mDate1Str, genericUtility.getApplDateFormat(), genericUtility.getDBDateFormat()) + " 00:00:00.0");
errCode = finCommon.nfCheckPeriod("ADM", mDate1, lsSite, conn);
}
if(errCode == null || errCode.trim().length() == 0)
{
if(mDate1 == null)
{
mDate2Str = checkNull(genericUtility.getColumnValue("date_from", dom));
mDate1 = Timestamp.valueOf(genericUtility.getValidDateString(mDate2Str, genericUtility.getApplDateFormat(), genericUtility.getDBDateFormat()) + " 00:00:00.0");
mDate3Str = checkNull(genericUtility.getColumnValue("date_to", dom));
mDate3 = Timestamp.valueOf(genericUtility.getValidDateString(mDate3Str, genericUtility.getApplDateFormat(), genericUtility.getDBDateFormat()) + " 00:00:00.0");
if(mDate1.after(mDate2) || mDate1.equals(mDate2))
{
if(mDate1.after(mDate3))
{
errList.add("VTDTFR1");
errFields.add(childNodeName.toLowerCase());
errorType = errorType(conn, "VTDTFR1");
if(errorType.equalsIgnoreCase("E"))
{
break;
}
}
}
else
{
errList.add("VTDTFR1");
errFields.add(childNodeName.toLowerCase());
errorType = errorType(conn, "VTDTFR1");
if(errorType.equalsIgnoreCase("E"))
{
break;
}
}
}
else
{
errList.add("VMDTNUL1");
errFields.add(childNodeName.toLowerCase());
errorType = errorType(conn, "VMDTNUL1");
if(errorType.equalsIgnoreCase("E"))
{
break;
}
}
}
}
else if(childNodeName.equalsIgnoreCase("line_no__plan"))
{
System.out.println(":::Inside line_no__plan Validation:::");
lineNo = checkNull(genericUtility.getColumnValue("line_no__plan", dom));
System.out.println("lineNo -->"+lineNo);
if(lineNo != null && lineNo.trim().length() > 0)
{
lval = Double.parseDouble(lineNo);
}
planId = checkNull(genericUtility.getColumnValue("plan_id", dom1));
System.out.println("planId -->"+planId);
if(String.valueOf(lval) != null)
{
sql = "select count(*) as cnt from Tourplandet where plan_id = ? and line_no = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,planId);
pstmt.setDouble(2,lval);
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("VMPLANLINE");
errFields.add(childNodeName.toLowerCase());
errorType = errorType(conn, "VMPLANLINE");
if(errorType.equalsIgnoreCase("E"))
{
break;
}
}
}
}
else if(childNodeName.equalsIgnoreCase("date_to"))
{
System.out.println(":::Inside date_to Validation form 2:::");
empCode = checkNull(genericUtility.getColumnValue("emp_code", dom));
mDate2Str = checkNull(genericUtility.getColumnValue("date_to", dom));
System.out.println("Dom 1 mDate2Str --> "+mDate2Str);
if(mDate2Str != null && mDate2Str.trim().length() > 0)
{
mDate2 = Timestamp.valueOf(genericUtility.getValidDateString(mDate2Str, genericUtility.getApplDateFormat(), genericUtility.getDBDateFormat()) + " 00:00:00.0");
}
mDate1Str = checkNull(genericUtility.getColumnValue("date_to", dom1));
System.out.println("mDate1Str --> "+mDate1Str);
if(mDate1Str != null && mDate1Str.trim().length() > 0)
{
mDate1 = Timestamp.valueOf(genericUtility.getValidDateString(mDate1Str, genericUtility.getApplDateFormat(), genericUtility.getDBDateFormat()) + " 00:00:00.0");
}
sql = "select work_site from employee where emp_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,empCode);
rs = pstmt.executeQuery();
if (rs.next())
{
lsSite = checkNull(rs.getString("work_site"));
if(mDate1 != null)
{
errCode = admCommon.gbfEmp(empCode, mDate1, lsSite, loginSiteCode, conn);
}
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(mDate1 != null && mDate2 != null)
{
mDate3Str = checkNull(genericUtility.getColumnValue("date_from", dom));
if(mDate3Str != null && mDate3Str.trim().length() > 0)
{
mDate3 = Timestamp.valueOf(genericUtility.getValidDateString(mDate3Str, genericUtility.getApplDateFormat(), genericUtility.getDBDateFormat()) + " 00:00:00.0");
}
if(mDate1.before(mDate2) || mDate1.equals(mDate2) && mDate3 != null)
{
if(mDate1.before(mDate3))
{
errList.add("VTDTFR1");
errFields.add(childNodeName.toLowerCase());
errorType = errorType(conn, "VTDTFR1");
if(errorType.equalsIgnoreCase("E"))
{
break;
}
}
}
else
{
errList.add("VTDTFR1");
errFields.add(childNodeName.toLowerCase());
errorType = errorType(conn, "VTDTFR1");
if(errorType.equalsIgnoreCase("E"))
{
break;
}
}
}
else
{
errList.add("VMDTNUL1");
errFields.add(childNodeName.toLowerCase());
errorType = errorType(conn, "VMDTNUL1");
if(errorType.equalsIgnoreCase("E"))
{
break;
}
}
}
}
break;
}
}
int errListSize = errList.size();
System.out.println("errListSize:::::::["+errListSize+"]");
if ( errList != null && errListSize > 0 )
{
System.out.println("in error::::::::::");
for (int i = 0; i < errListSize; i++ )
{
System.out.println("in error For:::::::::::::::");
errCode = (String)errList.get(i);
errFldName = (String)errFields.get(i);
System.out.println("errCode .........."+errCode);
errString = getErrorString( errFldName, errCode, userId );
System.out.println("errString is : ::::>>>> " + errString);
msgType = errorType( conn , errCode );
if ( errString.length() > 0)
{
String bifurErrString = errString.substring( errString.indexOf("<Errors>") + 8,errString.indexOf("<trace>"));
bifurErrString =bifurErrString+errString.substring( errString.indexOf("</trace>") + 8,errString.indexOf("</Errors>"));
errStringXml.append(bifurErrString);
System.out.println("errStringXml .........."+errStringXml);
errString = "";
}
if ( msgType.equalsIgnoreCase("E"))
{
break;
}
}
errList.clear();
errList = null;
errFields.clear();
errFields = null;
errStringXml.append("</Errors></Root>\r\n");
}
else
{
errStringXml = new StringBuffer( "" );
}
errString = errStringXml.toString();
}
catch (Exception e)
{
System.out.println("Exception :: " + e);
e.printStackTrace();
errString=e.getMessage();
throw new ITMException(e);
}
finally
{
try
{
if(conn != null)
{
conn.close();
conn = null;
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
}
catch(Exception d)
{
d.printStackTrace();
}
System.out.println("TourIC Validation End and Connection is Closed");
}
return errString;
}
private String errorType(Connection conn, String errorCode) throws ITMException
{
String msgType = "";
PreparedStatement pstmt = null;
ResultSet rs = null;
try
{
if (conn == null)
{
System.out.println("Connection is null");
} else
{
System.out.println("Connection is not null");
}
String sql = " SELECT MSG_TYPE FROM MESSAGES WHERE MSG_NO = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, errorCode);
rs = pstmt.executeQuery();
if (rs.next())
{
msgType = rs.getString("MSG_TYPE");
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
}
catch (Exception ex)
{
ex.printStackTrace();
throw new ITMException(ex);
}
finally
{
try
{
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
}
catch (Exception e)
{
e.printStackTrace();
throw new ITMException(e);
}
}
return msgType;
}
private String checkNull(String input)
{
return input == null ? "" : input;
}
}
package ibase.webitm.ejb.adm;
import java.rmi.RemoteException;
import org.w3c.dom.Document;
import ibase.webitm.ejb.ValidatorLocal;
import ibase.webitm.utility.ITMException;
public interface TourICLocal extends ValidatorLocal
{
public String itemChanged(String xmlString, String xmlString1, String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged(Document dom, Document dom1,Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String wfValData(String xmlString, String xmlString1,String xmlString2, String objContext, String editFlag,String xtraParams) throws RemoteException,ITMException ;
public String wfValData(Document dom, Document dom1, Document dom2,String objContext, String editFlag, String xtraParams)throws RemoteException, ITMException;
}
package ibase.webitm.ejb.adm;
import java.rmi.RemoteException;
import org.w3c.dom.Document;
import ibase.webitm.ejb.ValidatorRemote;
import ibase.webitm.utility.ITMException;
public interface TourICRemote extends ValidatorRemote
{
public String itemChanged(String xmlString, String xmlString1, String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged(Document dom, Document dom1,Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String wfValData(String xmlString, String xmlString1,String xmlString2, String objContext, String editFlag,String xtraParams) throws RemoteException,ITMException ;
public String wfValData(Document dom, Document dom1, Document dom2,String objContext, String editFlag, String xtraParams)throws RemoteException, ITMException;
}
package ibase.webitm.ejb.adm.adv;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.Timestamp;
import ibase.utility.E12GenericUtility;
import ibase.webitm.ejb.ActionHandlerEJB;
import ibase.webitm.ejb.ITMDBAccessEJB;
import ibase.webitm.ejb.adm.AttendanceProcess;
import ibase.webitm.ejb.sys.UtilMethods;
import ibase.webitm.utility.ITMException;
public class TourApprove extends ActionHandlerEJB implements TourApproveLocal,TourActRemote
{
E12GenericUtility genericUtility = new E12GenericUtility();
ITMDBAccessEJB itmDBAccess = new ITMDBAccessEJB();
UtilMethods utilMethod = new UtilMethods();
String userId = "";
AttendanceProcess AtProcess = new AttendanceProcess();
public String gbfPostLogic(String asTranidFr, String asTranidTo,int aiCommit, String xtraParams, Connection conn)
throws ITMException
{
ResultSet rs = null;
PreparedStatement pstmt = null;
String sql = null;
String errString = "";
String lsTranid = "";
Timestamp ldDate = null;
Timestamp fdate = null;
Timestamp tdate = null;
Timestamp mtoday = null;
Timestamp mdate = null;
Timestamp ldFr = null;
Timestamp ldTo = null;
String mprd = "";
String empCode = "";
String mVal = "";
String status = "";
String lsTourStarts = "";
String lsTourEnds = "";
String termId = "";
String loginEmpCode = "";
int cnt = 0;
int row = 0;
double lcNoDays = 0.0;
try
{
System.out.println("***********Inside Post Logic Method**************");
userId = checkNull(genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginCode"));
termId = checkNull(genericUtility.getValueFromXTRA_PARAMS(xtraParams, "termId"));
loginEmpCode = checkNull(genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginEmpCode"));
mtoday = utilMethod.dateTime(utilMethod.today(), utilMethod.now());
System.out.println("mtoday ===> "+mtoday);
if(asTranidFr.equalsIgnoreCase(asTranidTo))
{
lsTranid = asTranidFr;
}
do
{
sql = "select emp_code, emp_code__appr, status, date_from, date_to, tour_starts, tour_ends from tour where tour_id = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,lsTranid);
rs = pstmt.executeQuery();
if (rs.next())
{
empCode = checkNull(rs.getString("emp_code"));
mVal = checkNull(rs.getString("emp_code__appr"));
status = checkNull(rs.getString("status"));
fdate = rs.getTimestamp("date_from");
tdate = rs.getTimestamp("date_to");
lsTourStarts = checkNull(rs.getString("tour_starts"));
lsTourEnds = checkNull(rs.getString("tour_ends"));
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
System.out.println("status--->"+status);
if(!"U".equalsIgnoreCase(status))
{
System.out.println("status if not U--->"+status);
if("C".equalsIgnoreCase(status))
{
System.out.println("status if C--->"+status);
errString=checkNull(itmDBAccess.getErrorString("", "VTCANC02", userId, "", conn));
break;
}
else
{
errString=checkNull(itmDBAccess.getErrorString("", "VTAPPR02", userId, "", conn));
break;
}
}
ldDate = fdate;
do
{
sql = "select count(*) as cnt from tour where emp_code = ? and ? between date_from and date_to and status = 'A'";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,empCode);
pstmt.setTimestamp(2,ldDate);
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)
{
errString=checkNull(itmDBAccess.getErrorString("", "VTTOUR", userId, "", conn));
break;
}
if(ldDate.equals(tdate))
{
break;
}
ldDate = utilMethod.RelativeDate(ldDate, 1);
} while (true);
if(errString != null && errString.trim().length() > 0)
{
return errString;
}
mdate = fdate;
do
{
sql = "select code, fr_date, to_date from period where fr_date <= ? and to_date >= ?";
pstmt = conn.prepareStatement(sql);
pstmt.setTimestamp(1,mdate);
pstmt.setTimestamp(2,mdate);
rs = pstmt.executeQuery();
if (rs.next())
{
mprd = checkNull(rs.getString("code"));
ldFr = rs.getTimestamp("fr_date");
ldTo = rs.getTimestamp("to_date");
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(ldTo.after(tdate))
{
ldTo = tdate;
}
lcNoDays = utilMethod.DaysAfter(mdate, ldTo) + 1;
if((mdate.equals(fdate)) && ("B".equalsIgnoreCase(lsTourStarts)));
{
lcNoDays = lcNoDays - 0.5;
}
if((ldTo.equals(tdate)) && ("B".equalsIgnoreCase(lsTourEnds)));
{
lcNoDays = lcNoDays - 0.5;
}
sql = "insert into tour_summary (emp_code, fr_date, to_date, no_days, prd_code, chg_date, chg_user, chg_term)"
+" values ( ? , ? , ? , ? , ? , ? , ? , ?)";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,empCode);
pstmt.setTimestamp(2,fdate);
pstmt.setTimestamp(3,tdate);
pstmt.setDouble(4,lcNoDays);
pstmt.setString(5,mprd);
pstmt.setTimestamp(6,mtoday);
pstmt.setString(7,userId);
pstmt.setString(8,termId);
row = pstmt.executeUpdate();
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
mdate = utilMethod.RelativeDate(ldTo, 1);
} while (mdate.before(tdate) || mdate.equals(tdate));
if(errString != null && errString.trim().length() > 0)
{
return errString;
}
row = 0;
sql = "update tour set status = 'A', emp_code__appr = ?, aprv_date = ? where tour_id = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,loginEmpCode);
pstmt.setTimestamp(2,mtoday);
pstmt.setString(3,lsTranid);
row = pstmt.executeUpdate();
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(row == 0)
{
errString=checkNull(itmDBAccess.getErrorString("", "DS000NR", userId, "", conn));
break;
}
errString = AtProcess.gbfAutoAttdProc(empCode, fdate, tdate, 2 ,xtraParams, conn);
System.out.println("----After errString----");
if(utilMethod.pos(errString, "<Errors") > 0)
{
return errString;
}
else
{
errString = "";
break;
}
} while (true);
}
catch (Exception e)
{
e.printStackTrace();
throw new ITMException(e);
}
finally
{
try
{
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
}
catch(Exception e1)
{
e1.printStackTrace();
}
}
return errString;
}
private String checkNull(String input)
{
if (input == null)
{
input = "";
}
return input;
}
}
package ibase.webitm.ejb.adm.adv;
import java.rmi.RemoteException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.Timestamp;
import ibase.webitm.ejb.ActionHandlerEJB;
import ibase.webitm.ejb.ITMDBAccessEJB;
import ibase.webitm.ejb.sys.UtilMethods;
import ibase.webitm.utility.ITMException;
public class TourApproveErp extends ActionHandlerEJB implements TourApproveErpLocal,TourApproveErpRemote
{
TourApprove tourApprove = new TourApprove();
ITMDBAccessEJB itmDBAccess = new ITMDBAccessEJB();
UtilMethods utilMethod = new UtilMethods();
String userId = "";
public String actionHandler(String tranId, String xtraParams, String forcedFlag) throws RemoteException,ITMException
{
String retString = null;
String retErrString = "";
int aiCommit = 0;
Connection conn = null;
try
{
conn = getConnection();
System.out.println("Conn==>[" + conn + "]");
retErrString = gbfPostLogic(tranId, tranId, aiCommit, xtraParams, conn);
System.out.println("returning String from TourApproveErp :actionHandler():==>[" + retErrString + "]");
if(retErrString == null || retErrString.trim().length() == 0)
{
conn.commit();
retString = itmDBAccess.getErrorString("", "VTAPPROVE", userId, "", conn);
}
else
{
conn.rollback();
retString = retErrString;
return retString;
}
}
catch(Exception e)
{
System.out.println("Exception :TourApproveErp :actionHandler() :" + e.getMessage() + ":");
e.printStackTrace();
throw new ITMException(e);
}
finally
{
try
{
if(conn != null)
{
conn.close();
conn = null;
}
}
catch (Exception e)
{
e.printStackTrace();
}
}
return retString;
}
public String gbfPostLogic(String asTranidFr, String asTranidTo, int aiCommit, String xtraParams, Connection conn)
throws ITMException
{
ResultSet rs = null;
PreparedStatement pstmt = null;
String sql = null;
String errString = "";
String lsTranid = "";
String status = "";
String isErrxml = "";
Timestamp ldtCurrdate = null;
int cnt = 0;
int rowCnt = 0;
try
{
System.out.println("***********Inside Post Logic Method of TourApproveErp**************");
if(asTranidFr.equalsIgnoreCase(asTranidTo))
{
lsTranid = asTranidFr;
sql = "select status from tour where tour_id = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,lsTranid);
rs = pstmt.executeQuery();
if (rs.next())
{
status = checkNull(rs.getString("status"));
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
if("C".equalsIgnoreCase(status) || "X".equalsIgnoreCase(status))
{
errString=checkNull(itmDBAccess.getErrorString("", "VTCANC02", userId, "", conn));
return errString;
}
if("O".equalsIgnoreCase(status))
{
errString=checkNull(itmDBAccess.getErrorString("", "VTTOUR0001", userId, "", conn));
return errString;
}
if("A".equalsIgnoreCase(status))
{
errString=checkNull(itmDBAccess.getErrorString("", "VTAPPR02", userId, "", conn));
return errString;
}
isErrxml = tourApprove.gbfPostLogic(asTranidFr, asTranidTo, aiCommit, xtraParams, conn);
sql = "select status from tour where tour_id = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,lsTranid);
rs = pstmt.executeQuery();
if (rs.next())
{
status = checkNull(rs.getString("status"));
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
if("A".equalsIgnoreCase(status))
{
ldtCurrdate = utilMethod.dateTime(utilMethod.today(), utilMethod.now());
sql = "select count(1) as cnt from wf_prc_status where ref_ser in ('E-TOUR','E-TURP') and ref_id = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,lsTranid);
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)
{
sql = "update obj_sign_trans set SIGN_DATE = ? , SIGN_STATUS = 'S' , SIGN_REMARKS = 'Tour Approved' "+
"where ref_ser in ('E-TOUR','E-TURP') and ref_id = ? and sign_status = 'U'";
pstmt = conn.prepareStatement(sql);
pstmt.setTimestamp(1,ldtCurrdate);
pstmt.setString(2,lsTranid);
rowCnt = pstmt.executeUpdate();
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(rowCnt > 0)
{
rowCnt = 0;
sql = "update wf_prc_status set process_status = '9' , status_remarks = 'Tour is approved from ERP' "+
"where ref_ser in ('E-TOUR','E-TURP') and ref_id = ? and process_status < 3";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,lsTranid);
rowCnt = pstmt.executeUpdate();
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(rowCnt > 0)
{
rowCnt = 0;
sql = "update tour set WRKFLW_STATUS = 'ZZ' where tour_id = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,lsTranid);
rowCnt = pstmt.executeUpdate();
}
else
{
errString=checkNull(itmDBAccess.getErrorString("", "DS000", userId, "", conn));
return errString;
}
}
else
{
errString=checkNull(itmDBAccess.getErrorString("", "DS000", userId, "", conn));
return errString;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(errString.trim().length() > 0)
{
conn.rollback();
}
else
{
conn.commit();
}
}
}
}
}
catch (Exception e)
{
e.printStackTrace();
throw new ITMException(e);
}
finally
{
try
{
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
}
catch(Exception e1)
{
e1.printStackTrace();
}
}
return isErrxml;
}
private String checkNull(String input)
{
if (input == null)
{
input = "";
}
return input;
}
}
package ibase.webitm.ejb.adm.adv;
import java.sql.Connection;
import ibase.webitm.ejb.ActionHandlerLocal;
import ibase.webitm.utility.ITMException;
public interface TourApproveErpLocal extends ActionHandlerLocal
{
public String gbfPostLogic(String asTranidFr, String asTranidTo,int aiCommit, String xtraParams,Connection conn) throws ITMException;
}
package ibase.webitm.ejb.adm.adv;
import java.sql.Connection;
import ibase.webitm.ejb.ActionHandlerRemote;
import ibase.webitm.utility.ITMException;
public interface TourApproveErpRemote extends ActionHandlerRemote
{
public String gbfPostLogic(String asTranidFr, String asTranidTo,int aiCommit, String xtraParams,Connection conn) throws ITMException;
}
package ibase.webitm.ejb.adm.adv;
import java.sql.Connection;
import ibase.webitm.ejb.ActionHandlerLocal;
import ibase.webitm.utility.ITMException;
public interface TourApproveLocal extends ActionHandlerLocal
{
public String gbfPostLogic(String asTranidFr, String asTranidTo,int aiCommit, String xtraParams,Connection conn) throws ITMException;
}
package ibase.webitm.ejb.adm.adv;
import java.sql.Connection;
import ibase.webitm.ejb.ActionHandlerRemote;
import ibase.webitm.utility.ITMException;
public interface TourApproveRemote extends ActionHandlerRemote
{
public String gbfPostLogic(String asTranidFr, String asTranidTo,int aiCommit, String xtraParams,Connection conn) throws ITMException;
}
package ibase.webitm.ejb.adm.adv;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.Timestamp;
import ibase.utility.E12GenericUtility;
import ibase.webitm.ejb.ActionHandlerEJB;
import ibase.webitm.ejb.ITMDBAccessEJB;
import ibase.webitm.ejb.adm.AttendanceProcess;
import ibase.webitm.ejb.sys.UtilMethods;
import ibase.webitm.utility.ITMException;
public class TourCnc extends ActionHandlerEJB implements TourCncLocal,TourCncRemote
{
E12GenericUtility genericUtility = new E12GenericUtility();
ITMDBAccessEJB itmDBAccess = new ITMDBAccessEJB();
UtilMethods utilMethod = new UtilMethods();
AttendanceProcess AtProcess = new AttendanceProcess();
String userId = "";
public String gbfPostLogic(String asTranidFr, String asTranidTo, int aiCommit, String xtraParams, Connection conn)
throws ITMException
{
ResultSet rs = null;
PreparedStatement pstmt = null;
String sql = null;
String errString = "";
String lsTourId = "";
String empCode = "";
String status = "";
Timestamp ldFr = null;
Timestamp ldTo = null;
int row = 0;
try
{
System.out.println("*********** Inside Post Logic Method of TourCnc **************");
userId = checkNull(genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginCode"));
if(asTranidFr.equalsIgnoreCase(asTranidTo))
{
lsTourId = asTranidFr;
}
sql = "select emp_code, date_from, date_to, status from tour where tour_id = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,lsTourId);
rs = pstmt.executeQuery();
if (rs.next())
{
empCode = checkNull(rs.getString("emp_code"));
ldFr = rs.getTimestamp("date_from");
ldTo = rs.getTimestamp("date_to");
status = checkNull(rs.getString("status"));
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
if("A".equalsIgnoreCase(status))
{
sql = "delete from tour_summary where emp_code = ? and fr_date = ? and to_date = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,empCode);
pstmt.setTimestamp(2,ldFr);
pstmt.setTimestamp(3,ldTo);
row = pstmt.executeUpdate();
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
}
else if("C".equalsIgnoreCase(status))
{
errString=checkNull(itmDBAccess.getErrorString("", "VTCANC02", userId, "", conn));
return errString;
}
row = 0;
sql = "update tour set status = 'C' where tour_id = ? and emp_code = ? and date_from = ? and date_to = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,lsTourId);
pstmt.setString(2,empCode);
pstmt.setTimestamp(3,ldFr);
pstmt.setTimestamp(4,ldTo);
row = pstmt.executeUpdate();
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(row == 0)
{
errString=checkNull(itmDBAccess.getErrorString("", "DS000NR", userId, "", conn));
return errString;
}
else if("A".equalsIgnoreCase(status))
{
errString = AtProcess.gbfAutoAttdProc(empCode, ldFr, ldTo, 2 ,xtraParams, conn);
if(utilMethod.pos(errString, "<Errors") > 0)
{
return errString;
}
else
{
errString = "";
}
}
}
catch (Exception e)
{
e.printStackTrace();
throw new ITMException(e);
}
finally
{
try
{
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
}
catch(Exception e1)
{
e1.printStackTrace();
}
}
return null;
}
private String checkNull(String input)
{
if (input == null)
{
input = "";
}
return input;
}
}
package ibase.webitm.ejb.adm.adv;
import java.rmi.RemoteException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.Timestamp;
import ibase.utility.E12GenericUtility;
import ibase.webitm.ejb.ActionHandlerEJB;
import ibase.webitm.ejb.ITMDBAccessEJB;
import ibase.webitm.ejb.adm.AttendanceProcess;
import ibase.webitm.ejb.sys.UtilMethods;
import ibase.webitm.utility.ITMException;
public class TourCncErp extends ActionHandlerEJB implements TourCncErpLocal,TourCncErpRemote
{
TourCnc tourCnc = new TourCnc();
E12GenericUtility genericUtility = new E12GenericUtility();
ITMDBAccessEJB itmDBAccess = new ITMDBAccessEJB();
UtilMethods utilMethod = new UtilMethods();
AttendanceProcess AtProcess = new AttendanceProcess();
String userId = "";
public String actionHandler(String tranId, String xtraParams, String forcedFlag) throws RemoteException,ITMException
{
String retString = null;
String retErrString = "";
int aiCommit = 0;
Connection conn = null;
try
{
conn = getConnection();
System.out.println("Conn==>[" + conn + "]");
retErrString = gbfPostLogic(tranId, tranId, aiCommit, xtraParams, conn);
System.out.println("returning String from TourCncErp :actionHandler():==>[" + retErrString + "]");
if(retErrString == null || retErrString.trim().length() == 0)
{
conn.commit();
retString = itmDBAccess.getErrorString("", "VTMCAN", userId, "", conn);
}
else
{
conn.rollback();
retString = retErrString;
return retString;
}
}
catch(Exception e)
{
System.out.println("Exception :TourCncErp :actionHandler() :" + e.getMessage() + ":");
e.printStackTrace();
throw new ITMException(e);
}
finally
{
try
{
if(conn != null)
{
conn.close();
conn = null;
}
}
catch (Exception e)
{
e.printStackTrace();
}
}
return retString;
}
public String gbfPostLogic(String asTranidFr, String asTranidTo, int aiCommit , String xtraParams, Connection conn)
throws ITMException
{
ResultSet rs = null;
PreparedStatement pstmt = null;
String sql = null;
String errString = "";
String lsTranid = "";
String status = "";
String isErrxml = "";
Timestamp ldtCurrdate = null;
int cnt = 0;
int rowCnt = 0;
try
{
System.out.println("***********Inside Post Logic Method of TourCncErp**************");
if(asTranidFr.equalsIgnoreCase(asTranidTo))
{
lsTranid = asTranidFr;
sql = "select status from tour where tour_id = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,lsTranid);
rs = pstmt.executeQuery();
if (rs.next())
{
status = checkNull(rs.getString("status"));
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
if("C".equalsIgnoreCase(status) || "X".equalsIgnoreCase(status))
{
errString=checkNull(itmDBAccess.getErrorString("", "VTCANC02", userId, "", conn));
return errString;
}
isErrxml = tourCnc.gbfPostLogic(asTranidFr, asTranidTo, aiCommit, xtraParams, conn);
sql = "select status from tour where tour_id = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,lsTranid);
rs = pstmt.executeQuery();
if (rs.next())
{
status = checkNull(rs.getString("status"));
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
if("C".equalsIgnoreCase(status) || "X".equalsIgnoreCase(status))
{
ldtCurrdate = utilMethod.dateTime(utilMethod.today(), utilMethod.now());
sql = "select count(1) as cnt from wf_prc_status where ref_ser in ('E-TOUR','E-TURP') and ref_id = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,lsTranid);
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)
{
sql = "update obj_sign_trans set SIGN_DATE = ? , SIGN_STATUS = 'S' , SIGN_REMARKS = 'Tour Cancelled' "+
"where ref_ser in ('E-TOUR','E-TURP') and ref_id = ? and sign_status = 'U'";
pstmt = conn.prepareStatement(sql);
pstmt.setTimestamp(1,ldtCurrdate);
pstmt.setString(2,lsTranid);
rowCnt = pstmt.executeUpdate();
if(rowCnt > 0)
{
rowCnt = 0;
sql = "update wf_prc_status set process_status = '9' , status_remarks = 'Tour is cancelled from ERP' "+
"where ref_ser in ('E-TOUR','E-TURP') and ref_id = ? and process_status < 3";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,lsTranid);
rowCnt = pstmt.executeUpdate();
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(rowCnt > 0)
{
rowCnt = 0;
sql = "update tour set WRKFLW_STATUS = 'ZZ' where tour_id = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,lsTranid);
rowCnt = pstmt.executeUpdate();
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
}
else
{
errString=checkNull(itmDBAccess.getErrorString("", "DS000", userId, "", conn));
return errString;
}
}
else
{
errString=checkNull(itmDBAccess.getErrorString("", "DS000", userId, "", conn));
return errString;
}
if(errString.trim().length() > 0)
{
conn.rollback();
}
else
{
conn.commit();
}
}
}
}
}
catch (Exception e)
{
e.printStackTrace();
throw new ITMException(e);
}
finally
{
try
{
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
}
catch(Exception e1)
{
e1.printStackTrace();
}
}
return isErrxml;
}
private String checkNull(String input)
{
if (input == null)
{
input = "";
}
return input;
}
}
package ibase.webitm.ejb.adm.adv;
import java.sql.Connection;
import ibase.webitm.ejb.ActionHandlerLocal;
import ibase.webitm.utility.ITMException;
public interface TourCncErpLocal extends ActionHandlerLocal
{
public String gbfPostLogic(String asTranidFr, String asTranidTo,int aiCommit , String xtraParams,Connection conn) throws ITMException;
}
package ibase.webitm.ejb.adm.adv;
import java.sql.Connection;
import ibase.webitm.ejb.ActionHandlerRemote;
import ibase.webitm.utility.ITMException;
public interface TourCncErpRemote extends ActionHandlerRemote
{
public String gbfPostLogic(String asTranidFr, String asTranidTo, int aiCommit , String xtraParams,Connection conn) throws ITMException;
}
package ibase.webitm.ejb.adm.adv;
import java.sql.Connection;
import ibase.webitm.ejb.ActionHandlerLocal;
import ibase.webitm.utility.ITMException;
public interface TourCncLocal extends ActionHandlerLocal
{
public String gbfPostLogic(String asTranidFr, String asTranidTo, int aiCommit, String xtraParams,Connection conn) throws ITMException;
}
package ibase.webitm.ejb.adm.adv;
import java.sql.Connection;
import ibase.webitm.ejb.ActionHandlerRemote;
import ibase.webitm.utility.ITMException;
public interface TourCncRemote extends ActionHandlerRemote
{
public String gbfPostLogic(String asTranidFr, String asTranidTo, int aiCommit, String xtraParams,Connection conn) throws ITMException;
}
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