Commit 0f29f95c authored by rtelang's avatar rtelang

*Added updated SQL, SRD, metadata and components of Change Bond Details menu [07-01-2020]

employee_bond_def11.xml
employee_bond_def12.xml
employee_bond_def21.xml
employee_bond_def22.xml
d_employee_bond_def11.srd
d_employee_bond_def12.srd
d_employee_bond_def21.srd
d_employee_bond_def22.srd
EmpBondDefault.java
EmpBondDefaultLocal.java
EmpBondDefConfirm.java
EmpBondDefinition.java
EmpBondDefinitionLocal.java
EmpBondDefinitionPrs.java
EmpBondDefinitionRemote.java
w_employee_bond_def.sql
ChangeBondDetails.png
ChangeBondDetailswht.png


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@214726 ce508802-f39f-4f6c-b175-0d175dae99d5
parent deb22b95
---------------------------------------------------- EMPLOYEE_BOND Table
alter table EMPLOYEE_BOND
add TRAN_ID CHAR(10) not null;
alter table EMPLOYEE_BOND
add TRAN_ID__PVOUCH CHAR(10);
alter table EMPLOYEE_BOND
add LINE_NO__PVOUCH NUMBER(3);
alter table EMPLOYEE_BOND
add AD_CODE CHAR(5);
ALTER TABLE EMPLOYEE_BOND DROP CONSTRAINT EMPLOYEE_BOND_X;
ALTER TABLE EMPLOYEE_BOND ADD CONSTRAINT EMPLOYEE_BOND_X PRIMARY KEY(TRAN_ID,LINE_NO);
CREATE INDEX APPVISDEV.EMPLOYEE_BOND_I1 ON APPVISDEV.EMPLOYEE_BOND (EMP_CODE,AD_CODE);
CREATE INDEX APPVISDEV.EMPLOYEE_BOND_I2 ON APPVISDEV.EMPLOYEE_BOND (TRAN_ID__PVOUCH,LINE_NO__PVOUCH);
---------------------------------------------------- EMPLOYEE_BOND_DEF Table
alter table EMPLOYEE_BOND_DEF
add TRAN_ID__BOND CHAR(10);
alter table EMPLOYEE_BOND_DEF
add TRAN_ID__PVOUCH CHAR(10);
alter table EMPLOYEE_BOND_DEF
add LINE_NO__PVOUCH NUMBER(3);
alter table EMPLOYEE_BOND_DEF
add AD_CODE CHAR(5);
----------------------------------------------------- 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_employee_bond_def','2','2','A','_spsite_code,BD,_pptran_date,seq04',null,null,null,null,null,null,to_date('30-09-15','DD-MM-RR'),'BASE ','BASE ','0','SITE_CODE','confirmed','Y','N',null,null,null,'N','N','TRAN_ID','0','0',null,null,null,null,null,null,null,null,null,'0','EMPLOYEE_BOND_DEF','ADM','Employee Bond Definition',null,null,null,null,null,null,null,'EBONDF','F',null,null,null,null,null,'2',null,null,null,null,'0','3',null,null,null,null,null,null,null,null,null,null,null,'M',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,null,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_employee_bond_def','Bond Definition','d_employee_bond_def11','d_employee_bond_def21',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_employee_bond_def','Bond Detail','d_employee_bond_def12','d_employee_bond_def22',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/>
AD Code :<b>({ad_code})</b> , Department : <b>({dept_code})</b> , Confirmed :<b> ({confirmed})</b> , Site Code :<b>({site_code}) , Date :<b>({date_to})</b>
</span>
<span style="float:right;"> <b> {tran_id} </b> <br/> {tran_date}</span>
</html>' where WIN_NAME= 'w_employee_bond_def' and FORM_NO = '1';
update OBJ_FORMS set disp_metadata='
<html>
<span style="white-space: normal !important; word-break: break-word; ">
Tran ID :<b>({tran_id})</b>
<br/>Bond Period :<b>({bond_prd})</b>, Bond Amount :<b>({bond_amt})</b>
</html>' where WIN_NAME='w_employee_bond_def' 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 ('ADM',2,10,7,0,0,'w_employee_bond_def','Change Bond Details','Change Bond Details','ADM.2.10.7.0.0',null,null,null,'T',null,null,null,'B',null,null,'B','0 ');
update ITM2MENU set ICON_PATH='ChangeBondDetails.png', CLOSE_ICON='ChangeBondDetailswht.png' where WIN_NAME='w_employee_bond_def';
----------------------------------------------------- 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 ('employee_bond_def',21,'Q','1','audit_trail','View Audit Trail','View Audit','menu.bmp','1','1','1','U',null,to_date('2018-09-12','RRRR-MM-DD'),'VAIBHAV ','VAIBHAV ',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 ('employee_bond_def',22,'O','1','export_excel','Export Excel','Export','Download.gif','1','1','1','U',null,to_date('2018-03-06','RRRR-MM-DD'),'Vinuth ','Vinuth ',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 ('employee_bond_def',1,'A','a','a','Adding new','Add','add.gif','1',null,null,'S',null,to_date('2018-03-06','RRRR-MM-DD'),'Vinuth ','Vinuth ',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 ('employee_bond_def',2,'E','a','a','Editing Existing Record','Edit','edit.gif','1',null,null,'S',null,to_date('2018-03-06','RRRR-MM-DD'),'Vinuth ','Vinuth ',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 ('employee_bond_def',5,'F','1','pre_confirm','Confirmation','Confirm','confirm.gif','1','2','1','U',null,to_date('2018-03-06','RRRR-MM-DD'),'Vinuth ','Vinuth ',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 ('employee_bond_def',6,'A','1','act_default','Default Data Action','Default','default.gif','2','3',null,'U',null,to_date('2018-03-06','RRRR-MM-DD'),'Vinuth ','Vinuth ',null,null,null,null,null,null,null,null);
-----------------Update Quaries
update OBJ_ACTIONS set IMAGE='ibase/resource/objaction/add.svg',DISPLAY_MODE='2' where OBJ_NAME='employee_bond_def' and TITLE = 'Add';
update OBJ_ACTIONS set IMAGE='ibase/resource/objaction/edit.svg',DISPLAY_MODE='2' where OBJ_NAME='employee_bond_def' and TITLE = 'Edit';
update OBJ_ACTIONS set IMAGE = 'ibase/resource/objaction/Audit-trail.svg',RIGHTS_CHAR = 'X',SHOW_IN_PANEL = '1' ,DISPLAY_MODE = '2' where OBJ_NAME = 'employee_bond_def' 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 = 'employee_bond_def' 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 = 'employee_bond_def' and TITLE = 'Confirm';
update OBJ_ACTIONS set IMAGE = 'ibase/resource/objaction/default.svg' where OBJ_NAME = 'employee_bond_def' and TITLE = 'Default';
----------------------------------------------------- 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 ('employee_bond_def','act_default','1','act_employee_bond_def',null,to_date('2018-03-06','RRRR-MM-DD'),'Vinuth ','Vinuth','2','0','EJB','EmpBondDefault',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 ('employee_bond_def','audit_trail','1','project_audit_trail_adm',null,to_date('2018-03-06','RRRR-MM-DD'),'Vinuth ','Vinuth','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 ('employee_bond_def','post_item_change','1','poic_employee_bond_def',null,to_date('2018-03-06','RRRR-MM-DD'),'Vinuth ','Vinuth','2','0','EJB','EmpBondDefinition',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 ('employee_bond_def','post_validate','1','post_gen_val',null,to_date('2018-03-06','RRRR-MM-DD'),'Vinuth ','Vinuth','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 ('employee_bond_def','pre_confirm','1','prcm_employee_bond_def',null,to_date('2018-03-06','RRRR-MM-DD'),'Vinuth ','Vinuth','2','0','EJB','EmpBondDefConfirm',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 ('employee_bond_def','pre_save','1','prs_employee_bond_def',null,to_date('2018-03-06','RRRR-MM-DD'),'Vinuth ','Vinuth','2','0','EJB','EmpBondDefinitionPrs',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 ('employee_bond_def','pre_validate','1','prv_employee_bond_def',null,to_date('2018-03-06','RRRR-MM-DD'),'Vinuth ','Vinuth','2','0','EJB','EmpBondDefinition',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 ('employee_bond_def','export_excel','1','export_excel_adm',null,to_date('2018-03-06','RRRR-MM-DD'),'Vinuth ','Vinuth',null,null,null,null,null);
-----------------Update Quaries
update SYSTEM_EVENTS set COMP_TYPE='JB',COMP_NAME='ibase.webitm.ejb.adm.adv.EmpBondDefault' where OBJ_NAME='employee_bond_def' and EVENT_CODE='act_default';
update SYSTEM_EVENTS set COMP_TYPE='JB',COMP_NAME='ibase.webitm.ejb.adm.EmpBondDefinition' where OBJ_NAME='employee_bond_def' and EVENT_CODE='post_item_change';
update SYSTEM_EVENTS set COMP_TYPE='JB',COMP_NAME='ibase.webitm.ejb.sys.GenValidate' where OBJ_NAME='employee_bond_def' and EVENT_CODE='post_validate';
update SYSTEM_EVENTS set COMP_TYPE='JB',COMP_NAME='ibase.webitm.ejb.adm.adv.EmpBondDefConfirm' where OBJ_NAME='employee_bond_def' and EVENT_CODE='pre_confirm';
update SYSTEM_EVENTS set COMP_TYPE='JB',COMP_NAME='ibase.webitm.ejb.adm.EmpBondDefinitionPrs' where OBJ_NAME='employee_bond_def' and EVENT_CODE='pre_save';
update SYSTEM_EVENTS set COMP_TYPE='JB',COMP_NAME='ibase.webitm.ejb.adm.EmpBondDefinition' where OBJ_NAME='employee_bond_def' 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 ('act_employee_bond_def','Action for Default Data','http://localhost:9090/axis/services/ActionHandlerService','BASE','actionHandler','String','S',null,null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',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 ('export_excel_adm','Calling Export Excel','/ibase/webitm/jsp/E12ExportToExcel.jsp',null,'doPost',null,null,null,null,to_date('21-06-17','DD-MM-RR'),'VAIBHAV ','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 ('poic_employee_bond_def','post item change','http://localhost:9090/axis/services/ValidatorService','BASE','itemChanged','String','S',null,null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',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_employee_bond_def','Confirmation','http://localhost:9090/axis/services/ActionHandlerService','BASE','confirm','String','S',null,null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',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 ('project_audit_trail_adm','calling audit log jsp','/ibase/webitm/jsp/ITMAuditForms.jsp',null,'doPost',null,null,null,null,to_date('14-07-19','DD-MM-RR'),'VAIBHAV ','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 ('prs_employee_bond_def','Pre Save Activity','http://localhost:9090/axis/services/ValidatorService','BASE','preSave','String','S',null,null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',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_employee_bond_def','Validatation','http://localhost:9090/axis/services/ValidatorService','BASE','wfValData','String','S',null,null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',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 ('act_employee_bond_def',1,'COMPONENT_TYPE','I','Component Type','C.String',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth','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 ('act_employee_bond_def',2,'COMPONENT_NAME','I','Component name','C.String',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth','ibase.webitm.ejb.adm.adv.EmpBondDefault');
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 ('act_employee_bond_def',3,'ACTION_TYPE','I','Action Type','C.String',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth','Default');
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 ('act_employee_bond_def',4,'XML_DATA_ALL','I','Action TyXML data of form no 1','S',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',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 ('act_employee_bond_def',5,'OBJ_CONTEXT','I','Object context','S',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',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 ('act_employee_bond_def',6,'XTRA_PARAMS','I','Extra Arguments','S',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',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_employee_bond_def',1,'COMPONENT_TYPE','I','Component Type','S',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth','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_employee_bond_def',2,'COMPONENT_NAME','I','Component name','S',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth','ibase.webitm.ejb.adm.EmpBondDefinition');
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_employee_bond_def',3,'XML_DATA','I',null,'S',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',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_employee_bond_def',4,'XML_DATA_1','I',null,'S',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',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_employee_bond_def',5,'XML_DATA_ALL','I',null,'S',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',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_employee_bond_def',6,'OBJ_CONTEXT','I',null,'S',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',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_employee_bond_def',7,'FOCUSED_COLUMN','I',null,'S',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',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_employee_bond_def',8,'EDIT_FLAG','I',null,'S',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',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_employee_bond_def',9,'XTRA_PARAMS','I',null,'S',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',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_employee_bond_def',1,'COMPONENT_TYPE','I','Component Type','S',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',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_employee_bond_def',2,'COMPONENT_NAME','I','Component name','S',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',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_employee_bond_def',3,'<tran_id>',null,null,'B.String',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',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_employee_bond_def',4,'XTRA_PARAMS',null,null,'S',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',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_employee_bond_def',5,'FORCED_FLAG',null,null,'S',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',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_employee_bond_def',1,'COMPONENT_TYPE','I','Component Type','S',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth','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_employee_bond_def',2,'COMPONENT_NAME','I','Component name','S',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth','ibase.webitm.ejb.adm.EmpBondDefinition');
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_employee_bond_def',3,'XML_DATA','I',null,'S',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',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_employee_bond_def',4,'XML_DATA_1','I',null,'S',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',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_employee_bond_def',5,'XML_DATA_ALL','I',null,'S',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',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_employee_bond_def',6,'OBJ_CONTEXT','I',null,'S',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',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_employee_bond_def',7,'EDIT_FLAG','I',null,'S',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',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_employee_bond_def',8,'XTRA_PARAMS','I',null,'S',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',null);
---------------------------------------------------- OBJ_ITEMCHANGE
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('employee_bond_def','1','ad_code','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('employee_bond_def','1','emp_code','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('employee_bond_def','1','itm_default','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('employee_bond_def','1','itm_defaultedit','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('employee_bond_def','1','line_no__pvouch','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('employee_bond_def','1','tran_id__bond','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('employee_bond_def','1','tran_id__pvouch','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('employee_bond_def','2','bond_amt','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('employee_bond_def','2','itm_default','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('employee_bond_def','2','line_no__ref','Y');
---------------------------------------------------- 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,OBJ_NAME__DS,DATA_MODEL_NAME,VALIDATE_DATA,ITEM_CHANGE,MSG_NO,FILTER_EXPR,LAYOUT) values ('AD_CODE','W_EMPLOYEE_BOND_DEF','SELECT AD_CODE, DESCR FROM ALLWDEDN',null,'Allowance/Deduction',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','AdCodeImages','ad_code','descr','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 ('TRAN_ID__BOND','W_EMPLOYEE_BOND_DEF','select TRAN_ID from EMPLOYEE_BOND where EMP_CODE = ''?''',null,'SITE',null,null,to_date('01-01-01','DD-MM-RR'),'BASE ','BASE','1',null,':emp_code',null,null,null,null,null,null,null,'2',null,'3','SiteImages','TRAN_ID','TRAN_ID','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 ('TRAN_ID__PVOUCH','W_EMPLOYEE_BOND_DEF','select TRAN_ID from PAYR_VOUCHER where EMP_CODE = ''?''',null,'SITE',null,null,to_date('01-01-01','DD-MM-RR'),'BASE ','BASE','1',null,':emp_code',null,null,null,null,null,null,null,'2',null,'3','SiteImages','TRAN_ID','TRAN_ID','2',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 ('VTEBNDDF01','Invalid Tran ID Bond!','The Tran ID Bond entered is does not exist.','E','Y',null,null,null,to_date('31-03-03','DD-MM-RR'),'BASE','PIYUSH',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 ('VTEBNDDF02','Employee Mismatch!','The employee in which you want to make transaction is not the same in Employee Bond master.','E','Y',null,null,null,to_date('31-03-03','DD-MM-RR'),'BASE','PIYUSH',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 ('VTEBNDDF03','Record cannot be saved!','Another record with same Tran ID Bond which is unconfirmed already present.','E','Y',null,null,null,to_date('31-03-03','DD-MM-RR'),'BASE','PIYUSH',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 ('VTEBNDDF04','Invalid Tran ID Voucher!','The Tran ID Voucher entered is does not exist.','E','Y',null,null,null,to_date('31-03-03','DD-MM-RR'),'BASE','PIYUSH',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 ('VTEBNDDF05','Employee Mismatch!','The employee in which you want to make transaction is not the same in Payroll Voucher.','E','Y',null,null,null,to_date('31-03-03','DD-MM-RR'),'BASE','PIYUSH',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 ('VTEBNDDF06','Empty Line Number Voucher!','Line Number Voucher can not be empty.','E','Y',null,null,null,to_date('31-03-03','DD-MM-RR'),'BASE','PIYUSH',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 ('VTEBNDDF07','Invalid Line Number Voucher!','Line Number Voucher must be in integer.','E','Y',null,null,null,to_date('31-03-03','DD-MM-RR'),'BASE','PIYUSH',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 ('VTEBNDDF08','Invalid Line Number Voucher!','The Line number you have entered for the payroll voucher does not match.','E','Y',null,null,null,to_date('31-03-03','DD-MM-RR'),'BASE','PIYUSH',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 ('VTEBNDDF09','Record cannot be saved!','Another record with same Line number voucher which is unconfirmed already present.','E','Y',null,null,null,to_date('31-03-03','DD-MM-RR'),'BASE','PIYUSH',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 ('VTEBNDDF10','Empty AD code!','AD Code can not be empty.','E','Y',null,null,null,to_date('31-03-03','DD-MM-RR'),'BASE','PIYUSH',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 ('VTEBNDDF11','Invalid AD code!','The AD code entered is does not exist.','E','Y',null,null,null,to_date('31-03-03','DD-MM-RR'),'BASE','PIYUSH',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 ('VTEBNDDF12','Record cannot be saved!','Another record with same employee code and AD code which is unconfirmed already present.','E','Y',null,null,null,to_date('31-03-03','DD-MM-RR'),'BASE','PIYUSH',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 ('VTEBNDDF13','Record cannot be saved!','Definition already has been done for given payroll voucher.','E','Y',null,null,null,to_date('31-03-03','DD-MM-RR'),'BASE ','PIYUSH',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 ('VTEBNDDF14','Inavlid Bond Amount!','Bond amount can not be greter than previous amount','E','Y',null,null,null,to_date('31-03-03','DD-MM-RR'),'BASE','PIYUSH',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 ('VTEBNDDF51','Transetup not configured','Another transetup for is not configured.','E','Y',null,null,'A',to_date('27-09-18','DD-MM-RR'),'MANOHAR','SYSTEM ',null,'0');
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow>
<Release>9</Release>
<BaseDefinition>
<units>1</units>
<timer_interval>0</timer_interval>
<color>67108864</color>
<processing>1</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>24</left>
<right>24</right>
<top>24</top>
<bottom>24</bottom>
</margin>
<paper>
<source>0</source>
<size>0</size>
</paper>
<prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons>
<preview.buttons>no</preview.buttons>
<cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob>
</print>
<grid.lines>0</grid.lines>
</BaseDefinition>
<Header>
<height>20</height>
<color>536870912</color>
</Header>
<Summary>
<height>0</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>17</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>tran_id</name>
<dbname>employee_bond_def.tran_id</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>tran_date</name>
<dbname>employee_bond_def.tran_date</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>site_code</name>
<dbname>employee_bond_def.site_code</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>emp_code</name>
<dbname>employee_bond_def.emp_code</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>confirmed</name>
<dbname>employee_bond_def.confirmed</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>conf_date</name>
<dbname>employee_bond_def.conf_date</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>emp_code__aprv</name>
<dbname>employee_bond_def.emp_code__aprv</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_user</name>
<dbname>employee_bond_def.chg_user</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_term</name>
<dbname>employee_bond_def.chg_term</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_date</name>
<dbname>employee_bond_def.chg_date</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;employee_bond_def&quot; ) COLUMN(NAME=&quot;employee_bond_def.tran_id&quot;) COLUMN(NAME=&quot;employee_bond_def.tran_date&quot;) COLUMN(NAME=&quot;employee_bond_def.site_code&quot;) COLUMN(NAME=&quot;employee_bond_def.emp_code&quot;) COLUMN(NAME=&quot;employee_bond_def.confirmed&quot;) COLUMN(NAME=&quot;employee_bond_def.conf_date&quot;) COLUMN(NAME=&quot;employee_bond_def.emp_code__aprv&quot;) COLUMN(NAME=&quot;employee_bond_def.chg_user&quot;) COLUMN(NAME=&quot;employee_bond_def.chg_term&quot;) COLUMN(NAME=&quot;employee_bond_def.chg_date&quot;)WHERE( EXP1 =&quot;EMPLOYEE_BOND_DEF.TRAN_DATE&quot; OP =&quot;&gt;=&quot; EXP2 =&quot;:From&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;EMPLOYEE_BOND_DEF.TRAN_DATE&quot; OP =&quot;&lt;=&quot; EXP2 =&quot;:To&quot; ) ) ARG(NAME = &quot;From&quot; TYPE = datetime) ARG(NAME = &quot;To&quot; TYPE = datetime) </retrieve>
<update>employee_bond_def</update>
<updatewhere>1</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
<argument>
<name>From</name>
<type>datetime</type>
</argument>
<argument>
<name>To</name>
<type>datetime</type>
</argument>
</TableDefinition>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Transaction Id</text>
<border>6</border>
<color>33554432</color>
<x>2</x>
<y>2</y>
<height>16</height>
<width>90</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id_t</name>
<visible>1</visible>
<font>
<face>Times</face>
<height>-10</height>
<weight>400</weight>
<family>0</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Confirmed by</text>
<border>6</border>
<color>33554432</color>
<x>531</x>
<y>2</y>
<height>16</height>
<width>92</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__aprv_t</name>
<visible>1</visible>
<font>
<face>Times</face>
<height>-10</height>
<weight>400</weight>
<family>0</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Date</text>
<border>6</border>
<color>33554432</color>
<x>94</x>
<y>2</y>
<height>16</height>
<width>78</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_date_t</name>
<visible>1</visible>
<font>
<face>Times</face>
<height>-10</height>
<weight>400</weight>
<family>0</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Site Code</text>
<border>6</border>
<color>33554432</color>
<x>174</x>
<y>2</y>
<height>16</height>
<width>55</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code_t</name>
<visible>1</visible>
<font>
<face>Times</face>
<height>-10</height>
<weight>400</weight>
<family>0</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Employee Code</text>
<border>6</border>
<color>33554432</color>
<x>231</x>
<y>2</y>
<height>16</height>
<width>98</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code_t</name>
<visible>1</visible>
<font>
<face>Times</face>
<height>-10</height>
<weight>400</weight>
<family>0</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Confirmed</text>
<border>6</border>
<color>33554432</color>
<x>331</x>
<y>2</y>
<height>16</height>
<width>64</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>confirmed_t</name>
<visible>1</visible>
<font>
<face>Times</face>
<height>-10</height>
<weight>400</weight>
<family>0</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Confirmed on</text>
<border>6</border>
<color>33554432</color>
<x>397</x>
<y>2</y>
<height>16</height>
<width>132</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>conf_date_t</name>
<visible>1</visible>
<font>
<face>Times</face>
<height>-10</height>
<weight>400</weight>
<family>0</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Change User</text>
<border>6</border>
<color>33554432</color>
<x>625</x>
<y>2</y>
<height>16</height>
<width>81</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user_t</name>
<visible>1</visible>
<font>
<face>Times</face>
<height>-10</height>
<weight>400</weight>
<family>0</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Change Term</text>
<border>6</border>
<color>33554432</color>
<x>708</x>
<y>2</y>
<height>16</height>
<width>96</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term_t</name>
<visible>1</visible>
<font>
<face>Times</face>
<height>-10</height>
<weight>400</weight>
<family>0</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Change Date</text>
<border>6</border>
<color>33554432</color>
<x>806</x>
<y>2</y>
<height>16</height>
<width>80</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date_t</name>
<visible>1</visible>
<font>
<face>Times</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>5</border>
<color>33554432</color>
<x>2</x>
<y>2</y>
<height>16</height>
<width>90</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>20</tabsequence>
<border>5</border>
<color>33554432</color>
<x>94</x>
<y>2</y>
<height>16</height>
<width>78</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>0</alignment>
<tabsequence>30</tabsequence>
<border>5</border>
<color>33554432</color>
<x>174</x>
<y>2</y>
<height>16</height>
<width>55</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<alignment>0</alignment>
<tabsequence>40</tabsequence>
<border>5</border>
<color>33554432</color>
<x>231</x>
<y>2</y>
<height>16</height>
<width>98</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<alignment>0</alignment>
<tabsequence>50</tabsequence>
<border>5</border>
<color>33554432</color>
<x>331</x>
<y>2</y>
<height>16</height>
<width>64</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>confirmed</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>6</id>
<alignment>0</alignment>
<tabsequence>60</tabsequence>
<border>5</border>
<color>33554432</color>
<x>397</x>
<y>2</y>
<height>16</height>
<width>132</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>conf_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<alignment>0</alignment>
<tabsequence>70</tabsequence>
<border>5</border>
<color>33554432</color>
<x>531</x>
<y>2</y>
<height>16</height>
<width>92</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__aprv</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<alignment>0</alignment>
<tabsequence>80</tabsequence>
<border>5</border>
<color>33554432</color>
<x>625</x>
<y>2</y>
<height>16</height>
<width>81</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<alignment>0</alignment>
<tabsequence>90</tabsequence>
<border>5</border>
<color>33554432</color>
<x>708</x>
<y>2</y>
<height>16</height>
<width>96</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>10</id>
<alignment>0</alignment>
<tabsequence>100</tabsequence>
<border>5</border>
<color>33554432</color>
<x>806</x>
<y>2</y>
<height>16</height>
<width>80</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
<HtmlGen>
<clientevents>1</clientevents>
<clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
</Export.XML>
<Import.XML>
</Import.XML>
<Export.PDF>
<method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow>
<Release>9</Release>
<BaseDefinition>
<units>1</units>
<timer_interval>0</timer_interval>
<color>67108864</color>
<processing>1</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>24</left>
<right>24</right>
<top>24</top>
<bottom>24</bottom>
</margin>
<paper>
<source>0</source>
<size>0</size>
</paper>
<prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons>
<preview.buttons>no</preview.buttons>
<cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob>
</print>
<grid.lines>0</grid.lines>
</BaseDefinition>
<Header>
<height>20</height>
<color>536870912</color>
</Header>
<Summary>
<height>0</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>17</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>tran_id</name>
<dbname>employee_bond_def.tran_id</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>tran_date</name>
<dbname>employee_bond_def.tran_date</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>site_code</name>
<dbname>employee_bond_def.site_code</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>emp_code</name>
<dbname>employee_bond_def.emp_code</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>confirmed</name>
<dbname>employee_bond_def.confirmed</dbname>
<values>
<item display="Yes" data="Y"/>
<item display="No" data="N"/>
</values>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>conf_date</name>
<dbname>employee_bond_def.conf_date</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>emp_code__aprv</name>
<dbname>employee_bond_def.emp_code__aprv</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_user</name>
<dbname>employee_bond_def.chg_user</dbname>
</table_column>
<table_column>
<type size="300">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_term</name>
<dbname>employee_bond_def.chg_term</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_date</name>
<dbname>employee_bond_def.chg_date</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>emp_fname</name>
<dbname>employee.emp_fname</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>emp_lname</name>
<dbname>employee.emp_lname</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>dept_code</name>
<dbname>employee.dept_code</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>ad_code</name>
<dbname>employee_bond_def.ad_code</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;employee_bond_def&quot; ) TABLE(NAME=&quot;employee&quot; ) COLUMN(NAME=&quot;employee_bond_def.tran_id&quot;) COLUMN(NAME=&quot;employee_bond_def.tran_date&quot;) COLUMN(NAME=&quot;employee_bond_def.site_code&quot;) COLUMN(NAME=&quot;employee_bond_def.emp_code&quot;) COLUMN(NAME=&quot;employee_bond_def.confirmed&quot;) COLUMN(NAME=&quot;employee_bond_def.conf_date&quot;) COLUMN(NAME=&quot;employee_bond_def.emp_code__aprv&quot;) COLUMN(NAME=&quot;employee_bond_def.chg_user&quot;) COLUMN(NAME=&quot;employee_bond_def.chg_term&quot;) COLUMN(NAME=&quot;employee_bond_def.chg_date&quot;) COLUMN(NAME=&quot;employee.emp_fname&quot;) COLUMN(NAME=&quot;employee.emp_lname&quot;) COLUMN(NAME=&quot;employee.dept_code&quot;) COLUMN(NAME=&quot;employee_bond_def.ad_code&quot;) JOIN (LEFT=&quot;employee_bond_def.emp_code&quot; OP =&quot;=&quot;RIGHT=&quot;employee.emp_code&quot; )WHERE( EXP1 =&quot;EMPLOYEE_BOND_DEF.TRAN_DATE&quot; OP =&quot;&gt;=&quot; EXP2 =&quot;:From&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;EMPLOYEE_BOND_DEF.TRAN_DATE&quot; OP =&quot;&lt;=&quot; EXP2 =&quot;:To&quot; ) ) ARG(NAME = &quot;From&quot; TYPE = datetime) ARG(NAME = &quot;To&quot; TYPE = datetime) </retrieve>
<update>EMPLOYEE_BOND_DEF</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
<argument>
<name>From</name>
<type>datetime</type>
</argument>
<argument>
<name>To</name>
<type>datetime</type>
</argument>
</TableDefinition>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Transaction Id</text>
<border>6</border>
<color>33554432</color>
<x>2</x>
<y>2</y>
<height>16</height>
<width>90</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id_t</name>
<visible>1</visible>
<font>
<face>Times</face>
<height>-10</height>
<weight>400</weight>
<family>0</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Confirmed by</text>
<border>6</border>
<color>33554432</color>
<x>852</x>
<y>2</y>
<height>16</height>
<width>92</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__aprv_t</name>
<visible>1</visible>
<font>
<face>Times</face>
<height>-10</height>
<weight>400</weight>
<family>0</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Date</text>
<border>6</border>
<color>33554432</color>
<x>94</x>
<y>2</y>
<height>16</height>
<width>78</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_date_t</name>
<visible>1</visible>
<font>
<face>Times</face>
<height>-10</height>
<weight>400</weight>
<family>0</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Site Code</text>
<border>6</border>
<color>33554432</color>
<x>174</x>
<y>2</y>
<height>16</height>
<width>55</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code_t</name>
<visible>1</visible>
<font>
<face>Times</face>
<height>-10</height>
<weight>400</weight>
<family>0</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Employee Code</text>
<border>6</border>
<color>33554432</color>
<x>231</x>
<y>2</y>
<height>16</height>
<width>98</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code_t</name>
<visible>1</visible>
<font>
<face>Times</face>
<height>-10</height>
<weight>400</weight>
<family>0</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Confirmed</text>
<border>6</border>
<color>33554432</color>
<x>652</x>
<y>2</y>
<height>16</height>
<width>64</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>confirmed_t</name>
<visible>1</visible>
<font>
<face>Times</face>
<height>-10</height>
<weight>400</weight>
<family>0</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Confirmed on</text>
<border>6</border>
<color>33554432</color>
<x>718</x>
<y>2</y>
<height>16</height>
<width>132</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>conf_date_t</name>
<visible>1</visible>
<font>
<face>Times</face>
<height>-10</height>
<weight>400</weight>
<family>0</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Change User</text>
<border>6</border>
<color>33554432</color>
<x>946</x>
<y>2</y>
<height>16</height>
<width>81</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user_t</name>
<visible>1</visible>
<font>
<face>Times</face>
<height>-10</height>
<weight>400</weight>
<family>0</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Change Term</text>
<border>6</border>
<color>33554432</color>
<x>1029</x>
<y>2</y>
<height>16</height>
<width>96</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term_t</name>
<visible>1</visible>
<font>
<face>Times</face>
<height>-10</height>
<weight>400</weight>
<family>0</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Change Date</text>
<border>6</border>
<color>33554432</color>
<x>1127</x>
<y>2</y>
<height>16</height>
<width>70</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date_t</name>
<visible>1</visible>
<font>
<face>Times</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Emp Fname</text>
<border>6</border>
<color>33554432</color>
<x>331</x>
<y>2</y>
<height>17</height>
<width>73</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_fname_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text> Emp Lname</text>
<border>6</border>
<color>33554432</color>
<x>406</x>
<y>2</y>
<height>17</height>
<width>73</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_lname_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text> Dept Code</text>
<border>6</border>
<color>33554432</color>
<x>570</x>
<y>2</y>
<height>17</height>
<width>80</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>dept_code_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Ad Code</text>
<border>0</border>
<color>33554432</color>
<x>481</x>
<y>2</y>
<height>17</height>
<width>87</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ad_code_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>5</border>
<color>33554432</color>
<x>2</x>
<y>2</y>
<height>16</height>
<width>90</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>20</tabsequence>
<border>5</border>
<color>33554432</color>
<x>94</x>
<y>2</y>
<height>16</height>
<width>78</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>0</alignment>
<tabsequence>30</tabsequence>
<border>5</border>
<color>33554432</color>
<x>174</x>
<y>2</y>
<height>16</height>
<width>55</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>5</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<alignment>0</alignment>
<tabsequence>40</tabsequence>
<border>5</border>
<color>33554432</color>
<x>231</x>
<y>2</y>
<height>16</height>
<width>98</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<alignment>0</alignment>
<tabsequence>90</tabsequence>
<border>5</border>
<color>33554432</color>
<x>652</x>
<y>2</y>
<height>16</height>
<width>64</width>
<format>[Yes/No]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>confirmed</name>
<visible>1</visible>
<EditStyle style="ddlb">
<limit>1</limit>
<allowedit>no</allowedit>
<case>any</case>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>6</id>
<alignment>0</alignment>
<tabsequence>100</tabsequence>
<border>5</border>
<color>33554432</color>
<x>718</x>
<y>2</y>
<height>16</height>
<width>132</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>conf_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<alignment>0</alignment>
<tabsequence>110</tabsequence>
<border>5</border>
<color>33554432</color>
<x>852</x>
<y>2</y>
<height>16</height>
<width>92</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__aprv</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<alignment>0</alignment>
<tabsequence>120</tabsequence>
<border>5</border>
<color>33554432</color>
<x>946</x>
<y>2</y>
<height>16</height>
<width>81</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<alignment>0</alignment>
<tabsequence>130</tabsequence>
<border>5</border>
<color>33554432</color>
<x>1029</x>
<y>2</y>
<height>16</height>
<width>96</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>10</id>
<alignment>0</alignment>
<tabsequence>140</tabsequence>
<border>5</border>
<color>33554432</color>
<x>1127</x>
<y>2</y>
<height>16</height>
<width>70</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>11</id>
<alignment>0</alignment>
<tabsequence>50</tabsequence>
<border>0</border>
<color>33554432</color>
<x>331</x>
<y>1</y>
<height>16</height>
<width>73</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_fname</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>12</id>
<alignment>0</alignment>
<tabsequence>60</tabsequence>
<border>0</border>
<color>33554432</color>
<x>406</x>
<y>1</y>
<height>16</height>
<width>73</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_lname</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>13</id>
<alignment>0</alignment>
<tabsequence>80</tabsequence>
<border>0</border>
<color>33554432</color>
<x>570</x>
<y>1</y>
<height>16</height>
<width>80</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>dept_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>14</id>
<alignment>0</alignment>
<tabsequence>70</tabsequence>
<border>0</border>
<color>33554432</color>
<x>481</x>
<y>1</y>
<height>16</height>
<width>87</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ad_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
<HtmlGen>
<clientevents>1</clientevents>
<clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
</Export.XML>
<Import.XML>
</Import.XML>
<Export.PDF>
<method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow>
<Release>9</Release>
<BaseDefinition>
<units>1</units>
<timer_interval>0</timer_interval>
<color>67108864</color>
<processing>1</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>24</left>
<right>24</right>
<top>24</top>
<bottom>24</bottom>
</margin>
<paper>
<source>0</source>
<size>0</size>
</paper>
<prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons>
<preview.buttons>no</preview.buttons>
<cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob>
</print>
<grid.lines>0</grid.lines>
</BaseDefinition>
<Header>
<height>20</height>
<color>536870912</color>
</Header>
<Summary>
<height>0</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>23</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>tran_id</name>
<dbname>employee_bond_def_det.tran_id</dbname>
</table_column>
<table_column>
<type precision="0">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>line_no</name>
<dbname>employee_bond_def_det.line_no</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>bond_amt__curr</name>
<dbname>employee_bond_def_det.bond_amt__curr</dbname>
</table_column>
<table_column>
<type precision="0">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>bond_prd__curr</name>
<dbname>employee_bond_def_det.bond_prd__curr</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>bond_amt</name>
<dbname>employee_bond_def_det.bond_amt</dbname>
</table_column>
<table_column>
<type precision="0">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>bond_prd</name>
<dbname>employee_bond_def_det.bond_prd</dbname>
</table_column>
<table_column>
<type precision="0">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>line_no__ref</name>
<dbname>employee_bond_def_det.line_no__ref</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;employee_bond_def_det&quot; ) COLUMN(NAME=&quot;employee_bond_def_det.tran_id&quot;) COLUMN(NAME=&quot;employee_bond_def_det.line_no&quot;) COLUMN(NAME=&quot;employee_bond_def_det.bond_amt__curr&quot;) COLUMN(NAME=&quot;employee_bond_def_det.bond_prd__curr&quot;) COLUMN(NAME=&quot;employee_bond_def_det.bond_amt&quot;) COLUMN(NAME=&quot;employee_bond_def_det.bond_prd&quot;) COLUMN(NAME=&quot;employee_bond_def_det.line_no__ref&quot;)WHERE( EXP1 =&quot;~&quot;EMPLOYEE_BOND_DEF_DET~&quot;.~&quot;TRAN_ID~&quot;&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = number) </retrieve>
<update>EMPLOYEE_BOND_DEF_DET</update>
<updatewhere>1</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
<argument>
<name>tran_id</name>
<type>number</type>
</argument>
</TableDefinition>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Transaction Id</text>
<border>6</border>
<color>33554432</color>
<x>2</x>
<y>2</y>
<height>16</height>
<width>90</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>1</alignment>
<text>Line No</text>
<border>6</border>
<color>33554432</color>
<x>94</x>
<y>2</y>
<height>16</height>
<width>57</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>1</alignment>
<text>Bond Amount Current</text>
<border>6</border>
<color>33554432</color>
<x>153</x>
<y>2</y>
<height>16</height>
<width>137</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bond_amt__curr_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>1</alignment>
<text>Bond Period Current</text>
<border>6</border>
<color>33554432</color>
<x>292</x>
<y>2</y>
<height>16</height>
<width>128</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bond_prd__curr_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>1</alignment>
<text>Bond Amount</text>
<border>6</border>
<color>33554432</color>
<x>422</x>
<y>2</y>
<height>16</height>
<width>102</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bond_amt_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>1</alignment>
<text>Bond Period</text>
<border>6</border>
<color>33554432</color>
<x>526</x>
<y>2</y>
<height>16</height>
<width>81</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bond_prd_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>1</alignment>
<text>Line No Reference</text>
<border>6</border>
<color>33554432</color>
<x>609</x>
<y>2</y>
<height>16</height>
<width>114</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no__ref_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>5</border>
<color>33554432</color>
<x>2</x>
<y>2</y>
<height>16</height>
<width>90</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<alignment>1</alignment>
<tabsequence>50</tabsequence>
<border>5</border>
<color>33554432</color>
<x>422</x>
<y>2</y>
<height>16</height>
<width>102</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bond_amt</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>1</alignment>
<tabsequence>30</tabsequence>
<border>5</border>
<color>33554432</color>
<x>153</x>
<y>2</y>
<height>16</height>
<width>137</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bond_amt__curr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>1</alignment>
<tabsequence>20</tabsequence>
<border>5</border>
<color>33554432</color>
<x>94</x>
<y>2</y>
<height>16</height>
<width>57</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<alignment>1</alignment>
<tabsequence>40</tabsequence>
<border>5</border>
<color>33554432</color>
<x>292</x>
<y>2</y>
<height>16</height>
<width>128</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bond_prd__curr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>6</id>
<alignment>1</alignment>
<tabsequence>60</tabsequence>
<border>5</border>
<color>33554432</color>
<x>526</x>
<y>2</y>
<height>16</height>
<width>81</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bond_prd</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<alignment>1</alignment>
<tabsequence>70</tabsequence>
<border>5</border>
<color>33554432</color>
<x>609</x>
<y>2</y>
<height>16</height>
<width>114</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no__ref</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
<HtmlGen>
<clientevents>1</clientevents>
<clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
</Export.XML>
<Import.XML>
</Import.XML>
<Export.PDF>
<method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow>
<Release>9</Release>
<BaseDefinition>
<units>1</units>
<timer_interval>0</timer_interval>
<color>67108864</color>
<processing>1</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>24</left>
<right>24</right>
<top>24</top>
<bottom>24</bottom>
</margin>
<paper>
<source>0</source>
<size>0</size>
</paper>
<prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons>
<preview.buttons>no</preview.buttons>
<cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob>
</print>
<grid.lines>0</grid.lines>
</BaseDefinition>
<Header>
<height>20</height>
<color>536870912</color>
</Header>
<Summary>
<height>0</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>23</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>tran_id</name>
<dbname>employee_bond_def_det.tran_id</dbname>
</table_column>
<table_column>
<type precision="0">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>line_no</name>
<dbname>employee_bond_def_det.line_no</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>bond_amt__curr</name>
<dbname>employee_bond_def_det.bond_amt__curr</dbname>
</table_column>
<table_column>
<type precision="0">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>bond_prd__curr</name>
<dbname>employee_bond_def_det.bond_prd__curr</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>bond_amt</name>
<dbname>employee_bond_def_det.bond_amt</dbname>
</table_column>
<table_column>
<type precision="0">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>bond_prd</name>
<dbname>employee_bond_def_det.bond_prd</dbname>
</table_column>
<table_column>
<type precision="0">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>line_no__ref</name>
<dbname>employee_bond_def_det.line_no__ref</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;employee_bond_def_det&quot; ) COLUMN(NAME=&quot;employee_bond_def_det.tran_id&quot;) COLUMN(NAME=&quot;employee_bond_def_det.line_no&quot;) COLUMN(NAME=&quot;employee_bond_def_det.bond_amt__curr&quot;) COLUMN(NAME=&quot;employee_bond_def_det.bond_prd__curr&quot;) COLUMN(NAME=&quot;employee_bond_def_det.bond_amt&quot;) COLUMN(NAME=&quot;employee_bond_def_det.bond_prd&quot;) COLUMN(NAME=&quot;employee_bond_def_det.line_no__ref&quot;)WHERE( EXP1 =&quot;~&quot;EMPLOYEE_BOND_DEF_DET~&quot;.~&quot;TRAN_ID~&quot;&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = number) </retrieve>
<update>EMPLOYEE_BOND_DEF_DET</update>
<updatewhere>1</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
<argument>
<name>tran_id</name>
<type>number</type>
</argument>
</TableDefinition>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Transaction Id</text>
<border>6</border>
<color>33554432</color>
<x>2</x>
<y>2</y>
<height>16</height>
<width>90</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>1</alignment>
<text>Line No</text>
<border>6</border>
<color>33554432</color>
<x>94</x>
<y>2</y>
<height>16</height>
<width>57</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>1</alignment>
<text>Bond Amount Current</text>
<border>6</border>
<color>33554432</color>
<x>153</x>
<y>2</y>
<height>16</height>
<width>137</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bond_amt__curr_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>1</alignment>
<text>Bond Period Current</text>
<border>6</border>
<color>33554432</color>
<x>292</x>
<y>2</y>
<height>16</height>
<width>128</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bond_prd__curr_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>1</alignment>
<text>Bond Amount</text>
<border>6</border>
<color>33554432</color>
<x>422</x>
<y>2</y>
<height>16</height>
<width>102</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bond_amt_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>1</alignment>
<text>Bond Period</text>
<border>6</border>
<color>33554432</color>
<x>526</x>
<y>2</y>
<height>16</height>
<width>81</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bond_prd_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>1</alignment>
<text>Line No Reference</text>
<border>6</border>
<color>33554432</color>
<x>609</x>
<y>2</y>
<height>16</height>
<width>114</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no__ref_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>5</border>
<color>33554432</color>
<x>2</x>
<y>2</y>
<height>16</height>
<width>90</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<alignment>1</alignment>
<tabsequence>50</tabsequence>
<border>5</border>
<color>33554432</color>
<x>422</x>
<y>2</y>
<height>16</height>
<width>102</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bond_amt</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>1</alignment>
<tabsequence>30</tabsequence>
<border>5</border>
<color>33554432</color>
<x>153</x>
<y>2</y>
<height>16</height>
<width>137</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bond_amt__curr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>1</alignment>
<tabsequence>20</tabsequence>
<border>5</border>
<color>33554432</color>
<x>94</x>
<y>2</y>
<height>16</height>
<width>57</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<alignment>1</alignment>
<tabsequence>40</tabsequence>
<border>5</border>
<color>33554432</color>
<x>292</x>
<y>2</y>
<height>16</height>
<width>128</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bond_prd__curr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>6</id>
<alignment>1</alignment>
<tabsequence>60</tabsequence>
<border>5</border>
<color>33554432</color>
<x>526</x>
<y>2</y>
<height>16</height>
<width>81</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bond_prd</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<alignment>1</alignment>
<tabsequence>70</tabsequence>
<border>5</border>
<color>33554432</color>
<x>609</x>
<y>2</y>
<height>16</height>
<width>114</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no__ref</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
<HtmlGen>
<clientevents>1</clientevents>
<clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
</Export.XML>
<Import.XML>
</Import.XML>
<Export.PDF>
<method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow>
<Release>9</Release>
<BaseDefinition>
<units>1</units>
<timer_interval>0</timer_interval>
<color>67108864</color>
<processing>0</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>24</left>
<right>24</right>
<top>24</top>
<bottom>24</bottom>
</margin>
<paper>
<source>0</source>
<size>0</size>
</paper>
<prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons>
<preview.buttons>no</preview.buttons>
<cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob>
</print>
</BaseDefinition>
<Summary>
<height>0</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>308</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>tran_id</name>
<dbname>employee_bond_def.tran_id</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>tran_date</name>
<dbname>employee_bond_def.tran_date</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>site_code</name>
<dbname>employee_bond_def.site_code</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>emp_code</name>
<dbname>employee_bond_def.emp_code</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>confirmed</name>
<dbname>employee_bond_def.confirmed</dbname>
<values>
<item display="Yes" data="Y"/>
<item display="No" data="N"/>
</values>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>conf_date</name>
<dbname>employee_bond_def.conf_date</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>emp_code__aprv</name>
<dbname>employee_bond_def.emp_code__aprv</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_user</name>
<dbname>employee_bond_def.chg_user</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_term</name>
<dbname>employee_bond_def.chg_term</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_date</name>
<dbname>employee_bond_def.chg_date</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>emp_fname</name>
<dbname>employee.emp_fname</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>emp_mname</name>
<dbname>employee.emp_mname</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>emp_lname</name>
<dbname>employee.emp_lname</dbname>
</table_column>
<table_column>
<type size="60">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>site_descr</name>
<dbname>site.descr</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>dept_code</name>
<dbname>employee.dept_code</dbname>
</table_column>
<table_column>
<type size="40">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>department_descr</name>
<dbname>department.descr</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>employee_emp_fname</name>
<dbname>employee.emp_fname</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>employee_emp_mname</name>
<dbname>employee.emp_mname</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>employee_emp_lname</name>
<dbname>employee.emp_lname</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;employee_bond_def&quot; ) TABLE(NAME=&quot;employee&quot; ALIAS=&quot;employee_a&quot; ) TABLE(NAME=&quot;site&quot; ) TABLE(NAME=&quot;department&quot; ) TABLE(NAME=&quot;employee&quot; ALIAS=&quot;employee_b&quot; ) COLUMN(NAME=&quot;employee_bond_def.tran_id&quot;) COLUMN(NAME=&quot;employee_bond_def.tran_date&quot;) COLUMN(NAME=&quot;employee_bond_def.site_code&quot;) COLUMN(NAME=&quot;employee_bond_def.emp_code&quot;) COLUMN(NAME=&quot;employee_bond_def.confirmed&quot;) COLUMN(NAME=&quot;employee_bond_def.conf_date&quot;) COLUMN(NAME=&quot;employee_bond_def.emp_code__aprv&quot;) COLUMN(NAME=&quot;employee_bond_def.chg_user&quot;) COLUMN(NAME=&quot;employee_bond_def.chg_term&quot;) COLUMN(NAME=&quot;employee_bond_def.chg_date&quot;) COLUMN(NAME=&quot;employee_a.emp_fname&quot;) COLUMN(NAME=&quot;employee_a.emp_mname&quot;) COLUMN(NAME=&quot;employee_a.emp_lname&quot;) COLUMN(NAME=&quot;site.descr&quot;) COLUMN(NAME=&quot;employee_a.dept_code&quot;) COLUMN(NAME=&quot;department.descr&quot;) COLUMN(NAME=&quot;employee_b.emp_fname&quot;) COLUMN(NAME=&quot;employee_b.emp_mname&quot;) COLUMN(NAME=&quot;employee_b.emp_lname&quot;) JOIN (LEFT=&quot;employee_bond_def.emp_code&quot; OP =&quot;=&quot;RIGHT=&quot;employee_a.emp_code&quot; OUTER1 =&quot;employee_bond_def.emp_code&quot; ) JOIN (LEFT=&quot;site.site_code&quot; OP =&quot;=&quot;RIGHT=&quot;employee_a.emp_site&quot; OUTER2 =&quot;employee_a.emp_site&quot; ) JOIN (LEFT=&quot;employee_bond_def.emp_code__aprv&quot; OP =&quot;=&quot;RIGHT=&quot;employee_b.emp_code&quot; OUTER1 =&quot;employee_bond_def.emp_code__aprv&quot; ) JOIN (LEFT=&quot;department.dept_code&quot; OP =&quot;=&quot;RIGHT=&quot;employee_a.dept_code&quot; ) WHERE( EXP1 =&quot;employee_bond_def.tran_id&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) </retrieve>
<update>employee_bond_def</update>
<updatewhere>1</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
<argument>
<name>tran_id</name>
<type>string</type>
</argument>
</TableDefinition>
<GroupBox>
<band>Detail</band>
<text>Others</text>
<border>2</border>
<color>33554432</color>
<x>3</x>
<y>172</y>
<height>100</height>
<width>516</width>
<name>gb_2</name>
<visible>1</visible>
<font>
<face>Times</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>
</GroupBox>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Change Term:</text>
<border>0</border>
<color>33554432</color>
<x>341</x>
<y>194</y>
<height>16</height>
<width>97</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>442</x>
<y>194</y>
<height>16</height>
<width>65</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>15</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Change Date:</text>
<border>0</border>
<color>33554432</color>
<x>8</x>
<y>215</y>
<height>16</height>
<width>97</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>10</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>109</x>
<y>215</y>
<height>16</height>
<width>86</width>
<format>dd/mm/yy</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date</name>
<visible>1</visible>
<EditStyle style="editmask">
<mask>dd/mm/yy</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<GroupBox>
<band>Detail</band>
<text>Basic</text>
<border>2</border>
<color>33554432</color>
<x>3</x>
<y>6</y>
<height>156</height>
<width>516</width>
<name>gb_1</name>
<visible>1</visible>
<font>
<face>Times</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>
</GroupBox>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Confirmed:</text>
<border>0</border>
<color>33554432</color>
<x>8</x>
<y>109</y>
<height>16</height>
<width>97</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>confirmed_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Approved by:</text>
<border>0</border>
<color>33554432</color>
<x>8</x>
<y>130</y>
<height>16</height>
<width>97</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__aprv_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Transaction Id:</text>
<border>0</border>
<color>33554432</color>
<x>8</x>
<y>25</y>
<height>16</height>
<width>97</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>110</x>
<y>25</y>
<height>16</height>
<width>108</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Date:</text>
<border>0</border>
<color>33554432</color>
<x>336</x>
<y>25</y>
<height>16</height>
<width>102</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_date_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>442</x>
<y>25</y>
<height>16</height>
<width>65</width>
<format>dd/mm/yy</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_date</name>
<visible>1</visible>
<EditStyle style="editmask">
<mask>dd/mm/yy</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Site Code:</text>
<border>0</border>
<color>33554432</color>
<x>8</x>
<y>46</y>
<height>16</height>
<width>97</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>134217857</color>
<x>110</x>
<y>46</y>
<height>16</height>
<width>86</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>5</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Employee:</text>
<border>0</border>
<color>33554432</color>
<x>8</x>
<y>67</y>
<height>16</height>
<width>97</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>11</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>202</x>
<y>67</y>
<height>16</height>
<width>98</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_fname</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>12</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>305</x>
<y>67</y>
<height>16</height>
<width>98</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_mname</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Department:</text>
<border>0</border>
<color>33554432</color>
<x>8</x>
<y>88</y>
<height>16</height>
<width>97</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>dept_code_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>5</border>
<color>33554432</color>
<x>110</x>
<y>67</y>
<height>16</height>
<width>86</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>110</x>
<y>109</y>
<height>16</height>
<width>86</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>confirmed</name>
<visible>1</visible>
<EditStyle style="ddlb">
<limit>0</limit>
<allowedit>no</allowedit>
<case>any</case>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Confirmed on:</text>
<border>0</border>
<color>33554432</color>
<x>330</x>
<y>109</y>
<height>16</height>
<width>108</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>conf_date_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>6</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>442</x>
<y>109</y>
<height>16</height>
<width>65</width>
<format>dd/mm/yy</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>conf_date</name>
<visible>1</visible>
<EditStyle style="editmask">
<mask>dd/mm/yy</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>110</x>
<y>130</y>
<height>16</height>
<width>86</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__aprv</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>17</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>202</x>
<y>130</y>
<height>16</height>
<width>98</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>employee_emp_fname</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>18</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>305</x>
<y>130</y>
<height>16</height>
<width>98</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>employee_emp_mname</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>19</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>409</x>
<y>130</y>
<height>16</height>
<width>98</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>employee_emp_lname</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>15</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>110</x>
<y>88</y>
<height>16</height>
<width>86</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>dept_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>13</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>409</x>
<y>67</y>
<height>16</height>
<width>98</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_lname</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>16</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>202</x>
<y>88</y>
<height>16</height>
<width>305</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>department_descr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>14</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>202</x>
<y>46</y>
<height>16</height>
<width>305</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_descr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Change User:</text>
<border>0</border>
<color>33554432</color>
<x>8</x>
<y>194</y>
<height>16</height>
<width>97</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>109</x>
<y>194</y>
<height>16</height>
<width>86</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
<HtmlGen>
<clientevents>1</clientevents>
<clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
<Template>
<comment></comment>
<encoding>UTF-8</encoding>
<name>d_employee_bond_def21</name>
<xml>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&lt;untitled&gt;&lt;untitled_row __pbband=&quot;detail&quot;&gt;&lt;tran_id/&gt;&lt;tran_date/&gt;&lt;site_code/&gt;&lt;emp_code/&gt;&lt;confirmed&gt;confirmed&lt;/confirmed&gt;&lt;conf_date&gt;conf_date&lt;/conf_date&gt;&lt;emp_code__aprv/&gt;&lt;chg_user&gt;chg_user&lt;/chg_user&gt;&lt;chg_term&gt;chg_term&lt;/chg_term&gt;&lt;/untitled_row&gt;&lt;/untitled&gt;</xml>
</Template>
</Export.XML>
<Import.XML>
</Import.XML>
<Export.PDF>
<method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow>
<Release>9</Release>
<BaseDefinition>
<units>1</units>
<timer_interval>0</timer_interval>
<color>67108864</color>
<processing>0</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>24</left>
<right>24</right>
<top>24</top>
<bottom>24</bottom>
</margin>
<paper>
<source>0</source>
<size>0</size>
</paper>
<prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons>
<preview.buttons>no</preview.buttons>
<cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob>
</print>
</BaseDefinition>
<Summary>
<height>0</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>452</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>tran_id</name>
<dbname>employee_bond_def.tran_id</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>tran_date</name>
<dbname>employee_bond_def.tran_date</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>site_code</name>
<dbname>employee_bond_def.site_code</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>emp_code</name>
<dbname>employee_bond_def.emp_code</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>confirmed</name>
<dbname>employee_bond_def.confirmed</dbname>
<values>
<item display="Yes" data="Y"/>
<item display="No" data="N"/>
</values>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>conf_date</name>
<dbname>employee_bond_def.conf_date</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>emp_code__aprv</name>
<dbname>employee_bond_def.emp_code__aprv</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_user</name>
<dbname>employee_bond_def.chg_user</dbname>
</table_column>
<table_column>
<type size="300">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_term</name>
<dbname>employee_bond_def.chg_term</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_date</name>
<dbname>employee_bond_def.chg_date</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>emp_fname</name>
<dbname>employee.emp_fname</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>emp_mname</name>
<dbname>employee.emp_mname</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>emp_lname</name>
<dbname>employee.emp_lname</dbname>
</table_column>
<table_column>
<type size="60">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>site_descr</name>
<dbname>site.descr</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>dept_code</name>
<dbname>employee.dept_code</dbname>
</table_column>
<table_column>
<type size="40">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>department_descr</name>
<dbname>department.descr</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>employee_emp_fname</name>
<dbname>employee.emp_fname</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>employee_emp_mname</name>
<dbname>employee.emp_mname</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>employee_emp_lname</name>
<dbname>employee.emp_lname</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>tran_id__bond</name>
<dbname>employee_bond_def.tran_id__bond</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>tran_id__pvouch</name>
<dbname>employee_bond_def.tran_id__pvouch</dbname>
</table_column>
<table_column>
<type precision="0">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>line_no__pvouch</name>
<dbname>employee_bond_def.line_no__pvouch</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>ad_code</name>
<dbname>employee_bond_def.ad_code</dbname>
</table_column>
<table_column>
<type size="40">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>allwdedn_descr</name>
<dbname>allwdedn.descr</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;employee_bond_def&quot; ) TABLE(NAME=&quot;employee&quot; ALIAS=&quot;employee_a&quot; ) TABLE(NAME=&quot;site&quot; ) TABLE(NAME=&quot;department&quot; ) TABLE(NAME=&quot;employee&quot; ALIAS=&quot;employee_b&quot; ) TABLE(NAME=&quot;allwdedn&quot; ) COLUMN(NAME=&quot;employee_bond_def.tran_id&quot;) COLUMN(NAME=&quot;employee_bond_def.tran_date&quot;) COLUMN(NAME=&quot;employee_bond_def.site_code&quot;) COLUMN(NAME=&quot;employee_bond_def.emp_code&quot;) COLUMN(NAME=&quot;employee_bond_def.confirmed&quot;) COLUMN(NAME=&quot;employee_bond_def.conf_date&quot;) COLUMN(NAME=&quot;employee_bond_def.emp_code__aprv&quot;) COLUMN(NAME=&quot;employee_bond_def.chg_user&quot;) COLUMN(NAME=&quot;employee_bond_def.chg_term&quot;) COLUMN(NAME=&quot;employee_bond_def.chg_date&quot;) COLUMN(NAME=&quot;employee_a.emp_fname&quot;) COLUMN(NAME=&quot;employee_a.emp_mname&quot;) COLUMN(NAME=&quot;employee_a.emp_lname&quot;) COLUMN(NAME=&quot;site.descr&quot;) COLUMN(NAME=&quot;employee_a.dept_code&quot;) COLUMN(NAME=&quot;department.descr&quot;) COLUMN(NAME=&quot;employee_b.emp_fname&quot;) COLUMN(NAME=&quot;employee_b.emp_mname&quot;) COLUMN(NAME=&quot;employee_b.emp_lname&quot;) COLUMN(NAME=&quot;employee_bond_def.tran_id__bond&quot;) COLUMN(NAME=&quot;employee_bond_def.tran_id__pvouch&quot;) COLUMN(NAME=&quot;employee_bond_def.line_no__pvouch&quot;) COLUMN(NAME=&quot;employee_bond_def.ad_code&quot;) COLUMN(NAME=&quot;allwdedn.descr&quot;) JOIN (LEFT=&quot;employee_bond_def.emp_code&quot; OP =&quot;=&quot;RIGHT=&quot;employee_a.emp_code&quot; OUTER1 =&quot;employee_bond_def.emp_code&quot; ) JOIN (LEFT=&quot;site.site_code&quot; OP =&quot;=&quot;RIGHT=&quot;employee_a.emp_site&quot; OUTER2 =&quot;employee_a.emp_site&quot; ) JOIN (LEFT=&quot;employee_bond_def.emp_code__aprv&quot; OP =&quot;=&quot;RIGHT=&quot;employee_b.emp_code&quot; OUTER1 =&quot;employee_bond_def.emp_code__aprv&quot; ) JOIN (LEFT=&quot;department.dept_code&quot; OP =&quot;=&quot;RIGHT=&quot;employee_a.dept_code&quot; ) JOIN (LEFT=&quot;employee_bond_def.ad_code&quot; OP =&quot;=&quot;RIGHT=&quot;allwdedn.ad_code&quot; )WHERE( EXP1 =&quot;employee_bond_def.tran_id&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) </retrieve>
<update>EMPLOYEE_BOND_DEF</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
<argument>
<name>tran_id</name>
<type>string</type>
</argument>
</TableDefinition>
<GroupBox>
<band>Detail</band>
<text>Basic</text>
<border>2</border>
<color>33554432</color>
<x>3</x>
<y>6</y>
<height>286</height>
<width>560</width>
<name>gb_1</name>
<visible>1</visible>
<font>
<face>Times</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>
</GroupBox>
<GroupBox>
<band>Detail</band>
<text>Others</text>
<border>2</border>
<color>33554432</color>
<x>3</x>
<y>302</y>
<height>74</height>
<width>560</width>
<name>gb_2</name>
<visible>1</visible>
<font>
<face>Times</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>
</GroupBox>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Transaction Id:</text>
<border>0</border>
<color>33554432</color>
<x>25</x>
<y>38</y>
<height>16</height>
<width>97</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>127</x>
<y>38</y>
<height>16</height>
<width>108</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Employee:</text>
<border>0</border>
<color>33554432</color>
<x>25</x>
<y>59</y>
<height>16</height>
<width>97</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<alignment>0</alignment>
<tabsequence>40</tabsequence>
<border>5</border>
<color>33554432</color>
<x>127</x>
<y>59</y>
<height>16</height>
<width>86</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>11</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>219</x>
<y>59</y>
<height>16</height>
<width>98</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_fname</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>12</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>322</x>
<y>59</y>
<height>16</height>
<width>98</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_mname</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>13</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>425</x>
<y>59</y>
<height>16</height>
<width>98</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_lname</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Tran Id Bond :</text>
<border>0</border>
<color>33554432</color>
<x>25</x>
<y>81</y>
<height>16</height>
<width>97</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id__bond_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>20</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>5</border>
<color>255</color>
<x>127</x>
<y>81</y>
<height>16</height>
<width>108</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id__bond</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Tran Id Vocher :</text>
<border>0</border>
<color>33554432</color>
<x>25</x>
<y>102</y>
<height>16</height>
<width>97</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id__pvouch_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>21</id>
<alignment>0</alignment>
<tabsequence>20</tabsequence>
<border>5</border>
<color>255</color>
<x>127</x>
<y>102</y>
<height>16</height>
<width>108</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id__pvouch</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Line No Vocher :</text>
<border>0</border>
<color>33554432</color>
<x>25</x>
<y>123</y>
<height>16</height>
<width>97</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no__pvouch_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>22</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>127</x>
<y>123</y>
<height>16</height>
<width>108</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no__pvouch</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Ad Code :</text>
<border>0</border>
<color>33554432</color>
<x>25</x>
<y>144</y>
<height>16</height>
<width>97</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ad_code_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>23</id>
<alignment>0</alignment>
<tabsequence>30</tabsequence>
<border>5</border>
<color>255</color>
<x>127</x>
<y>145</y>
<height>16</height>
<width>108</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ad_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>24</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>127</x>
<y>167</y>
<height>16</height>
<width>108</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>allwdedn_descr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Site Code:</text>
<border>0</border>
<color>33554432</color>
<x>24</x>
<y>188</y>
<height>16</height>
<width>97</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>134217857</color>
<x>126</x>
<y>188</y>
<height>16</height>
<width>86</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>5</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>14</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>218</x>
<y>188</y>
<height>16</height>
<width>305</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_descr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Department:</text>
<border>0</border>
<color>33554432</color>
<x>24</x>
<y>210</y>
<height>16</height>
<width>97</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>dept_code_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>15</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>126</x>
<y>210</y>
<height>16</height>
<width>86</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>dept_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>16</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>218</x>
<y>210</y>
<height>16</height>
<width>305</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>department_descr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Confirmed:</text>
<border>0</border>
<color>33554432</color>
<x>24</x>
<y>231</y>
<height>16</height>
<width>97</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>confirmed_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>126</x>
<y>231</y>
<height>16</height>
<width>86</width>
<format>[Yes/No]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>confirmed</name>
<visible>1</visible>
<EditStyle style="ddlb">
<limit>1</limit>
<allowedit>no</allowedit>
<case>any</case>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Confirmed on:</text>
<border>0</border>
<color>33554432</color>
<x>345</x>
<y>231</y>
<height>16</height>
<width>108</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>conf_date_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>6</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>458</x>
<y>231</y>
<height>16</height>
<width>65</width>
<format>dd/mm/yy</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>conf_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Approved by:</text>
<border>0</border>
<color>33554432</color>
<x>24</x>
<y>252</y>
<height>16</height>
<width>97</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__aprv_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>126</x>
<y>252</y>
<height>16</height>
<width>86</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__aprv</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>17</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>218</x>
<y>252</y>
<height>16</height>
<width>98</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>employee_emp_fname</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>18</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>321</x>
<y>252</y>
<height>16</height>
<width>98</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>employee_emp_mname</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>19</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>425</x>
<y>252</y>
<height>16</height>
<width>98</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>employee_emp_lname</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>126</x>
<y>326</y>
<height>16</height>
<width>86</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>10</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>126</x>
<y>347</y>
<height>16</height>
<width>86</width>
<format>dd/mm/yy</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>454</x>
<y>326</y>
<height>16</height>
<width>65</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>15</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Change User:</text>
<border>0</border>
<color>33554432</color>
<x>24</x>
<y>326</y>
<height>16</height>
<width>97</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Change Date:</text>
<border>0</border>
<color>33554432</color>
<x>24</x>
<y>347</y>
<height>16</height>
<width>97</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Change Term:</text>
<border>0</border>
<color>33554432</color>
<x>352</x>
<y>326</y>
<height>16</height>
<width>97</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>415</x>
<y>39</y>
<height>16</height>
<width>108</width>
<format>dd/mm/yy</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_date</name>
<visible>1</visible>
<EditStyle style="editmask">
<mask>dd/mm/yy</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Date:</text>
<border>0</border>
<color>33554432</color>
<x>363</x>
<y>38</y>
<height>16</height>
<width>47</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_date_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
<HtmlGen>
<clientevents>1</clientevents>
<clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
<Template>
<comment></comment>
<encoding>UTF-8</encoding>
<name>d_employee_bond_def21</name>
<xml>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&lt;untitled&gt;&lt;untitled_row __pbband=&quot;detail&quot;&gt;&lt;tran_id/&gt;&lt;tran_date/&gt;&lt;site_code/&gt;&lt;emp_code/&gt;&lt;confirmed&gt;confirmed&lt;/confirmed&gt;&lt;conf_date&gt;conf_date&lt;/conf_date&gt;&lt;emp_code__aprv/&gt;&lt;chg_user&gt;chg_user&lt;/chg_user&gt;&lt;chg_term&gt;chg_term&lt;/chg_term&gt;&lt;/untitled_row&gt;&lt;/untitled&gt;</xml>
</Template>
</Export.XML>
<Import.XML>
</Import.XML>
<Export.PDF>
<method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow>
<Release>9</Release>
<BaseDefinition>
<units>1</units>
<timer_interval>0</timer_interval>
<color>67108864</color>
<processing>0</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>24</left>
<right>24</right>
<top>24</top>
<bottom>24</bottom>
</margin>
<paper>
<source>0</source>
<size>0</size>
</paper>
<prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons>
<preview.buttons>no</preview.buttons>
<cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob>
</print>
</BaseDefinition>
<Summary>
<height>0</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>206</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>tran_id</name>
<dbname>employee_bond_def_det.tran_id</dbname>
</table_column>
<table_column>
<type precision="0">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>line_no</name>
<dbname>employee_bond_def_det.line_no</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>bond_amt__curr</name>
<dbname>employee_bond_def_det.bond_amt__curr</dbname>
</table_column>
<table_column>
<type precision="0">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>bond_prd__curr</name>
<dbname>employee_bond_def_det.bond_prd__curr</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>bond_amt</name>
<dbname>employee_bond_def_det.bond_amt</dbname>
</table_column>
<table_column>
<type precision="0">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>bond_prd</name>
<dbname>employee_bond_def_det.bond_prd</dbname>
</table_column>
<table_column>
<type precision="0">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>line_no__ref</name>
<dbname>employee_bond_def_det.line_no__ref</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;employee_bond_def_det&quot; ) COLUMN(NAME=&quot;employee_bond_def_det.tran_id&quot;) COLUMN(NAME=&quot;employee_bond_def_det.line_no&quot;) COLUMN(NAME=&quot;employee_bond_def_det.bond_amt__curr&quot;) COLUMN(NAME=&quot;employee_bond_def_det.bond_prd__curr&quot;) COLUMN(NAME=&quot;employee_bond_def_det.bond_amt&quot;) COLUMN(NAME=&quot;employee_bond_def_det.bond_prd&quot;) COLUMN(NAME=&quot;employee_bond_def_det.line_no__ref&quot;)) </retrieve>
<update>EMPLOYEE_BOND_DEF_DET</update>
<updatewhere>1</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
</TableDefinition>
<GroupBox>
<band>Detail</band>
<text>Basic</text>
<border>2</border>
<color>0</color>
<x>9</x>
<y>0</y>
<height>199</height>
<width>523</width>
<name>gb_1</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</GroupBox>
<ColumnObject>
<band>Detail</band>
<id>6</id>
<alignment>1</alignment>
<tabsequence>20</tabsequence>
<border>5</border>
<color>0</color>
<x>153</x>
<y>102</y>
<height>16</height>
<width>72</width>
<format>#0</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bond_prd</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>2</limit>
<case>any</case>
<format>#0</format>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>153</x>
<y>123</y>
<height>16</height>
<width>108</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>153</x>
<y>81</y>
<height>16</height>
<width>72</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bond_prd__curr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Bond Period Current:</text>
<border>0</border>
<color>33554432</color>
<x>22</x>
<y>81</y>
<height>16</height>
<width>127</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bond_prd__curr_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Bond Period:</text>
<border>0</border>
<color>33554432</color>
<x>56</x>
<y>102</y>
<height>16</height>
<width>93</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bond_prd_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Transaction Id:</text>
<border>0</border>
<color>33554432</color>
<x>56</x>
<y>123</y>
<height>16</height>
<width>93</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Bond Amount Current:</text>
<border>0</border>
<color>33554432</color>
<x>281</x>
<y>81</y>
<height>16</height>
<width>132</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bond_amt__curr_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Bond Amount:</text>
<border>0</border>
<color>33554432</color>
<x>320</x>
<y>102</y>
<height>16</height>
<width>93</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bond_amt_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Line No:</text>
<border>0</border>
<color>33554432</color>
<x>83</x>
<y>60</y>
<height>16</height>
<width>66</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>153</x>
<y>60</y>
<height>16</height>
<width>72</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Line No Reference:</text>
<border>0</border>
<color>33554432</color>
<x>274</x>
<y>60</y>
<height>16</height>
<width>139</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>t_1</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<alignment>1</alignment>
<tabsequence>10</tabsequence>
<border>5</border>
<color>0</color>
<x>417</x>
<y>60</y>
<height>16</height>
<width>72</width>
<format>##0</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no__ref</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>3</limit>
<case>any</case>
<format>##0</format>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>417</x>
<y>81</y>
<height>16</height>
<width>72</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bond_amt__curr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<alignment>1</alignment>
<tabsequence>30</tabsequence>
<border>5</border>
<color>0</color>
<x>417</x>
<y>102</y>
<height>16</height>
<width>72</width>
<format>##,###,##0.00</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bond_amt</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>13</limit>
<case>any</case>
<format>##,###,##0.00</format>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
<HtmlGen>
<clientevents>1</clientevents>
<clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
<Template>
<comment></comment>
<encoding>UTF-8</encoding>
<name>d_employee_bond_def22</name>
<xml>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&lt;untitled&gt;&lt;untitled_row __pbband=&quot;detail&quot;&gt;&lt;tran_id/&gt;&lt;line_no/&gt;&lt;bond_amt__curr/&gt;&lt;bond_prd__curr/&gt;&lt;bond_amt&gt;bond_amt&lt;/bond_amt&gt;&lt;bond_prd&gt;bond_prd&lt;/bond_prd&gt;&lt;/untitled_row&gt;&lt;/untitled&gt;</xml>
</Template>
</Export.XML>
<Import.XML>
</Import.XML>
<Export.PDF>
<method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow>
<Release>9</Release>
<BaseDefinition>
<units>1</units>
<timer_interval>0</timer_interval>
<color>67108864</color>
<processing>0</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>24</left>
<right>24</right>
<top>24</top>
<bottom>24</bottom>
</margin>
<paper>
<source>0</source>
<size>0</size>
</paper>
<prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons>
<preview.buttons>no</preview.buttons>
<cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob>
</print>
</BaseDefinition>
<Header>
<height>2</height>
<color>536870912</color>
</Header>
<Summary>
<height>0</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>378</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>tran_id</name>
<dbname>employee_bond_def_det.tran_id</dbname>
</table_column>
<table_column>
<type precision="0">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>line_no</name>
<dbname>employee_bond_def_det.line_no</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>bond_amt__curr</name>
<dbname>employee_bond_def_det.bond_amt__curr</dbname>
</table_column>
<table_column>
<type precision="0">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>bond_prd__curr</name>
<dbname>employee_bond_def_det.bond_prd__curr</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>bond_amt</name>
<dbname>employee_bond_def_det.bond_amt</dbname>
</table_column>
<table_column>
<type precision="0">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>bond_prd</name>
<dbname>employee_bond_def_det.bond_prd</dbname>
</table_column>
<table_column>
<type precision="0">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>line_no__ref</name>
<dbname>employee_bond_def_det.line_no__ref</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;employee_bond_def_det&quot; ) COLUMN(NAME=&quot;employee_bond_def_det.tran_id&quot;) COLUMN(NAME=&quot;employee_bond_def_det.line_no&quot;) COLUMN(NAME=&quot;employee_bond_def_det.bond_amt__curr&quot;) COLUMN(NAME=&quot;employee_bond_def_det.bond_prd__curr&quot;) COLUMN(NAME=&quot;employee_bond_def_det.bond_amt&quot;) COLUMN(NAME=&quot;employee_bond_def_det.bond_prd&quot;) COLUMN(NAME=&quot;employee_bond_def_det.line_no__ref&quot;)) </retrieve>
<update>EMPLOYEE_BOND_DEF_DET</update>
<updatewhere>1</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
</TableDefinition>
<GroupBox>
<band>Detail</band>
<text>Basic</text>
<border>2</border>
<color>0</color>
<x>10</x>
<y>22</y>
<height>149</height>
<width>523</width>
<name>gb_1</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</GroupBox>
<ColumnObject>
<band>Detail</band>
<id>6</id>
<alignment>1</alignment>
<tabsequence>20</tabsequence>
<border>5</border>
<color>0</color>
<x>153</x>
<y>102</y>
<height>16</height>
<width>72</width>
<format>#0</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bond_prd</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>2</limit>
<case>any</case>
<format>#0</format>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>153</x>
<y>81</y>
<height>16</height>
<width>72</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bond_prd__curr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Bond Period Current:</text>
<border>0</border>
<color>33554432</color>
<x>22</x>
<y>81</y>
<height>16</height>
<width>127</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bond_prd__curr_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Bond Period:</text>
<border>0</border>
<color>33554432</color>
<x>56</x>
<y>102</y>
<height>16</height>
<width>93</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bond_prd_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Bond Amount Current:</text>
<border>0</border>
<color>33554432</color>
<x>281</x>
<y>81</y>
<height>16</height>
<width>132</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bond_amt__curr_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Bond Amount:</text>
<border>0</border>
<color>33554432</color>
<x>320</x>
<y>102</y>
<height>16</height>
<width>93</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bond_amt_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Line No Reference:</text>
<border>0</border>
<color>33554432</color>
<x>275</x>
<y>60</y>
<height>16</height>
<width>139</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no__ref_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<alignment>1</alignment>
<tabsequence>10</tabsequence>
<border>5</border>
<color>0</color>
<x>418</x>
<y>60</y>
<height>16</height>
<width>72</width>
<format>##0</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no__ref</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>3</limit>
<case>any</case>
<format>##0</format>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>417</x>
<y>81</y>
<height>16</height>
<width>72</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bond_amt__curr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<alignment>1</alignment>
<tabsequence>30</tabsequence>
<border>5</border>
<color>0</color>
<x>417</x>
<y>102</y>
<height>16</height>
<width>72</width>
<format>##,###,##0.00</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bond_amt</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>13</limit>
<case>any</case>
<format>##,###,##0.00</format>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>152</x>
<y>123</y>
<height>16</height>
<width>108</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Transaction Id:</text>
<border>0</border>
<color>33554432</color>
<x>55</x>
<y>123</y>
<height>16</height>
<width>93</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Line No:</text>
<border>0</border>
<color>33554432</color>
<x>84</x>
<y>59</y>
<height>16</height>
<width>66</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>154</x>
<y>59</y>
<height>16</height>
<width>72</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
<HtmlGen>
<clientevents>1</clientevents>
<clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
<Template>
<comment></comment>
<encoding>UTF-8</encoding>
<name>d_employee_bond_def22</name>
<xml>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&lt;untitled&gt;&lt;untitled_row __pbband=&quot;detail&quot;&gt;&lt;tran_id/&gt;&lt;line_no/&gt;&lt;bond_amt__curr/&gt;&lt;bond_prd__curr/&gt;&lt;bond_amt&gt;bond_amt&lt;/bond_amt&gt;&lt;bond_prd&gt;bond_prd&lt;/bond_prd&gt;&lt;/untitled_row&gt;&lt;/untitled&gt;</xml>
</Template>
</Export.XML>
<Import.XML>
</Import.XML>
<Export.PDF>
<method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
......@@ -9,33 +9,45 @@ table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_i
column=(type=datetime update=yes updatewhereclause=yes name=tran_date dbname="employee_bond_def.tran_date" )
column=(type=char(5) update=yes updatewhereclause=yes name=site_code dbname="employee_bond_def.site_code" )
column=(type=char(10) update=yes updatewhereclause=yes name=emp_code dbname="employee_bond_def.emp_code" )
column=(type=char(1) update=yes updatewhereclause=yes name=confirmed dbname="employee_bond_def.confirmed" )
column=(type=char(1) update=yes updatewhereclause=yes name=confirmed dbname="employee_bond_def.confirmed" values="Yes Y/No N/" )
column=(type=datetime update=yes updatewhereclause=yes name=conf_date dbname="employee_bond_def.conf_date" )
column=(type=char(10) update=yes updatewhereclause=yes name=emp_code__aprv dbname="employee_bond_def.emp_code__aprv" )
column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="employee_bond_def.chg_user" )
column=(type=char(15) update=yes updatewhereclause=yes name=chg_term dbname="employee_bond_def.chg_term" )
column=(type=char(300) update=yes updatewhereclause=yes name=chg_term dbname="employee_bond_def.chg_term" )
column=(type=datetime update=yes updatewhereclause=yes name=chg_date dbname="employee_bond_def.chg_date" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"employee_bond_def~" ) COLUMN(NAME=~"employee_bond_def.tran_id~") COLUMN(NAME=~"employee_bond_def.tran_date~") COLUMN(NAME=~"employee_bond_def.site_code~") COLUMN(NAME=~"employee_bond_def.emp_code~") COLUMN(NAME=~"employee_bond_def.confirmed~") COLUMN(NAME=~"employee_bond_def.conf_date~") COLUMN(NAME=~"employee_bond_def.emp_code__aprv~") COLUMN(NAME=~"employee_bond_def.chg_user~") COLUMN(NAME=~"employee_bond_def.chg_term~") COLUMN(NAME=~"employee_bond_def.chg_date~")WHERE( EXP1 =~"EMPLOYEE_BOND_DEF.TRAN_DATE~" OP =~">=~" EXP2 =~":From~" LOGIC =~"and~" ) WHERE( EXP1 =~"EMPLOYEE_BOND_DEF.TRAN_DATE~" OP =~"<=~" EXP2 =~":To~" ) ) ARG(NAME = ~"From~" TYPE = datetime) ARG(NAME = ~"To~" TYPE = datetime) " update="employee_bond_def" updatewhere=1 updatekeyinplace=no arguments=(("From", datetime),("To", datetime)) )
column=(type=char(15) updatewhereclause=yes name=emp_fname dbname="employee.emp_fname" )
column=(type=char(15) updatewhereclause=yes name=emp_lname dbname="employee.emp_lname" )
column=(type=char(5) updatewhereclause=yes name=dept_code dbname="employee.dept_code" )
column=(type=char(5) updatewhereclause=yes name=ad_code dbname="employee_bond_def.ad_code" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"employee_bond_def~" ) TABLE(NAME=~"employee~" ) COLUMN(NAME=~"employee_bond_def.tran_id~") COLUMN(NAME=~"employee_bond_def.tran_date~") COLUMN(NAME=~"employee_bond_def.site_code~") COLUMN(NAME=~"employee_bond_def.emp_code~") COLUMN(NAME=~"employee_bond_def.confirmed~") COLUMN(NAME=~"employee_bond_def.conf_date~") COLUMN(NAME=~"employee_bond_def.emp_code__aprv~") COLUMN(NAME=~"employee_bond_def.chg_user~") COLUMN(NAME=~"employee_bond_def.chg_term~") COLUMN(NAME=~"employee_bond_def.chg_date~") COLUMN(NAME=~"employee.emp_fname~") COLUMN(NAME=~"employee.emp_lname~") COLUMN(NAME=~"employee.dept_code~") COLUMN(NAME=~"employee_bond_def.ad_code~") JOIN (LEFT=~"employee_bond_def.emp_code~" OP =~"=~"RIGHT=~"employee.emp_code~" )WHERE( EXP1 =~"EMPLOYEE_BOND_DEF.TRAN_DATE~" OP =~">=~" EXP2 =~":From~" LOGIC =~"and~" ) WHERE( EXP1 =~"EMPLOYEE_BOND_DEF.TRAN_DATE~" OP =~"<=~" EXP2 =~":To~" ) ) ARG(NAME = ~"From~" TYPE = datetime) ARG(NAME = ~"To~" TYPE = datetime) " update="EMPLOYEE_BOND_DEF" updatewhere=0 updatekeyinplace=no arguments=(("From", datetime),("To", datetime)) )
text(band=header alignment="0" text="Transaction Id" border="6" color="33554432" x="2" y="2" height="16" width="90" html.valueishtml="0" name=tran_id_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="Confirmed by" border="6" color="33554432" x="531" y="2" height="16" width="92" html.valueishtml="0" name=emp_code__aprv_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="Confirmed by" border="6" color="33554432" x="852" y="2" height="16" width="92" html.valueishtml="0" name=emp_code__aprv_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="Date" border="6" color="33554432" x="94" y="2" height="16" width="78" html.valueishtml="0" name=tran_date_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="Site Code" border="6" color="33554432" x="174" y="2" height="16" width="55" html.valueishtml="0" name=site_code_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="Employee Code" border="6" color="33554432" x="231" y="2" height="16" width="98" html.valueishtml="0" name=emp_code_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="Confirmed" border="6" color="33554432" x="331" y="2" height="16" width="64" html.valueishtml="0" name=confirmed_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="Confirmed on" border="6" color="33554432" x="397" y="2" height="16" width="132" html.valueishtml="0" name=conf_date_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" 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="625" y="2" height="16" width="81" html.valueishtml="0" name=chg_user_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" 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="708" y="2" height="16" width="96" html.valueishtml="0" name=chg_term_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" 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="806" y="2" height="16" width="80" html.valueishtml="0" name=chg_date_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
column(band=detail id=1 alignment="0" tabsequence=10 border="5" color="33554432" x="2" y="2" height="16" width="90" format="[general]" html.valueishtml="0" name=tran_id visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=header alignment="0" text="Confirmed" border="6" color="33554432" x="652" y="2" height="16" width="64" html.valueishtml="0" name=confirmed_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="Confirmed on" border="6" color="33554432" x="718" y="2" height="16" width="132" html.valueishtml="0" name=conf_date_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" 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="946" y="2" height="16" width="81" html.valueishtml="0" name=chg_user_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" 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="1029" y="2" height="16" width="96" html.valueishtml="0" name=chg_term_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" 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="1127" y="2" height="16" width="70" html.valueishtml="0" name=chg_date_t visible="1" font.face="Times" 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="Emp Fname" border="6" color="33554432" x="331" y="2" height="17" width="73" 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="2" background.color="67108864" )
text(band=header alignment="0" text=" Emp Lname" border="6" color="33554432" x="406" y="2" height="17" width="73" 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="2" background.color="67108864" )
text(band=header alignment="0" text=" Dept Code" border="6" color="33554432" x="570" y="2" height="17" width="80" html.valueishtml="0" name=dept_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="67108864" )
text(band=header alignment="0" text="Ad Code" border="0" color="33554432" x="481" y="2" height="17" width="87" html.valueishtml="0" name=ad_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="67108864" )
column(band=detail id=1 alignment="0" tabsequence=10 border="5" color="33554432" x="2" y="2" height="16" width="90" format="[general]" html.valueishtml="0" name=tran_id visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=2 alignment="0" tabsequence=20 border="5" color="33554432" x="94" y="2" height="16" width="78" format="[shortdate] [time]" html.valueishtml="0" name=tran_date visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=3 alignment="0" tabsequence=30 border="5" color="33554432" x="174" y="2" height="16" width="55" format="[general]" html.valueishtml="0" name=site_code visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=4 alignment="0" tabsequence=40 border="5" color="33554432" x="231" y="2" height="16" width="98" format="[general]" html.valueishtml="0" name=emp_code visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=5 alignment="0" tabsequence=50 border="5" color="33554432" x="331" y="2" height="16" width="64" format="[general]" html.valueishtml="0" name=confirmed visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=6 alignment="0" tabsequence=60 border="5" color="33554432" x="397" y="2" height="16" width="132" format="[shortdate] [time]" html.valueishtml="0" name=conf_date visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=7 alignment="0" tabsequence=70 border="5" color="33554432" x="531" y="2" height="16" width="92" format="[general]" html.valueishtml="0" name=emp_code__aprv visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=8 alignment="0" tabsequence=80 border="5" color="33554432" x="625" y="2" height="16" width="81" format="[general]" html.valueishtml="0" name=chg_user visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=9 alignment="0" tabsequence=90 border="5" color="33554432" x="708" y="2" height="16" width="96" format="[general]" html.valueishtml="0" name=chg_term visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=10 alignment="0" tabsequence=100 border="5" color="33554432" x="806" y="2" height="16" width="80" format="[shortdate] [time]" html.valueishtml="0" name=chg_date visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=3 alignment="0" tabsequence=30 border="5" color="33554432" x="174" y="2" height="16" width="55" format="[general]" html.valueishtml="0" name=site_code visible="1" edit.limit=5 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=4 alignment="0" tabsequence=40 border="5" color="33554432" x="231" y="2" height="16" width="98" format="[general]" html.valueishtml="0" name=emp_code visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=5 alignment="0" tabsequence=90 border="5" color="33554432" x="652" y="2" height="16" width="64" format="[Yes/No]" html.valueishtml="0" name=confirmed visible="1" ddlb.limit=1 ddlb.allowedit=no ddlb.case=any ddlb.imemode=0 font.face="Times" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=6 alignment="0" tabsequence=100 border="5" color="33554432" x="718" y="2" height="16" width="132" format="[shortdate] [time]" html.valueishtml="0" name=conf_date visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=7 alignment="0" tabsequence=110 border="5" color="33554432" x="852" y="2" height="16" width="92" format="[general]" html.valueishtml="0" name=emp_code__aprv visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=8 alignment="0" tabsequence=120 border="5" color="33554432" x="946" y="2" height="16" width="81" format="[general]" html.valueishtml="0" name=chg_user visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=9 alignment="0" tabsequence=130 border="5" color="33554432" x="1029" y="2" height="16" width="96" format="[general]" html.valueishtml="0" name=chg_term visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=10 alignment="0" tabsequence=140 border="5" color="33554432" x="1127" y="2" height="16" width="70" format="[shortdate] [time]" html.valueishtml="0" name=chg_date visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=11 alignment="0" tabsequence=50 border="0" color="33554432" x="331" y="1" height="16" width="73" 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" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=12 alignment="0" tabsequence=60 border="0" color="33554432" x="406" y="1" height="16" width="73" 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" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=13 alignment="0" tabsequence=80 border="0" color="33554432" x="570" y="1" height="16" width="80" format="[general]" html.valueishtml="0" name=dept_code visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=14 alignment="0" tabsequence=70 border="0" color="33554432" x="481" y="1" height="16" width="87" format="[general]" html.valueishtml="0" name=ad_code visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
......
......@@ -21,12 +21,12 @@ text(band=header alignment="1" text="Bond Amount" border="6" color="33554432" x=
text(band=header alignment="1" text="Bond Period" border="6" color="33554432" x="526" y="2" height="16" width="81" html.valueishtml="0" name=bond_prd_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="1" text="Line No Reference" border="6" color="33554432" x="609" y="2" height="16" width="114" html.valueishtml="0" name=line_no__ref_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
column(band=detail id=1 alignment="0" tabsequence=10 border="5" color="33554432" x="2" y="2" height="16" width="90" format="[general]" html.valueishtml="0" name=tran_id visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=5 alignment="1" tabsequence=50 border="5" color="33554432" x="422" y="2" height="16" width="102" format="[general]" html.valueishtml="0" name=bond_amt visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=3 alignment="1" tabsequence=30 border="5" color="33554432" x="153" y="2" height="16" width="137" format="[general]" html.valueishtml="0" name=bond_amt__curr visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=2 alignment="1" tabsequence=20 border="5" color="33554432" x="94" y="2" height="16" width="57" 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="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=4 alignment="1" tabsequence=40 border="5" color="33554432" x="292" y="2" height="16" width="128" format="[general]" html.valueishtml="0" name=bond_prd__curr visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=6 alignment="1" tabsequence=60 border="5" color="33554432" x="526" y="2" height="16" width="81" format="[general]" html.valueishtml="0" name=bond_prd visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=7 alignment="1" tabsequence=70 border="5" color="33554432" x="609" y="2" height="16" width="114" format="[general]" html.valueishtml="0" name=line_no__ref visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=5 alignment="1" tabsequence=50 border="5" color="33554432" x="422" y="2" height="16" width="102" format="[general]" html.valueishtml="0" name=bond_amt visible="1" edit.limit=13 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=3 alignment="1" tabsequence=30 border="5" color="33554432" x="153" y="2" height="16" width="137" format="[general]" html.valueishtml="0" name=bond_amt__curr visible="1" edit.limit=13 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=2 alignment="1" tabsequence=20 border="5" color="33554432" x="94" y="2" height="16" width="57" format="[general]" html.valueishtml="0" name=line_no visible="1" edit.limit=3 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=4 alignment="1" tabsequence=40 border="5" color="33554432" x="292" y="2" height="16" width="128" format="[general]" html.valueishtml="0" name=bond_prd__curr visible="1" edit.limit=2 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=6 alignment="1" tabsequence=60 border="5" color="33554432" x="526" y="2" height="16" width="81" format="[general]" html.valueishtml="0" name=bond_prd visible="1" edit.limit=2 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=7 alignment="1" tabsequence=70 border="5" color="33554432" x="609" y="2" height="16" width="114" format="[general]" html.valueishtml="0" name=line_no__ref visible="1" edit.limit=3 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
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 )
......
......@@ -3,7 +3,7 @@ release 9;
datawindow(units=1 timer_interval=0 color=67108864 processing=0 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=308 color="536870912" )
detail(height=452 color="536870912" )
table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_id dbname="employee_bond_def.tran_id" )
column=(type=datetime update=yes updatewhereclause=yes name=tran_date dbname="employee_bond_def.tran_date" )
column=(type=char(5) update=yes updatewhereclause=yes name=site_code dbname="employee_bond_def.site_code" )
......@@ -12,7 +12,7 @@ table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_i
column=(type=datetime update=yes updatewhereclause=yes name=conf_date dbname="employee_bond_def.conf_date" )
column=(type=char(10) update=yes updatewhereclause=yes name=emp_code__aprv dbname="employee_bond_def.emp_code__aprv" )
column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="employee_bond_def.chg_user" )
column=(type=char(15) update=yes updatewhereclause=yes name=chg_term dbname="employee_bond_def.chg_term" )
column=(type=char(300) update=yes updatewhereclause=yes name=chg_term dbname="employee_bond_def.chg_term" )
column=(type=datetime update=yes updatewhereclause=yes name=chg_date dbname="employee_bond_def.chg_date" )
column=(type=char(15) updatewhereclause=yes name=emp_fname dbname="employee.emp_fname" )
column=(type=char(15) updatewhereclause=yes name=emp_mname dbname="employee.emp_mname" )
......@@ -23,39 +23,53 @@ table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_i
column=(type=char(15) updatewhereclause=yes name=employee_emp_fname dbname="employee.emp_fname" )
column=(type=char(15) updatewhereclause=yes name=employee_emp_mname dbname="employee.emp_mname" )
column=(type=char(15) updatewhereclause=yes name=employee_emp_lname dbname="employee.emp_lname" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"employee_bond_def~" ) TABLE(NAME=~"employee~" ALIAS=~"employee_a~" ) TABLE(NAME=~"site~" ) TABLE(NAME=~"department~" ) TABLE(NAME=~"employee~" ALIAS=~"employee_b~" ) COLUMN(NAME=~"employee_bond_def.tran_id~") COLUMN(NAME=~"employee_bond_def.tran_date~") COLUMN(NAME=~"employee_bond_def.site_code~") COLUMN(NAME=~"employee_bond_def.emp_code~") COLUMN(NAME=~"employee_bond_def.confirmed~") COLUMN(NAME=~"employee_bond_def.conf_date~") COLUMN(NAME=~"employee_bond_def.emp_code__aprv~") COLUMN(NAME=~"employee_bond_def.chg_user~") COLUMN(NAME=~"employee_bond_def.chg_term~") COLUMN(NAME=~"employee_bond_def.chg_date~") COLUMN(NAME=~"employee_a.emp_fname~") COLUMN(NAME=~"employee_a.emp_mname~") COLUMN(NAME=~"employee_a.emp_lname~") COLUMN(NAME=~"site.descr~") COLUMN(NAME=~"employee_a.dept_code~") COLUMN(NAME=~"department.descr~") COLUMN(NAME=~"employee_b.emp_fname~") COLUMN(NAME=~"employee_b.emp_mname~") COLUMN(NAME=~"employee_b.emp_lname~") JOIN (LEFT=~"employee_bond_def.emp_code~" OP =~"=~"RIGHT=~"employee_a.emp_code~" OUTER1 =~"employee_bond_def.emp_code~" ) JOIN (LEFT=~"site.site_code~" OP =~"=~"RIGHT=~"employee_a.emp_site~" OUTER2 =~"employee_a.emp_site~" ) JOIN (LEFT=~"employee_bond_def.emp_code__aprv~" OP =~"=~"RIGHT=~"employee_b.emp_code~" OUTER1 =~"employee_bond_def.emp_code__aprv~" ) JOIN (LEFT=~"department.dept_code~" OP =~"=~"RIGHT=~"employee_a.dept_code~" ) WHERE( EXP1 =~"employee_bond_def.tran_id~" OP =~"=~" EXP2 =~":tran_id~" ) ) ARG(NAME = ~"tran_id~" TYPE = string) " update="employee_bond_def" updatewhere=1 updatekeyinplace=no arguments=(("tran_id", string)) )
groupbox(band=detail text="Others"border="2" color="33554432" x="3" y="172" height="100" width="516" name=gb_2 visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Change Term:" border="0" color="33554432" x="341" y="194" height="16" width="97" html.valueishtml="0" name=chg_term_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" 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="442" y="194" height="16" width="65" format="[general]" html.valueishtml="0" name=chg_term visible="1" edit.limit=15 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Change Date:" border="0" color="33554432" x="8" y="215" height="16" width="97" html.valueishtml="0" name=chg_date_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=10 alignment="0" tabsequence=32766 border="5" color="255" x="109" y="215" height="16" width="86" format="dd/mm/yy" html.valueishtml="0" name=chg_date visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
groupbox(band=detail text="Basic"border="2" color="33554432" x="3" y="6" height="156" width="516" name=gb_1 visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Confirmed:" border="0" color="33554432" x="8" y="109" height="16" width="97" html.valueishtml="0" name=confirmed_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Approved by:" border="0" color="33554432" x="8" y="130" height="16" width="97" html.valueishtml="0" name=emp_code__aprv_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Transaction Id:" border="0" color="33554432" x="8" y="25" height="16" width="97" html.valueishtml="0" name=tran_id_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="5" color="255" x="110" y="25" height="16" width="108" format="[general]" html.valueishtml="0" name=tran_id visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Date:" border="0" color="33554432" x="336" y="25" height="16" width="102" html.valueishtml="0" name=tran_date_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=2 alignment="0" tabsequence=32766 border="5" color="255" x="442" y="25" height="16" width="65" format="dd/mm/yy" html.valueishtml="0" name=tran_date visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Site Code:" border="0" color="33554432" x="8" y="46" height="16" width="97" html.valueishtml="0" name=site_code_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=3 alignment="0" tabsequence=32766 border="5" color="134217857" x="110" y="46" height="16" width="86" format="[general]" html.valueishtml="0" name=site_code visible="1" edit.limit=5 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=detail alignment="1" text="Employee:" border="0" color="33554432" x="8" y="67" height="16" width="97" html.valueishtml="0" name=emp_code_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=11 alignment="0" tabsequence=32766 border="5" color="255" x="202" y="67" height="16" width="98" format="[general]" html.valueishtml="0" name=emp_fname visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=12 alignment="0" tabsequence=32766 border="5" color="255" x="305" y="67" height="16" width="98" format="[general]" html.valueishtml="0" name=emp_mname visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Department:" border="0" color="33554432" x="8" y="88" height="16" width="97" html.valueishtml="0" name=dept_code_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=4 alignment="0" tabsequence=10 border="5" color="33554432" x="110" y="67" height="16" width="86" format="[general]" html.valueishtml="0" name=emp_code visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=5 alignment="0" tabsequence=32766 border="5" color="255" x="110" y="109" height="16" width="86" format="[general]" html.valueishtml="0" name=confirmed visible="1" ddlb.limit=0 ddlb.allowedit=no ddlb.case=any ddlb.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Confirmed on:" border="0" color="33554432" x="330" y="109" height="16" width="108" html.valueishtml="0" name=conf_date_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=6 alignment="0" tabsequence=32766 border="5" color="255" x="442" y="109" height="16" width="65" format="dd/mm/yy" html.valueishtml="0" name=conf_date visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=7 alignment="0" tabsequence=32766 border="5" color="255" x="110" y="130" height="16" width="86" format="[general]" html.valueishtml="0" name=emp_code__aprv visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=17 alignment="0" tabsequence=32766 border="5" color="255" x="202" y="130" height="16" width="98" format="[general]" html.valueishtml="0" name=employee_emp_fname visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=18 alignment="0" tabsequence=32766 border="5" color="255" x="305" y="130" height="16" width="98" format="[general]" html.valueishtml="0" name=employee_emp_mname visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=19 alignment="0" tabsequence=32766 border="5" color="255" x="409" y="130" height="16" width="98" format="[general]" html.valueishtml="0" name=employee_emp_lname visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=15 alignment="0" tabsequence=32766 border="5" color="255" x="110" y="88" height="16" width="86" format="[general]" html.valueishtml="0" name=dept_code visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=13 alignment="0" tabsequence=32766 border="5" color="255" x="409" y="67" height="16" width="98" format="[general]" html.valueishtml="0" name=emp_lname visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" 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="202" y="88" height="16" width="305" format="[general]" html.valueishtml="0" name=department_descr visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=14 alignment="0" tabsequence=32766 border="5" color="255" x="202" y="46" height="16" width="305" format="[general]" html.valueishtml="0" name=site_descr visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Change User:" border="0" color="33554432" x="8" y="194" height="16" width="97" html.valueishtml="0" name=chg_user_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=8 alignment="0" tabsequence=32766 border="5" color="255" x="109" y="194" height="16" width="86" format="[general]" html.valueishtml="0" name=chg_user visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column=(type=char(10) update=yes updatewhereclause=yes name=tran_id__bond dbname="employee_bond_def.tran_id__bond" )
column=(type=char(10) update=yes updatewhereclause=yes name=tran_id__pvouch dbname="employee_bond_def.tran_id__pvouch" )
column=(type=decimal(0) update=yes updatewhereclause=yes name=line_no__pvouch dbname="employee_bond_def.line_no__pvouch" )
column=(type=char(5) update=yes updatewhereclause=yes name=ad_code dbname="employee_bond_def.ad_code" )
column=(type=char(40) updatewhereclause=yes name=allwdedn_descr dbname="allwdedn.descr" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"employee_bond_def~" ) TABLE(NAME=~"employee~" ALIAS=~"employee_a~" ) TABLE(NAME=~"site~" ) TABLE(NAME=~"department~" ) TABLE(NAME=~"employee~" ALIAS=~"employee_b~" ) TABLE(NAME=~"allwdedn~" ) COLUMN(NAME=~"employee_bond_def.tran_id~") COLUMN(NAME=~"employee_bond_def.tran_date~") COLUMN(NAME=~"employee_bond_def.site_code~") COLUMN(NAME=~"employee_bond_def.emp_code~") COLUMN(NAME=~"employee_bond_def.confirmed~") COLUMN(NAME=~"employee_bond_def.conf_date~") COLUMN(NAME=~"employee_bond_def.emp_code__aprv~") COLUMN(NAME=~"employee_bond_def.chg_user~") COLUMN(NAME=~"employee_bond_def.chg_term~") COLUMN(NAME=~"employee_bond_def.chg_date~") COLUMN(NAME=~"employee_a.emp_fname~") COLUMN(NAME=~"employee_a.emp_mname~") COLUMN(NAME=~"employee_a.emp_lname~") COLUMN(NAME=~"site.descr~") COLUMN(NAME=~"employee_a.dept_code~") COLUMN(NAME=~"department.descr~") COLUMN(NAME=~"employee_b.emp_fname~") COLUMN(NAME=~"employee_b.emp_mname~") COLUMN(NAME=~"employee_b.emp_lname~") COLUMN(NAME=~"employee_bond_def.tran_id__bond~") COLUMN(NAME=~"employee_bond_def.tran_id__pvouch~") COLUMN(NAME=~"employee_bond_def.line_no__pvouch~") COLUMN(NAME=~"employee_bond_def.ad_code~") COLUMN(NAME=~"allwdedn.descr~") JOIN (LEFT=~"employee_bond_def.emp_code~" OP =~"=~"RIGHT=~"employee_a.emp_code~" OUTER1 =~"employee_bond_def.emp_code~" ) JOIN (LEFT=~"site.site_code~" OP =~"=~"RIGHT=~"employee_a.emp_site~" OUTER2 =~"employee_a.emp_site~" ) JOIN (LEFT=~"employee_bond_def.emp_code__aprv~" OP =~"=~"RIGHT=~"employee_b.emp_code~" OUTER1 =~"employee_bond_def.emp_code__aprv~" ) JOIN (LEFT=~"department.dept_code~" OP =~"=~"RIGHT=~"employee_a.dept_code~" ) JOIN (LEFT=~"employee_bond_def.ad_code~" OP =~"=~"RIGHT=~"allwdedn.ad_code~" )WHERE( EXP1 =~"employee_bond_def.tran_id~" OP =~"=~" EXP2 =~":tran_id~" ) ) ARG(NAME = ~"tran_id~" TYPE = string) " update="EMPLOYEE_BOND_DEF" updatewhere=0 updatekeyinplace=no arguments=(("tran_id", string)) )
groupbox(band=detail text="Basic"border="2" color="33554432" x="3" y="6" height="286" width="560" name=gb_1 visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
groupbox(band=detail text="Others"border="2" color="33554432" x="3" y="302" height="74" width="560" name=gb_2 visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Transaction Id:" border="0" color="33554432" x="25" y="38" height="16" width="97" html.valueishtml="0" name=tran_id_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="5" color="255" x="127" y="38" height="16" width="108" format="[general]" html.valueishtml="0" name=tran_id visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Employee:" border="0" color="33554432" x="25" y="59" height="16" width="97" html.valueishtml="0" name=emp_code_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=4 alignment="0" tabsequence=40 border="5" color="33554432" x="127" y="59" height="16" width="86" format="[general]" html.valueishtml="0" name=emp_code visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=11 alignment="0" tabsequence=32766 border="5" color="255" x="219" y="59" height="16" width="98" format="[general]" html.valueishtml="0" name=emp_fname visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=12 alignment="0" tabsequence=32766 border="5" color="255" x="322" y="59" height="16" width="98" format="[general]" html.valueishtml="0" name=emp_mname visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=13 alignment="0" tabsequence=32766 border="5" color="255" x="425" y="59" height="16" width="98" format="[general]" html.valueishtml="0" name=emp_lname visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Tran Id Bond :" border="0" color="33554432" x="25" y="81" height="16" width="97" html.valueishtml="0" name=tran_id__bond_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=20 alignment="0" tabsequence=10 border="5" color="255" x="127" y="81" height="16" width="108" format="[general]" html.valueishtml="0" name=tran_id__bond visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Tran Id Vocher :" border="0" color="33554432" x="25" y="102" height="16" width="97" html.valueishtml="0" name=tran_id__pvouch_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=21 alignment="0" tabsequence=20 border="5" color="255" x="127" y="102" height="16" width="108" format="[general]" html.valueishtml="0" name=tran_id__pvouch visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Line No Vocher :" border="0" color="33554432" x="25" y="123" height="16" width="97" html.valueishtml="0" name=line_no__pvouch_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" 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="127" y="123" height="16" width="108" format="[general]" html.valueishtml="0" name=line_no__pvouch visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Ad Code :" border="0" color="33554432" x="25" y="144" height="16" width="97" html.valueishtml="0" name=ad_code_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=23 alignment="0" tabsequence=30 border="5" color="255" x="127" y="145" height="16" width="108" format="[general]" html.valueishtml="0" name=ad_code visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=24 alignment="0" tabsequence=32766 border="5" color="255" x="127" y="167" height="16" width="108" format="[general]" html.valueishtml="0" name=allwdedn_descr visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Site Code:" border="0" color="33554432" x="24" y="188" height="16" width="97" html.valueishtml="0" name=site_code_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=3 alignment="0" tabsequence=32766 border="5" color="134217857" x="126" y="188" height="16" width="86" format="[general]" html.valueishtml="0" name=site_code visible="1" edit.limit=5 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
column(band=detail id=14 alignment="0" tabsequence=32766 border="5" color="255" x="218" y="188" height="16" width="305" format="[general]" html.valueishtml="0" name=site_descr visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Department:" border="0" color="33554432" x="24" y="210" height="16" width="97" html.valueishtml="0" name=dept_code_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=15 alignment="0" tabsequence=32766 border="5" color="255" x="126" y="210" height="16" width="86" format="[general]" html.valueishtml="0" name=dept_code visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=16 alignment="0" tabsequence=32766 border="5" color="255" x="218" y="210" height="16" width="305" format="[general]" html.valueishtml="0" name=department_descr visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Confirmed:" border="0" color="33554432" x="24" y="231" height="16" width="97" html.valueishtml="0" name=confirmed_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=5 alignment="0" tabsequence=32766 border="5" color="255" x="126" y="231" height="16" width="86" format="[Yes/No]" html.valueishtml="0" name=confirmed visible="1" ddlb.limit=1 ddlb.allowedit=no ddlb.case=any ddlb.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Confirmed on:" border="0" color="33554432" x="345" y="231" height="16" width="108" html.valueishtml="0" name=conf_date_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=6 alignment="0" tabsequence=32766 border="5" color="255" x="458" y="231" height="16" width="65" format="dd/mm/yy" html.valueishtml="0" name=conf_date visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Approved by:" border="0" color="33554432" x="24" y="252" height="16" width="97" html.valueishtml="0" name=emp_code__aprv_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=7 alignment="0" tabsequence=32766 border="5" color="255" x="126" y="252" height="16" width="86" format="[general]" html.valueishtml="0" name=emp_code__aprv visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=17 alignment="0" tabsequence=32766 border="5" color="255" x="218" y="252" height="16" width="98" format="[general]" html.valueishtml="0" name=employee_emp_fname visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=18 alignment="0" tabsequence=32766 border="5" color="255" x="321" y="252" height="16" width="98" format="[general]" html.valueishtml="0" name=employee_emp_mname visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=19 alignment="0" tabsequence=32766 border="5" color="255" x="425" y="252" height="16" width="98" format="[general]" html.valueishtml="0" name=employee_emp_lname visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=8 alignment="0" tabsequence=32766 border="5" color="255" x="126" y="326" height="16" width="86" format="[general]" html.valueishtml="0" name=chg_user visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=10 alignment="0" tabsequence=32766 border="5" color="255" x="126" y="347" height="16" width="86" format="dd/mm/yy" html.valueishtml="0" name=chg_date visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" 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="454" y="326" height="16" width="65" format="[general]" html.valueishtml="0" name=chg_term visible="1" edit.limit=15 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Change User:" border="0" color="33554432" x="24" y="326" height="16" width="97" html.valueishtml="0" name=chg_user_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Change Date:" border="0" color="33554432" x="24" y="347" height="16" width="97" html.valueishtml="0" name=chg_date_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Change Term:" border="0" color="33554432" x="352" y="326" height="16" width="97" html.valueishtml="0" name=chg_term_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=2 alignment="0" tabsequence=32766 border="5" color="255" x="415" y="39" height="16" width="108" format="dd/mm/yy" html.valueishtml="0" name=tran_date visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Date:" border="0" color="33554432" x="363" y="38" height="16" width="47" html.valueishtml="0" name=tran_date_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 template=(comment="" encoding="UTF-8" name="d_employee_bond_def21" xml="<?xml version=~"1.0~" encoding=~"UTF-8~" standalone=~"no~"?><untitled><untitled_row __pbband=~"detail~"><tran_id/><tran_date/><site_code/><emp_code/><confirmed>confirmed</confirmed><conf_date>conf_date</conf_date><emp_code__aprv/><chg_user>chg_user</chg_user><chg_term>chg_term</chg_term></untitled_row></untitled>"))
......
$PBExportHeader$d_employee_bond_def22.srd
release 9;
datawindow(units=1 timer_interval=0 color=67108864 processing=0 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no )
header(height=2 color="536870912" )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=206 color="536870912" )
detail(height=378 color="536870912" )
table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_id dbname="employee_bond_def_det.tran_id" )
column=(type=decimal(0) update=yes updatewhereclause=yes key=yes name=line_no dbname="employee_bond_def_det.line_no" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=bond_amt__curr dbname="employee_bond_def_det.bond_amt__curr" )
......@@ -12,21 +13,21 @@ table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_i
column=(type=decimal(0) update=yes updatewhereclause=yes name=bond_prd dbname="employee_bond_def_det.bond_prd" )
column=(type=decimal(0) update=yes updatewhereclause=yes name=line_no__ref dbname="employee_bond_def_det.line_no__ref" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"employee_bond_def_det~" ) COLUMN(NAME=~"employee_bond_def_det.tran_id~") COLUMN(NAME=~"employee_bond_def_det.line_no~") COLUMN(NAME=~"employee_bond_def_det.bond_amt__curr~") COLUMN(NAME=~"employee_bond_def_det.bond_prd__curr~") COLUMN(NAME=~"employee_bond_def_det.bond_amt~") COLUMN(NAME=~"employee_bond_def_det.bond_prd~") COLUMN(NAME=~"employee_bond_def_det.line_no__ref~")) " update="EMPLOYEE_BOND_DEF_DET" updatewhere=1 updatekeyinplace=no )
groupbox(band=detail text="Basic"border="2" color="0" x="9" y="0" height="199" 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="2" background.color="67108864" )
column(band=detail id=6 alignment="1" tabsequence=20 border="5" color="0" x="153" y="102" height="16" width="72" format="#0" html.valueishtml="0" name=bond_prd visible="1" edit.limit=2 edit.case=any edit.format="#0" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="5" color="255" x="153" y="123" height="16" width="108" format="[general]" html.valueishtml="0" name=tran_id visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=4 alignment="1" tabsequence=32766 border="5" color="255" x="153" y="81" height="16" width="72" format="[general]" html.valueishtml="0" name=bond_prd__curr visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Bond Period Current:" border="0" color="33554432" x="22" y="81" height="16" width="127" html.valueishtml="0" name=bond_prd__curr_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Bond Period:" border="0" color="33554432" x="56" y="102" height="16" width="93" html.valueishtml="0" name=bond_prd_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Transaction Id:" border="0" color="33554432" x="56" y="123" height="16" width="93" html.valueishtml="0" name=tran_id_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Bond Amount Current:" border="0" color="33554432" x="281" y="81" height="16" width="132" html.valueishtml="0" name=bond_amt__curr_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Bond Amount:" border="0" color="33554432" x="320" y="102" height="16" width="93" html.valueishtml="0" name=bond_amt_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Line No:" border="0" color="33554432" x="83" y="60" height="16" width="66" html.valueishtml="0" name=line_no_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=2 alignment="1" tabsequence=32766 border="5" color="255" x="153" y="60" height="16" width="72" 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="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Line No Reference:" border="0" color="33554432" x="274" y="60" height="16" width="139" html.valueishtml="0" name=t_1 visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=7 alignment="1" tabsequence=10 border="5" color="0" x="417" y="60" height="16" width="72" format="##0" html.valueishtml="0" name=line_no__ref visible="1" edit.limit=3 edit.case=any edit.format="##0" edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=3 alignment="1" tabsequence=32766 border="5" color="255" x="417" y="81" height="16" width="72" format="[general]" html.valueishtml="0" name=bond_amt__curr visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=5 alignment="1" tabsequence=30 border="5" color="0" x="417" y="102" height="16" width="72" format="##,###,##0.00" html.valueishtml="0" name=bond_amt visible="1" edit.limit=13 edit.case=any edit.format="##,###,##0.00" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
groupbox(band=detail text="Basic"border="2" color="0" x="9" y="11" height="120" width="508" name=gb_1 visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Line No:" border="0" color="33554432" x="22" y="33" height="16" width="127" html.valueishtml="0" name=line_no_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=2 alignment="1" tabsequence=32766 border="5" color="255" x="154" y="33" height="16" width="108" format="[general]" html.valueishtml="0" name=line_no visible="1" edit.limit=3 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Line No Reference:" border="0" color="33554432" x="280" y="34" height="16" width="132" html.valueishtml="0" name=line_no__ref_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=7 alignment="1" tabsequence=10 border="5" color="0" x="417" y="34" height="16" width="72" format="##0" html.valueishtml="0" name=line_no__ref visible="1" edit.limit=3 edit.case=any edit.format="##0" edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=3 alignment="1" tabsequence=32766 border="5" color="255" x="417" y="55" height="16" width="72" format="[general]" html.valueishtml="0" name=bond_amt__curr visible="1" edit.limit=13 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Bond Amount Current:" border="0" color="33554432" x="280" y="55" height="16" width="132" html.valueishtml="0" name=bond_amt__curr_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Bond Amount:" border="0" color="33554432" x="280" y="76" height="16" width="132" html.valueishtml="0" name=bond_amt_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=5 alignment="1" tabsequence=30 border="5" color="0" x="417" y="76" height="16" width="72" format="##,###,##0.00" html.valueishtml="0" name=bond_amt visible="1" edit.limit=13 edit.case=any edit.format="##,###,##0.00" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=4 alignment="1" tabsequence=32766 border="5" color="255" x="154" y="55" height="16" width="108" format="[general]" html.valueishtml="0" name=bond_prd__curr visible="1" edit.limit=2 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Bond Period Current:" border="0" color="33554432" x="22" y="55" height="16" width="127" html.valueishtml="0" name=bond_prd__curr_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Bond Period:" border="0" color="33554432" x="22" y="76" height="16" width="127" html.valueishtml="0" name=bond_prd_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=6 alignment="1" tabsequence=20 border="5" color="0" x="154" y="76" height="16" width="108" format="#0" html.valueishtml="0" name=bond_prd visible="1" edit.limit=2 edit.case=any edit.format="#0" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="5" color="255" x="154" y="97" height="16" width="108" format="[general]" html.valueishtml="0" name=tran_id visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Transaction Id:" border="0" color="33554432" x="22" y="97" height="16" width="127" html.valueishtml="0" name=tran_id_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 template=(comment="" encoding="UTF-8" name="d_employee_bond_def22" xml="<?xml version=~"1.0~" encoding=~"UTF-8~" standalone=~"no~"?><untitled><untitled_row __pbband=~"detail~"><tran_id/><line_no/><bond_amt__curr/><bond_prd__curr/><bond_amt>bond_amt</bond_amt><bond_prd>bond_prd</bond_prd></untitled_row></untitled>"))
......
package ibase.webitm.ejb.adm;
import ibase.system.config.ConnDriver;
import ibase.webitm.ejb.ValidatorEJB;
import ibase.webitm.utility.GenericUtility;
import ibase.webitm.utility.ITMException;
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.Collections;
import java.sql.Timestamp;
import javax.ejb.Stateless;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import javax.ejb.Stateless;
import ibase.utility.E12GenericUtility;
import ibase.webitm.ejb.ITMDBAccessEJB;
import ibase.webitm.ejb.ValidatorEJB;
import ibase.webitm.utility.ITMException;
@Stateless
public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinitionLocal,EmpBondDefinitionRemote
{
public String wfValData() throws RemoteException,ITMException
{
return "";
......@@ -46,17 +41,17 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
Document dom = null;
Document dom1 = null;
Document dom2 = null;
NodeList parentNodeList = null;
NodeList childNodeList = null;
Node parentNode = null;
Node childNode = null;
String childNodeName = "";
//NodeList parentNodeList = null;
//NodeList childNodeList = null;
//Node parentNode = null;
//Node childNode = null;
//String childNodeName = "";
System.out.println("\n\n xmlString in wfValData \n:" + xmlString + "\n");
System.out.println("\n\n xmlString1 in wfValData \n :" + xmlString1 +"\n");
System.out.println("\n\n xmlString2 in wfValData \n :" + xmlString2 +"\n");
try
{
dom = parseString(xmlString);
......@@ -98,11 +93,11 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
}
else
{ */
errString = wfValData(dom,dom1,dom2,objContext,editFlag,xtraParams);
errString = wfValData(dom,dom1,dom2,objContext,editFlag,xtraParams);
//}
//Modified by Suraj [19-09-2015] [to remove unwanted code prone to error on edit mode][End]
//Modified by Suraj [19-09-2015] [to remove unwanted code prone to error on edit mode][End]
}
catch(Exception e)
{
......@@ -127,7 +122,7 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
{
return "";
}
public String wfValData(Document dom, Document dom1,Document dom2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException
{
NodeList parentNodeList = null;
......@@ -144,14 +139,14 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
int bondprdInt = 0, lineNoRefInt = 0;
Double bondamtDouble = 0.0;
//Added by RAHUL SHENOY on 11/08/2015 [Declaring Necessary Variables].End
//Added by RAHUL SHENOY on 24/08/2015 [Declaring Necessary Variables].Start
int lineNoMaster = 0;
boolean sameBondPeriod = false;
int cntBondPrd = 0;
//Added by RAHUL SHENOY on 24/08/2015 [Declaring Necessary Variables].End
Connection conn = null;
PreparedStatement pstmt = null;
ResultSet rs = null;
......@@ -162,147 +157,169 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
String tranId="";
String empCode="",bondamt="",bondprd="",siteCode = "";
SimpleDateFormat simpleDateFormat = null;
ITMDBAccessEJB itmdbAccess = new ITMDBAccessEJB();
//Added by Yashwant S.on 13-12-19[Start][CCF No: IT2018-015 / Request ID: A18CSUN011]
String adCode = "";
String tranIdPvouch = "";
String lineNoPvouchStr = "";
int lineNoPvouch = 0;
String tranIdBond = "";
String bondEmpCode = "";
String vouchEmpCode = "";
Double pvouchAmt = 0.0;
//Added by Yashwant S.on 13-12-19[End][CCF No: IT2018-015 / Request ID: A18CSUN011]
try
{
ConnDriver connDriver = new ConnDriver();
GenericUtility genericUtility = GenericUtility.getInstance();
//Modified by Yashwant on 13-12-19[START][To define getConnection and E12GenericUtility methods]
//ConnDriver connDriver = new ConnDriver();
conn = getConnection();
//GenericUtility genericUtility = GenericUtility.getInstance();
E12GenericUtility genericUtility = new E12GenericUtility();
//conn = connDriver.getConnectDB("DriverITM");
//conn.setAutoCommit(false);
//connDriver = null;
//Modified by Yashwant on 13-12-19[END][To define getConnection and E12GenericUtility methods]
simpleDateFormat = new SimpleDateFormat(genericUtility.getApplDateFormat());
conn = connDriver.getConnectDB("DriverITM");
conn.setAutoCommit(false);
connDriver = null;
userId = getValueFromXTRA_PARAMS(xtraParams,"loginCode");
//Modified by RAHUL SHENOY on 12/08/2015 [Obtaining Login Site code].Start
loginSite = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginSiteCode");
//Modified by RAHUL SHENOY on 12/08/2015 [Obtaining Login Site code].End
System.out.println("xtraParams -->"+xtraParams);
if(objContext != null && objContext.trim().length() > 0)
{
currentFormNo = Integer.parseInt(objContext);
}
switch(currentFormNo)
{
case 1 :
System.out.println("in switch.....");
parentNodeList = dom.getElementsByTagName("Detail1");
parentNode = parentNodeList.item(0);
childNodeList = parentNode.getChildNodes();
childNodeListLength = childNodeList.getLength();
for(ctr = 0; ctr < childNodeListLength; ctr++)
case 1 :
System.out.println("in switch.....");
parentNodeList = dom.getElementsByTagName("Detail1");
parentNode = parentNodeList.item(0);
childNodeList = parentNode.getChildNodes();
childNodeListLength = childNodeList.getLength();
for(ctr = 0; ctr < childNodeListLength; ctr++)
{
childNode = childNodeList.item(ctr);
childNodeName = childNode.getNodeName();
if(childNodeName.equalsIgnoreCase("emp_code"))
{
childNode = childNodeList.item(ctr);
childNodeName = childNode.getNodeName();
if (childNodeName.equalsIgnoreCase("emp_code"))
empCode = getColumnValue("emp_code",dom);
if (empCode == null || empCode.trim().length() == 0 )
{
errCode = "VNULEMPC";
//errString = getErrorString("emp_code",errCode,userId);
errString = itmdbAccess.getErrorString("emp_code", errCode, userId, "", conn);//Modified by yashwant to call 5 parameter method[13-12-19]
break;
}
else
{
empCode = getColumnValue("emp_code",dom);
sql = "select count(1) from employee where emp_code = ? ";
pstmt=conn.prepareStatement(sql);
pstmt.setString(1,empCode);
rs = pstmt.executeQuery();
if(rs.next())
{
cnt = rs.getInt(1);
}
pstmt.close();
rs.close();
pstmt = null;
rs = null;
if (empCode == null || empCode.trim().length() == 0 )
{
errCode = "VNULEMPC";
errString = getErrorString("emp_code",errCode,userId);
break;
}else
{
sql = "select count(1) from employee where emp_code = ? ";
pstmt=conn.prepareStatement(sql);
pstmt.setString(1,empCode);
rs = pstmt.executeQuery();
if(rs.next())
{
cnt = rs.getInt(1);
}
pstmt.close();
rs.close();
pstmt = null;
rs = null;
if(cnt == 0)
{
errCode = "VMEMPCD1";
errString = getErrorString("emp_code",errCode,userId);
break;
}
//Modified by RAHUL SHENOY on 11/08/2015 [Validations on Employee Code].Start
cnt = 0;
sql = "select emp_site , count(1) as cnt from employee where emp_code = ? group by emp_site";
pstmt=conn.prepareStatement(sql);
pstmt.setString(1,empCode);
rs = pstmt.executeQuery();
if(rs.next())
{
empSiteDB = rs.getString("emp_site") == null ? "" : rs.getString("emp_site").trim();
cnt = rs.getInt("cnt");
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt!= null)
{
pstmt.close();
pstmt= null;
}
if(cnt == 0)
{
errCode = "VMEMPCD1";
errString = getErrorString("emp_code",errCode,userId);
break;
}
siteCode = genericUtility.getColumnValue("site_code",dom);
if(! siteCode.trim().equalsIgnoreCase(loginSite.trim()))
{
System.out.println("Value of Site Code is : " + siteCode.trim());
System.out.println("Value of Login Site is : " + loginSite.trim());
errCode = "VMEMPBND01";
errString = getErrorString("emp_code",errCode,userId);
break;
}
sql ="select status from employee where emp_code = ? ";
pstmt=conn.prepareStatement(sql);
pstmt.setString(1,empCode);
rs = pstmt.executeQuery();
if(rs.next())
{
empStatus = rs.getString("status") == null ? "" : rs.getString("status").trim();
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt!= null)
{
pstmt.close();
pstmt= null;
}
if(empStatus != null && empStatus.equalsIgnoreCase("S"))
{
errCode ="VMEMPBND08";
errString = getErrorString("emp_code",errCode,userId);
break;
}
//Modified by RAHUL SHENOY on 11/08/2015 [Validations on Employee Code].End
if(cnt == 0)
{
errCode = "VMEMPCD1";
//errString = getErrorString("emp_code",errCode,userId);
errString = itmdbAccess.getErrorString("emp_code", errCode, userId, "", conn);//Modified by yashwant to call 5 parameter method[13-12-19]
break;
}
//Modified by RAHUL SHENOY on 11/08/2015 [Validations on Employee Code].Start
cnt = 0;
sql = "select emp_site , count(1) as cnt from employee where emp_code = ? group by emp_site";
pstmt=conn.prepareStatement(sql);
pstmt.setString(1,empCode);
rs = pstmt.executeQuery();
if(rs.next())
{
empSiteDB = rs.getString("emp_site") == null ? "" : rs.getString("emp_site").trim();
cnt = rs.getInt("cnt");
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt!= null)
{
pstmt.close();
pstmt= null;
}
if(cnt == 0)
{
errCode = "VMEMPCD1";
//errString = getErrorString("emp_code",errCode,userId);
errString = itmdbAccess.getErrorString("emp_code", errCode, userId, "", conn);//Modified by yashwant to call 5 parameter method[13-12-19]
break;
}
//siteCode = genericUtility.getColumnValue("site_code",dom);
siteCode = checkNull(genericUtility.getColumnValue("site_code",dom));//Added by Yashwant S.on 13-12-19[Start][Added check Null]
if(!siteCode.trim().equalsIgnoreCase(loginSite.trim()))
{
System.out.println("Value of Site Code is : " + siteCode.trim());
System.out.println("Value of Login Site is : " + loginSite.trim());
errCode = "VMEMPBND01";
//errString = getErrorString("emp_code",errCode,userId);
errString = itmdbAccess.getErrorString("emp_code", errCode, userId, "", conn);//Modified by yashwant to call 5 parameter method[13-12-19]
break;
}
sql ="select status from employee where emp_code = ? ";
pstmt=conn.prepareStatement(sql);
pstmt.setString(1,empCode);
rs = pstmt.executeQuery();
if(rs.next())
{
empStatus = rs.getString("status") == null ? "" : rs.getString("status").trim();
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt!= null)
{
pstmt.close();
pstmt= null;
}
if(empStatus != null && empStatus.equalsIgnoreCase("S"))
{
errCode ="VMEMPBND08";
//errString = getErrorString("emp_code",errCode,userId);
errString = itmdbAccess.getErrorString("emp_code", errCode, userId, "", conn);//Modified by yashwant to call 5 parameter method[13-12-19]
break;
}
//Modified by RAHUL SHENOY on 11/08/2015 [Validations on Employee Code].End
}
//Modified by RAHUL SHENOY on 11/08/2015 [Site Code validation to happen in Employee code field].Start
/*
}
//Modified by RAHUL SHENOY on 11/08/2015 [Site Code validation to happen in Employee code field].Start
/*
else if (childNodeName.equalsIgnoreCase("site_code"))
{
siteCode = getColumnValue("site_code",dom);
......@@ -336,178 +353,582 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
}
}
}
*/
//Modified by RAHUL SHENOY on 11/08/2015 [Site Code validation to happen in Employee code field].End
//Added by Suraj [22-09-2015] [to validate for previous unconfirmed transaction][Start]
empCode = genericUtility.getColumnValue("emp_code", dom1);
boolean dupTran=checkPreviousUnconfRec(empCode,editFlag,conn);
if(dupTran)
*/
//Modified by RAHUL SHENOY on 11/08/2015 [Site Code validation to happen in Employee code field].End
//Added by Yashwant S.on 18-12-19[Start][Added Validation][CCF No: IT2018-015 / Request ID: A18CSUN011]
else if(childNodeName.equalsIgnoreCase("tran_id__bond"))
{
System.out.println(":::: validation of tran_id__bond ::::");
tranId = checkNull(genericUtility.getColumnValue("tran_id", dom));
tranIdBond = checkNull(genericUtility.getColumnValue("tran_id__bond", dom));
empCode = checkNull(genericUtility.getColumnValue("emp_code", dom));
if(tranId == null || tranId.trim().length() == 0)
{
errCode = "VMEMPBND15";
errString = getErrorString("bond_prd", errCode, userId);
break;
tranId = "*";
}
//Added by Suraj [22-09-2015] [to validate for previous unconfirmed transaction][End]
}// for loop end
break;
case 2:
parentNodeList = dom.getElementsByTagName("Detail2");
parentNode = parentNodeList.item(0);
childNodeList = parentNode.getChildNodes();
childNodeListLength = childNodeList.getLength();
for(ctr = 0; ctr < childNodeListLength; ctr++)
if(tranIdBond != null && tranIdBond.trim().length() > 0)
{
sql = "select count(1) as cnt from employee_bond where tran_id = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, tranIdBond);
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 = itmdbAccess.getErrorString("", "VTEBNDDF01", userId, "", conn); //Invalid tran ID bond
break;
}
sql = "select emp_code from employee_bond where tran_id = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, tranIdBond);
rs = pstmt.executeQuery();
if (rs.next())
{
bondEmpCode = checkNull(rs.getString("emp_code"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(!(empCode.trim()).equalsIgnoreCase(bondEmpCode.trim()))
{
errString = itmdbAccess.getErrorString("", "VTEBNDDF02", userId, "", conn); //specified employee code is not present in bond master
break;
}
cnt = 0;
sql="select count(*) as cnt from EMPLOYEE_BOND_DEF where tran_id__bond = ? and tran_id <> ? and confirmed='N' ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, tranIdBond);
pstmt.setString(2, tranId);
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 = itmdbAccess.getErrorString("", "VTEBNDDF03", userId, "", conn); //Unconfirmed transaction is present
break;
}
}
}
else if(childNodeName.equalsIgnoreCase("tran_id__pvouch"))
{
childNode = childNodeList.item(ctr);
childNodeName = childNode.getNodeName();
//Modified by RAHUL SHENOY on 11/08/2015 [Reference Line Number validation].Start
tranId = genericUtility.getColumnValue("tran_id", dom1);
if (childNodeName.equalsIgnoreCase("line_no__ref"))
System.out.println(":::: validation of tran_id__pvouch ::::");
String refNo = "";
tranIdPvouch = checkNull(genericUtility.getColumnValue("tran_id__pvouch", dom));
empCode = checkNull(genericUtility.getColumnValue("emp_code", dom));
System.out.println("tranIdPvouch ---->"+tranIdPvouch);
if(tranIdPvouch != null && tranIdPvouch.trim().length() > 0)
{
lineNoRef = genericUtility.getColumnValue("line_no__ref",dom);
lineNoRef = lineNoRef == null || lineNoRef.trim().length() == 0?"0":lineNoRef.trim();
try
sql = "select count(1) as cnt from payr_voucher where tran_id = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, tranIdPvouch);
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 = itmdbAccess.getErrorString("", "VTEBNDDF04", userId, "", conn); //Invalid tran ID voucher
break;
}
sql = "select emp_code, ref_no from payr_voucher where tran_id = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, tranIdPvouch);
rs = pstmt.executeQuery();
if (rs.next())
{
System.out.println("The value of lineNoRef is : " + lineNoRef);
lineNoRefInt = Integer.parseInt(lineNoRef);
System.out.println("The value of lineNoRefInt is : " + lineNoRefInt);
vouchEmpCode = checkNull(rs.getString("emp_code"));
refNo = checkNull(rs.getString("REF_NO"));
}
catch(Exception e)
if (rs != null)
{
errCode = "VMEMPBND13";
errString = getErrorString("line_no__ref",errCode,userId);
break;
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(!(empCode.trim()).equalsIgnoreCase(vouchEmpCode.trim()))
{
errString = itmdbAccess.getErrorString("", "VTEBNDDF05", userId, "", conn); //specified employee code is not present in payroll voucher
break;
}
if(lineNoRefInt < 0)
if(refNo != null && refNo.toUpperCase().startsWith("RV-"))
{
errString = itmdbAccess.getErrorString("", "VTEBNDDF15", userId, "", conn); //You can't do recovery against cancel voucher
break;
}
}
}
else if(childNodeName.equalsIgnoreCase("line_no__pvouch"))
{
System.out.println(":::: validation of line_no__pvouch ::::");
tranId = checkNull(genericUtility.getColumnValue("tran_id", dom));
lineNoPvouchStr = checkNull(genericUtility.getColumnValue("line_no__pvouch", dom));
tranIdPvouch = checkNull(genericUtility.getColumnValue("tran_id__pvouch", dom));
tranIdBond = checkNull(genericUtility.getColumnValue("tran_id__bond", dom));
if( tranId == null || tranId.trim().length() == 0)
{
tranId = "*";
}
if( tranIdBond == null || tranIdBond.trim().length() == 0)
{
tranIdBond = "*";
}
if((tranIdPvouch != null && tranIdPvouch.trim().length() > 0))
{
if(lineNoPvouchStr == null || lineNoPvouchStr.trim().length() == 0)
{
errCode = "VMEMPBND11";
errString = getErrorString("line_no__ref",errCode,userId);
errString = itmdbAccess.getErrorString("", "VTEBNDDF06", userId, "", conn); // line no. can't null
break;
}else if(lineNoRefInt > 0 )
}
else
{
empCode = genericUtility.getColumnValue("emp_code",dom1);
sql = "select count(*) as ctr from employee_bond where line_no= ? and emp_code = ? ";
pstmt=conn.prepareStatement(sql);
pstmt.setInt(1, lineNoRefInt);
pstmt.setString(2,empCode);
try
{
lineNoPvouch = Integer.parseInt(lineNoPvouchStr);
}
catch (Exception e)
{
errString = itmdbAccess.getErrorString("", "VTEBNDDF07", userId, "", conn); // please enter integer
break;
}
sql = "select count(1) as cnt from payr_vouchdet where line_no = ? and tran_id = ?";
pstmt= conn.prepareStatement(sql);
pstmt.setInt(1,lineNoPvouch);
pstmt.setString(2,tranIdPvouch);
rs = pstmt.executeQuery();
if(rs.next())
{
cnt=0;
cnt = rs.getInt("ctr");
System.out.println("COUNTER VALUE::::["+cnt+"]");
cnt = rs.getInt("cnt");
}
pstmt.close();
rs.close();
pstmt = null;
rs = null;
if(cnt == 0)
if(rs != null)
{
errCode = "VMEMPBND12";
errString = getErrorString("line_no__ref",errCode,userId);
rs.close();
rs = null;
}
if(pstmt!= null)
{
pstmt.close();
pstmt= null;
}
if(cnt == 0)
{
errString = itmdbAccess.getErrorString("", "VTEBNDDF08", userId, "", conn); // invalid line no for given tranId
break;
}
//Modified by RAHUL SHENOY on 18/08/2015 [Checking duplicate records from lineNoRef in dom].Start
if(checkDuplicateRecordsfromDom(dom2,genericUtility.getColumnValue("line_no__ref",dom),"line_no__ref"))
cnt = 0;
sql="select count(*) as cnt from EMPLOYEE_BOND_DEF where tran_id__pvouch = ? and line_no__pvouch = ? and tran_id <> ? and confirmed = 'N' ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, tranIdPvouch);
pstmt.setInt(2, lineNoPvouch);
pstmt.setString(3, tranId);
rs = pstmt.executeQuery();
if (rs.next())
{
cnt = rs.getInt("cnt");
}
if (rs != null)
{
errCode = "VMEMPBND14";
errString = getErrorString("line_no__ref",errCode,userId);
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(cnt > 0)
{
errString = itmdbAccess.getErrorString("", "VTEBNDDF09", userId, "", conn); //Unconfirmed transaction is present
break;
}
cnt = 0;
sql="select count(*) as cnt from EMPLOYEE_BOND where tran_id__pvouch = ? and line_no__pvouch = ? and tran_id <> ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, tranIdPvouch);
pstmt.setInt(2, lineNoPvouch);
pstmt.setString(3, tranIdBond);
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 = itmdbAccess.getErrorString("", "VTEBNDDF13", userId, "", conn); //definition already done
break;
}//Modified by RAHUL SHENOY on 18/08/2015 [Checking duplicate records from lineNoRef in dom].End
}
}
}//Modified by RAHUL SHENOY on 11/08/2015 [Reference Line Number validation].End
// Modified by Piyush on 18/01/2018 [Added else if instead of if]
// if (childNodeName.equalsIgnoreCase("bond_amt"))
else if (childNodeName.equalsIgnoreCase("bond_amt"))
}
}
else if(childNodeName.equalsIgnoreCase("ad_code"))
{
System.out.println(":::: validation of ad_code ::::");
tranId = checkNull(genericUtility.getColumnValue("tran_id", dom));
empCode = checkNull(genericUtility.getColumnValue("emp_code", dom));
adCode = checkNull(genericUtility.getColumnValue("ad_code", dom));
tranIdBond = checkNull(genericUtility.getColumnValue("tran_id__bond", dom));
tranIdPvouch = checkNull(genericUtility.getColumnValue("tran_id__pvouch", dom));
System.out.println("tranID from dom -->"+tranId);
if( tranId == null || tranId.trim().length() == 0)
{
bondamt = genericUtility.getColumnValue("bond_amt",dom);
if (bondamt == null )
tranId = "*";
}
if(adCode == null || adCode.trim().length() == 0)
{
errString = itmdbAccess.getErrorString("", "VTEBNDDF10", userId, "", conn); //please specify adcode
break;
}
else
{
sql = "select count(*) as cnt from allwdedn where ad_code = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, adCode);
rs = pstmt.executeQuery();
if (rs.next())
{
/*
errCode = "VMBAMTNULL";
errString = getErrorString("bond_amt",errCode,userId);
break;
*/
bondamt = "0.0";
}
//Modified by Rahul Shenoy on 11/08/2015 [Revised Bond Amount Validations].Start
try
cnt = rs.getInt("cnt");
}
if (rs != null)
{
bondamtDouble = Double.parseDouble(bondamt);
rs.close();
rs = null;
}
catch(Exception e)
if (pstmt != null)
{
errCode = "VMEMPBND06";
errString = getErrorString("bond_amt", errCode, userId);
break;
pstmt.close();
pstmt = null;
}
if(bondamtDouble < 0)
if(cnt == 0)
{
errCode = "VMEMPBND04";
errString = getErrorString("bond_amt", errCode, userId);
errString = itmdbAccess.getErrorString("", "VTEBNDDF11", userId, "", conn); //adcode not present in allwdedn
break;
}
lineNoRef = genericUtility.getColumnValue("line_no__ref",dom);
lineNoRef = lineNoRef == null || lineNoRef.trim().length() == 0?"0":lineNoRef.trim();
if((tranIdBond == null || tranIdBond.trim().length() == 0) && (tranIdPvouch == null || tranIdPvouch.trim().length() == 0))
{
System.out.println("empCode in adCode -->"+empCode);
System.out.println("adCode in adCode -->"+adCode);
System.out.println("tranId in adCode -->"+tranId);
cnt = 0;
sql="select count(*) as cnt from EMPLOYEE_BOND_DEF where emp_code = ? and ad_code = ? and tran_id <> ? and confirmed='N'";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, empCode);
pstmt.setString(2, adCode);
pstmt.setString(3, tranId);
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 = itmdbAccess.getErrorString("", "VTEBNDDF12", userId, "", conn); //Unconfirmed transaction is present
break;
}
}
}
}
//Added by Yashwant S.on 18-12-19[End][Added Validation][CCF No: IT2018-015 / Request ID: A18CSUN011]
//Added by Suraj [22-09-2015] [to validate for previous unconfirmed transaction][Start]
/*empCode = genericUtility.getColumnValue("emp_code", dom1);
boolean dupTran = checkPreviousUnconfRec(empCode,editFlag,conn);
if(dupTran)
{
errCode = "VMEMPBND15";
//errString = getErrorString("bond_prd", errCode, userId);
errString = itmdbAccess.getErrorString("bond_prd", errCode, userId, "", conn);//Modified by yashwant to call 5 parameter method[13-12-19]
break;
}*/
//Added by Suraj [22-09-2015] [to validate for previous unconfirmed transaction][End]
}// for loop end
break;
case 2:
parentNodeList = dom.getElementsByTagName("Detail2");
parentNode = parentNodeList.item(0);
childNodeList = parentNode.getChildNodes();
childNodeListLength = childNodeList.getLength();
for(ctr = 0; ctr < childNodeListLength; ctr++)
{
childNode = childNodeList.item(ctr);
childNodeName = childNode.getNodeName();
//Modified by RAHUL SHENOY on 11/08/2015 [Reference Line Number validation].Start
tranId = genericUtility.getColumnValue("tran_id", dom1);
if (childNodeName.equalsIgnoreCase("line_no__ref"))
{
lineNoRef = genericUtility.getColumnValue("line_no__ref",dom);
lineNoRef = lineNoRef == null || lineNoRef.trim().length() == 0?"0":lineNoRef.trim();
try
{
System.out.println("The value of lineNoRef is : " + lineNoRef);
lineNoRefInt = Integer.parseInt(lineNoRef);
if(bondamtDouble == 0.0 && lineNoRefInt == 0)
{
errCode = "VMEMPBND10";
errString = getErrorString("bond_amt", errCode, userId);
System.out.println("The value of lineNoRefInt is : " + lineNoRefInt);
}
catch(Exception e)
{
errCode = "VMEMPBND13";
//errString = getErrorString("line_no__ref",errCode,userId);
errString = itmdbAccess.getErrorString("line_no__ref", errCode, userId, "", conn);//Modified by yashwant to call 5 parameter method[13-12-19]
break;
}
if(lineNoRefInt < 0)
{
errCode = "VMEMPBND11";
//errString = getErrorString("line_no__ref",errCode,userId);
errString = itmdbAccess.getErrorString("line_no__ref", errCode, userId, "", conn);//Modified by yashwant to call 5 parameter method[13-12-19]
break;
}else if(lineNoRefInt > 0 )
{
empCode = genericUtility.getColumnValue("emp_code",dom1);
sql = "select count(*) as ctr from employee_bond where line_no= ? and emp_code = ? ";
pstmt=conn.prepareStatement(sql);
pstmt.setInt(1, lineNoRefInt);
pstmt.setString(2,empCode);
rs = pstmt.executeQuery();
if(rs.next())
{
cnt=0;
cnt = rs.getInt("ctr");
System.out.println("COUNTER VALUE::::["+cnt+"]");
}
pstmt.close();
rs.close();
pstmt = null;
rs = null;
if(cnt == 0)
{
errCode = "VMEMPBND12";
//errString = getErrorString("line_no__ref",errCode,userId);
errString = itmdbAccess.getErrorString("line_no__ref", errCode, userId, "", conn);//Modified by yashwant to call 5 parameter method[13-12-19]
break;
}
//Modified by Rahul Shenoy on 11/08/2015 [Revised Bond Amount Validations].End
//Modified by RAHUL SHENOY on 18/08/2015 [Checking duplicate records from lineNoRef in dom].Start
if(checkDuplicateRecordsfromDom(dom2,genericUtility.getColumnValue("line_no__ref",dom),"line_no__ref"))
{
errCode = "VMEMPBND14";
//errString = getErrorString("line_no__ref",errCode,userId);
errString = itmdbAccess.getErrorString("line_no__ref", errCode, userId, "", conn);//Modified by yashwant to call 5 parameter method[13-12-19]
break;
}//Modified by RAHUL SHENOY on 18/08/2015 [Checking duplicate records from lineNoRef in dom].End
}
// Modified by Piyush on 18/01/2018 [Added else if instead of if]
// if (childNodeName.equalsIgnoreCase("bond_prd"))
else if (childNodeName.equalsIgnoreCase("bond_prd"))
}//Modified by RAHUL SHENOY on 11/08/2015 [Reference Line Number validation].End
// Modified by Piyush on 18/01/2018 [Added else if instead of if]
// if (childNodeName.equalsIgnoreCase("bond_amt"))
else if (childNodeName.equalsIgnoreCase("bond_amt"))
{
bondamt = genericUtility.getColumnValue("bond_amt",dom);
tranIdPvouch = checkNull(genericUtility.getColumnValue("tran_id__pvouch",dom1));
if (bondamt == null )
{
bondprd = genericUtility.getColumnValue("bond_prd",dom);
bondprd = (bondprd == null ) ? "0" : bondprd.trim() ;
//Modified by Rahul Shenoy on 11/08/2015 [Revised Bond period Validations].Start
try
/*
errCode = "VMBAMTNULL";
errString = getErrorString("bond_amt",errCode,userId);
break;
*/
bondamt = "0.0";
}
//Modified by Rahul Shenoy on 11/08/2015 [Revised Bond Amount Validations].Start
try
{
bondamtDouble = Double.parseDouble(bondamt);
}
catch(Exception e)
{
errCode = "VMEMPBND06";
//errString = getErrorString("bond_amt", errCode, userId);
errString = itmdbAccess.getErrorString("bond_amt", errCode, userId, "", conn);//Modified by yashwant to call 5 parameter method[13-12-19]
break;
}
if(bondamtDouble < 0)
{
errCode = "VMEMPBND04";
//errString = getErrorString("bond_amt", errCode, userId);
errString = itmdbAccess.getErrorString("bond_amt", errCode, userId, "", conn);//Modified by yashwant to call 5 parameter method[13-12-19]
break;
}
lineNoRef = genericUtility.getColumnValue("line_no__ref",dom);
lineNoRef = lineNoRef == null || lineNoRef.trim().length() == 0?"0":lineNoRef.trim();
lineNoRefInt = Integer.parseInt(lineNoRef);
if(bondamtDouble == 0.0 && lineNoRefInt == 0)
{
errCode = "VMEMPBND10";
//errString = getErrorString("bond_amt", errCode, userId);
errString = itmdbAccess.getErrorString("bond_amt", errCode, userId, "", conn);//Modified by yashwant to call 5 parameter method[13-12-19]
break;
}
//Modified by Rahul Shenoy on 11/08/2015 [Revised Bond Amount Validations].End
//Added by Yashwant S.on 18-12-19[Start][Added Validation][CCF No: IT2018-015 / Request ID: A18CSUN011]
if(tranIdPvouch != null && tranIdPvouch.trim().length() > 0)
{
sql = "select amount from payr_vouchdet where tran_id = ?";
pstmt= conn.prepareStatement(sql);
pstmt.setString(1, tranIdPvouch);
rs = pstmt.executeQuery();
if(rs.next())
{
bondprdInt = Integer.parseInt(bondprd);
pvouchAmt = rs.getDouble("amount");
}
catch(Exception e)
if(rs != null)
{
errCode = "VMEMPBND05";
errString = getErrorString("bond_prd", errCode, userId);
break;
rs.close();
rs = null;
}
if(pstmt!= null)
{
pstmt.close();
pstmt= null;
}
if(bondprdInt < 1)
if(bondamtDouble > pvouchAmt)
{
errCode = "VMEMPBND03";
errString = getErrorString("bond_prd", errCode, userId);
errString = itmdbAccess.getErrorString("", "VTEBNDDF14", userId, "", conn);//amount can't be greter than payr_vochedet
break;
}
//Modified by Rahul Shenoy on 11/08/2015 [Revised Bond period Validations].Start
}
//Added by Yashwant S.on 18-12-19[End][Added Validation][CCF No: IT2018-015 / Request ID: A18CSUN011]
}
// Modified by Piyush on 18/01/2018 [Added else if instead of if]
// if (childNodeName.equalsIgnoreCase("bond_prd"))
else if (childNodeName.equalsIgnoreCase("bond_prd"))
{
bondprd = genericUtility.getColumnValue("bond_prd",dom);
bondprd = (bondprd == null ) ? "0" : bondprd.trim() ;
//Modified by Rahul Shenoy on 11/08/2015 [Revised Bond period Validations].Start
try
{
bondprdInt = Integer.parseInt(bondprd);
}
catch(Exception e)
{
errCode = "VMEMPBND05";
//errString = getErrorString("bond_prd", errCode, userId);
errString = itmdbAccess.getErrorString("bond_amt", errCode, userId, "", conn);//Modified by yashwant to call 5 parameter method[13-12-19]
break;
}
if(bondprdInt < 1)
{
errCode = "VMEMPBND03";
//errString = getErrorString("bond_prd", errCode, userId);
errString = itmdbAccess.getErrorString("bond_amt", errCode, userId, "", conn);//Modified by yashwant to call 5 parameter method[13-12-19]
break;
}
//Added by Suraj [19-09-2015] [to validate for duplicate transaction][Start]
/*empCode = genericUtility.getColumnValue("emp_code", dom1);
//Modified by Rahul Shenoy on 11/08/2015 [Revised Bond period Validations].Start
}
//Added by Suraj [19-09-2015] [to validate for duplicate transaction][Start]
/*empCode = genericUtility.getColumnValue("emp_code", dom1);
boolean dupTran=duplicateTran(empCode,editFlag,conn);
if(dupTran)
{
......@@ -515,12 +936,12 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
errString = getErrorString("bond_prd", errCode, userId);
break;
}*/
//Added by Suraj [19-09-2015] [to validate for duplicate transaction][End]
}// for loop end
break;
//Added by Suraj [19-09-2015] [to validate for duplicate transaction][End]
}// for loop end
break;
} //end switch
}//end try
catch(Exception e)
{
......@@ -554,23 +975,27 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
}
return errString;
}
public String itemChanged(String xmlString, String xmlString1,String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException
{
Document dom = null;
Document dom1 = null;
Document dom2 = null;
String valueXmlString = "";
try
{
System.out.println("xmlString -->"+xmlString);
dom = parseString(xmlString);
dom1 = parseString(xmlString1);
System.out.println("xmlString -->"+xmlString);
if (xmlString2.trim().length() > 0 )
{
dom2 = parseString(xmlString2);
System.out.println("xmlString -->"+xmlString);
}
valueXmlString = itemChanged(dom,dom1,dom2,objContext,currentColumn,editFlag,xtraParams);
}
catch(Exception e)
{
......@@ -578,14 +1003,14 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
}
return valueXmlString;
}
public String itemChanged(Document dom, Document dom1,Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException
{
StringBuffer valueXmlString = new StringBuffer();
NodeList parentNodeList = null;
NodeList childNodeList = null;
Node parentNode = null;
Node childNode = null;
Connection conn = null;
PreparedStatement pstmt = null;
......@@ -593,7 +1018,7 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
int ctr=0;
String childNodeName = null;
String columnValue = null;
//Modified by RAHUL SHENOY on 11/08/2015 [Declaring required variables].Start
int childNodeListLength = 0;
int currentFormNo = 0;
......@@ -601,18 +1026,36 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
String sql = "",descr = "",empfname = "", empmname = "", emplname = "";
String siteCode ="";
//Modified by RAHUL SHENOY on 11/08/2015 [Declaring required variables].End
ConnDriver connDriver = new ConnDriver();
//Added by Yashwant S.on 13-12-19[Start][CCF No: IT2018-015 / Request ID: A18CSUN011]
String adCode = "";
String adDescr = "";
String tranIdPvouch = "";
String deptDescr = "";
String siteDescr = "";
String lineNoPvouchStr = "";
int lineNoPvouch = 0;
String tranIdBond = "";
//Added by Yashwant S.on 13-12-19[End][CCF No: IT2018-015 / Request ID: A18CSUN011]
String tranDate="";
try
{
GenericUtility genericUtility = GenericUtility.getInstance();
//Modified by Yashwant on 13-12-19[START][To define getConnection and E12GenericUtility methods]
//GenericUtility genericUtility = GenericUtility.getInstance();
E12GenericUtility genericUtility = new E12GenericUtility();
//ConnDriver connDriver = new ConnDriver();
//conn = connDriver.getConnectDB("DriverITM");
//conn.setAutoCommit(false);
//connDriver=null;
conn = getConnection();
//Modified by Yashwant on 13-12-19[END][To define getConnection and E12GenericUtility methods]
SimpleDateFormat simpleDateFormat = new SimpleDateFormat(genericUtility.getApplDateFormat());
Timestamp timestamp = new Timestamp(System.currentTimeMillis());
conn = connDriver.getConnectDB("DriverITM");
conn.setAutoCommit(false);
connDriver=null;
if(objContext != null && objContext.trim().length()>0)
{
currentFormNo = Integer.parseInt(objContext);
......@@ -628,7 +1071,7 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
parentNode = parentNodeList.item(0);
childNodeList = parentNode.getChildNodes();
ctr = 0;
childNodeListLength = childNodeList.getLength();
do
{
......@@ -643,49 +1086,93 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
}
ctr++;
}while(ctr < childNodeListLength && !childNodeName.equals(currentColumn));
if(currentColumn.trim().equalsIgnoreCase("itm_default"))
{
System.out.println(":::: Inside itm_default ::::");
String confirmed="N";
tranDate = simpleDateFormat.format(timestamp).toString();
System.out.println("Tran Date 111: "+tranDate.toString());
valueXmlString.append("<tran_date>").append("<![CDATA["+tranDate.trim()+"]]>").append("</tran_date>");
valueXmlString.append("<confirmed>").append("<![CDATA["+confirmed+"]]>").append("</confirmed>");
//Added by Yashwant S.on 13-12-19[Start][To disable Line No. Voucher][CCF No: IT2018-015 / Request ID: A18CSUN011]
lineNoPvouchStr = checkNull(genericUtility.getColumnValue("line_no__pvouch",dom));
valueXmlString.append("<line_no__pvouch protect=\"1\"><![CDATA[").append(lineNoPvouchStr).append("]]></line_no__pvouch>\r\n");
//Added by Yashwant S.on 13-12-19[END][To disable Line No. Voucher][CCF No: IT2018-015 / Request ID: A18CSUN011]
}
//Modified by RAHUL SHENOY on 18/08/2015 [Disabling empCode on Edit if records found for the employee code and transaction ID ].Start
System.out.println("*** Protecting EmpCode if records Exist ***");
if(currentColumn.trim().equalsIgnoreCase("itm_defaultedit"))
//System.out.println("*** Protecting EmpCode if records Exist ***");
else if(currentColumn.trim().equalsIgnoreCase("itm_defaultedit"))
{
System.out.println(":::: inside itm_defaultedit ::::");
String tranId ="";
int count1 = 0;
tranId = genericUtility.getColumnValue("tran_id", dom1);
empCode = genericUtility.getColumnValue("emp_code", dom1);
//Added by Yashwant S.on 17-12-19[START][CCF No: IT2018-015 / Request ID: A18CSUN011]
//tranId = genericUtility.getColumnValue("tran_id", dom1);
//empCode = genericUtility.getColumnValue("emp_code", dom1);
tranId = checkNull(genericUtility.getColumnValue("tran_id", dom1));
empCode = checkNull(genericUtility.getColumnValue("emp_code", dom1));
tranIdBond = checkNull(genericUtility.getColumnValue("tran_id__bond", dom1));
tranIdPvouch = checkNull(genericUtility.getColumnValue("tran_id__pvouch", dom1));
lineNoPvouchStr = checkNull(genericUtility.getColumnValue("line_no__pvouch", dom1));
adCode = checkNull(genericUtility.getColumnValue("ad_code", dom1));
//Added by Yashwant S.on 17-12-19[END][CCF No: IT2018-015 / Request ID: A18CSUN011]
sql ="select count(1) from employee_bond_def_det where tran_id = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, tranId);
rs = pstmt.executeQuery();
while(rs.next())
{
count1 = rs.getInt(1);
}
System.out.println("The value of count1 --->>> "+ count1);
if(count1 > 0)
{
valueXmlString.append("<emp_code protect=\"1\">").append("<![CDATA["+empCode+"]]>").append("</emp_code>");
//Added by Yashwant S.on 17-12-19[START][CCF No: IT2018-015 / Request ID: A18CSUN011]
valueXmlString.append("<tran_id__bond protect=\"1\">").append("<![CDATA["+tranIdBond+"]]>").append("</tran_id__bond>");
valueXmlString.append("<tran_id__pvouch protect=\"1\"><![CDATA[").append(tranIdPvouch).append("]]></tran_id__pvouch>\r\n");
valueXmlString.append("<line_no__pvouch protect=\"1\"><![CDATA[").append(lineNoPvouchStr).append("]]></line_no__pvouch>\r\n");
valueXmlString.append("<ad_code protect=\"1\"><![CDATA[").append(adCode).append("]]></ad_code>\r\n");
}
else
{
if(tranIdBond != null && tranIdBond.trim().length() > 0)
{
System.out.println("--- tranIdBond not null ----");
valueXmlString.append("<tran_id__bond protect=\"0\"><![CDATA[").append(tranIdBond).append("]]></tran_id__bond>\r\n");
valueXmlString.append("<tran_id__pvouch protect=\"1\"><![CDATA[").append(tranIdPvouch).append("]]></tran_id__pvouch>\r\n");
valueXmlString.append("<line_no__pvouch protect=\"1\"><![CDATA[").append(lineNoPvouchStr).append("]]></line_no__pvouch>\r\n");
valueXmlString.append("<ad_code protect=\"1\"><![CDATA[").append(adCode).append("]]></ad_code>\r\n");
}
else if(tranIdPvouch != null && tranIdPvouch.trim().length() > 0)
{
System.out.println("--- tranIdPvouch not null ----");
valueXmlString.append("<tran_id__pvouch protect=\"0\"><![CDATA[").append(tranIdPvouch).append("]]></tran_id__pvouch>\r\n");
valueXmlString.append("<tran_id__bond protect=\"1\"><![CDATA[").append(tranIdBond).append("]]></tran_id__bond>\r\n");
valueXmlString.append("<line_no__pvouch protect=\"0\"><![CDATA[").append(lineNoPvouchStr).append("]]></line_no__pvouch>\r\n");
valueXmlString.append("<ad_code protect=\"1\"><![CDATA[").append(adCode).append("]]></ad_code>\r\n");
}
}
//Added by Yashwant S.on 17-12-19[END][CCF No: IT2018-015 / Request ID: A18CSUN011]
}
//Modified by RAHUL SHENOY on 18/08/2015 [Disabling empCode on Edit if records found for the employee code and transaction ID ].End
//Modified by RAHUL SHENOY on 11/08/2015 [siteCode to be fetched by Employee Code since site_code field is non-editable in Form].Start
/*
else if(currentColumn.trim().equalsIgnoreCase("site_code"))
{
//Modified by RAHUL SHENOY on 11/08/2015 [Declaring siteCode outside so it can be used at other places]
//String siteCode = getColumnValue("site_code",dom);
siteCode = getColumnValue("site_code",dom);
......@@ -707,7 +1194,6 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
//Modified by RAHUL SHENOY on 11/08/2015 [siteCode to be fetched by Employee Code since site_code field is non-editable in Form].End
else if(currentColumn.trim().equalsIgnoreCase("emp_code"))
{
empCode = genericUtility.getColumnValue("emp_code",dom);
//Modified by RAHUL SHENOY on 11/08/2015 [Fetching Employee Site for Employee Code from Employee Master Table]
// sql = " Select e.emp_fname,e.emp_mname,e.emp_lname,e.dept_code,d.descr from "+
......@@ -716,11 +1202,11 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
sql = " Select e.emp_fname,e.emp_mname,e.emp_lname,e.dept_code,d.descr,e.emp_site from "+
" employee e,department d "+
" where e.dept_code = d.dept_code and e.emp_code = ? ";
pstmt= conn.prepareStatement(sql);
pstmt.setString(1,empCode);
rs = pstmt.executeQuery();
if(rs.next())
{
empfname = rs.getString(1) == null ? "" : rs.getString(1);
......@@ -728,61 +1214,356 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
emplname = rs.getString(3) == null ? "" : rs.getString(3);
deptCode = rs.getString(4) == null ? "" : rs.getString(4);
descr = rs.getString(5) == null ? "" : rs.getString(5);
//Modified by RAHUL SHENOY on 11/08/2015 [Fetching emp_site from emp_code from employee table]
//Modified by RAHUL SHENOY on 11/08/2015 [Fetching emp_site from emp_code from employee table]
siteCode = rs.getString("emp_site") == null ? "" : rs.getString("emp_site");
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt!= null)
if(pstmt != null)
{
pstmt.close();
pstmt= null;
pstmt = null;
}
//Modified by RAHUL SHENOY in 11/08/2015 [Fetching Description for siteCode obtained].Start
sql = "SELECT DESCR FROM SITE WHERE SITE_CODE = ? ";
pstmt= conn.prepareStatement(sql);
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,siteCode);
rs = pstmt.executeQuery();
while(rs.next())
{
descr = rs.getString(1) == null ? "" : rs.getString(1);
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt!= null)
if(pstmt != null)
{
pstmt.close();
pstmt= null;
}
//Modified by RAHUL SHENOY in 11/08/2015 [Fetching Description for siteCode obtained].End
valueXmlString.append("<emp_fname>").append("<![CDATA["+empfname+"]]>").append("</emp_fname>");
valueXmlString.append("<emp_mname>").append("<![CDATA["+empmname+"]]>").append("</emp_mname>");
valueXmlString.append("<emp_lname>").append("<![CDATA["+emplname+"]]>").append("</emp_lname>");
valueXmlString.append("<dept_code>").append("<![CDATA["+deptCode+"]]>").append("</dept_code>");
//Modified by RAHUL SHENOY on 11/08/2015 [Displaying Site Code and its Description].Start
valueXmlString.append("<site_code>").append("<![CDATA["+siteCode+"]]>").append("</site_code>");
valueXmlString.append("<site_descr>").append("<![CDATA["+descr.trim()+"]]>").append("</site_descr>");
//Modified by RAHUL SHENOY on 11/08/2015 [Displaying Site Code and its Description].End
valueXmlString.append("<department_descr>").append("<![CDATA["+descr+"]]>").append("</department_descr>");
System.out.println("First Name :"+empfname+" Middle Name :"+empmname+" Last Name :"+emplname);
System.out.println("Dept code -->>"+deptCode+" descr : "+descr);
}
//Added by Yashwant S.on 13-12-19[Start][CCF No: IT2018-015 / Request ID: A18CSUN011]
else if(currentColumn.trim().equalsIgnoreCase("tran_id__bond"))
{
System.out.println("::::: Inside tran_id__bond :::::");
tranIdBond = checkNull(genericUtility.getColumnValue("tran_id__bond",dom));
empCode = checkNull(genericUtility.getColumnValue("emp_code",dom));
if(tranIdBond != null && tranIdBond.trim().length() > 0)
{
sql = "select emp_code, ad_code, tran_id__pvouch, line_no__pvouch from EMPLOYEE_BOND where TRAN_ID = ?";
pstmt= conn.prepareStatement(sql);
pstmt.setString(1,tranIdBond);
rs = pstmt.executeQuery();
if(rs.next())
{
empCode = checkNull(rs.getString("emp_code"));
adCode = checkNull(rs.getString("ad_code"));
tranIdPvouch = checkNull(rs.getString("tran_id__pvouch"));
lineNoPvouch = rs.getInt("line_no__pvouch");
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt!= null)
{
pstmt.close();
pstmt= null;
}
sql = " select e.emp_fname,e.emp_mname,e.emp_lname,e.dept_code,d.descr from "+
" employee e,department d "+
" where e.dept_code = d.dept_code and e.emp_code = ? ";
pstmt= conn.prepareStatement(sql);
pstmt.setString(1,empCode);
rs = pstmt.executeQuery();
if(rs.next())
{
empfname = checkNull(rs.getString("emp_fname"));
empmname = checkNull(rs.getString("emp_mname"));
emplname = checkNull(rs.getString("emp_lname"));
deptCode = checkNull(rs.getString("dept_code"));
deptDescr = checkNull(rs.getString("descr"));
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt!= null)
{
pstmt.close();
pstmt= null;
}
sql = "select descr from allwdedn where AD_CODE = ?";
pstmt= conn.prepareStatement(sql);
pstmt.setString(1,adCode);
rs = pstmt.executeQuery();
if(rs.next())
{
adDescr = checkNull(rs.getString("descr"));
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt!= null)
{
pstmt.close();
pstmt= null;
}
valueXmlString.append("<tran_id__bond>").append("<![CDATA["+tranIdBond+"]]>").append("</tran_id__bond>");
valueXmlString.append("<tran_id__pvouch protect=\"1\"><![CDATA[").append(tranIdPvouch).append("]]></tran_id__pvouch>\r\n");
valueXmlString.append("<line_no__pvouch protect=\"1\"><![CDATA[").append(lineNoPvouch).append("]]></line_no__pvouch>\r\n");
valueXmlString.append("<emp_code>").append("<![CDATA["+empCode+"]]>").append("</emp_code>");
valueXmlString.append("<emp_fname>").append("<![CDATA["+empfname+"]]>").append("</emp_fname>");
valueXmlString.append("<emp_mname>").append("<![CDATA["+empmname+"]]>").append("</emp_mname>");
valueXmlString.append("<emp_lname>").append("<![CDATA["+emplname+"]]>").append("</emp_lname>");
valueXmlString.append("<dept_code>").append("<![CDATA["+deptCode+"]]>").append("</dept_code>");
valueXmlString.append("<department_descr>").append("<![CDATA["+deptDescr+"]]>").append("</department_descr>");
valueXmlString.append("<ad_code protect=\"1\"><![CDATA[").append(adCode).append("]]></ad_code>\r\n");
valueXmlString.append("<allwdedn_descr>").append("<![CDATA["+adDescr+"]]>").append("</allwdedn_descr>");
}
else
{
valueXmlString.append("<tran_id__bond protect=\"0\"><![CDATA[").append(tranIdBond).append("]]></tran_id__bond>\r\n");
valueXmlString.append("<tran_id__pvouch protect=\"0\"><![CDATA[").append(tranIdPvouch).append("]]></tran_id__pvouch>\r\n");
valueXmlString.append("<line_no__pvouch protect=\"1\"><![CDATA[").append(lineNoPvouchStr).append("]]></line_no__pvouch>\r\n");
valueXmlString.append("<emp_code protect=\"0\"><![CDATA[").append(empCode).append("]]></emp_code>\r\n");
valueXmlString.append("<dept_code>").append("<![CDATA["+deptCode+"]]>").append("</dept_code>");
valueXmlString.append("<department_descr>").append("<![CDATA["+deptDescr+"]]>").append("</department_descr>");
valueXmlString.append("<ad_code protect=\"0\"><![CDATA[").append(adCode).append("]]></ad_code>\r\n");
valueXmlString.append("<allwdedn_descr>").append("<![CDATA["+adDescr+"]]>").append("</allwdedn_descr>");
}
}
else if(currentColumn.trim().equalsIgnoreCase("tran_id__pvouch"))
{
System.out.println("::::: Inside tran_id__pvouch :::::");
tranIdPvouch = checkNull(genericUtility.getColumnValue("tran_id__pvouch",dom));
empCode = checkNull(genericUtility.getColumnValue("emp_code",dom));
siteCode = checkNull(genericUtility.getColumnValue("site_code",dom));
if(tranIdPvouch != null && tranIdPvouch.trim().length() > 0)
{
sql = "select emp_code, site_code from payr_voucher where TRAN_ID = ?";
pstmt= conn.prepareStatement(sql);
pstmt.setString(1,tranIdPvouch);
rs = pstmt.executeQuery();
if(rs.next())
{
empCode = checkNull(rs.getString("emp_code"));
siteCode = checkNull(rs.getString("site_code"));
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt!= null)
{
pstmt.close();
pstmt= null;
}
sql = " Select e.emp_fname,e.emp_mname,e.emp_lname,e.dept_code,d.descr from "+
" employee e,department d "+
" where e.dept_code = d.dept_code and e.emp_code = ? ";
pstmt= conn.prepareStatement(sql);
pstmt.setString(1,empCode);
rs = pstmt.executeQuery();
if(rs.next())
{
empfname = checkNull(rs.getString("emp_fname"));
empmname = checkNull(rs.getString("emp_mname"));
emplname = checkNull(rs.getString("emp_lname"));
deptCode = checkNull(rs.getString("dept_code"));
deptDescr = checkNull(rs.getString("descr"));
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt!= null)
{
pstmt.close();
pstmt= null;
}
sql = "SELECT DESCR FROM SITE WHERE SITE_CODE = ? ";
pstmt= conn.prepareStatement(sql);
pstmt.setString(1,siteCode);
rs = pstmt.executeQuery();
while(rs.next())
{
siteDescr = checkNull(rs.getString("DESCR"));
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt!= null)
{
pstmt.close();
pstmt= null;
}
valueXmlString.append("<emp_code>").append("<![CDATA["+empCode+"]]>").append("</emp_code>");
valueXmlString.append("<emp_fname>").append("<![CDATA["+empfname+"]]>").append("</emp_fname>");
valueXmlString.append("<emp_mname>").append("<![CDATA["+empmname+"]]>").append("</emp_mname>");
valueXmlString.append("<emp_lname>").append("<![CDATA["+emplname+"]]>").append("</emp_lname>");
valueXmlString.append("<dept_code>").append("<![CDATA["+deptCode+"]]>").append("</dept_code>");
valueXmlString.append("<department_descr>").append("<![CDATA["+deptDescr+"]]>").append("</department_descr>");
valueXmlString.append("<site_code>").append("<![CDATA["+siteCode+"]]>").append("</site_code>");
valueXmlString.append("<site_descr>").append("<![CDATA["+siteDescr+"]]>").append("</site_descr>");
valueXmlString.append("<line_no__pvouch protect=\"0\"><![CDATA[").append(lineNoPvouchStr).append("]]></line_no__pvouch>\r\n");
valueXmlString.append("<tran_id__bond protect=\"1\"><![CDATA[").append(tranIdBond).append("]]></tran_id__bond>\r\n");
valueXmlString.append("<ad_code protect=\"1\"><![CDATA[").append(adCode).append("]]></ad_code>\r\n");
}
else
{
valueXmlString.append("<emp_code>").append("<![CDATA["+empCode+"]]>").append("</emp_code>");
valueXmlString.append("<dept_code>").append("<![CDATA["+deptCode+"]]>").append("</dept_code>");
valueXmlString.append("<department_descr>").append("<![CDATA["+deptDescr+"]]>").append("</department_descr>");
valueXmlString.append("<site_code>").append("<![CDATA["+siteCode+"]]>").append("</site_code>");
valueXmlString.append("<site_descr>").append("<![CDATA["+siteDescr+"]]>").append("</site_descr>");
valueXmlString.append("<line_no__pvouch protect=\"1\"><![CDATA[").append(lineNoPvouchStr).append("]]></line_no__pvouch>\r\n");
valueXmlString.append("<tran_id__bond protect=\"0\"><![CDATA[").append(tranIdBond).append("]]></tran_id__bond>\r\n");
valueXmlString.append("<ad_code protect=\"0\"><![CDATA[").append(adCode).append("]]></ad_code>\r\n");
valueXmlString.append("<allwdedn_descr>").append("<![CDATA["+adDescr+"]]>").append("</allwdedn_descr>");
}
}
else if(currentColumn.trim().equalsIgnoreCase("line_no__pvouch"))
{
System.out.println("::::: Inside line_no__pvouch :::::");
lineNoPvouchStr = checkNull(genericUtility.getColumnValue("line_no__pvouch",dom));
tranIdPvouch = checkNull(genericUtility.getColumnValue("tran_id__pvouch",dom));
if (lineNoPvouchStr.trim().length() > 0)
{
lineNoPvouch = Integer.parseInt(lineNoPvouchStr);
}
System.out.println("lineNoPvouch -->"+lineNoPvouch);
sql = "select ad_code from payr_vouchdet where line_no = ? and tran_id = ?";
pstmt= conn.prepareStatement(sql);
pstmt.setInt(1,lineNoPvouch);
pstmt.setString(2,tranIdPvouch);
rs = pstmt.executeQuery();
if(rs.next())
{
adCode = checkNull(rs.getString("ad_code"));
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt!= null)
{
pstmt.close();
pstmt= null;
}
sql = "select descr from allwdedn where ad_code = ?";
pstmt= conn.prepareStatement(sql);
pstmt.setString(1,adCode);
rs = pstmt.executeQuery();
if(rs.next())
{
adDescr = checkNull(rs.getString("descr"));
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt!= null)
{
pstmt.close();
pstmt= null;
}
valueXmlString.append("<line_no__pvouch>").append("<![CDATA["+lineNoPvouchStr+"]]>").append("</line_no__pvouch>");
valueXmlString.append("<ad_code>").append("<![CDATA["+adCode+"]]>").append("</ad_code>");
valueXmlString.append("<allwdedn_descr>").append("<![CDATA["+adDescr+"]]>").append("</allwdedn_descr>");
}
else if(currentColumn.trim().equalsIgnoreCase("ad_code"))
{
System.out.println("::::: Inside ad_code :::::");
adCode = checkNull(genericUtility.getColumnValue("ad_code",dom));
System.out.println("adCode -->"+adCode);
sql = "select descr from allwdedn where AD_CODE = ?";
pstmt= conn.prepareStatement(sql);
pstmt.setString(1,adCode);
rs = pstmt.executeQuery();
if(rs.next())
{
adDescr = checkNull(rs.getString("descr"));
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt!= null)
{
pstmt.close();
pstmt= null;
}
valueXmlString.append("<ad_code>").append("<![CDATA["+adCode+"]]>").append("</ad_code>");
valueXmlString.append("<allwdedn_descr>").append("<![CDATA["+adDescr+"]]>").append("</allwdedn_descr>");
}
//Added by Yashwant S. on 13-12-19[END][CCF No: IT2018-015 / Request ID: A18CSUN011]
valueXmlString.append("</Detail1>");
break;
//Modified by RAHUL SHENOY on 11/08/2015 [Case 2 for item changes in Form 2].Start
......@@ -790,17 +1571,17 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
//Modified by RAHUL SHENOY on 18/08/2015 [Disable editing in employee code on loading Detail2].Start
empCode = genericUtility.getColumnValue("emp_code",dom1 );
//NOT WORKING
System.out.println("*** Protecting EmpCode ***");
valueXmlString.append("<Detail1>\r\n");
valueXmlString.append("<emp_code protect=\"1\">").append("<![CDATA["+empCode+"]]>").append("</emp_code>");
valueXmlString.append("</Detail1>\r\n");
//Modified by RAHUL SHENOY on 18/08/2015 [Disable editing in employee code on loading Detail2].End
valueXmlString.append("<Detail2>");
parentNodeList = dom.getElementsByTagName("Detail2");
parentNode = parentNodeList.item(0);
......@@ -822,12 +1603,12 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
}
ctr++;
}while(ctr < childNodeListLength && !childNodeName.equals(currentColumn));
if(currentColumn.trim().equalsIgnoreCase("itm_default"))
{
valueXmlString.append("<line_no__ref>").append("<![CDATA[0]]>").append("</line_no__ref>");
}
// Modified by Piyush on 18/01/2018 [Added else if instead of if]
//if(currentColumn.trim().equalsIgnoreCase("line_no__ref"))
else if(currentColumn.trim().equalsIgnoreCase("line_no__ref"))
......@@ -835,15 +1616,15 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
lineNoRef = genericUtility.getColumnValue("line_no__ref",dom);
empCode = genericUtility.getColumnValue("emp_code",dom1);
try{
lineNoRefInt = Integer.parseInt(lineNoRef);
}
}
catch(Exception e)
{
lineNoRefInt = 0;
}
{
lineNoRefInt = 0;
}
if(lineNoRefInt != 0)
{
sql = "select bond_prd,bond_amt from employee_bond where emp_code = ? and line_no = ? ";
......@@ -856,7 +1637,7 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
bondPrd = rs.getString("bond_prd") == null ? "" : rs.getString("bond_prd");
bondAmt = rs.getString("bond_amt") == null ? "" : rs.getString("bond_amt");
}
if(rs != null)
{
rs.close();
......@@ -873,18 +1654,19 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
bondPrd = "0";
bondAmt = "0";
}
valueXmlString.append("<bond_prd__curr>").append("<![CDATA["+bondPrd+"]]>").append("</bond_prd__curr>");
valueXmlString.append("<bond_prd>").append("<![CDATA["+bondPrd+"]]>").append("</bond_prd>");
valueXmlString.append("<bond_amt__curr>").append("<![CDATA["+bondAmt+"]]>").append("</bond_amt__curr>");
valueXmlString.append("<bond_amt>").append("<![CDATA["+bondAmt+"]]>").append("</bond_amt>");
}
// Modified by Piyush on 18/01/2018 [To set 0 amount in case of bond amount is null or empty].Start
else if (currentColumn.trim().equalsIgnoreCase("bond_amt"))
{
String bondAmtStr = genericUtility.getColumnValue("bond_amt",dom);
String bondAmtStr = genericUtility.getColumnValue("bond_amt",dom);
if ( bondAmtStr == null || bondAmtStr.trim().length() == 0)
{
bondAmtStr = "0.00";
......@@ -897,7 +1679,7 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
//Modified by RAHUL SHENOY on 11/08/2015 [Case 2 for item changes in Form 2].End
}// end switch
valueXmlString.append("</Root>");
}
catch(Exception e)
{
......@@ -934,32 +1716,30 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
}
//Modified by RAHUL SHENOY on 21/08/2015 [Validation for duplicate value in the same transaction].Start
private boolean checkDuplicateRecordsfromDom(Document dom,String lineNoref,String field)
private boolean checkDuplicateRecordsfromDom(Document dom,String lineNoref,String field)
{
NodeList parentList = null;
NodeList childList = null;
Node parentNode = null;
Node childNode = null;
String domValue= "";
int domValueInt =0;
int prntCtrRec = 0;
ArrayList<String> arrayList = new ArrayList<String>();
boolean isDuplRecord = false;
try {
System.out.println("MODIFIED BZY SURAJ");
System.out.println("********---- Entering the Method : checkDuplicateRecordsfromDom for the field ["+field +"] ---- ********");
parentList = dom.getElementsByTagName("Detail2");
int parentNodeListLength = parentList.getLength();
System.out.println(" getValidDateFromDom parentList.getLength() ["+parentList.getLength()+"]");
for (int prntCtr = 0; prntCtr < parentNodeListLength; prntCtr++ )
{
parentNode = parentList.item(prntCtr);
......@@ -971,12 +1751,12 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
{
childNode = childList.item(ctr);
System.out.println("childNode.getNodeName() ....["+childNode.getNodeName()+"]");
//Modified by suraj [To allow add option after default] [Start]
//Modified by suraj [To allow add option after default] [Start]
if(childNode != null && childNode.getNodeName().equalsIgnoreCase("attribute"))
{
String updateFlag = "";
updateFlag = childNode.getAttributes().getNamedItem("updateFlag").getNodeValue();
System.out.println("[getPlaceOfWorkValueFromDom][updateFlag]" +updateFlag);
if (updateFlag.equalsIgnoreCase("D"))
{
......@@ -984,18 +1764,18 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
}
continue;
}
if ( childNode != null && childNode.getFirstChild() != null &&
childNode.getNodeName().equalsIgnoreCase(field) )
childNode.getNodeName().equalsIgnoreCase(field) )
{
System.out.println("*** The field for checking duplicate records is ["+ field +"] ***");
domValue= childNode.getFirstChild().getNodeValue().trim();
System.out.println("Value in Dom......["+domValue+"]");
if(arrayList.contains(domValue))
{
isDuplRecord = true;
......@@ -1003,10 +1783,10 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
}
else
{
arrayList.add(domValue);
System.out.println("lineNoRefList add ["+arrayList+"]");
}
//Modified by suraj [To allow add option after default] [End]
}
......@@ -1021,8 +1801,8 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
return isDuplRecord;
}
//Modified by RAHUL SHENOY on 21/08/2015 [Validation for duplicate value in the same transaction].End
//Added by Suraj [19-09-2015] [to validate for duplicate transaction][Start]
private boolean checkPreviousUnconfRec(String empCode,String editFlag,Connection conn) //Method to check duplicate transaction
//Added by Suraj [19-09-2015] [to validate for duplicate transaction][Start]
private boolean checkPreviousUnconfRec(String empCode,String editFlag,Connection conn) //Method to check duplicate transaction
{
int ctr=0;
ResultSet rs=null;
......@@ -1033,10 +1813,10 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
{
if(editFlag != null && editFlag.equalsIgnoreCase("A"))
{
String sqlDup="select count(*) as cnt from EMPLOYEE_BOND_DEF where emp_code=? and confirmed='N'";
pstmt=conn.prepareStatement(sqlDup);
pstmt.setString(1,empCode);
rs=pstmt.executeQuery();
String sqlDup = "select count(*) as cnt from EMPLOYEE_BOND_DEF where emp_code = ? and confirmed = 'N'";
pstmt = conn.prepareStatement(sqlDup);
pstmt.setString(1, empCode);
rs = pstmt.executeQuery();
while(rs.next())
{
ctr=rs.getInt("cnt");
......@@ -1054,8 +1834,8 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
if(ctr > 0)
{
System.out.println("Entered in duplicateTran where duplication is true");
isDup=true;
}
isDup = true;
}
}
}
catch(Exception e)
......@@ -1064,5 +1844,17 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
}
return isDup;
}
//Added by Suraj [19-09-2015] [to validate for duplicate transaction][End]
//Added by Suraj [19-09-2015] [to validate for duplicate transaction][End]
//Added by Yashwant S. on 13-12-19[Start][CCF No: IT2018-015 / Request ID: A18CSUN011]
private String checkNull(String input)
{
if (input == null)
{
input = "";
}
return input;
}
//Added by Yashwant S. on 13-12-19[END][CCF No: IT2018-015 / Request ID: A18CSUN011]
}//end class
package ibase.webitm.ejb.adm;
import ibase.webitm.ejb.dis.DistCommon;
import java.rmi.RemoteException;
import org.w3c.dom.*;
//import javax.ejb.EJBObject;
import javax.ejb.Local;
import org.w3c.dom.Document;
import ibase.webitm.ejb.*;
import ibase.webitm.utility.ITMException;
import javax.ejb.Local;
//import javax.ejb.EJBObject;
import ibase.webitm.ejb.ValidatorLocal;
import ibase.webitm.utility.ITMException;
@Local
public interface EmpBondDefinitionLocal extends ValidatorLocal {
public String wfValData() throws RemoteException,ITMException;
......
......@@ -293,9 +293,7 @@ public class EmpBondDefinitionPrs extends ValidatorEJB implements EmpBondDefinit
//Added by RAHUL SHENOY on 21/08/2015 [Validation for duplicate value in the same transaction].Start
private boolean checkDuplicateBondPeriod(Document dom)
{
{
NodeList parentList = null;
NodeList childList = null;
Node parentNode = null;
......
package ibase.webitm.ejb.adm;
import ibase.webitm.ejb.dis.DistCommon;
import java.rmi.RemoteException;
import org.w3c.dom.*;
//import javax.ejb.EJBObject;
import javax.ejb.Remote;
import org.w3c.dom.Document;
import ibase.webitm.ejb.*;
//import javax.ejb.EJBObject;
import ibase.webitm.ejb.ValidatorLocal;
import ibase.webitm.utility.ITMException;
import javax.ejb.Remote; // added for ejb3
@Remote
public interface EmpBondDefinitionRemote extends ValidatorLocal{
public String wfValData() throws RemoteException,ITMException;
......
......@@ -5,6 +5,7 @@ import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.Timestamp;
import java.text.SimpleDateFormat;
import java.util.Date;
import javax.ejb.Stateless;
......@@ -22,20 +23,20 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon
{
String loginEmpCode="";
int updcnt1=0;
public String confirm(String tranId, String xtraParams, String forcedFlag) throws RemoteException,ITMException
{
// Modified by Dipesh P on [17/12/2019]Start [CCF No: IT2018-015][Request ID: A19ISUN011]
E12GenericUtility genericUtility = new E12GenericUtility();
// Modified by Dipesh P on [17/12/2019]End [CCF No: IT2018-015][Request ID: A19ISUN011]
// Modified by Dipesh P on [17/12/2019]Start [CCF No: IT2018-015][Request ID: A19ISUN011]
E12GenericUtility genericUtility = new E12GenericUtility();
// Modified by Dipesh P on [17/12/2019]End [CCF No: IT2018-015][Request ID: A19ISUN011]
String retString = "";
try
{
Connection conn=null;
retString = confirm( tranId, xtraParams, forcedFlag, conn);
}
catch(Exception e)
{
......@@ -45,17 +46,17 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon
}
return retString;
}
public String confirm( String tranId, String xtraParams, String forcedFlag, Connection conn)
{
System.out.println("--------------confirm method of EmpBondDefConfirm ------------- ");
ResultSet rs = null;
PreparedStatement pstmt = null;
conn = null;
ITMDBAccessEJB itmdbAccess=new ITMDBAccessEJB();
conn = null;
ITMDBAccessEJB itmdbAccess=new ITMDBAccessEJB();
String retString = "",errString="";
String sql = "",empcode="",confirmed="";
// Modified by Dipesh P on [17/12/2019]Start [CCF No: IT2018-015][Request ID: A19ISUN011]
String empCode = "",tranIdBond= "", tranIdPvouch="", adCode="", keyString="";
String xmlValues = "" ,lsEmpSite = "", refSerBond = "", userId = "";
......@@ -64,36 +65,66 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon
PreparedStatement pstmt1 = null;
E12GenericUtility genericUtility = new E12GenericUtility();
// Modified by Dipesh P on [17/12/2019]End [CCF No: IT2018-015][Request ID: A19ISUN011]
//Added by Yashwant S.on 18-12-19[Start][CCF No: IT2018-015 / Request ID: A18CSUN011]
Timestamp changeDate = null;
String chgUser = "";
String chgTerm = "";
String refNo = "";
//Added by Yashwant S.on 18-12-19[End][CCF No: IT2018-015 / Request ID: A18CSUN011]
double bondamt=0.0;
int lineno=0,bondprd=0,updCnt=0;
//Modified by Rahul Shenoy on 14/08/2015 [Declaration for inserting when value of line_no__ref is 0].Start
String sqlInsert ="",sqlMaxLineNo ="";
int maxLineNumber = 0,insertCnt = 0;
PreparedStatement pstmtMax = null,pstmtInsert = null;
ResultSet rsMax=null;
//Modified by Rahul Shenoy on 14/08/2015 [Declaration for inserting when value of line_no__ref is 0].End
try
{
// Modified by Dipesh P on [17/12/2019]Start [CCF No: IT2018-015][Request ID: A19ISUN011]
//loginEmpCode = GenericUtility.getInstance().getValueFromXTRA_PARAMS(xtraParams, "loginEmpCode");
loginEmpCode = checkNull(genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginEmpCode"));
userId = checkNull(genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginCode"));
if (userId == null || userId.trim().length() == 0)
{
userId = "SYSTEM";
}
// Modified by Dipesh P on [17/12/2019]Start [CCF No: IT2018-015][Request ID: A19ISUN011]
//loginEmpCode = GenericUtility.getInstance().getValueFromXTRA_PARAMS(xtraParams, "loginEmpCode");
loginEmpCode = checkNull(genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginEmpCode"));
userId = checkNull(genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginCode"));
if (userId == null || userId.trim().length() == 0)
{
userId = "SYSTEM";
}
//Added by Yashwant S.on 23-12-19[Start][CCF No: IT2018-015 / Request ID: A18CSUN011]
Date todate = new Date();
changeDate =new java.sql.Timestamp(todate.getTime());
System.out.println("changeDate -->"+changeDate);
chgUser = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"chg_user");
chgTerm = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"chg_term");
System.out.println("chgUser -->"+chgUser);
System.out.println("chgTerm -->"+chgTerm);
if(chgUser == null || chgUser.trim().length() == 0)
{
chgUser = "SYSTEM";
}
if(chgTerm == null || chgTerm.trim().length() == 0)
{
chgTerm = "SYSTEM";
}
//Added by Yashwant S.on 23-12-19[Start][CCF No: IT2018-015 / Request ID: A18CSUN011]
/*ConnDriver connDriver = new ConnDriver();
conn = connDriver.getConnectDB("DriverValidator");*/
conn=getConnection();
conn.setAutoCommit(false);
sql = "select Key_String, ref_ser from transetup where tran_window = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, "w_employee_bond");
......@@ -112,10 +143,10 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon
errString = itmdbAccess.getErrorString("", "VTEBNDDF51", "", "", conn);
conn.rollback();
return errString;
}
// Modified by Dipesh P on [17/12/2019]End [CCF No: IT2018-015][Request ID: A19ISUN011]
//sql = "SELECT CONFIRMED FROM EMPLOYEE_BOND_DEF WHERE TRAN_ID = ?";
sql = "SELECT CONFIRMED , EMP_CODE , TRAN_ID__BOND , TRAN_ID__PVOUCH , LINE_NO__PVOUCH , AD_CODE FROM EMPLOYEE_BOND_DEF WHERE TRAN_ID = ? FOR UPDATE NOWAIT ";// Modified by Dipesh P on [17/12/2019] [CCF No: IT2018-015][Request ID: A19ISUN011]
pstmt = conn.prepareStatement(sql);
......@@ -125,13 +156,13 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon
{
confirmed =rs.getString("CONFIRMED")==null ? "":rs.getString("CONFIRMED");
// Modified by Dipesh P on [17/12/2019]Start [CCF No: IT2018-015][Request ID: A19ISUN011]
empCode =rs.getString("EMP_CODE")==null ? "":rs.getString("EMP_CODE");
tranIdBond =rs.getString("TRAN_ID__BOND")==null ? "":rs.getString("TRAN_ID__BOND");
tranIdPvouch =rs.getString("TRAN_ID__PVOUCH")==null ? "":rs.getString("TRAN_ID__PVOUCH");
lineNoPvouch =rs.getInt("LINE_NO__PVOUCH");
adCode =rs.getString("AD_CODE")==null ? "":rs.getString("AD_CODE");
// Modified by Dipesh P on [17/12/2019]End [CCF No: IT2018-015][Request ID: A19ISUN011]
}
if( pstmt != null )
......@@ -150,7 +181,35 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon
conn.rollback();
return errString;
}
//Added by Yashwant S.on 27-12-19[Start][Validation against cancel voucher][CCF No: IT2018-015 / Request ID: A18CSUN011]
else if(tranIdPvouch != null && tranIdPvouch.trim().length() > 0)
{
sql = "select REF_NO from PAYR_VOUCHER where TRAN_ID = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, tranIdPvouch);
rs = pstmt.executeQuery();
if (rs.next())
{
refNo = checkNull(rs.getString("REF_NO"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(refNo != null && refNo.toUpperCase().startsWith("RV-"))
{
errString = itmdbAccess.getErrorString("", "VTEBNDDF15", userId, "", conn); //You can't do recovery against cancel voucher
return errString;
}
}
//Added by Yashwant S.on 27-12-19[Start][Validation against cancel voucher][CCF No: IT2018-015 / Request ID: A18CSUN011]
// Modified by Dipesh P on [17/12/2019]Start [CCF No: IT2018-015][Request ID: A19ISUN011]
if (tranIdBond == null || tranIdBond.trim().length() == 0)
{
......@@ -172,26 +231,26 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon
conn.rollback();
return errString;
}
}
// Modified by Dipesh P on [17/12/2019]End [CCF No: IT2018-015][Request ID: A19ISUN011]
// Modified by Piyush on 16/07/2015 [To establish join between header and detail]
/*
/*
sql="select ed.tran_id,e.emp_code,ed.line_no,ed.bond_amt,ed.bond_prd from employee_bond_def_det ed,employee_bond_def e "+
" where ed.tran_id=?";
*/
*/
//Modified by RAHUL SHENOY on 14/08/2015 [Reference Line Number(line_no__ref) needs to be updated instead of Line Number from employee_bond_def_det table]
/*
sql="select ed.tran_id,e.emp_code,ed.line_no,ed.bond_amt,ed.bond_prd from employee_bond_def_det ed,employee_bond_def e "+
" where e.tran_id = ed.tran_id and e.tran_id=?";
*/
*/
/*ResultSet rs1 = null;
PreparedStatement pstmt1 = null;
*/
*/
/*
while(rs.next())
{
......@@ -199,57 +258,61 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon
bondamt=rs.getDouble("bond_amt");
bondprd=rs.getInt("bond_prd");
empcode=rs.getString("emp_code");
sql="update employee_bond set bond_amt = ?,bond_prd = ? where line_no = ? and emp_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setDouble(1, bondamt);
pstmt.setInt(2, bondprd);
pstmt.setInt(3, lineno);
pstmt.setString(4,empcode);
updCnt = pstmt.executeUpdate();
pstmt.clearParameters();
}*/
sql="select ed.tran_id,e.emp_code,ed.line_no__ref,ed.bond_amt,ed.bond_prd from employee_bond_def_det ed,employee_bond_def e "+
" where e.tran_id = ed.tran_id and e.tran_id=?";
pstmt1 = conn.prepareStatement(sql);
pstmt1.setString(1, tranId);
rs1 = pstmt1.executeQuery();
// Modified by Dipesh P on [17/12/2019]Start [CCF No: IT2018-015][Request ID: A19ISUN011]
//sql="update employee_bond set bond_amt = ?,bond_prd = ? where line_no = ? and emp_code = ?";
sql="update employee_bond set bond_amt = ?,bond_prd = ? where line_no = ? and emp_code = ? and tran_id = ?";
pstmt = conn.prepareStatement(sql);
//sqlInsert = "Insert into employee_bond ( EMP_CODE , LINE_NO , BOND_PRD , BOND_AMT) values ( ? , ? , ? , ? )";
sqlInsert = "Insert into employee_bond ( EMP_CODE , LINE_NO , BOND_PRD , BOND_AMT , TRAN_ID , TRAN_ID__PVOUCH , LINE_NO__PVOUCH , AD_CODE) values ( ? , ? , ? , ? , ? , ? , ? , ?)";
pstmtInsert = conn.prepareStatement(sqlInsert);
//Added by Yashwant S.on 23-12-19[Start][CCF No: IT2018-015 / Request ID: A18CSUN011]
//sqlInsert = "Insert into employee_bond ( EMP_CODE , LINE_NO , BOND_PRD , BOND_AMT , TRAN_ID , TRAN_ID__PVOUCH , LINE_NO__PVOUCH , AD_CODE) values ( ? , ? , ? , ? , ? , ? , ? , ?)";
sqlInsert = "Insert into employee_bond ( EMP_CODE , LINE_NO , BOND_PRD , BOND_AMT , TRAN_ID , TRAN_ID__PVOUCH , LINE_NO__PVOUCH , AD_CODE, CHG_DATE, CHG_USER, CHG_TERM) values ( ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? )";
//Added by Yashwant S.on 23-12-19[End][CCF No: IT2018-015 / Request ID: A18CSUN011]
pstmtInsert = conn.prepareStatement(sqlInsert);
//sqlMaxLineNo="select max(line_no) as max_line_no from employee_bond where emp_code = ? ";
sqlMaxLineNo="select max(line_no) as max_line_no from employee_bond where emp_code = ? and tran_id = ?";
pstmtMax = conn.prepareStatement(sqlMaxLineNo);
// Modified by Dipesh P on [17/12/2019]End [CCF No: IT2018-015][Request ID: A19ISUN011]
int totUpdCnt = 0;
while(rs1.next())
{
System.out.println("*** Entering the ResultSet [rs] ***");
lineno=rs1.getInt("line_no__ref");
bondamt=rs1.getDouble("bond_amt");
bondprd=rs1.getInt("bond_prd");
empcode=rs1.getString("emp_code");
//Modified by Rahul Shenoy on 14/08/2015 [Inserting where line_no__ref is 0 and updating when it is not 0 to the Employee_Bond table]
if(lineno == 0)
{
System.out.println("*** Line Number is found to be 0 ***");
//For Obtaining the available maximum line number for inserting into the master
pstmtMax.setString(1, empcode);
// Modified by Dipesh P on [17/12/2019]Start [CCF No: IT2018-015][Request ID: A19ISUN011]
pstmtMax.setString(2, tranIdBond);
......@@ -258,12 +321,12 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon
// Modified by Dipesh P on [19/12/2019]Start [CCF No: IT2018-015][Request ID: A19ISUN011]
//pstmtMax.clearParameters();
// Modified by Dipesh P on [19/12/2019]End [CCF No: IT2018-015][Request ID: A19ISUN011]
while(rsMax.next())
{
maxLineNumber = rsMax.getInt("max_line_no");
}
// Modified by Dipesh P on [19/12/2019]Start [CCF No: IT2018-015][Request ID: A19ISUN011]
if (rsMax != null)
{
......@@ -272,7 +335,7 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon
}
pstmtMax.clearParameters();
// Modified by Dipesh P on [19/12/2019]End [CCF No: IT2018-015][Request ID: A19ISUN011]
if(maxLineNumber == 0)
{
System.out.println("*** No record present in the table for the given employee ***");
......@@ -282,16 +345,16 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon
{
maxLineNumber = maxLineNumber + 1;
}
System.out.println("Available Max Line Number for inserting data :["+ maxLineNumber +"]");
//For inserting the obtained values for 0 value of lineno
pstmtInsert.setString(1, empcode);
pstmtInsert.setInt(2, maxLineNumber);
pstmtInsert.setInt(3, bondprd);
pstmtInsert.setDouble(4, bondamt);
// Modified by Dipesh P on [19/12/2019]Start [CCF No: IT2018-015][Request ID: A19ISUN011]
pstmtInsert.setString(5, tranIdBond);
pstmtInsert.setString(6, tranIdPvouch);
......@@ -299,98 +362,105 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon
pstmtInsert.setString(8, adCode);
// Modified by Dipesh P on [19/12/2019]End [CCF No: IT2018-015][Request ID: A19ISUN011]
//Added by Yashwant S.on 23-12-19[Start][CCF No: IT2018-015 / Request ID: A18CSUN011]
pstmtInsert.setTimestamp(9, changeDate);
pstmtInsert.setString(10, chgUser);
pstmtInsert.setString(11, chgTerm);
//Added by Yashwant S.on 23-12-19[End][CCF No: IT2018-015 / Request ID: A18CSUN011]
insertCnt = pstmtInsert.executeUpdate();
totUpdCnt = totUpdCnt + insertCnt;
System.out.println("Value of insertCnt is : ["+insertCnt+"]");
// Modified by Dipesh P on [19/12/2019]Start [CCF No: IT2018-015][Request ID: A19ISUN011]
pstmtInsert.clearParameters();
// Modified by Dipesh P on [19/12/2019]End [CCF No: IT2018-015][Request ID: A19ISUN011]
}
else
{
//For updating values if line Number is not zero
System.out.println("*** Line Number is found to be "+ lineno +" ***");
pstmt.setDouble(1, bondamt);
pstmt.setInt(2, bondprd);
pstmt.setInt(3, lineno);
pstmt.setString(4,empcode);
// Modified by Dipesh P on [19/12/2019]Start [CCF No: IT2018-015][Request ID: A19ISUN011]
pstmt.setString(5,tranIdBond);
// Modified by Dipesh P on [19/12/2019]End [CCF No: IT2018-015][Request ID: A19ISUN011]
updCnt = pstmt.executeUpdate();
totUpdCnt = totUpdCnt + updCnt;
System.out.println("Value of updCnt is : ["+updCnt+"]");
pstmt.clearParameters();
}
//Modified by Rahul Shenoy on 14/08/2015 [Inserting where line_no__ref is 0 and updating when it is not 0 to the Employee_Bond table]
}
/*if ( rsMax != null )
{
rsMax.close();
rsMax = null;
}*/
if ( rs1 != null )
{
rs1.close();
rs1 = null;
}
if( pstmtInsert != null )
{
pstmtInsert.close();
pstmtInsert = null;
}
if( pstmtMax != null )
{
pstmtMax.close();
pstmtMax = null;
}
if( pstmt1 != null )
{
pstmt1.close();
pstmt1 = null;
}
if( pstmt != null )
{
pstmt.close();
pstmt = null;
}
//Added by RAHUL SHENOY on 21/08/2015 [Confirming the update].Start
int count=0;
String sqlConfirm = "UPDATE EMPLOYEE_BOND_DEF SET CONFIRMED = ? ,CONF_DATE = ?,EMP_CODE__APRV=? WHERE TRAN_ID = ?";
pstmt1 = conn.prepareStatement( sqlConfirm );
pstmt1.setString(1, "Y");
pstmt1.setTimestamp(2, this.getCurrdateAppFormat());
pstmt1.setString(3, loginEmpCode);
pstmt1.setString(4, tranId);
updcnt1 = pstmt1.executeUpdate();
System.out.println("confirm updated -------->>>>>>>>>updCount :"+count);
pstmt1 = conn.prepareStatement( sqlConfirm );
pstmt1.setString(1, "Y");
pstmt1.setTimestamp(2, this.getCurrdateAppFormat());
pstmt1.setString(3, loginEmpCode);
pstmt1.setString(4, tranId);
updcnt1 = pstmt1.executeUpdate();
System.out.println("confirm updated -------->>>>>>>>>updCount :"+count);
//Added by RAHUL SHENOY on 21/08/2015 [Confirming the update].End
//Modified by RAHUL SHENOY on 17/08/2015 [Displaying the Insert Count]
//System.out.println("UPDATE COUNT --updCnt-->>"+updCnt+" updcnt1 -->>"+updcnt1);
System.out.println("UPDATE COUNT --updCnt-->>"+updCnt+" insertCnt -->>"+ insertCnt+" updcnt1 -->>"+updcnt1);
if (totUpdCnt > 0 && updcnt1 >0 )
{
// Modified by Dipesh P on [19/12/2019]Start [CCF No: IT2018-015][Request ID: A19ISUN011]
......@@ -399,10 +469,10 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon
// Modified by Dipesh P on [19/12/2019]End [CCF No: IT2018-015][Request ID: A19ISUN011]
conn.commit();
System.out.println("Bond amount and bond period updated successfully.......");
}else
{
// Modified by Dipesh P on [19/12/2019]Start [CCF No: IT2018-015][Request ID: A19ISUN011]
// retString=new ITMDBAccessEJB().getErrorString("", "VCONFUSUC", "", "", conn);
retString=itmdbAccess.getErrorString("", "VCONFUSUC", "", "", conn);
......@@ -410,7 +480,7 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon
conn.rollback();
System.out.println("Not Updated Bond amount and bond period........");
}
}
catch(Exception e)
{
......@@ -423,7 +493,7 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon
}
e.printStackTrace();
System.out.println("Exception ::"+e.getMessage());
}
finally
{
......@@ -435,26 +505,26 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon
rs1.close();
rs1 = null;
}
if( pstmtInsert != null )
{
pstmtInsert.close();
pstmtInsert = null;
}
if( pstmtMax != null )
{
pstmtMax.close();
pstmtMax = null;
}
if( pstmt1 != null )
{
pstmt1.close();
pstmt1 = null;
}
// Modified by Dipesh P on [19/12/2019]End [CCF No: IT2018-015][Request ID: A19ISUN011]
if(pstmt != null)
{
pstmt.close();
......@@ -465,24 +535,24 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon
conn.close();
conn=null;
}
}
catch(Exception e)
{
System.out.println(e.getMessage());
e.printStackTrace();
}
}
System.out.println("Returning Result ::"+retString);
return retString;
}
//Modified by RAHUL SHENOY on 21/08/2015 [Placing the update Confirm functionality inside the Action Handler method].Start
/*
public int updateConfirm(Connection conn,String tranId)
{
PreparedStatement pstmt1=null;
int count=0;
......@@ -494,11 +564,11 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon
pstmt1.setTimestamp(2, this.getCurrdateAppFormat());
pstmt1.setString(3, loginEmpCode);
pstmt1.setString(4, tranId);
count = pstmt1.executeUpdate();
System.out.println("confirm updated -------->>>>>>>>>updCount :"+count);
}
catch(Exception e)
{
......@@ -519,54 +589,53 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon
pstmt1.close();
pstmt1 = null;
}
}
catch(Exception e)
{
System.out.println(e.getMessage());
e.printStackTrace();
}
return count;
}
*/
*/
//Modified by RAHUL SHENOY on 21/08/2015 [Placing the update Confirm functionality inside the Action Handler method].End
private java.sql.Timestamp getCurrdateAppFormat()
{
// Modified by Dipesh P on [19/12/2019]Start [CCF No: IT2018-015][Request ID: A19ISUN011]
//GenericUtility genericUtility = GenericUtility.getInstance();
E12GenericUtility genericUtility = new E12GenericUtility();
// Modified by Dipesh P on [19/12/2019]End [CCF No: IT2018-015][Request ID: A19ISUN011]
Timestamp timestamp = null;
try
{
java.util.Date date = null;
timestamp = new Timestamp(System.currentTimeMillis());
SimpleDateFormat simpledateformat = new SimpleDateFormat(genericUtility.getDBDateFormat());
date = simpledateformat.parse(timestamp.toString());
timestamp = Timestamp.valueOf(simpledateformat.format(date).toString() + " 00:00:00.0");
}
catch(Exception exception)
{
System.out.println("Exception in [EmpBondDefConfirm] getCurrdateAppFormat " + exception.getMessage());
}
return timestamp;
}
private String checkNull( String input )
private java.sql.Timestamp getCurrdateAppFormat()
{
// Modified by Dipesh P on [19/12/2019]Start [CCF No: IT2018-015][Request ID: A19ISUN011]
//GenericUtility genericUtility = GenericUtility.getInstance();
E12GenericUtility genericUtility = new E12GenericUtility();
// Modified by Dipesh P on [19/12/2019]End [CCF No: IT2018-015][Request ID: A19ISUN011]
Timestamp timestamp = null;
try
{
if (input == null)
{
input = "";
}
else
{
input = input.trim();
}
return input;
java.util.Date date = null;
timestamp = new Timestamp(System.currentTimeMillis());
SimpleDateFormat simpledateformat = new SimpleDateFormat(genericUtility.getDBDateFormat());
date = simpledateformat.parse(timestamp.toString());
timestamp = Timestamp.valueOf(simpledateformat.format(date).toString() + " 00:00:00.0");
}
catch(Exception exception)
{
System.out.println("Exception in [EmpBondDefConfirm] getCurrdateAppFormat " + exception.getMessage());
}
return timestamp;
}
private String checkNull( String input )
{
if (input == null)
{
input = "";
}
else
{
input = input.trim();
}
return input;
}
}
\ No newline at end of file
package ibase.webitm.ejb.adm.adv;
import java.io.StringWriter;
//import java.io.StringWriter;
import java.rmi.RemoteException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.util.ArrayList;
//import java.util.ArrayList;
import javax.ejb.Stateless;
import javax.xml.transform.OutputKeys;
import javax.xml.transform.Transformer;
import javax.xml.transform.TransformerException;
import javax.xml.transform.TransformerFactory;
import javax.xml.transform.dom.DOMSource;
import javax.xml.transform.stream.StreamResult;
//import javax.xml.transform.OutputKeys;
//import javax.xml.transform.Transformer;
//import javax.xml.transform.TransformerException;
//import javax.xml.transform.TransformerFactory;
//import javax.xml.transform.dom.DOMSource;
//import javax.xml.transform.stream.StreamResult;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import ibase.system.config.ConnDriver;
import ibase.webitm.utility.GenericUtility;
//import ibase.system.config.ConnDriver;
import ibase.utility.E12GenericUtility;
//import ibase.webitm.utility.GenericUtility;
import ibase.webitm.ejb.ActionHandlerEJB;
import ibase.webitm.ejb.ValidatorEJB;
import ibase.webitm.utility.ITMException;
......@@ -31,15 +32,19 @@ public class EmpBondDefault extends ActionHandlerEJB implements EmpBondDefaultL
public String actionHandler(String actionType, String xmlString, String objContext, String xtraParams) throws RemoteException, ITMException
{
Document dom = null;
GenericUtility genericUtility = GenericUtility.getInstance();
//Added by Yashwant S. on 19-12-19[Start][CCF No: IT2018-015 / Request ID: A18CSUN011]
//GenericUtility genericUtility = GenericUtility.getInstance();
E12GenericUtility genericUtility = new E12GenericUtility();
//Added by Yashwant S. on 19-12-19[End][CCF No: IT2018-015 / Request ID: A18CSUN011]
String retString = "";
try
{
dom = genericUtility.parseString(xmlString);
retString = actionHandler(actionType, dom, objContext, xtraParams);
}
catch (Exception ex)
{
......@@ -47,27 +52,36 @@ public class EmpBondDefault extends ActionHandlerEJB implements EmpBondDefaultL
ex.printStackTrace();
throw new ITMException(ex);
}
return retString;
}
private String actionHandler(String actionType, Document dom, String objContext, String xtraParams) throws ITMException
{
System.out.println(":::: Inside Default ::::");
String sql = "", childNodeName = "";
Connection conn = null;
PreparedStatement pstmt = null;
ResultSet rs = null;
ConnDriver connDriver = new ConnDriver();
//ConnDriver connDriver = new ConnDriver();
NodeList parentNodeList = null, childNodeList = null;
Node parentNode = null, childNode = null;
//Added by RAHUL SHENOY on 19/08/2015
NodeList parentNodeListDet2 = null;
int bondAmt=0,bondPrd=0;
GenericUtility genericUtility;
//Added by Yashwant S. on 19-12-19[Start][CCF No: IT2018-015 / Request ID: A18CSUN011]
//GenericUtility genericUtility;
E12GenericUtility genericUtility = null;
String tranIdBond = "";
//Added by Yashwant S. on 19-12-19[End][CCF No: IT2018-015 / Request ID: A18CSUN011]
StringBuffer valueXmlBuff;
String retString = "",empcode="", userId = "";
ValidatorEJB validatorEJB;
int lineNo=0;
......@@ -78,17 +92,20 @@ public class EmpBondDefault extends ActionHandlerEJB implements EmpBondDefaultL
validatorEJB = new ValidatorEJB();
userId = validatorEJB.getValueFromXTRA_PARAMS(xtraParams, "loginCode");
valueXmlBuff = new StringBuffer();
genericUtility = GenericUtility.getInstance();
//Added by Yashwant S. on 19-12-19[Start][CCF No: IT2018-015 / Request ID: A18CSUN011]
//genericUtility = GenericUtility.getInstance();
genericUtility = new E12GenericUtility();
//Added by Yashwant S. on 19-12-19[End][CCF No: IT2018-015 / Request ID: A18CSUN011]
valueXmlBuff.append("<?xml version=\"1.0\"?>\r\n");
valueXmlBuff.append("<Root>\r\n");
parentNodeList = dom.getElementsByTagName("Detail1");
//loginEmpCode = GenericUtility.getInstance().getValueFromXTRA_PARAMS(xtraParams, "loginEmpCode");
for (int i = 0; i < parentNodeList.getLength(); i++)
{
parentNode = parentNodeList.item(i);
......@@ -100,14 +117,16 @@ public class EmpBondDefault extends ActionHandlerEJB implements EmpBondDefaultL
childNodeName = childNode.getNodeName();
}
}
conn = connDriver.getConnectDB("DriverITM");
//Added by Yashwant S. on 19-12-19[Start][CCF No: IT2018-015 / Request ID: A18CSUN011]
/*conn = connDriver.getConnectDB("DriverITM");
connDriver = null;*/
conn = getConnection();
conn.setAutoCommit(false);
connDriver = null;
//Added by Yashwant S. on 19-12-19[End][CCF No: IT2018-015 / Request ID: A18CSUN011]
//Modified by RAHUL SHENOY on 19/08/2015 [Fetch and display data only if no rows are present in detail2].Start
parentNodeListDet2 = dom.getElementsByTagName("Detail2");
totalRowCnt = parentNodeListDet2.getLength();
if (totalRowCnt > 0)
......@@ -118,67 +137,73 @@ public class EmpBondDefault extends ActionHandlerEJB implements EmpBondDefaultL
if(totalRowCnt == 0)
{
System.out.println("*** ParentNodeListDet2 Length==>>" + parentNodeListDet2.getLength() +" ***");
//Added by Yashwant S. on 19-12-19[Start][Added TranId Bond][CCF No: IT2018-015 / Request ID: A18CSUN011]
//empcode = genericUtility.getColumnValue("emp_code",dom);
empcode = checkNull(genericUtility.getColumnValue("emp_code", dom, "1"));
tranIdBond = checkNull(genericUtility.getColumnValue("tran_id__bond", dom, "1"));
empcode = genericUtility.getColumnValue("emp_code",dom);
sql="select line_no,bond_prd,bond_amt from employee_bond where emp_code= ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, empcode);
rs = pstmt.executeQuery();
while (rs.next())
if((empcode != null && empcode.trim().length() > 0) && (tranIdBond != null && tranIdBond.trim().length() > 0))
{
// lineNo++;
lineNo=rs.getInt("LINE_NO");
bondAmt = rs.getInt("BOND_AMT");
bondPrd = rs.getInt("BOND_PRD");
valueXmlBuff.append("<Detail>\r\n");
//Modified by RAHUL SHENOY on 12/08/2015 [Line number increment provided by Framework]
//valueXmlBuff.append("<line_no>").append("<![CDATA["+lineNo+"]]>").append("</line_no>");
//Modified by RAHUL SHENOY on 11/08/2015 [Display Line Number in the newly added line_no__ref field].Start
valueXmlBuff.append("<line_no__ref>").append("<![CDATA["+lineNo+"]]>").append("</line_no__ref>");
//Modified by RAHUL SHENOY on 11/08/2015 [Display Line Number in the newly added line_no__ref field].End
valueXmlBuff.append("<bond_amt__curr>").append("<![CDATA["+bondAmt+"]]>").append("</bond_amt__curr>");
valueXmlBuff.append("<bond_prd__curr>").append("<![CDATA["+bondPrd+"]]>").append("</bond_prd__curr>");
valueXmlBuff.append("<bond_amt>").append("<![CDATA["+bondAmt+"]]>").append("</bond_amt>");
valueXmlBuff.append("<bond_prd>").append("<![CDATA["+bondPrd+"]]>").append("</bond_prd>");
valueXmlBuff.append("</Detail>\r\n");
System.out.println("------->>>>Line no :"+lineNo+" Bond Amt :"+bondAmt+" bond period : "+bondPrd);
}
//sql="select line_no,bond_prd,bond_amt from employee_bond where emp_code= ? ";
sql = "select line_no, bond_prd, bond_amt from employee_bond where emp_code = ? and tran_id = ? order by bond_prd ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, empcode);
pstmt.setString(2, tranIdBond);
//Added by Yashwant S. on 19-12-19[End][Added TranId Bond][CCF No: IT2018-015 / Request ID: A18CSUN011]
rs = pstmt.executeQuery();
while (rs.next())
{
// lineNo++;
lineNo = rs.getInt("LINE_NO");
bondAmt = rs.getInt("BOND_AMT");
bondPrd = rs.getInt("BOND_PRD");
valueXmlBuff.append("<Detail>\r\n");
//Modified by RAHUL SHENOY on 12/08/2015 [Line number increment provided by Framework]
//valueXmlBuff.append("<line_no>").append("<![CDATA["+lineNo+"]]>").append("</line_no>");
//Modified by RAHUL SHENOY on 11/08/2015 [Display Line Number in the newly added line_no__ref field].Start
valueXmlBuff.append("<line_no__ref>").append("<![CDATA["+lineNo+"]]>").append("</line_no__ref>");
//Modified by RAHUL SHENOY on 11/08/2015 [Display Line Number in the newly added line_no__ref field].End
valueXmlBuff.append("<bond_amt__curr>").append("<![CDATA["+bondAmt+"]]>").append("</bond_amt__curr>");
valueXmlBuff.append("<bond_prd__curr>").append("<![CDATA["+bondPrd+"]]>").append("</bond_prd__curr>");
valueXmlBuff.append("<bond_amt>").append("<![CDATA["+bondAmt+"]]>").append("</bond_amt>");
valueXmlBuff.append("<bond_prd>").append("<![CDATA["+bondPrd+"]]>").append("</bond_prd>");
valueXmlBuff.append("</Detail>\r\n");
System.out.println("------->>>>Line no :"+lineNo+" Bond Amt :"+bondAmt+" bond period : "+bondPrd);
}
}//End If
}
valueXmlBuff.append("</Root>\r\n");
//Modified by RAHUL SHENOY on 19/08/2015 [Fetch and display data only if no rows are present in detail2].End
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if (rs != null)
{
rs.close();
pstmt = null;
}
System.out.println("ValueXmlBuff found to be ::::::::::::::::::::\n"+valueXmlBuff.toString()+"\n\n");
retString = valueXmlBuff.toString();
System.out.println("Return String ..in deafault EJB ----------->>>>>>>>>>> \n" + retString);
return retString;
}
catch (Exception e)
{
......@@ -208,7 +233,7 @@ public class EmpBondDefault extends ActionHandlerEJB implements EmpBondDefaultL
}
//return retString;
}
//Added by RAHUL SHENOY on 20/08/2015 [Getting the deleted Row count].Start
private int getDeletedRowCnt(Document dom,String currentForm)
{
......@@ -216,17 +241,17 @@ public class EmpBondDefault extends ActionHandlerEJB implements EmpBondDefaultL
NodeList childList = null;
Node parentNode = null;
Node childNode = null;
int delRowCount = 0;
System.out.println("**** Inside the Method :::: getDeletedRowCount ****");
try
{
parentList = dom.getElementsByTagName("Detail"+currentForm);
int parentNodeListLength = parentList.getLength();
System.out.println("document"+parentNodeListLength);
for(int prntCtr = 0; prntCtr < parentNodeListLength; prntCtr++ )
{
parentNode = parentList.item(prntCtr);
......@@ -235,12 +260,12 @@ public class EmpBondDefault extends ActionHandlerEJB implements EmpBondDefaultL
for (int ctr = 0; ctr < childList.getLength(); ctr++)
{
childNode = childList.item(ctr);
if(childNode != null && childNode.getNodeName().equalsIgnoreCase("attribute"))
{
String updateFlag = "";
updateFlag = childNode.getAttributes().getNamedItem("updateFlag").getNodeValue();
System.out.println("[getPlaceOfWorkValueFromDom][updateFlag]" +updateFlag);
if (updateFlag.equalsIgnoreCase("D"))
{
......@@ -260,5 +285,17 @@ public class EmpBondDefault extends ActionHandlerEJB implements EmpBondDefaultL
return delRowCount;
}
//Added by RAHUL SHENOY on 20/08/2015 [Getting the deleted Row count].End
//Added by Yashwant S. on 19-12-19[Start][CCF No: IT2018-015 / Request ID: A18CSUN011]
private String checkNull(String input)
{
if (input == null)
{
input = "";
}
return input;
}
//Added by Yashwant S. on 19-12-19[End][CCF No: IT2018-015 / Request ID: A18CSUN011]
}
\ No newline at end of file
package ibase.webitm.ejb.adm.adv;
import java.rmi.RemoteException;
import javax.ejb.Remote;
import javax.ejb.Local;
import ibase.webitm.ejb.ActionHandlerLocal;
import ibase.webitm.ejb.ActionHandlerRemote;
import ibase.webitm.utility.ITMException;
@Local
public interface EmpBondDefaultLocal extends ActionHandlerLocal
{
public String actionHandler(String actionType, String xmlString, String objContext, String xtraParams) throws RemoteException, 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